Unrestricted depth-three lower bound: sparse leaf cnf #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/DepthThree/SparseLeafCNF.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical proofs are retained.
def
Complexity.DepthThreeLowerBound.SparseNormalization.toState
{V : Type uDepth1}
{H : CNF V}
{b : ℕ}
(N : SparseNormalization H b)
:
Convert a normalized sparse family to its initial sparsification state.
Instances For
theorem
Complexity.DepthThreeLowerBound.SparseNormalization.toState_valid
{V : Type uDepth1}
{H : CNF V}
{b : ℕ}
(N : SparseNormalization H b)
:
@[simp]
theorem
Complexity.DepthThreeLowerBound.SparseNormalization.toState_added
{V : Type uDepth1}
{H : CNF V}
{b : ℕ}
(N : SparseNormalization H b)
:
theorem
Complexity.DepthThreeLowerBound.SparseState.toCNF_normalized
{V : Type uDepth1}
(s : SparseState V)
{b : ℕ}
(hs : s.Valid b)
:
theorem
Complexity.DepthThreeLowerBound.SparseState.toCNF_widthAtMost
{V : Type uDepth1}
(s : SparseState V)
{b : ℕ}
(hs : s.Valid b)
(hb : 1 ≤ b)
:
s.toCNF.WidthAtMost b
@[simp]
theorem
Complexity.DepthThreeLowerBound.SparseState.toCNF_length
{V : Type uDepth1}
(s : SparseState V)
:
theorem
Complexity.DepthThreeLowerBound.SparseState.active_card_eq_sum_sizes
{V : Type uDepth1}
(s : SparseState V)
{b : ℕ}
(hs : s.Valid b)
:
theorem
Complexity.DepthThreeLowerBound.SparseState.active_card_le_of_terminal
{V : Type uDepth1}
[instDecidableEqV : DecidableEq V]
[Fintype V]
(s : SparseState V)
{r e D : ℕ → ℕ}
{b : ℕ}
(hs : s.Valid b)
(hnum : SparseNumerics r e D b)
(hterminal : ∀ (i : ℕ), ¬Nonempty (SignedSunflower s i (r i)))
:
theorem
Complexity.DepthThreeLowerBound.SparseState.toCNF_length_le_of_terminal
{V : Type uDepth1}
[instDecidableEqV : DecidableEq V]
[Fintype V]
(s : SparseState V)
{r e D : ℕ → ℕ}
{b : ℕ}
(hs : s.Valid b)
(hnum : SparseNumerics r e D b)
(hterminal : ∀ (i : ℕ), ¬Nonempty (SignedSunflower s i (r i)))
: