Skip to content

Commit

Permalink
Merge pull request #381 from math-comp/coord_continuous
Browse files Browse the repository at this point in the history
minor generalization
  • Loading branch information
CohenCyril authored Jun 1, 2021
2 parents 9ece6a1 + c6cc36f commit 09e03a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG_UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@
- in `ereal.v`:
+ argument of `%:E` in `%R` by default
+ `F` argument of `\sum` in `%E` by default
- in `normedtype.v`:
+ `coord_continuous` generalized

### Renamed

Expand Down
3 changes: 1 addition & 2 deletions theories/normedtype.v
Original file line number Diff line number Diff line change
Expand Up @@ -356,13 +356,12 @@ by split=> zxy e /zxy; rewrite [z + _]addrC [_ + x]addrC.
Qed.

Lemma coord_continuous {K : numFieldType} m n i j :
continuous (fun M : 'M[K]_(m.+1, n.+1) => M i j).
continuous (fun M : 'M[K]_(m, n) => M i j).
Proof.
move=> /= M s /= /(nbhs_ballP (M i j)) [e e0 es].
apply/nbhs_ballP; exists e => //= N MN; exact/es/MN.
Qed.


Global Instance Proper_nbhs'_numFieldType (R : numFieldType) (x : R) :
ProperFilter (nbhs' x).
Proof.
Expand Down

0 comments on commit 09e03a7

Please sign in to comment.