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 #
IsMinFilter f l a means that f a ≤ f x 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* #
Constant function #
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 reverse direction of isMinOn_dual_iff.
Alias of the forward 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 forward direction of isExtrOn_dual_iff.
Alias of the reverse direction of isExtrOn_dual_iff.