Commit 2024-01-17 23:23 82656743

View on Github →

chore(*): rename FunLike to DFunLike (#9785) This prepares for the introduction of a non-dependent synonym of FunLike, which helps a lot with keeping #8386 readable. This is entirely search-and-replace in 680197f combined with manual fixes in 4145626, e900597 and b8428f8. The commands that generated this change:

sed -i 's/\bFunLike\b/DFunLike/g' {Archive,Counterexamples,Mathlib,test}/**/*.lean
sed -i 's/\btoFunLike\b/toDFunLike/g' {Archive,Counterexamples,Mathlib,test}/**/*.lean
sed -i 's/import Mathlib.Data.DFunLike/import Mathlib.Data.FunLike/g' {Archive,Counterexamples,Mathlib,test}/**/*.lean
sed -i 's/\bHom_FunLike\b/Hom_DFunLike/g' {Archive,Counterexamples,Mathlib,test}/**/*.lean     
sed -i 's/\binstFunLike\b/instDFunLike/g' {Archive,Counterexamples,Mathlib,test}/**/*.lean
sed -i 's/\bfunLike\b/instDFunLike/g' {Archive,Counterexamples,Mathlib,test}/**/*.lean
sed -i 's/\btoo many metavariables to apply `fun_like.has_coe_to_fun`/too many metavariables to apply `DFunLike.hasCoeToFun`/g' {Archive,Counterexamples,Mathlib,test}/**/*.lean

Estimated changes

added theorem DFunLike.coe_eq_coe_fn
added theorem DFunLike.coe_fn_eq
added theorem DFunLike.coe_injective
added theorem DFunLike.exists_ne
added theorem DFunLike.ext'
added theorem DFunLike.ext'_iff
added theorem DFunLike.ext
added theorem DFunLike.ext_iff
added theorem DFunLike.ne_iff
deleted theorem FunLike.coe_eq_coe_fn
deleted theorem FunLike.coe_fn_eq
deleted theorem FunLike.coe_injective
deleted theorem FunLike.exists_ne
deleted theorem FunLike.ext'
deleted theorem FunLike.ext'_iff
deleted theorem FunLike.ext
deleted theorem FunLike.ext_iff
deleted theorem FunLike.ne_iff
deleted theorem FunLike.subsingleton_cod
modified theorem InfHom.coe_inf
modified theorem InfHom.withBot_id
modified theorem InfHom.withTop_id
modified theorem InfTopHom.coe_inf
modified theorem SupBotHom.coe_sup
modified theorem SupHom.coe_sup
modified theorem SupHom.withBot_id
modified theorem SupHom.withTop_id