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

Redefine Set.Nontrivial #4353

Closed
urkud opened this issue May 25, 2023 · 0 comments
Closed

Redefine Set.Nontrivial #4353

urkud opened this issue May 25, 2023 · 0 comments

Comments

@urkud
Copy link
Member

urkud commented May 25, 2023

Redefine Set.Nontrivial as

protected def Set.Nontrivial (s : Set α) : Prop :=
  ∃ x ∈ s, ∃ y ∈ s, x ≠ y

which is interpreted as

protected def Set.Nontrivial (s : Set α) : Prop :=
  ∃ x, x ∈ s ∧ ∃ y, y ∈ s ∧ x ≠ y

as opposed to the current definition

protected def Nontrivial (s : Set α) : Prop :=
  ∃ (x : α) (_ : x ∈ s) (y : α) (_ : y ∈ s), x ≠ y

This change is aligned with changes we made elsewhere in the port
(sometimes accidentally, because the interpretation of ∃ x ∈ s, p x
changed).

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