Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

finSubCover lacks documentation #658

Closed
affeldt-aist opened this issue May 2, 2022 · 1 comment · Fixed by #832
Closed

finSubCover lacks documentation #658

affeldt-aist opened this issue May 2, 2022 · 1 comment · Fixed by #832
Milestone

Comments

@affeldt-aist
Copy link
Member

analysis/theories/topology.v

Lines 3013 to 3016 in 22bb6cc

Definition finSubCover (I : choiceType) (D : set I)
U (F : I -> set U) (A : set U) :=
exists2 D' : {fset I}, {subset D' <= D} &
A `<=` \bigcup_(i in [set i | i \in D']) F i.

@t6s
Copy link
Member

t6s commented Jul 27, 2022

I suspect the reason this definition is not documented might be that it is not a good definition.
The name suggests that it is pinpointing a (finite) subcover of some cover, but there is no such original cover in the definition.

Definition hasFinSubCover (I : choiceType) (D : set I)
    U (F : I -> set U) :=
  exists2 D' : {fset I}, {subset D' <= D} &
    \bigcup_(i in D) F i =
    \bigcup_(i in [set i | i \in D']) F i.

Something like this would be more clear-cut. I suggest also adding the prefix has, if it is not violating the naming convention in mathcomp-analysis.

@affeldt-aist affeldt-aist added this to the 0.6.1 milestone Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants