Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Diamond of complete boolean algebras on sets #16932

@ocfnash

Description

@ocfnash

We have a diamond of complete boolean algebras on sets:

import data.set.lattice

variables {α : Type*}

-- Succeeds
example : @set.boolean_algebra α = pi.boolean_algebra := rfl

-- Fails
example : @set.complete_boolean_algebra α = pi.complete_boolean_algebra := rfl

Although set is a type synonym, parts of our library abuse this and rely on the definitional equality between set α and α → Prop. A notable example is our measure theory library which currently relies on this definitional equality in order to share the concept of functions being "almost equal" with that of sets.

It would be desirable if we could resolve this diamond. See also Zulip thread

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions