A successful Repair output satisfies the formula and has the required support
ProvedKSATSingleFlip.Connect.repair_success_outputLet be a finite Boolean formula, a set of clause positions, an assignment, a set of variables, and a natural number. If a completed run of Algorithm 3 returns , then
This is a supporting correctness property for the repair algorithm. It applies to every successful run, but does not assert that a run succeeds or establish its shortest-path property.
Preamble
import Definitions.Def_KSATSingleFlip_Connect_Repair
Formal statement
namespace KSATSingleFlip.Connect
/-- A successful Repair run returns a satisfying assignment with the required support. -/
theorem repair_success_output {n : ℕ} (k : ℕ) (Φ : GFormula (Fin n))
(I0 : Finset (Fin Φ.length)) (x : Fin n → Bool) (W : Finset (Fin n))
(r : Option (Finset (Fin n) × (Fin n → Bool))) (i : ℕ)
(hrun : RepairRun k Φ I0 x (RState.init Φ x W) r i) :
∀ U y, r = some (U, y) →
W ⊆ U ∧ y ∈ sols Φ ∧ ∀ u, u ∉ U → y u = x u := by sorry
end KSATSingleFlip.Connect
Source
Wang, Yin, Yu, and Zhang, Single-Variable Connectivity in Random k-SAT, https://arxiv.org/abs/2611.05981, Algorithm 3 and proof of Lemma 7.4, pp. 60–62; derived supporting statement.