Buckets:
cfahlgren1/math / lean /OAI /Computability /UniqueGames /Machines /MachineExpanderFamilyBoundsLemmas.lean
| import OAI.Computability.UniqueGames.Machines.MachineExpanderFamilyTapes | |
| import OAI.Computability.UniqueGames.Machines.MachineExpanderFamilyTransferLemmas | |
| import OAI.Computability.UniqueGames.Machines.MachineExpanderTable | |
| import OAI.Computability.UniqueGames.PCP.OverlayLemmas | |
| namespace OAI | |
| /-! | |
| # Bounds for materializing the actual expander family | |
| The costs use the encoded old and new rotation tables, and the already checked | |
| table-machine polynomial. The finite sum follows the actual recursive table | |
| family. These arithmetic lemmas introduce no execution assumptions and make no | |
| claim that the output is polynomial in an isolated binary level parameter. | |
| -/ | |
| namespace UniqueGamesTheorem.Foundations.Complexity.MachineExpanderFamilyBounds | |
| open PCP.ExpanderTables PCP.ExpanderRowControl PCP.ExpanderTableWords | |
| noncomputable def resizeCost {v d : Nat} (G : Table v (degree d)) | |
| (H : Table (cloudSize d) d) : Nat := | |
| (MachineExpanderTable.timePolynomial d).eval (MachineExpanderTable.oldTableWord G).length + | |
| 6 * v + (MachineExpanderTable.oldTableWord G).length + | |
| 2 * (encodeWords (rotationWords (step G H))).length + 15 | |
| def resizeCoefficient (d : Nat) : Nat := | |
| MachineExpanderTable.timeCoefficient d * (degree d + 1) ^ 4 + | |
| 3 * (degree d + 1) ^ 2 + 21 | |
| /-- The complete unary encoding, including every word delimiter, is counted. -/ | |
| theorem wordLength_add_one_le {v q N : Nat} (G : Table v q) (hv : v ≤ N) : | |
| (encodeWords (rotationWords G)).length + 1 ≤ (q + 1)^2 * (N + 1)^2 := by | |
| have hlength := encode_rotationWords_length_le G | |
| have hrow : v * q + 1 ≤ (q + 1) * (N + 1) := by | |
| have h := Nat.mul_le_mul_right q hv | |
| nlinarith | |
| calc | |
| _ ≤ (v * q + 1)^2 := by nlinarith | |
| _ ≤ ((q + 1) * (N + 1))^2 := Nat.pow_le_pow_left hrow 2 | |
| _ = _ := by ring | |
| theorem resizeCost_le {v d : Nat} (G : Table v (degree d)) | |
| (H : Table (cloudSize d) d) (N : Nat) (hv : v ≤ N) | |
| (hnext : v * cloudSize d ≤ N) : | |
| resizeCost G H ≤ resizeCoefficient d * (N + 1)^4 := by | |
| let oldL := (MachineExpanderTable.oldTableWord G).length | |
| let newL := (encodeWords (rotationWords (step G H))).length | |
| have oldBound : oldL + 1 ≤ (degree d + 1)^2 * (N + 1)^2 := | |
| wordLength_add_one_le G hv | |
| have newBound : newL + 1 ≤ (degree d + 1)^2 * (N + 1)^2 := | |
| wordLength_add_one_le (step G H) hnext | |
| have timeBound : (MachineExpanderTable.timePolynomial d).eval oldL ≤ | |
| MachineExpanderTable.timeCoefficient d * (degree d + 1)^4 * (N + 1)^4 := by | |
| simp only [MachineExpanderTable.timePolynomial, Polynomial.eval_mul, | |
| Polynomial.eval_C, Polynomial.eval_pow, Polynomial.eval_add, | |
| Polynomial.eval_X, Polynomial.eval_one] | |
| calc | |
| _ ≤ MachineExpanderTable.timeCoefficient d * | |
| ((degree d + 1)^2 * (N + 1)^2)^2 := | |
| Nat.mul_le_mul_left _ (Nat.pow_le_pow_left oldBound 2) | |
| _ = _ := by ring | |
| have pow24 : (N + 1)^2 ≤ (N + 1)^4 := | |
| Nat.pow_le_pow_right (Nat.succ_pos N) (by decide) | |
| have overheadBound : oldL + 2 * newL ≤ | |
| 3 * (degree d + 1)^2 * (N + 1)^4 := by | |
| have h := Nat.mul_le_mul_left ((degree d + 1)^2) pow24 | |
| calc | |
| _ ≤ 3 * ((degree d + 1)^2 * (N + 1)^2) := by omega | |
| _ ≤ 3 * ((degree d + 1)^2 * (N + 1)^4) := Nat.mul_le_mul_left 3 h | |
| _ = _ := by ring | |
| have npow : N + 1 ≤ (N + 1)^4 := by | |
| simpa only [pow_one] using | |
| Nat.pow_le_pow_right (Nat.succ_pos N) (show 1 ≤ 4 by decide) | |
| have linearBound : 6 * v + 15 ≤ 21 * (N + 1)^4 := by omega | |
| change (MachineExpanderTable.timePolynomial d).eval oldL + 6 * v + oldL + | |
| 2 * newL + 15 ≤ _ | |
| unfold resizeCoefficient | |
| nlinarith only [timeBound, overheadBound, linearBound] | |
| theorem vertexCount_monotone {q : Nat} (positive : 0 < q) : | |
| Monotone (vertexCount q) := by | |
| intro m n hmn | |
| rw [vertexCount_eq, vertexCount_eq] | |
| exact Nat.pow_le_pow_right (Nat.mul_pos positive positive) hmn | |
| theorem level_le_vertexCount {q : Nat} (growth : 1 < q * q) (level : Nat) : | |
| level ≤ vertexCount q level := by | |
| have positive : 0 < q := by nlinarith | |
| induction level with | |
| | zero => exact Nat.zero_le _ | |
| | succ level ih => | |
| have hpos := vertexCount_positive positive level | |
| have hmul := Nat.mul_le_mul_left (vertexCount q level) | |
| (show 2 ≤ q * q by omega) | |
| change level + 1 ≤ vertexCount q level * (q * q) | |
| nlinarith | |
| noncomputable def resizeSum {d : Nat} (H : Table (cloudSize d) d) (level : Nat) : Nat := | |
| ∑ i ∈ Finset.range level, resizeCost (family H i) H | |
| @[simp] theorem resizeSum_zero {d : Nat} (H : Table (cloudSize d) d) : | |
| resizeSum H 0 = 0 := by simp [resizeSum] | |
| theorem resizeSum_succ {d : Nat} (H : Table (cloudSize d) d) (level : Nat) : | |
| resizeSum H (level + 1) = resizeSum H level + resizeCost (family H level) H := by | |
| simp only [resizeSum, Finset.sum_range_succ] | |
| theorem resizeSum_add {d : Nat} (H : Table (cloudSize d) d) (start count : Nat) : | |
| resizeSum H (start + count) = resizeSum H start + | |
| ∑ i ∈ Finset.range count, resizeCost (family H (start + i)) H := | |
| Finset.sum_range_add (fun i => resizeCost (family H i) H) start count | |
| noncomputable def familyBudget {d : Nat} (H : Table (cloudSize d) d) (level : Nat) : Nat := | |
| resizeSum H level + level + 3 | |
| @[simp] theorem familyBudget_zero {d : Nat} (H : Table (cloudSize d) d) : | |
| familyBudget H 0 = 3 := by simp [familyBudget] | |
| theorem familyBudget_succ {d : Nat} (H : Table (cloudSize d) d) (level : Nat) : | |
| familyBudget H (level + 1) = | |
| familyBudget H level + resizeCost (family H level) H + 1 := by | |
| simp only [familyBudget, resizeSum_succ] | |
| omega | |
| theorem resizeSum_le {d : Nat} (H : Table (cloudSize d) d) | |
| (growth : 1 < cloudSize d) (level : Nat) : | |
| resizeSum H level ≤ resizeCoefficient d * (vertexCount (degree d) level + 1)^5 := by | |
| let N := vertexCount (degree d) level | |
| have positive : 0 < degree d := by | |
| have h : 1 < degree d * degree d := growth | |
| nlinarith | |
| have hmono := vertexCount_monotone positive | |
| have hlevel : level ≤ N := level_le_vertexCount growth level | |
| have eachBound : ∀ i ∈ Finset.range level, | |
| resizeCost (family H i) H ≤ resizeCoefficient d * (N + 1)^4 := by | |
| intro i hi | |
| have hi' : i < level := Finset.mem_range.mp hi | |
| apply resizeCost_le (family H i) H N | |
| · exact hmono (by omega) | |
| · exact hmono (show i + 1 ≤ level by omega) | |
| have sumBound : resizeSum H level ≤ level * (resizeCoefficient d * (N + 1)^4) := by | |
| calc | |
| _ ≤ ∑ _i ∈ Finset.range level, resizeCoefficient d * (N + 1)^4 := | |
| Finset.sum_le_sum eachBound | |
| _ = _ := by simp | |
| calc | |
| _ ≤ level * (resizeCoefficient d * (N + 1)^4) := sumBound | |
| _ ≤ (N + 1) * (resizeCoefficient d * (N + 1)^4) := | |
| Nat.mul_le_mul_right _ (hlevel.trans (Nat.le_succ N)) | |
| _ = _ := by ring | |
| /-- All actual resize costs plus the counted-loop overhead. -/ | |
| theorem familyBudget_le {d : Nat} (H : Table (cloudSize d) d) | |
| (growth : 1 < cloudSize d) (level : Nat) : | |
| familyBudget H level ≤ | |
| (resizeCoefficient d + 4) * (vertexCount (degree d) level + 1)^5 := by | |
| have hsum := resizeSum_le H growth level | |
| have hlevel := level_le_vertexCount growth level | |
| have hpow : vertexCount (degree d) level + 1 ≤ | |
| (vertexCount (degree d) level + 1)^5 := by | |
| simpa only [pow_one] using Nat.pow_le_pow_right | |
| (Nat.succ_pos (vertexCount (degree d) level)) (show 1 ≤ 5 by decide) | |
| have overhead : level + 3 ≤ 4 * (vertexCount (degree d) level + 1)^5 := by omega | |
| unfold familyBudget | |
| nlinarith only [hsum, overhead] | |
| theorem paddedSize_le_succ_input (k : Nat) : | |
| PCP.PreprocessingLevels.paddedSize k ≤ PCP.ExpanderFamily.growth * (k + 1) := by | |
| by_cases hk : k = 0 | |
| · subst k | |
| have h := PCP.ExpanderFamily.growth_gt_one | |
| simp only [PCP.PreprocessingLevels.paddedSize_zero, Nat.zero_add, Nat.mul_one] | |
| omega | |
| · exact (PCP.PreprocessingLevels.paddedSize_bounds (Nat.pos_of_ne_zero hk)).2.trans | |
| (Nat.mul_le_mul_left _ (Nat.le_succ k)) | |
| def inputCoefficient : Nat := | |
| (resizeCoefficient PCP.Expanders.baseDegree + 4) * (PCP.ExpanderFamily.growth + 1)^5 | |
| /-- For the fixed base graph, the bounded padding level has a polynomial cost | |
| in the requested unary size, including size zero. -/ | |
| theorem familyBudget_at_boundedLevel_le | |
| (H : Table (cloudSize PCP.Expanders.baseDegree) PCP.Expanders.baseDegree) (k : Nat) : | |
| familyBudget H (PCP.PreprocessingLevels.boundedLevel k) ≤ inputCoefficient * (k + 1)^5 := by | |
| have hg : cloudSize PCP.Expanders.baseDegree = PCP.ExpanderFamily.growth := by | |
| unfold cloudSize degree PCP.ExpanderFamily.growth | |
| ring | |
| have growth : 1 < cloudSize PCP.Expanders.baseDegree := by | |
| rw [hg] | |
| exact PCP.ExpanderFamily.growth_gt_one | |
| have bound := familyBudget_le H growth (PCP.PreprocessingLevels.boundedLevel k) | |
| rw [PCP.PreprocessingLevels.table_vertexCount_eq_paddedSize] at bound | |
| have sizeBound : PCP.PreprocessingLevels.paddedSize k + 1 ≤ | |
| (PCP.ExpanderFamily.growth + 1) * (k + 1) := by | |
| have h := paddedSize_le_succ_input k | |
| nlinarith | |
| calc | |
| _ ≤ (resizeCoefficient PCP.Expanders.baseDegree + 4) * | |
| (PCP.PreprocessingLevels.paddedSize k + 1)^5 := bound | |
| _ ≤ (resizeCoefficient PCP.Expanders.baseDegree + 4) * | |
| ((PCP.ExpanderFamily.growth + 1) * (k + 1))^5 := | |
| Nat.mul_le_mul_left _ (Nat.pow_le_pow_left sizeBound 5) | |
| _ = _ := by unfold inputCoefficient; ring | |
| end UniqueGamesTheorem.Foundations.Complexity.MachineExpanderFamilyBounds | |
| namespace UniqueGamesTheorem.Foundations.Complexity.MachineExpanderFamily | |
| section | |
| open PCP.ExpanderTables PCP.ExpanderRowControl PCP.ExpanderTableWords | |
| /-- The six nonempty tape roles that may occur between expansion phases. -/ | |
| def cycleWords (remaining : Nat) (word current vertex count result suffix : List Bool) : | |
| Tape → List Bool | |
| | .inl (.inl .table) => word | |
| | .inl (.inl .inputVertex) => vertex | |
| | .inl (.inr .vertexCount) => count | |
| | .inl (.inr .result) => result | |
| | .inr .remainingLevel => encodeWord remaining ++ suffix | |
| | .inr .currentSize => current | |
| | _ => [] | |
| def cycleTapes (remaining : Nat) (word current vertex count result suffix : List Bool) : | |
| (tape : Tape) → List (Alphabet tape) := | |
| fromBoolTapes (cycleWords remaining word current vertex count result suffix) | |
| @[simp] theorem toBool_cycleTapes (remaining : Nat) | |
| (word current vertex count result suffix : List Bool) : | |
| toBoolTapes (cycleTapes remaining word current vertex count result suffix) = | |
| cycleWords remaining word current vertex count result suffix := toBool_fromBool _ | |
| theorem boundaryTapes_eq_cycleTapes (remaining current : Nat) (word suffix : List Bool) : | |
| boundaryTapes remaining current word suffix = | |
| cycleTapes remaining word (encodeWord current) [] [] [] suffix := by | |
| funext tape | |
| rcases tape with tape | tape | |
| · rcases tape with row | extra | |
| · cases row <;> rfl | |
| · cases extra <;> rfl | |
| · cases tape <;> rfl | |
| def copyFrame (remaining current : Nat) (word suffix : List Bool) : | |
| (tape : Tape) → List (Alphabet tape) := | |
| MachineEmbedding.tapes (MachineExpanderTable.initialTapes current word []) | |
| (extraFrame remaining current suffix) | |
| def returnFrame (remaining current : Nat) (oldWord newWord suffix : List Bool) : | |
| (tape : Tape) → List (Alphabet tape) := | |
| MachineEmbedding.tapes (MachineExpanderTable.finalTapes current oldWord newWord []) | |
| (extraFrame remaining current suffix) | |
| def installedFrame (remaining current : Nat) (newWord suffix : List Bool) : | |
| (tape : Tape) → List (Alphabet tape) := | |
| cycleTapes remaining newWord [] (encodeWord current) (encodeWord 0) [] suffix | |
| def multipliedFrame (d remaining current : Nat) (newWord suffix : List Bool) : | |
| (tape : Tape) → List (Alphabet tape) := | |
| cycleTapes remaining newWord (encodeWord (cloudSize d * current)) | |
| (encodeWord current) (encodeWord 0) [] suffix | |
| theorem copyFrame_eq_cycleTapes (remaining current : Nat) (word suffix : List Bool) : | |
| copyFrame remaining current word suffix = | |
| cycleTapes remaining word (encodeWord current) [] (encodeWord current) [] suffix := by | |
| funext tape | |
| rcases tape with tape | tape | |
| · rcases tape with row | extra | |
| · cases row <;> rfl | |
| · cases extra <;> simp [copyFrame, MachineEmbedding.tapes, | |
| MachineExpanderTable.initialTapes, MachineExpanderTable.extraTapes, | |
| cycleTapes, fromBoolTapes, boolWord, cycleWords] | |
| · cases tape <;> rfl | |
| theorem returnFrame_eq_cycleTapes (remaining current : Nat) | |
| (oldWord newWord suffix : List Bool) : | |
| returnFrame remaining current oldWord newWord suffix = | |
| cycleTapes remaining oldWord (encodeWord current) (encodeWord current) | |
| (encodeWord 0) newWord suffix := by | |
| funext tape | |
| rcases tape with tape | tape | |
| · rcases tape with row | extra | |
| · cases row <;> rfl | |
| · cases extra <;> simp [returnFrame, MachineEmbedding.tapes, | |
| MachineExpanderTable.finalTapes, MachineExpanderTable.boundaryTapes, | |
| MachineExpanderTable.extraTapes, cycleTapes, fromBoolTapes, boolWord, cycleWords] | |
| · cases tape <;> rfl | |
| theorem copyFrame_eq_update (remaining current : Nat) (word suffix : List Bool) : | |
| Function.update (boundaryTapes remaining current word suffix) | |
| vertexCountTape (encodeWord current) = copyFrame remaining current word suffix := by | |
| rw [boundaryTapes_eq_cycleTapes, copyFrame_eq_cycleTapes] | |
| funext tape | |
| rcases tape with tape | tape | |
| · rcases tape with row | extra | |
| · cases row <;> rfl | |
| · cases extra <;> rfl | |
| · cases tape <;> rfl | |
| theorem multipliedFrame_eq_update (d remaining current : Nat) (word suffix : List Bool) : | |
| Function.update (installedFrame remaining current word suffix) | |
| (.inr .currentSize) (encodeWord (cloudSize d * current)) = | |
| multipliedFrame d remaining current word suffix := by | |
| funext tape | |
| rcases tape with tape | tape | |
| · rcases tape with row | extra | |
| · cases row <;> rfl | |
| · cases extra <;> rfl | |
| · cases tape <;> rfl | |
| end | |
| open Turing | |
| open PCP.ExpanderTables PCP.ExpanderRowControl PCP.ExpanderTableWords | |
| open MachineExpanderFamilyBounds | |
| theorem installed_returnFrame (remaining current : Nat) (oldWord newWord suffix : List Bool) : | |
| fromBoolTapes (installedTapes (toBoolTapes (returnFrame remaining current oldWord newWord suffix)) | |
| newWord) = installedFrame remaining current newWord suffix := by | |
| rw [returnFrame_eq_cycleTapes, toBool_cycleTapes] | |
| funext tape | |
| rcases tape with tape | tape | |
| · rcases tape with row | extra | |
| · cases row <;> rfl | |
| · cases extra <;> rfl | |
| · cases tape <;> rfl | |
| theorem cleaned_multipliedFrame (d remaining current : Nat) (newWord suffix : List Bool) : | |
| fromBoolTapes (cleanedCounterTapes | |
| (toBoolTapes (multipliedFrame d remaining current newWord suffix))) = | |
| boundaryTapes remaining (current * cloudSize d) newWord suffix := by | |
| rw [boundaryTapes_eq_cycleTapes] | |
| unfold multipliedFrame | |
| rw [toBool_cycleTapes] | |
| have multiply : cloudSize d * current = current * cloudSize d := Nat.mul_comm _ _ | |
| rw [multiply] | |
| funext tape | |
| rcases tape with tape | tape | |
| · rcases tape with row | extra | |
| · cases row <;> rfl | |
| · cases extra <;> rfl | |
| · cases tape <;> rfl | |
| structure ResizeRun {v d : Nat} {ρ : Type} [Fintype ρ] | |
| (positive : 0 < d) (H : Table (cloudSize d) d) (growth : 1 < cloudSize d) | |
| (G : Table v (degree d)) (remaining : Nat) (state : State ρ d) (suffix : List Bool) where | |
| finalState : State ρ d | |
| caller_preserved : caller finalState = caller state | |
| execution : StateTransition.EvalsToInTime (TM2.step (program positive H growth)) | |
| ⟨some (.inr (.affine .copyCount .seed)), state, | |
| boundaryTapes remaining v (MachineExpanderTable.oldTableWord G) suffix⟩ | |
| (some ⟨some (.inr .levelGuard), finalState, | |
| boundaryTapes remaining (v * cloudSize d) | |
| (encodeWords (rotationWords (step G H))) suffix⟩) | |
| (resizeCost G H) | |
| /-- The resize certificate is built from actual primitive and table executions; | |
| its caller supplies no phase trace or computational hypothesis. -/ | |
| noncomputable def resizeInTime {v d : Nat} {ρ : Type} [Fintype ρ] | |
| (positive : 0 < d) (H : Table (cloudSize d) d) (growth : 1 < cloudSize d) | |
| (G : Table v (degree d)) (remaining : Nat) (state : State ρ d) (suffix : List Bool) : | |
| ResizeRun positive H growth G remaining state suffix := by | |
| let oldWord := MachineExpanderTable.oldTableWord G | |
| let newWord := encodeWords (rotationWords (step G H)) | |
| have copy := copyCountInTime positive H growth | |
| (boundaryTapes remaining v oldWord suffix) v rfl rfl rfl state | |
| rw [copyFrame_eq_update] at copy | |
| let called := MachineExpanderTable.tableInTime positive G H (clearRegister state).1 [] | |
| let returned : State ρ d := (called.finalState, ()) | |
| have eta : ((clearRegister state).1, ()) = clearRegister state := by | |
| rcases state with ⟨state, extra⟩ | |
| cases extra | |
| rfl | |
| have call : StateTransition.EvalsToInTime (TM2.step (program positive H growth)) | |
| ⟨some (.inl (.inr .initialize)), clearRegister state, | |
| copyFrame remaining v oldWord suffix⟩ | |
| (some ⟨some (.inr .clearOldTable), returned, | |
| returnFrame remaining v oldWord newWord suffix⟩) | |
| ((MachineExpanderTable.timePolynomial d).eval oldWord.length) := by | |
| simpa only [MachineEmbedding.configuration, MachineEmbedding.label, tableReturn, eta, | |
| copyFrame, returnFrame, oldWord, newWord, returned] using | |
| tableExecution positive H growth (extraFrame remaining v suffix) called.execution | |
| have install := installTableInTime positive H growth | |
| (returnFrame remaining v oldWord newWord suffix) newWord | |
| (by rw [returnFrame_eq_cycleTapes, toBool_cycleTapes]; rfl) | |
| (by rw [returnFrame_eq_cycleTapes, toBool_cycleTapes]; rfl) returned | |
| rw [installed_returnFrame] at install | |
| have installRun : StateTransition.EvalsToInTime (TM2.step (program positive H growth)) | |
| ⟨some (.inr .clearOldTable), returned, returnFrame remaining v oldWord newWord suffix⟩ | |
| (some ⟨some (.inr (.affine .multiplySize .seed)), clearRegister returned, | |
| installedFrame remaining v newWord suffix⟩) | |
| (oldWord.length + 2 * newWord.length + (v + 1) + 4) := by | |
| simpa only [returnFrame_eq_cycleTapes, toBool_cycleTapes, cycleWords, tableTape, | |
| encodeWord_length] using install | |
| have multiply := multiplySizeInTime positive H growth | |
| (installedFrame remaining v newWord suffix) v rfl rfl rfl (clearRegister returned) | |
| rw [clearRegister_idempotent, multipliedFrame_eq_update] at multiply | |
| have clean := cleanupCountersInTime positive H growth | |
| (multipliedFrame d remaining v newWord suffix) (clearRegister returned) | |
| rw [clearRegister_idempotent, cleaned_multipliedFrame] at clean | |
| have cleanRun : StateTransition.EvalsToInTime (TM2.step (program positive H growth)) | |
| ⟨some (.inr .drainInputVertex), clearRegister returned, | |
| multipliedFrame d remaining v newWord suffix⟩ | |
| (some ⟨some (.inr .levelGuard), clearRegister returned, | |
| boundaryTapes remaining (v * cloudSize d) newWord suffix⟩) (v + 4) := by | |
| simpa only [multipliedFrame, toBool_cycleTapes, cycleWords, inputVertexTape, | |
| vertexCountTape, encodeWord_length, Nat.zero_add, Nat.add_assoc] using clean | |
| let a := StateTransition.EvalsToInTime.trans (TM2.step (program positive H growth)) | |
| _ _ _ _ _ copy call | |
| let b := StateTransition.EvalsToInTime.trans (TM2.step (program positive H growth)) | |
| _ _ _ _ _ a installRun | |
| let c := StateTransition.EvalsToInTime.trans (TM2.step (program positive H growth)) | |
| _ _ _ _ _ b multiply | |
| let all := StateTransition.EvalsToInTime.trans (TM2.step (program positive H growth)) | |
| _ _ _ _ _ c cleanRun | |
| refine ⟨clearRegister returned, ?_, ?_⟩ | |
| · exact (caller_clearRegister returned).trans | |
| (called.caller_preserved.trans (caller_clearRegister state)) | |
| · refine { toEvalsTo := all.toEvalsTo, steps_le_m := ?_ } | |
| have bound := all.steps_le_m | |
| unfold resizeCost | |
| change _ ≤ (MachineExpanderTable.timePolynomial d).eval oldWord.length + | |
| 6 * v + oldWord.length + 2 * newWord.length + 15 | |
| omega | |
| end UniqueGamesTheorem.Foundations.Complexity.MachineExpanderFamily | |
| end OAI | |
Xet Storage Details
- Size:
- 20.2 kB
- Xet hash:
- 5e2b2d77fbdf1d7de5ae542f5e0f0cdbed304da30879c962b1e89f201ac405ee
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.