Skip to content

unif cont -> cont - #2113

Merged
affeldt-aist merged 3 commits into
math-comp:masterfrom
affeldt-aist:uniform_20290926
Sep 30, 2026
Merged

affeldt-aist merged 3 commits into
math-comp:masterfrom
affeldt-aist:uniform_20290926

Conversation

@affeldt-aist

Copy link
Copy Markdown
Member
Motivation for this change
Checklist
  • added corresponding entries in CHANGELOG_UNRELEASED.md

- [ ] added corresponding documentation in the headers

Reference: How to document

Merge policy

As a rule of thumb:

  • PRs with several commits that make sense individually and that
    all compile are preferentially merged into master.
  • PRs with disorganized commits are very likely to be squash-rebased.
Reminder to reviewers

@affeldt-aist affeldt-aist added this to the 1.19.0 milestone Sep 25, 2026
@affeldt-aist affeldt-aist added the enhancement ✨ This issue/PR is about adding new features enhancing the library label Sep 25, 2026
@affeldt-aist

Copy link
Copy Markdown
Member Author

@zstone1 I wouldn't be surprised that this lemma is already somewhere...

@t6s

t6s commented Sep 27, 2026

Copy link
Copy Markdown
Member

I proved it before somewhere in my code, but not sure where it is..

@t6s

t6s commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

Found in my older experiment on the equivalence between stdlib reals and mca reals; a bit shorter proof:

Section topology_ext.
Local Open Scope classical_set_scope.
Local Open Scope ring_scope.

Implicit Types U V : uniformType.

Lemma unif_continuous_continuous U V (f : U -> V) :
  unif_continuous f -> continuous f.
Proof.
rewrite /unif_continuous /cvg_to !nbhs_simpl => ucf.
rewrite /cvg_to /= => u X; rewrite !nbhs_simpl /= -!nbhs_entourageE.
case => Y /ucf /=; set Y' := (Y' in entourage Y') => eY' YX.
exists Y' => //.
rewrite /Y' /=.
rewrite -image_sub => v [] u' /= Yfuu' <-.
exact: YX.
Qed.
End topology_ext.

@affeldt-aist

Copy link
Copy Markdown
Member Author

So it looks like this is a welcomed addition. Let's merge your proof.

@affeldt-aist
affeldt-aist merged commit afa83b4 into math-comp:master Sep 30, 2026
70 checks passed
@affeldt-aist
affeldt-aist deleted the uniform_20290926 branch September 30, 2026 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement ✨ This issue/PR is about adding new features enhancing the library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants