@[implicit_reducible]
Equations
- instAdjoinSet α = { adjoin := insert }
@[implicit_reducible]
Equations
- instAdjoinList α = { adjoin := List.cons }
@[implicit_reducible]
Equations
- instAdjoinMultiset α = { adjoin := Multiset.cons }
@[implicit_reducible]
Equations
- instAdjoinFinsetOfDecidableEq α = { adjoin := insert }
class
AdjunctiveSet
(β : outParam (Type u_1))
(α : Type u_2)
extends Membership β α, HasSubset α, EmptyCollection α, Adjoin β α :
Type (max u_1 u_2)
- emptyCollection : α
- adjoin : β → α → α
- not_mem_empty (x : β) : x ∉ ∅
Instances
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
theorem
AdjunctiveSet.mem_set_iff
{β : Type u_1}
{α : Type u_2}
[AdjunctiveSet β α]
{x : β}
{a : α}
:
theorem
AdjunctiveSet.subset_iff_set_subset_set
{β : Type u_1}
{α : Type u_2}
[AdjunctiveSet β α]
{a b : α}
:
@[simp]
theorem
AdjunctiveSet.subset_trans
{β : Type u_1}
{α : Type u_2}
[AdjunctiveSet β α]
{a b c : α}
(ha : a ⊆ b)
(hb : b ⊆ c)
:
theorem
AdjunctiveSet.subset_antisymm
{β : Type u_1}
{α : Type u_2}
[AdjunctiveSet β α]
{a b : α}
(ha : a ⊆ b)
(hb : b ⊆ a)
:
@[simp]
@[simp]
@[simp]
theorem
AdjunctiveSet.subset_cons
{β : Type u_1}
{α : Type u_2}
[AdjunctiveSet β α]
(a : α)
(x : β)
:
@[simp]
@[simp]
Equations
Instances For
@[simp]
theorem
AdjunctiveSet.Finite.of_subset
{β : Type u_1}
{α : Type u_2}
[AdjunctiveSet β α]
{a b : α}
(ha : Finite a)
(h : b ⊆ a)
:
Finite b
@[simp]
theorem
AdjunctiveSet.cons_finite_iff
{β : Type u_1}
{α : Type u_2}
[AdjunctiveSet β α]
{z : β}
{a : α}
:
Equations
- AdjunctiveSet.addList a [] = a
- AdjunctiveSet.addList a (x_1 :: xs) = adjoin x_1 (AdjunctiveSet.addList a xs)
Instances For
Equations
- [].toAdjunctiveSet = ∅
- (x_1 :: xs).toAdjunctiveSet = adjoin x_1 xs.toAdjunctiveSet
Instances For
noncomputable def
Finset.toAdjunctiveSet
{β : Type u_1}
{α : Type u_2}
[AdjunctiveSet β α]
:
Finset β → α
Equations
Instances For
@[simp]
theorem
AdjunctiveSet.mem_list_toAdjunctiveSet
{β : Type u_1}
{α : Type u_2}
[AdjunctiveSet β α]
{x : β}
{l : List β}
:
@[simp]
theorem
AdjunctiveSet.mem_finset_toAdjunctiveSet
{β : Type u_1}
{α : Type u_2}
[AdjunctiveSet β α]
{x : β}
{s : Finset β}
:
@[simp]
theorem
AdjunctiveSet.list_toAdjunctiveSet_finite
{β : Type u_1}
{α : Type u_2}
[AdjunctiveSet β α]
(l : List β)
:
@[simp]
theorem
AdjunctiveSet.finset_toAdjunctiveSet_finite
{β : Type u_1}
{α : Type u_2}
[AdjunctiveSet β α]
(s : Finset β)
:
@[simp]