Documentation

CslibFrontier.Computability.Complexity.Problems.MaxCut.Derandomized

Polynomial-time certificate for deterministic conditional-expectations MaxCut #

Instantiates Cslib.Computability.PolyTimeGreedyInput for the deterministic conditional-expectations MaxCut algorithm (Cslib.Algorithms.Lean.MaxCut.derandomizedCut) over binary-encoded weighted multigraphs (encList Cslib.Complexity.MaxCut.encWeightedEdge).

Each greedy round prepends one vertex from distinctVertices edges to either trueSide or falseSide of PartialCut, growing encPartialCut by at most 4 * (encList encNat (distinctVertices edges)).length + 4 bits, while distinctVertices, assignVertex, and scaledUncut are ComputableInPolyTime.

Main definitions #

Main results #

Framed-pair encoding of PartialCut with binary-encoded vertex lists (encList encNat).

@[reducible, inline]

The tuple of the fields of encPartialCut.

theorem Cslib.Algorithms.Lean.MaxCut.encPartialCut_mk_inO {γ : Type} {encIn : γ ↪ List Bool} {x0 : γ → List ℕ} {T0 S0 : γ → ℕ} {x1 : γ → List ℕ} {T1 S1 : γ → ℕ} (h0 : Turing.MultiTapeTM.ComputableInO x0 encIn (Turing.MultiTapeTM.encList Turing.MultiTapeTM.encNat) T0 S0) (h1 : Turing.MultiTapeTM.ComputableInO x1 encIn (Turing.MultiTapeTM.encList Turing.MultiTapeTM.encNat) T1 S1) :
Turing.MultiTapeTM.ComputableInO (fun (x : γ) => { trueSide := x0 x, falseSide := x1 x }) encIn encPartialCut (fun (x : γ) => T0 x + T1 x) fun (x : γ) => S0 x + S1 x

PolyTimeGreedyInput bundle for deterministic conditional-expectations MaxCut.