@[simp]
theorem
lengthAdd
{X : Finset Formula}
{ϕ : Formula}
:
ϕ ∉ X → lengthOfSet (insert ϕ X) = lengthOfSet X + lengthOfFormula ϕ
@[simp]
theorem
lengthOf_insert_leq_plus
{X : Finset Formula}
{ϕ : Formula}
:
lengthOfSet (insert ϕ X) ≤ lengthOfSet X + lengthOfFormula ϕ
@[simp]
theorem
lengthRemove
(X : Finset Formula)
(ϕ : Formula)
:
ϕ ∈ X → lengthOfSet (X.erase ϕ) + lengthOfFormula ϕ = lengthOfSet X
theorem
lengthSetRemove
(X Y : Finset Formula)
(h : Y ⊆ X)
:
lengthOfSet (X \ Y) + lengthOfSet Y = lengthOfSet X
@[simp]