Commit 2024-02-21 19:28 ffbaf173
View on Github →fix: refactor of fun_prop
and several bug fixes (#10724)
fix: refactor of fun_prop
and several bug fixes
- support for proving recursive functions
fun_prop
correctly uses local hypothesis coming from induction step - unfolds let variables when necessary
- unfolds
id
,Function.comp
,Function.uncurry
,HasUncurry.uncurry
Many theorems in mathlib are stated usingid
,Function.comp
etc. to prevent restating all these theoremsfun_prop
just unfolds these common functions. - does not get blocked by
autoParam
oroutParam
- support for custom bundled morphism coercions.
DFunLike.coe
is not hardcoded anymore and any morphism coercion can be registered with@[fun_prop_coe]
attribute - internal counter to prevent infinite loops