OAI/Computability/MaxCut/PCP/LocalEquation.lean
36 declarations, 0 contain sorry, 0 declared as axioms
The actual global addresses use three input-dependent base registers. Every local query contributes only a fixed finite selector and fixed offset, so a finite control table can select a base and emit its unary offset.
- abbrev
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.LocalKeyline 12 - abbrev
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.LocalInputline 13 - def
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.signatureEncodingline 15 - def
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.signatureListline 21 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.mem_signatureListline 23 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.signatureList_nodupline 26 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.signatureList_lengthline 29 - def
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.localInputEncodingline 33 - def
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.localInputsline 36 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.mem_localInputsline 38 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.localInputs_nodupline 41 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.localInputs_lengthline 44 - def
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.localKeyEncodingline 48 - def
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.emptyLocalAddressline 52 - def
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.foldedLocalAddressline 56 - def
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.equationForline 64Source documentation
One local descriptor, reusing the existing folded and empty-context equations. The first-valid search is over the fixed explicit answer encoding.
def equationFor (u D : ℕ) (valid : J u → Bool) (π : J u → I u) (t : SourceTape.TestTape (I u) (J u) D) : Equation (LocalKey u) := …Mentions: OAI.MaxCutGames.Foundations.Hastad.SourceTape.TestTape, OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.LocalKey
- def
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.equationline 72 - def
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.emitline 76 - def
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.addressMapline 79 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.mapEquation_compline 85 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.addressMap_emptyLocalAddressline 88 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.addressMap_foldedLocalAddressline 94 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.contextEquation_eq_map_equationForline 105Source documentation
A generic factorization first aligns the validity function itself, so no unproved transport of dependent anchor subtypes is needed.
theorem contextEquation_eq_map_equationFor (F : Formula) (u D : ℕ) (c : ClauseContext F u) (v : VariableContext F u) (t : SourceTape.TestTape (I u) (J u) D) : contextEquation F u D c v t = mapEquation (addressMap F u c v) (equationFor u D (validJ F c) (pi F c v) t) := by …Mentions: OAI.MaxCutGames.Foundations.Hastad.SourceTape.TestTape, OAI.MaxCutGames.Foundations.Hastad.mapEquation, OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.addressMap, OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.equationFor
- theorem
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.contextEquation_eq_mapline 118 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceLocalEquation.sourceEquation_eq_map_emitline 131 - abbrev
OAI.MaxCutGames.Foundations.Hastad.SourceAddressDescriptors.Descriptorline 150 - def
OAI.MaxCutGames.Foundations.Hastad.SourceAddressDescriptors.descriptorline 152 - def
OAI.MaxCutGames.Foundations.Hastad.SourceAddressDescriptors.baseValueline 159Source documentation
Registers zero and one start the selected left and right query blocks; register two is the single dummy address.
def baseValue (F : Formula) (u : ℕ) (c : ClauseContext F u) (v : VariableContext F u) (side : Fin 3) : ℕ := … - def
OAI.MaxCutGames.Foundations.Hastad.SourceAddressDescriptors.realizeline 166 - def
OAI.MaxCutGames.Foundations.Hastad.SourceAddressDescriptors.wordsline 168 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceAddressDescriptors.realize_descriptorline 172 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceAddressDescriptors.descriptor_offset_boundline 189 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceAddressDescriptors.sourceEquation_numericline 212 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceAddressDescriptors.sourceEquation_wordsline 221 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceAddressDescriptors.baseValue_ltline 230 - theorem
OAI.MaxCutGames.Foundations.Hastad.SourceAddressDescriptors.equation_emit_steps_leline 247