Module mathcomp.analysis.convex
From HB Require Import structures.From mathcomp Require Import all_ssreflect_compat finmap ssralg ssrint ssrnum interval.
From mathcomp Require Import interval_inference.
#[warning="-warn-library-file-internal-analysis"]
From mathcomp Require Import unstable.
From mathcomp Require Import mathcomp_extra boolp classical_sets set_interval.
From mathcomp Require Import reals topology.
Reserved Notation "x <| p |> y" (format "x <| p |> y", at level 49).
Set SsrOldRewriteGoalsOrder.
Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.
Import Order.TTheory GRing.Theory Num.Theory.
Local Open Scope classical_set_scope.
Local Open Scope ring_scope.
Declare Scope convex_scope.
Local Open Scope convex_scope.
Module
Section def.
Variables ( : numDomainType) ( : Type) (
Local Notation
Definition
Source code
p%:num = r%:num * s%:num ->
s%:num.~ = p%:num.~ * q%:num.~ ->
a <| p |> (b <| q |> c) = (a <| r |> b) <| s |> c.
End def.
Lemma
p = r * s ->
1 - s = (1 - p) * (1 - q) ->
(1 - p) * q = s * (1 - r).
Proof.
Lemma ( : pzRingType) ( : R) :
1 - s = (1 - p) * (1 - q) ->
s = 1 - (1 - p) * (1 - q).
Lemma ( : comUnitRingType) ( : R) :
1 - p \is a GRing.unit ->
p = r * s ->
1 - s = (1 - p) * (1 - q) ->
q = (s * (1 - r)) / (1 - p).
Lemma ( : unitRingType) ( : R) :
s \is a GRing.unit -> p = r * s -> r = p / s.
End lemmas.
End ConvexQuasiAssoc.
Definition
Source code
.
conv : {i01 R} -> T -> T -> T ;
conv1 : forall , conv 1%:i01 a b = a ;
convmm : forall ( : {i01 R}) , conv p a a = a ;
convC : forall ( : {i01 R}) , conv p a b = conv (1 - p%:inum)%:i01 b a;
convA : convex_quasi_associative conv
}.
.
{ of isConvexSpace R T & Choice T}.
Notation
Section convex_space_lemmas.
Context ( : convType R).
Implicit Types a b : A.
Lemma
Proof.
End convex_space_lemmas.
Local Open Scope convex_scope.
Definition
Used by
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.normed_module
Source code
Section lmodType_convex_space.
Context { : numDomainType} { : lmodType R}.
Implicit Type p q r : {i01 R}.
Let := convex_lmodType E'.
Let
Let
Let
Let
Let
Proof.
.
.
isConvexSpace.Build R E avg1 avgI avgC avgA.
End lmodType_convex_space.
Definition
Source code
Section numDomainType_convex_space.
Context { : numDomainType}.
Implicit Types p q : {i01 R}.
Let
Let
Proof.
Let
Proof.
Let
Proof.
Let
Proof.
.
_ avg1 avgI avgC avgA.
End numDomainType_convex_space.
Section conv_numDomainType.
Context { : numDomainType}.
Lemma
- mathcomp.analysis.exp
Source code
Proof.
Lemma
- mathcomp.analysis.hoelder
- mathcomp.analysis.exp
Source code
a <| t |> b = t%:inum * a + t%:inum.~ * b.
Proof.
Let
a <| t |> b = t%:inum.~ * b + t%:inum * a.
Lemma
- mathcomp.analysis.realfun
Source code
a <| t |> b = line_path b a t%:num.
Proof.
Lemma
Lemma
Proof.
Lemma
- mathcomp.analysis.realfun
Source code
End conv_numDomainType.
Definition
Used by
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.normed_module
Source code
( : set (convex_lmodType M)) :=
forall
Lemma
- mathcomp.analysis.normedtype_theory.tvs
- mathcomp.analysis.normedtype_theory.normed_module
Source code
( : set (convex_lmodType M)) :
convex_set A <->
{in A &, forall ( : {i01 R}),
0 < k%:num -> k%:num < 1 -> x <| k |> y \in A}.
Proof.
Definition
Used by
- mathcomp.analysis.hoelder
Source code
( := convex_lmodType E) ( : set E') ( : E' -> R^o) :=
forall ( : {i01 R}),
{in D &, forall ( : E'), (f (x <| t |> y) <= f x <| t |> f y)%R}.