Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em committed Jan 11, 2024
1 parent b4f86d7 commit f6e06a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Aesop/Search/Expansion/Simp.lean
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import Aesop.Script
import Aesop.RuleSet

open Lean Lean.Meta
open Lean.Elab.Tactic (mkSimpOnly)
open Simp (UsedSimps)

namespace Aesop
Expand Down Expand Up @@ -48,7 +49,7 @@ def mkNormSimpOnlySyntax (inGoal : MVarId) (normSimpUseHyps : Bool)
MetaM Syntax.Tactic := do
let originalStx ← mkNormSimpSyntax normSimpUseHyps configStx?
let stx ← inGoal.withContext do
Lean.Elab.Tactic.mkSimpOnly originalStx usedTheorems
mkSimpOnly originalStx usedTheorems
return ⟨stx⟩

def mkNormSimpContext (rs : RuleSet) (simpConfig : Aesop.SimpConfig) :
Expand Down

0 comments on commit f6e06a1

Please sign in to comment.