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_propcorrectly uses local hypothesis coming from induction step - unfolds let variables when necessary
- unfolds
id,Function.comp,Function.uncurry,HasUncurry.uncurryMany theorems in mathlib are stated usingid,Function.competc. to prevent restating all these theoremsfun_propjust unfolds these common functions. - does not get blocked by
autoParamoroutParam - support for custom bundled morphism coercions.
DFunLike.coeis not hardcoded anymore and any morphism coercion can be registered with@[fun_prop_coe]attribute - internal counter to prevent infinite loops