OAI/Combinatorics/LowSpaceSubsetSum/Representation/RepresentationLeafSpace.lean
7 declarations, 0 contain sorry, 0 declared as axioms
All-outcome representation leaf and tournament storage bounds
- theorem
OAI.LowSpaceSubsetSum.RepresentationPairData.leftArray_size_leline 15 - theorem
OAI.LowSpaceSubsetSum.RepresentationPairData.rightArray_size_leline 19 - theorem
OAI.LowSpaceSubsetSum.RepresentationPairData.storedRight_size_leline 23 - theorem
OAI.LowSpaceSubsetSum.RepresentationPairData.reader_comparisons_leline 27 - theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.rawLeaf_main_cardline 42Source documentation
The main guard absorbs the allocation's polynomial factor with strict slack below both the tie-buffer and dictionary rates. No survival or resource event is used.
theorem rawLeaf_main_card (z : Layout n) (g : Guesses n) (f : R.Partitions z) (hn : 10000 ≤ n) (hlog : Real.logb 2 ((mixerSize n : ℝ) + 1) + 1 ≤ (n : ℝ) / 1000) (hscale : Real.logb 2 (inputScale R.input : ℝ) ≤ (n : ℝ) / 1000000000) (j : Fin 2) (i : Fin 4) : ((R.rawLeaf z g f (R.allocatedBackground z g hn hlog) j i).occurrences.card : ℝ) ≤ (2 : ℝ) ^ ((37 / 200 : ℝ) * n) := by …Mentions: OAI.LowSpaceSubsetSum.RepresentationSetup.Layout, OAI.LowSpaceSubsetSum.RepresentationSetup.Guesses, OAI.LowSpaceSubsetSum.mixerSize, OAI.LowSpaceSubsetSum.inputScale
- theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.schedule_pair_storageline 73Source documentation
Every prefix and every full-residue counter uses leaf arrays and a tournament bounded by the same raw-leaf size, even on failed trials.
theorem schedule_pair_storage (h : R.PrimeHistory) (r : R.Residues h.2) (hn : 10000 ≤ n) (hlog : Real.logb 2 ((mixerSize n : ℝ) + 1) + 1 ≤ (n : ℝ) / 1000) (hscale : Real.logb 2 (inputScale R.input : ℝ) ≤ (n : ℝ) / 1000000000) (q : ℕ) (hq : 0 < q) (z : ℕ) (side : Fin 2) (P : MaskRestriction n) (child : Fin 2) : let D := ({ (R.scheduleData h r hn hlog q hq).parentData side z with maskRestriction := P }).pair child …Mentions: OAI.LowSpaceSubsetSum.mixerSize, OAI.LowSpaceSubsetSum.inputScale, OAI.LowSpaceSubsetSum.MaskRestriction
- theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.schedule_pair_index_bitsline 100