Documentation

CslibFrontier.Computability.Complexity.Classes.P.Closure

Boolean closure of P #

Main definitions #

Main results #

P is closed under intersection, union, set difference, and symmetric difference.

References #

theorem Cslib.Complexity.inter_mem_P {α : Type} {enc : α ↪ List Bool} {A B : Set α} (hA : A ∈ P enc) (hB : B ∈ P enc) :
A ∩ B ∈ P enc

P is closed under intersection.

P as a Boolean subalgebra of Set α.

@[simp]
@[simp]
theorem Cslib.Complexity.P.mem_booleanSubalgebra {α : Type} {enc : α ↪ List Bool} {A : Set α} :
theorem Cslib.Complexity.union_mem_P {α : Type} {enc : α ↪ List Bool} {A B : Set α} (hA : A ∈ P enc) (hB : B ∈ P enc) :
A ∪ B ∈ P enc

P is closed under union.

theorem Cslib.Complexity.diff_mem_P {α : Type} {enc : α ↪ List Bool} {A B : Set α} (hA : A ∈ P enc) (hB : B ∈ P enc) :
A \ B ∈ P enc

P is closed under set difference.

theorem Cslib.Complexity.symmDiff_mem_P {α : Type} {enc : α ↪ List Bool} {A B : Set α} (hA : A ∈ P enc) (hB : B ∈ P enc) :
symmDiff A B ∈ P enc

P is closed under symmetric difference.