The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V03. Sets, finite structures and big operators

Mathlib.Data.Set.Opposite

18 declarations. Mathlib docs · Source

def Set.op E1 #

{α : Type u_1} → Set α → Set αᵒᵖ

The opposite of a set s is the set obtained by taking the opposite of each member of s.

def Set.unop E1 #

{α : Type u_1} → Set αᵒᵖ → Set α

The unop of a set s is the set obtained by taking the unop of each member of s.

theorem Set.mem_op E0 #

∀ {α : Type u_1} {s : Set α} {a : αᵒᵖ}, a ∈ s.op ↔ Opposite.unop a ∈ s

theorem Set.op_mem_op E0 #

∀ {α : Type u_1} {s : Set α} {a : α}, Opposite.op a ∈ s.op ↔ a ∈ s

theorem Set.mem_unop E0 #

∀ {α : Type u_1} {s : Set αᵒᵖ} {a : α}, a ∈ s.unop ↔ Opposite.op a ∈ s

theorem Set.unop_mem_unop E0 #

∀ {α : Type u_1} {s : Set αᵒᵖ} {a : αᵒᵖ}, Opposite.unop a ∈ s.unop ↔ a ∈ s

theorem Set.op_unop E0 #

∀ {α : Type u_1} (s : Set α), s.op.unop = s

theorem Set.unop_op E0 #

∀ {α : Type u_1} (s : Set αᵒᵖ), s.unop.op = s

def Set.opEquiv_self E1 #

{α : Type u_1} → (s : Set α) → ↑s.op ≃ ↑s

The members of the opposite of a set are in bijection with the members of the set itself.

theorem Set.opEquiv_self_symm_apply_coe E0 #

∀ {α : Type u_1} (s : Set α) (x : ↑s), ↑(s.opEquiv_self.symm x) = Opposite.op ↑x

theorem Set.opEquiv_self_apply_coe E0 #

∀ {α : Type u_1} (s : Set α) (x : ↑s.op), ↑(s.opEquiv_self x) = Opposite.unop ↑x

def Set.opEquiv E1 #

{α : Type u_1} → Set α ≃ Set αᵒᵖ

Taking opposites as an equivalence of powersets.

theorem Set.opEquiv_apply E0 #

∀ {α : Type u_1} (s : Set α), Set.opEquiv s = s.op

theorem Set.opEquiv_symm_apply E0 #

∀ {α : Type u_1} (s : Set αᵒᵖ), Set.opEquiv.symm s = s.unop

theorem Set.singleton_op E0 #

∀ {α : Type u_1} (x : α), {x}.op = {Opposite.op x}

theorem Set.singleton_unop E0 #

∀ {α : Type u_1} (x : αᵒᵖ), {x}.unop = {Opposite.unop x}

theorem Set.singleton_op_unop E0 #

∀ {α : Type u_1} (x : α), {Opposite.op x}.unop = {x}

theorem Set.singleton_unop_op E0 #

∀ {α : Type u_1} (x : αᵒᵖ), {Opposite.unop x}.op = {x}