Skip to content

Commit 25af095

Browse files
committed
within continuity row vector
1 parent 85fa9f6 commit 25af095

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

CHANGELOG_UNRELEASED.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@
7070
- in `derive.v`:
7171
+ lemmas `compact_EVT_max`, `compact_EVT_min`, `EVT_max_rV`, `EVT_min_rV`
7272

73+
- in `matrix_normedtype.v`:
74+
+ lemma `within_continuous_coord`
75+
7376
### Changed
7477

7578
- in `constructive_ereal.v`: fixed the infamous `%E` scope bug.

theories/normedtype_theory/matrix_normedtype.v

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,28 @@ HB.instance Definition _ :=
218218

219219
End matrix_pseudoMetricNormedZmod.
220220

221+
Section vector_continuous.
222+
Context {R : realFieldType} {n : nat}.
223+
Import numFieldNormedType.Exports.
224+
225+
Lemma within_continuous_coord A (f : R -> 'rV[R]_n) :
226+
{within A, continuous f} <->
227+
forall i, {within A, continuous (fun x => f x ord0 i)}.
228+
Proof.
229+
split=> [Af i|Af].
230+
- apply: (within_continuous_comp _ f (fun M => M ord0 i)) => //= x _.
231+
exact: coord_continuous.
232+
- apply/subspace_continuousP => /= x Ax; apply/cvgrPdist_le => /= e e0.
233+
rewrite near_withinE; near=> t => At.
234+
rewrite /Num.norm/= mx_normrE (bigmax_le _ (ltW e0))//= => -[i j] _ /=.
235+
rewrite {i}(ord1 i) !mxE.
236+
move: j At; near: t; apply: filter_forall => /= j.
237+
have /subspace_continuousP/(_ x Ax)/cvgr_dist_le/(_ _ e0) := Af j.
238+
by rewrite near_withinE.
239+
Unshelve. all: by end_near. Qed.
240+
241+
End vector_continuous.
242+
221243
Lemma bounded_closed_compact (R : realType) n (A : set 'rV[R]_n) :
222244
bounded_set A -> closed A -> compact A.
223245
Proof.

0 commit comments

Comments
 (0)