mathlib4
mathlib4 copied to clipboard
chore: swap argument order in `cfc` and `cfcₙ`
trafficstars
This changes the argument order for cfc and cfcₙ from cfc (a : A) (f : R → R) to cfc (f : R → R) (a : A). This has a few advantages:
- It's closer to the usual reading (
cfc f avs.f(a)on paper). - argument order looks better for
cfc_comp(cfc (g ∘ f) a = cfc g (cfc f a)instead ofcfc a (g ∘ f) = cfc (cfc f a) g). - it will be much easier to speak of operator convexity and monotonicity if we can just write
cfc f.