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

Diamond for CompleteBooleanAlgebra of Set's #10941

Open
mattrobball opened this issue Feb 25, 2024 · 1 comment
Open

Diamond for CompleteBooleanAlgebra of Set's #10941

mattrobball opened this issue Feb 25, 2024 · 1 comment

Comments

@mattrobball
Copy link
Collaborator

From leanprover-community/mathlib3#16932, we have

import Mathlib.Data.Set.Lattice

variable {α : Type*}

-- Succeeds
example : @Set.instBooleanAlgebraSet α = Pi.booleanAlgebra := by
  with_reducible_and_instances rfl

-- Fails
example : (@Set.completeAtomicBooleanAlgebra α).toCompleteBooleanAlgebra = Pi.completeBooleanAlgebra := rfl

See also the Zulip discussion

@urkud
Copy link
Member

urkud commented Feb 25, 2024

AFAICT, we intentionally override some fields to have better definitional equalities for a ∈ ⋃₀ S.

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

No branches or pull requests

2 participants