Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
5bcd6e0
Hahn-Banach theorem
mkerjean Mar 20, 2026
5eadaad
minor linting
affeldt-aist Apr 15, 2026
b051952
definition of sub normed module
affeldt-aist Apr 15, 2026
51977b5
todo
mkerjean Apr 15, 2026
8a7356d
subNormedModType factory
mkerjean Apr 17, 2026
70a8ece
subNormedModType
mkerjean Apr 17, 2026
b8db8b1
fail subconvextvs
mkerjean Apr 17, 2026
55fa322
clean
mkerjean Apr 19, 2026
21c6e76
filter by hand (still broken)
affeldt-aist Apr 21, 2026
6206c32
instances instead of factories
mkerjean Apr 21, 2026
247a802
subConvexTvsType at last
affeldt-aist Apr 21, 2026
9c61e8d
proofs
mkerjean Apr 21, 2026
e20aca5
proofs
mkerjean Apr 21, 2026
f6b9f40
proofs
mkerjean Apr 22, 2026
23bf455
proofs
mkerjean Apr 22, 2026
f597c2a
proofs
mkerjean Apr 22, 2026
daf98b0
simplification of add_sub
affeldt-aist Apr 22, 2026
5a19da8
base convexe wip
mkerjean Apr 24, 2026
e65eb5b
base convexe wip
mkerjean Apr 24, 2026
ec9437f
base convexe wip
mkerjean Apr 24, 2026
936bb50
missing join ?
mkerjean Apr 25, 2026
bc5f750
sub locally convex
mkerjean May 1, 2026
6e96471
lint
affeldt-aist May 2, 2026
18f14a9
fix
affeldt-aist May 2, 2026
eca8367
upd changelog (wip)
affeldt-aist May 2, 2026
ad93744
fix changelog
affeldt-aist May 2, 2026
90d57af
all_ssreflect -> all_{boot,order}
affeldt-aist May 3, 2026
11454ef
trying to green CI
affeldt-aist May 3, 2026
75003cb
dummy structure to cheat the CI
affeldt-aist May 8, 2026
bfce795
add doc
affeldt-aist May 9, 2026
bd88ff7
fix changelog
affeldt-aist May 9, 2026
c5fdd94
fix changelog
affeldt-aist May 9, 2026
ccc86e8
fix changelog
affeldt-aist May 9, 2026
5adf446
fix changelog
affeldt-aist May 9, 2026
d0eebda
deleting comments
mkerjean May 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions CHANGELOG_UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,6 @@
+ lemma `is_diff_mx`
+ instance `is_diff_mx`

### Changed

- moved from `measurable_structure.v` to `classical_sets.v`:
+ definition `preimage_set_system`
+ lemmas `preimage_set_system0`, `preimage_set_systemU`, `preimage_set_system_comp`,
`preimage_set_system_id`
- in `functions.v`:
+ lemmas `linfunP`, `linfun_eqP`
+ instances of `SubLmodule` and `pointedType` on `{linear _->_ | _ }`
Expand All @@ -123,9 +117,22 @@

- new files `signed_measure.v` and `radon_nikodym.v`
+ with the contents of `charge.v` (deprecated)


- in `mathcomp_extra.v`:
+ lemmas `divDl_ge0`, `divDl_le1`
+ mixin `Zmodule_isSubNormed`
+ mixin `isTmp` and structure `SubNormedZmodule_tmp` (temporary kludge)

- in `unstable.v`:
+ lemmas `divD_onem`

### Changed

- moved from `measurable_structure.v` to `classical_sets.v`:
+ definition `preimage_set_system`
+ lemmas `preimage_set_system0`, `preimage_set_systemU`, `preimage_set_system_comp`,
`preimage_set_system_id`

- moved from `measurable_structure.v` to `classical_sets.v`:
+ definition `preimage_set_system`
+ lemmas `preimage_set_system0`, `preimage_set_systemU`, `preimage_set_system_comp`,
Expand Down
2 changes: 2 additions & 0 deletions _CoqProject
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ theories/normedtype_theory/urysohn.v
theories/normedtype_theory/vitali_lemma.v
theories/normedtype_theory/normedtype.v

theories/functional_analysis/hahn_banach_theorem.v

theories/sequences.v
theories/realfun.v
theories/exp.v
Expand Down
36 changes: 34 additions & 2 deletions classical/mathcomp_extra.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(* mathcomp analysis (c) 2026 Inria and AIST. License: CeCILL-C. *)
From HB Require Import structures.
From mathcomp Require Import all_ssreflect_compat finmap ssralg ssrnum ssrint.

(**md**************************************************************************)
Expand Down Expand Up @@ -93,10 +94,41 @@ Proof. by case: C => //= /ltW. Qed.
(* MathComp 2.6 additions *)
(**************************)

(* PR in progress: https://github.com/math-comp/math-comp/pull/1515 *)
Lemma intrD1 {R : pzRingType} (i : int) : (i + 1)%:~R = i%:~R + 1 :> R.
Proof. by rewrite intrD. Qed.

(* PR in progress: https://github.com/math-comp/math-comp/pull/1515 *)
Lemma intr1D {R : pzRingType} (i : int) : (1 + i)%:~R = 1 + i%:~R :> R.
Proof. by rewrite intrD. Qed.

Lemma divDl_ge0 (R : numDomainType) (s t : R) (s0 : 0 <= s) (t0 : 0 <= t) :
0 <= s / (s + t).
Proof.
by apply: divr_ge0 => //; apply: addr_ge0.
Qed.

Lemma divDl_le1 (R : numFieldType) (s t : R) (s0 : 0 <= s) (t0 : 0 <= t) :
s / (s + t) <= 1.
Proof.
move: s0; rewrite le0r => /predU1P [->|s0]; first by rewrite mul0r.
by rewrite ler_pdivrMr ?mul1r ?lerDl // ltr_wpDr.
Qed.

HB.mixin Record Zmodule_isSubNormed (R : numDomainType)
(M : normedZmodType R) (S : pred M) T & SubChoice M S T
& Num.NormedZmodule R T := {
norm_valE : forall x , @Num.norm _ M ((val : T -> M) x) = @Num.norm _ T x
}.

(* SubNormedZmodule will appear in MC 2.6.0.
However, just duplicating it here causes an HB error in the CI with MC 2.6.0.
We therefore reproduce it with a different name and add a dummy
mixin to it to satisfy HB.
This will be removed when dropping support for MC 2.5.0 *)
HB.mixin Record isTmp (R : numDomainType) (V : normedZmodType R) (S : pred V)
(U : Type) := { field_tmp : True }.

#[short(type="subNormedZmodType")]
HB.structure Definition SubNormedZmodule_tmp (R : numDomainType)
(V : normedZmodType R) (S : pred V) :=
{ U of @isTmp R V S U & SubChoice V S U & Num.NormedZmodule R U &
GRing.SubZmodule V S U & Zmodule_isSubNormed R V S U }.
7 changes: 7 additions & 0 deletions classical/unstable.v
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,13 @@ Qed.
Lemma onemV (F : numFieldType) (x : F) : x != 0 -> x^-1.~ = (x - 1) / x.
Proof. by move=> ?; rewrite mulrDl divff// mulN1r. Qed.

Lemma divD_onem (R : realFieldType) (s t : R) (s0 : 0 < s) (t0 : 0 < t) :
(s / (s + t)).~ = t / (s + t).
Proof.
rewrite /onem.
by rewrite -(@divff _ (s + t)) ?gt_eqF ?addr_gt0// -mulrBl (addrC s) addrK.
Qed.

Lemma lez_abs2 (a b : int) : 0 <= a -> a <= b -> (`|a| <= `|b|)%N.
Proof. by case: a => //= n _; case: b. Qed.

Expand Down
2 changes: 2 additions & 0 deletions theories/Make
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ normedtype_theory/urysohn.v
normedtype_theory/vitali_lemma.v
normedtype_theory/normedtype.v

functional_analysis/hahn_banach_theorem.v

realfun.v
sequences.v
exp.v
Expand Down
Loading
Loading