Zulip Chat Archive
Stream: mathlib4
Topic: new name for Cauchy
Rémy Degenne (Feb 16 2023 at 09:26):
In mathlib3 we had a property cauchy f
for a filter f and then we used the name Cauchy α
for { f : filter α // cauchy f }
. Now in mathlib4, the property is called Cauchy
. What name should we give to { f : Filter α // Cauchy f }
?
That questions comes from PR !4#2269
Reid Barton (Feb 16 2023 at 09:27):
CauchyCat
, obviously :meow:
Reid Barton (Feb 16 2023 at 09:29):
CauchyFilter
?
Reid Barton (Feb 16 2023 at 09:30):
CompletionButNotSeparated
?
Reid Barton (Feb 16 2023 at 09:30):
Does Bourbaki name it? or proceed directly to the completion
Johan Commelin (Feb 16 2023 at 09:34):
How about Cauchy ↦ Filter.Cauchy
so that this subtype can remain _root_.Cauchy
?
Rémy Degenne (Feb 16 2023 at 09:45):
It looks like the subtype is not used beyond that file, so it may be easier to change that, and leave the filter property as it is.
CauchyFilter
could work.
Rémy Degenne (Feb 16 2023 at 09:52):
Or, since the docstring of the file calls that object the uniform completion of the space, we could use UniformCompletion
Rémy Degenne (Feb 16 2023 at 10:01):
I went with CauchyFilter
and updated the PR
Yaël Dillies (Feb 16 2023 at 10:05):
Why not rename Cauchy
to IsCauchy
?
Johan Commelin (Feb 16 2023 at 10:06):
@Rémy Degenne would you mind updating the module docstring so that it no longer mentions coe
?
Rémy Degenne (Feb 16 2023 at 10:12):
I suppose I can do that, but I don't really see what I should replace it with. CoeTC.coe? Or somehow remove coe completely, and do something else?
At this point, my comprehension of lean 4 is very rudimentary and my limited porting experience is mostly to shake the code a bit till the squiggly lines disappear.
Johan Commelin (Feb 16 2023 at 10:15):
I think that the "standard" way to talk about coe
in Lean 4 is to write (\u)
where \u
is the up-arrow.
Patrick Massot (Feb 16 2023 at 15:19):
The subtype has indeed very limited use as an intermediate step in the completion construction. Bourbaki does completion slightly differently, using the subtype of minimal Cauchy filters instead of quotienting the subtype of all Cauchy filters like we do.
Last updated: Dec 20 2023 at 11:08 UTC