Number of labels for accepting two-run grafts
ProvedPvsNP.accepting_graft_label_countcombinatoricscomplexity-theoryinformation-theory
A fixed target test accepts when the sum of a local syndrome and an exterior syndrome equals the target in a right-cancellative additive semigroup. Every local pattern has an accepting exterior completion. Labels range over a finite type and may depend on the entire completion. If two accepting completions share a label, the local part of the second can replace that of the first while preserving acceptance. The labels used by accepting completions are at least as numerous as the local syndromes.
Preamble
import Mathlib set_option autoImplicit false
Formal statement
theorem PvsNP.accepting_graft_label_count {Local Exterior Label Syndrome : Type} [AddRightCancelSemigroup Syndrome] [Finite Label]
(encode : Local → Exterior → Label) (inside : Local → Syndrome)
(outside : Exterior → Syndrome) (target : Syndrome)
(completes : ∀ x, ∃ e, inside x + outside e = target)
(safe : ∀ x y e f, inside x + outside e = target → inside y + outside f = target →
encode x e = encode y f → inside y + outside e = target) :
Nat.card (Set.range inside) ≤
Nat.card {label : Label // ∃ x e, inside x + outside e = target ∧ encode x e = label} := by sorrySource
Exterior completions for two-pass moment and fingerprint predicates.