Module docstring
{"# 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
Change of the filter (set) argument
is*Filter.filter_mono: replace the filter with a smaller one;is*Filter.filter_inf: replace a filterlwithl ⊓ l';is*On.on_subset: restrict to a smaller set;is*Pn.inter: replace a setswiths ∩ t.
Composition
is**.comp_mono: ifxis an extremum forfandgis a monotone function, thenxis an extremum forg ∘ f;is**.comp_antitone: similarly for the case of antitoneg;is**.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).is*Filter.comp_tendsto: ifg xis an extremum forfw.r.t.l'andTendsto g l l', thenxis an extremum forf ∘ gw.r.t.l.is*On.on_preimage: ifg xis an extremum forfons, thenxis an extremum forf ∘ gong ⁻¹' s.
Algebraic operations
is**.add: ifxis an extremum of the same type for two functions, then it is an extremum of the same type for their sum;is**.neg: ifxis an extremum forf, then it is an extremum of the opposite type for-f;is**.sub: ifxis a minimum forfand a maximum forg, then it is a minimum forf - gand a maximum forg - f;is**.max,is**.min,is**.sup,is**.inf: similarly foris**.addfor pointwisemax,min,sup,inf, respectively.
Miscellaneous definitions
is**_const: any point is both a minimum and maximum for a constant function;isMin/Max*.isExt: any minimum/maximum point is an extremum;is**.dual,is**.undual: conversion between codomainsαanddual α;
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_(anti)monoorbicomp_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 ","### Conversion toIsExtr*","### Constant function ","### Order dual ","### Operations on the filter/set ","### Composition with (anti)monotone functions ","### Composition withTendsto","### Pointwise addition ","### Pointwise negation and subtraction ","### Pointwisesup/inf","### Pointwisemin/max","### Relation witheventuallycomparisons of two functions ","###isMaxOn/isMinOnimplyciSup/ciInf","### Value ofFinset.sup/Finset.inf"}