Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: adapt to decide := false in simp #78

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: adapt to decide := false in simp
collares committed Oct 26, 2023
commit 773aaa0c19b442c0e80f2038fac36161a02da4a7
2 changes: 1 addition & 1 deletion Aesop/Options/Public.lean
Original file line number Diff line number Diff line change
@@ -134,7 +134,7 @@ structure Options where
/--
Options which modify the behaviour of the builtin `simp` normalisation rule.
Extends `Lean.Meta.Simp.ConfigCtx`, so any option declared there is also valid
here. For example, you can use `aesop (simp_config := { arith := true })` to get
here. For example, you can use `aesop (simp_options := { arith := true })` to get
behaviour similar to `simp (config := { arith := true })` (aka `simp_arith`).
-/
structure SimpConfig extends Lean.Meta.Simp.ConfigCtx where
2 changes: 1 addition & 1 deletion Aesop/Search/Expansion/Norm.lean
Original file line number Diff line number Diff line change
@@ -387,7 +387,7 @@ partial def normalizeGoalMVar (goal : MVarId)
NormStep.simp mvarsHashSet,
NormStep.runPostSimpRules mvars
]
runNormSteps goal normSteps (by simp)
runNormSteps goal normSteps (by simp (config := { decide := true }))

-- Returns true if the goal was solved by normalisation.
def normalizeGoalIfNecessary (gref : GoalRef) [Aesop.Queue Q] :