A fixed finite-control program emits one exact unit clause in linear time
ProvedPvsNP.PhysicalClauseEmitter.emits_exact_clausecomplexity-theoryformal-verification
From initialized b-bit item, position and counter tracks, the clause emitter outputs the exact unit clause in 2j+5b+11 local steps for j<b. It stays inside the first b+1 cells, finishes at the far cell, and first enters done at the stated clock.
Preamble
import Definitions.Def_FixedWidthPhysicalClauseEmitter set_option autoImplicit false set_option maxHeartbeats 1400000 open PvsNP.PhysicalClauseEmitter PvsNP.FixedIdentifierSAT
Formal statement
theorem PvsNP.PhysicalClauseEmitter.emits_exact_clause (b i j : ℕ) (item : List Bool)
(within : j < b) (width : item.length = b) :
run (tape b i j item) (clauseCost b j) .seekSign 0 = (.done,b,clauseWord b i item j) ∧
(∀ t, (run (tape b i j item) t .seekSign 0).2.1 ≤ b) ∧
(∀ t < clauseCost b j, (run (tape b i j item) t .seekSign 0).1 ≠ .done) := by sorrySource
Exact transition count of a marked-track unit-clause emitter.