Minimum and maximum w.r.t. a filter and on a set #
Main Definitions #
This file defines six predicates of the form isAB, where A is Min, Max, or Extr,
and B is Filter or On.
IsMinFilter f l ameans thatf a ≤ f xin somel-neighborhood ofa;IsMaxFilter f l ameans thatf x ≤ f ain somel-neighborhood ofa;IsExtrFilter f l ameansIsMinFilter f l aorIsMaxFilter f l a.
Similar predicates with On suffix are particular cases for l = 𝓟 s.
Main statements #
We list here the statements for Extr; analogous statements exist for the min and max predicates.
For statements without an Extr variant we list the min variant.
Change of the filter (set) argument #
IsExtrFilter.filter_mono: replace the filter with a smaller one;IsExtrFilter.filter_inf: replace a filterlwithl ⊓ l';IsExtrOn.of_subset: restrict to a smaller set;IsExtrOn.inter: replace a setswiths ∩ t.
Composition #
IsExtrFilter.comp_mono,IsExtrOn.comp_mono: ifxis an extremum forfandgis a monotone function, thenxis an extremum forg ∘ f.IsExtrFilter.comp_antitone,IsExtrOn.comp_antitone: similarly for the case of antitoneg.IsMinFilter.bicomp_mono,IsMinOn.bicomp_mono: ifxis an extremum of the same type forfandgand a binary operationopis monotone in both arguments, thenxis an extremum of the same type forfun x ↦ op (f x) (g x).IsExtrFilter.comp_of_tendsto: ifg xis an extremum forfw.r.t.l'andTendsto g l l', thenxis an extremum forf ∘ gw.r.t.l.IsExtrOn.preimage: ifg xis an extremum forfons, thenxis an extremum forf ∘ gong ⁻¹' s.
Algebraic operations #
IsMinFilter.add,IsMinOn.add: ifxis an extremum of the same type for two functions, then it is an extremum of the same type for their sum.IsExtrFilter.neg,IsExtrOn.neg: ifxis an extremum forf, then it is an extremum of the opposite type for-f.IsMinFilter.sub,IsMinOn.sub: ifxis a minimum forfand a maximum forg, then it is a minimum forf - gand a maximum forg - f.IsMinOn.max,IsMinOn.min,IsMinOn.sup,IsMinOn.inf: similarly forIsMinOn.addfor pointwisemax,min,sup,inf, respectively. These also haveFiltervariants.
Miscellaneous definitions #
isExtrFilter_const,isExtrOn_const: any point is an extremum for a constant function.IsMinFilter.isExtrFilter,IsMinOn.isExtrOn: any minimum/maximum point is an extremum.IsExtrFilter.undual,IsExtrFilter.dual,IsExtrOn.undual,IsExtrOn.dual: convert between codomainsαandαᵒᵈ.
Missing features (TODO) #
- Multiplication and division;
Is**.bicompl: ifxis a minimum forf,yis a minimum forg, andopis a monotone binary operation, then(x, y)is a minimum foruncurry (bicompl op f g). From this point of view,Is**.bicompis a composition- It would be nice to have a tactic that specializes
comp_mono/comp_antitone/bicomp_monobased on a proof of monotonicity of a given (binary) function. The tactic should maintain ametalist of known (anti)monotone (binary) functions with their names, as well as a list of special types of filters, and define the missing lemmas once one of these two lists grows.
Definitions #
IsMinFilter f l a means that f a ≤ f x for all x in some l-neighborhood of a
Instances For
IsMaxFilter f l a means that f x ≤ f a for all x in some l-neighborhood of a.
Instances For
IsExtrFilter f l a means IsMinFilter f l a or IsMaxFilter f l a
Equations
- IsExtrFilter f l a = (IsMinFilter f l a ∨ IsMaxFilter f l a)
Instances For
Conversion to IsExtr* #
Alias of IsMinFilter.isExtrFilter.
Alias of IsMaxFilter.isExtrFilter.
Alias of IsMinOn.isExtrOn.
Alias of IsMaxOn.isExtrOn.
Constant function #
If f has a minimum and a maximum both given by f a along the filter l, then it is
eventually equal to f a along the filter.
Order dual #
Alias of the reverse direction of isMinFilter_dual_iff.
Alias of the forward direction of isMinFilter_dual_iff.
Alias of the reverse direction of isMaxFilter_dual_iff.
Alias of the forward direction of isMaxFilter_dual_iff.
Alias of the forward direction of isExtrFilter_dual_iff.
Alias of the reverse direction of isExtrFilter_dual_iff.
Alias of the forward direction of isMinOn_dual_iff.
Alias of the reverse direction of isMinOn_dual_iff.
Alias of the forward direction of isMaxOn_dual_iff.
Alias of the reverse direction of isMaxOn_dual_iff.
Alias of the reverse direction of isExtrOn_dual_iff.
Alias of the forward direction of isExtrOn_dual_iff.
Operations on the filter/set #
Alias of IsMinOn.of_subset.
Alias of IsMaxOn.of_subset.
Alias of IsExtrOn.of_subset.
Composition with (anti)monotone functions #
Composition with Tendsto #
Alias of IsMinFilter.comp_of_tendsto.
Alias of IsMaxFilter.comp_of_tendsto.
Alias of IsExtrFilter.comp_of_tendsto.
Alias of IsMinOn.comp_of_mapsTo.
Alias of IsMaxOn.comp_of_mapsTo.
Alias of IsExtrOn.comp_of_mapsTo.
Pointwise addition #
Pointwise negation and subtraction #
Extrema from monotonicity and antitonicity #
If f is monotone on Ioc a b and antitone on Ico b c, then the maximum of f on
Ioo a c is attained at b.
If f is antitone on Ioc a b and monotone on Ico b c, then the minimum of f on
Ioo a c is attained at b.
If f is monotone on Icc a b and antitone on Ico b c, then the maximum of f on
Ico a c is attained at b.
If f is antitone on Icc a b and monotone on Ico b c, then the minimum of f on
Ico a c is attained at b.
If f is monotone on Ioc a b and antitone on Icc b c, then the maximum of f on
Ioc a c is attained at b.
If f is antitone on Ioc a b and monotone on Icc b c, then the minimum of f on
Ioc a c is attained at b.
If f is monotone on Icc a b and antitone on Icc b c, then the maximum of f on
Icc a c is attained at b.
If f is antitone on Icc a b and monotone on Icc b c, then the minimum of f on
Icc a c is attained at b.
If f is monotone on Ioc a b and antitone on Ici b, then the maximum of f on Ioi a is
attained at b.
If f is antitone on Ioc a b and monotone on Ici b, then the minimum of f on Ioi a is
attained at b.
If f is monotone on Icc a b and antitone on Ici b, then the maximum of f on Ici a is
attained at b.
If f is antitone on Icc a b and monotone on Ici b, then the minimum of f on Ici a is
attained at b.
If f is monotone on Iic b and antitone on Ico b a, then the maximum of f on Iio a
is attained at b.
If f is antitone on Iic b and monotone on Ico b a, then the minimum of f on Iio a
is attained at b.
If f is monotone on Iic b and antitone on Icc b a, then the maximum of f on Iic a
is attained at b.
If f is antitone on Iic b and monotone on Icc b a, then the minimum of f on Iic a
is attained at b.
If f is monotone on Iic b and antitone on Ici b, then the maximum of f is attained
at b.
If f is antitone on Iic b and monotone on Ici b, then the minimum of f is attained
at b.