Skip to content

Commit a767cd8

Browse files
committed
trying to green CI
1 parent 5f89663 commit a767cd8

3 files changed

Lines changed: 21 additions & 13 deletions

File tree

CHANGELOG_UNRELEASED.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
- in `mathcomp_extra.v`:
107107
+ lemmas `divDl_ge0`, `divDl_le1`
108108
+ mixin `Zmodule_isSubNormed`
109-
+ structure `SubNormedZmodule`, notation `subNormedZmodType`
110109

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

classical/mathcomp_extra.v

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,3 @@ Proof.
112112
move: s0; rewrite le0r => /predU1P [->|s0]; first by rewrite mul0r.
113113
by rewrite ler_pdivrMr ?mul1r ?lerDl // ltr_wpDr.
114114
Qed.
115-
116-
HB.mixin Record Zmodule_isSubNormed (R : numDomainType)
117-
(M : normedZmodType R) (S : pred M) T & SubChoice M S T
118-
& Num.NormedZmodule R T := {
119-
norm_valE : forall x , @Num.norm _ M ((val : T -> M) x) = @Num.norm _ T x
120-
}.
121-
122-
#[short(type="subNormedZmodType")]
123-
HB.structure Definition SubNormedZmodule (R : numDomainType)
124-
(V : normedZmodType R) (S : pred V) :=
125-
{ U of SubChoice V S U & Num.NormedZmodule R U & GRing.SubZmodule V S U
126-
& Zmodule_isSubNormed R V S U }.

theories/functional_analysis/hahn_banach_theorem.v

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,27 @@ Local Open Scope ring_scope.
4040
Local Open Scope convex_scope.
4141
Local Open Scope real_scope.
4242

43+
HB.mixin Record Zmodule_isSubNormed (R : numDomainType)
44+
(M : normedZmodType R) (S : pred M) T & SubChoice M S T
45+
& Num.NormedZmodule R T := {
46+
norm_valE : forall x , @Num.norm _ M ((val : T -> M) x) = @Num.norm _ T x
47+
}.
48+
49+
(* couldn't be put in mathcomp_extra.v, error:
50+
51+
Error:
52+
You must declare the hierarchy bottom-up or add a missing join.
53+
There are two ways out:
54+
- declare structure SubNormedZmodule before structure Num.SubNormedZmodule if Num.SubNormedZmodule inherits from it;
55+
- declare an additional structure that inherits from both Num.SemiNormedZmodule and SubType and from which SubNormedZmodule and/or Num.SubNormedZmodule inherit.
56+
57+
*)
58+
#[short(type="subNormedZmodType")]
59+
HB.structure Definition SubNormedZmodule (R : numDomainType)
60+
(V : normedZmodType R) (S : pred V) :=
61+
{ U of SubChoice V S U & Num.NormedZmodule R U & GRing.SubZmodule V S U
62+
& Zmodule_isSubNormed R V S U }.
63+
4364
HB.mixin Record isSubNbhs
4465
(V : nbhsType) (S : pred V) U & SubChoice V S U & Nbhs U := {
4566
continuous_valE : continuous (val : U -> V)

0 commit comments

Comments
 (0)