fix: missing goals
This commit is contained in:
parent
41ce24e2c6
commit
39adda8ffe
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ def evalRewriteCore (mode : TransparencyMode) : Tactic := fun stx =>
|
|||
let e ← elabTerm term none true
|
||||
let r ← rewrite (← getMainGoal) (← getLhs) e symm (mode := mode)
|
||||
updateLhs r.eNew r.eqProof
|
||||
replaceMainGoal ((← getMainGoal) :: r.mvarIds)
|
||||
|
||||
@[builtinTactic Lean.Parser.Tactic.Conv.rewrite] def evalRewrite : Tactic :=
|
||||
evalRewriteCore TransparencyMode.instances
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue