Polynomial-time replacement design builder (Lemma 4.7) #
Executable neutral-singleton scope augmentation (withNeutralScopesList) and deterministic
polynomial-time Lemma 4.7 replacement-design construction (buildReplacementDesignData) from
§4.6 (Lemma 4.7, pp. 33–34) and §§5.3, 5.5 (pp. 37–38) of
OpenAI, The Exponential Time Hypothesis is False. Plain @[fun_prop]
Turing.MultiTapeTM.ComputableInPolyTime certificates cover the tape-encoded routines
(withNeutralScopesList, scopeIncidencesList, normalizeVarSchedules,
normalizeScopeSchedules, incidenceLabelsList, buildReplacementDesignData,
ReplacementDesignData projections, and ReplacementDesignData.lookupReplacementRow, with
encUnary on (n_free, D_cap, Q, r, A₀, R) and binary/list encodings on scopes, schedules,
and ReplacementDesignData), while listScopeFamily, withNeutralScopesIndexEquiv,
finToScopeIncidence, scopeIncidenceEquivFin, varAssignOfList, factorAssignOfList,
BalancedSchedule, placeFinOfBalanced, constructedReplacementDesign, and
ReplacementDesignData.Refines serve as unencoded semantic specification bridges. All
executable routines are total: scopes ignore variable indices ≥ n_free; schedule words
truncate/pad with 0 to length Q modulo max r 1 with missing rows and empty in-range
scopes normalized to List.replicate Q 0; auxiliary tables cap at min D_cap (r ^ (2 * Q))
(copyCount = 0 when r = 0 and Q > 0); and for data produced by the builder,
lookupReplacementRow returns [] when (f, v) is absent.
Main definitions #
Cslib.LinearAlgebra.withNeutralScopesList,Cslib.LinearAlgebra.listScopeFamily,Cslib.LinearAlgebra.withNeutralScopesIndexEquiv,Cslib.LinearAlgebra.scopeIncidencesList,Cslib.LinearAlgebra.scopeIncidenceEquivFin,Cslib.LinearAlgebra.BalancedSchedule.Cslib.LinearAlgebra.ReplacementDesignData,Cslib.LinearAlgebra.encReplacementDesignData,Cslib.LinearAlgebra.buildReplacementDesignData,Cslib.LinearAlgebra.ReplacementDesignData.lookupReplacementRow,Cslib.LinearAlgebra.constructedReplacementDesign,Cslib.LinearAlgebra.ReplacementDesignData.Refines.
Main results #
Cslib.LinearAlgebra.listScopeFamily_withNeutralScopesList,Cslib.LinearAlgebra.varIncidence_listScopeFamily_withNeutralScopesList,Cslib.LinearAlgebra.totalIncidence_listScopeFamily_withNeutralScopesList,Cslib.LinearAlgebra.computableInPolyTime_withNeutralScopesList.Cslib.LinearAlgebra.balancedSchedule_iff_exec,Cslib.LinearAlgebra.exists_balancedSchedule_of_scopes,Cslib.LinearAlgebra.computableInPolyTime_buildReplacementDesignData,Cslib.LinearAlgebra.computableInPolyTime_lookupReplacementRow,Cslib.LinearAlgebra.buildReplacementDesignData_spec,Cslib.LinearAlgebra.exists_replacementDesign_of_buildReplacementDesignData,Cslib.LinearAlgebra.exists_replacementDesign_withNeutralScopesList.
References #
- OpenAI, The Exponential Time Hypothesis is False, §4.6 and §§5.3, 5.5.
1. Executable neutral-singleton scope augmentation (withNeutralScopesList) #
Every semantic scope listScopeFamily n_free scopes f has size at most scopes[f].length.
Exact agreement between withNeutralScopesList and Cslib.BitString.withNeutralScope.
Variable incidence increases by 1 at every free variable under withNeutralScopesList.
Total incidence increases by n_free under withNeutralScopesList.
2. Canonical scope incidences and Lemma 4.5 schedule balance #
Map an index in Fin (scopeIncidencesList n_free scopes).length to ScopeIncidence.
Instances For
Canonical bijection ScopeIncidence (listScopeFamily n_free scopes) ≃ Fin M.
Instances For
incidenceLabelsList equals List.ofFn of encodeAuxLabel ∘ u ∘ finToScopeIncidence.
Pure executable list characterization of BalancedSchedule, enabling decide verification.
Lemma 4.5 schedule existence on executable scope lists: under Lemma 4.7's size hypotheses,
there exist executable schedule lists (schedVar, schedScope) satisfying BalancedSchedule.
3. Bundled Lemma 4.7 design data and executable constructor #
Bundled executable Lemma 4.7 replacement-design arrays ([OAI26c], Lemma 4.7).
Step-and-group variable partitions
V_0, …, V_{r - 1}fort < Q.Normalized factor group schedules
σ_f ∈ {0, …, r - 1}^Qforf < scopes.length.Canonical ordered list of factor–variable incidences
(f, v).- copyCount : ℕ
Copy count
h = 2 * incidences.length / r ^ (2 * Q). Injective incidence copy placements
(c_e, u_e)fore < incidences.length.Pulled-back
(copyCount * c_B) × n_freeinteger measurement matrixĈ = C̃ ι.Step-and-group restricted integer measurement matrices
C_{t,g} = Ĉ|_{S_{t,g}}.- denom : ℤ
Cleared common denominator
d_den = (R - 1)! * Q!as an integer. Per-incidence
n_free × Rcleared replacement-row coefficient tablesd_den · P⃗_e(T).
Instances For
Instances For
Instances For
Underlying nested product representation of ReplacementDesignData for tape encoding.
Instances For
Canonical equivalence between ReplacementDesignData and ReplacementDesignTuple.
Instances For
Standard multi-tape Turing machine encoding of ReplacementDesignTuple.
Instances For
Standard multi-tape Turing machine encoding of ReplacementDesignData.
Instances For
Executable Lemma 4.7 replacement-design constructor assembling ExchangeReplacement and
CopyPlacement over (schedVar, schedScope) ([OAI26c], §4.6, Lemma 4.7, pp. 33–34).
Instances For
Look up the n_free × R cleared replacement-row coefficient table for (f, v).
Instances For
4. Plain polynomial-time certificates (ComputableInPolyTime) #
Compositional plain polynomial-time certificate for withNeutralScopesList.
withNeutralScopesList is computable in polynomial time with n_free in encUnary.
Lemma 4.7 polynomial-time certificate (buildReplacementDesignData):
buildReplacementDesignData is computable in polynomial time from unary parameters
(n_free, D_cap, Q, r, A₀, R) and list-encoded (scopes, schedVar, schedScope).
Compositional plain polynomial-time certificate for lookupReplacementRow.
5. Semantic bridge from buildReplacementDesignData to ReplacementDesign #
Concrete Fin M-indexed placement Fin M → Fin h × AuxLabel Q r from BalancedSchedule.
Instances For
Concrete ReplacementDesign induced by BalancedSchedule (Lemma 4.7, pp. 33–34):
constructs ReplacementDesign (listScopeFamily n_free scopes) Q r A₀ R τ from balanced schedules
(schedVar, schedScope) and Lemma 4.7's numerical and binomial-tail hypotheses.
Instances For
Componentwise refinement predicate asserting that data : ReplacementDesignData represents
D : ReplacementDesign (listScopeFamily n_free scopes) Q r A₀ R τ across all Definition 3.1
components, including global ℚ-kernel equivalence and restricted-kernel evaluation annihilation
from C_{t,g}.
Instances For
Main Lemma 4.7 semantic specification (buildReplacementDesignData_spec):
under Lemma 4.7's cap, interval, binomial-tail, and BalancedSchedule hypotheses,
buildReplacementDesignData refines constructedReplacementDesign.
Bundled existential packaging of buildReplacementDesignData_spec.
Neutral-padded Lemma 4.7 specialization (exists_replacementDesign_withNeutralScopesList):
when each free variable belongs to at most b₀ scopes of scopes and (schedVar, schedScope)
satisfies BalancedSchedule on withNeutralScopesList scopes n_free, buildReplacementDesignData
refines a concrete ReplacementDesign on the augmented scope family with occurrence bound
b = b₀ + 1.