leanprover-community / leanprover-community/mathlib4

Diamond for `CompleteBooleanAlgebra` of `Set`'s

Open
#10,941 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lean
Stars
4.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

From leanprover/mathlib#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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reproducer in the issue, importing Mathlib.Data.Set.Lattice and comparing the two instance equalities. Read the linked Zulip discussion for the context around the CompleteBooleanAlgebra instances. Done means the second equality involving Set.completeAtomicBooleanAlgebra and Pi.completeBooleanAlgebra no longer fails.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.