theoremsource_complete (η ξ : ℚ) (hη : 0 < η) (hη1 : η ≤1) (hξ : 0 < ξ)
(D : ℕ) (hD : 0 < D) (hnoise : (D : ℚ)⁻¹≤ ξ)
(F : Formula) (hF : F.Satisfiable) :
∃bits : Fin (source η ξ hη hη1 hξ D hD F).«variables»→Bool,
1 - ξ ≤ (((source η ξ hη hη1 hξ D hD F).equations.countP
(fun e =>CloneGap.satisfied e bits) : ℚ) /
(source η ξ hη hη1 hξ D hD F).equations.length) :=by
proof · 5
lines
obtain ⟨assignment, hs⟩ := hF
refine ⟨SourceHonest.honestBits F _ assignment, ?_⟩
have h :=SourceHonest.sourceList_honest_acceptance_rat F
(repetitionCount η ξ hη hη1 hξ D hD) D hD assignment hs
exact (sub_le_sub_left hnoise 1).trans h
theoremsource_sound (η ξ : ℚ) (hη : 0 < η) (hη1 : η ≤1) (hξ : 0 < ξ)
(D : ℕ) (hD : 0 < D) (hDtwo : 2≤D)
(F : Formula) (hgap : ClauseGapF η)
(bits : Fin (source η ξ hη hη1 hξ D hD F).«variables»→Bool) :
((source η ξ hη hη1 hξ D hD F).equations.countP
(fun e =>CloneGap.satisfied e bits) : ℚ) /
(source η ξ hη hη1 hξ D hD F).equations.length ≤ (1 + ξ) / 2:=
proof · 3
lines
SourceSoundness.sourceList_sound_rat F hgap.1
(repetitionCount η ξ hη hη1 hξ D hD) D hD hDtwo ξ hξ.le
(repeated_game_bound F η ξ hη hη1 hξ D hD hgap) bits