File tree Expand file tree Collapse file tree
src/Lean/Elab/Tactic/Do/Internal/VCGen Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ private def normalizePre? (scope : VCGen.Scope) (goal : MVarId) (α pre target :
200200 if let some (g, h) ← ofPropPreIntro? goal pre then
201201 return some ({ scope with lastLiftedPre? := some h }, [g])
202202 if let some goal' ← introsExcessArgs goal then return some (scope, [goal'])
203- if let some gs ← truePre ? goal pre target then
203+ if let some gs ← normalizePreToTop ? goal pre target then
204204 return some (scope, gs)
205205 if let some (g, h) ← barePreIntro? goal α pre then
206206 return some ({ scope with lastLiftedPre? := some h }, [g])
Original file line number Diff line number Diff line change @@ -691,7 +691,7 @@ theorem Spec.incr
691691 (post : PUnit → Nat → Pred) (epost : EPred) (n : Nat) :
692692 Triple (fun s => post ⟨⟩ (s + n))
693693 (incr n : StateT Nat m PUnit) post epost := by
694- mvcgen' [WhileLoop .incr]; rfl
694+ mvcgen' [TopBetaReduction .incr]; rfl
695695
696696/--
697697error: unsolved goals
@@ -728,4 +728,4 @@ theorem incr_poly (amounts : List Nat) :
728728 mvcgen' [incr]
729729
730730
731- end WhileLoop
731+ end TopBetaReduction
You can’t perform that action at this time.
0 commit comments