The configuration for simp
.
Passed to simp
using, for example, the simp (config := {contextual := true})
syntax.
See also Lean.Meta.Simp.neutralConfig
and Lean.Meta.DSimp.Config
.
Constructor
Lean.Meta.Simp.Config.mk
(maxSteps maxDischargeDepth : Nat)
(contextual memoize singlePass zeta beta
eta : Bool)
(etaStruct : Lean.Meta.EtaStructMode)
(iota proj decide arith autoUnfold dsimp
failIfUnchanged ground unfoldPartialApp
zetaDelta index implicitDefEqProofs : Bool)
: Lean.Meta.Simp.Config |
Fields
zetaDelta | : | Bool |
When | ||
etaStruct | : | Lean.Meta.EtaStructMode |
Configures how to determine definitional equality between two structure instances.
See documentation for | ||
contextual | : | Bool |
When | ||
index | : | Bool |
When | ||
singlePass | : | Bool |
When | ||
eta | : | Bool |
TODO (currently unimplemented). When | ||
arith | : | Bool |
When | ||
maxSteps | : | Nat |
The maximum number of subexpressions to visit when performing simplification. The default is 100000. | ||
failIfUnchanged | : | Bool |
If | ||
iota | : | Bool |
When | ||
memoize | : | Bool |
When true (default: | ||
zeta | : | Bool |
When | ||
ground | : | Bool |
If | ||
decide | : | Bool |
When | ||
maxDischargeDepth | : | Nat |
When simp discharges side conditions for conditional lemmas, it can recursively apply simplification.
The | ||
implicitDefEqProofs | : | Bool |
When | ||
autoUnfold | : | Bool |
When | ||
beta | : | Bool |
When | ||
proj | : | Bool |
When | ||
unfoldPartialApp | : | Bool |
If | ||
dsimp | : | Bool |
When |