Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2021-11-22 11:23 2aea9961

View on Github →

feat(data): define a fun_like class of bundled homs (function + proofs) (#10286) This PR introduces a class fun_like for types of bundled homomorphisms, like set_like is for bundled subobjects. This should be useful by itself, but an important use I see for it is the per-morphism class refactor, see #9888. Also, coe_fn_coe_base now has an appropriately low priority, so it doesn't take precedence over fun_like.has_coe_to_fun.

Estimated changes

added structure cooler_hom
added theorem do_something
added theorem fun_like.coe_fn_eq
added theorem fun_like.coe_injective
added theorem fun_like.ext'
added theorem fun_like.ext'_iff
added theorem fun_like.ext
added theorem fun_like.ext_iff
added theorem map_cool
added theorem map_op