OAI/Combinatorics/LowSpaceSubsetSum/Search/ComputedParentFuels.lean
20 declarations, 0 contain sorry, 0 declared as axioms
Computed and cached parent loop limits
Only domain scans, two multiplicative binomial loops, and a doubling loop are run per leaf. No subset list is enumerated to obtain a loop limit.
- def
OAI.LowSpaceSubsetSum.ComputedParentFuels.lengthAccline 16 - theorem
OAI.LowSpaceSubsetSum.ComputedParentFuels.lengthAcc_eqline 20 - def
OAI.LowSpaceSubsetSum.ComputedParentFuels.powerAccline 26 - theorem
OAI.LowSpaceSubsetSum.ComputedParentFuels.powerAcc_eqline 30 - def
OAI.LowSpaceSubsetSum.ComputedParentFuels.leafline 38 - theorem
OAI.LowSpaceSubsetSum.ComputedParentFuels.leaf_valueline 52 - theorem
OAI.LowSpaceSubsetSum.ComputedParentFuels.leaf_formulaline 58Source documentation
Closed form for the leaf count and its charged scalar-loop work.
theorem leaf_formula (L : RepresentationLeaf (Fin n)) : leaf L = (L.top.card.choose L.topCount * L.mixer.card.choose L.localCount * 2^L.background.card, (RepresentationLeaf.domainSort L.top).2 + (RepresentationLeaf.domainSort L.mixer).2 + (RepresentationLeaf.domainSort L.background).2 + (2*L.top.card+1) + (2*L.mixer.card+1) + (2*L.background.card+1) + 8*(CountedBinomial.run L.top.card L.topCount).steps + 8*(CountedBinomial.run L.mixer.card L.localCount).steps + (3*L.background.card+1) + 12) := by …Mentions: OAI.LowSpaceSubsetSum.RepresentationLeaf, OAI.LowSpaceSubsetSum.ComputedParentFuels.leaf, OAI.LowSpaceSubsetSum.RepresentationLeaf.domainSort, OAI.LowSpaceSubsetSum.CountedBinomial.run
- theorem
OAI.LowSpaceSubsetSum.ComputedParentFuels.leaf_workline 70 - theorem
OAI.LowSpaceSubsetSum.ComputedParentFuels.leaf_boundline 83 - structure
OAI.LowSpaceSubsetSum.ComputedParentFuels.Valuesline 97 - def
OAI.LowSpaceSubsetSum.ComputedParentFuels.runline 103Source documentation
The four scalar counts are retained long enough to form both limits.
def run (D : RepresentationParentData n) : Values × ℕ := …
Mentions: OAI.LowSpaceSubsetSum.RepresentationParentData, OAI.LowSpaceSubsetSum.ComputedParentFuels.Values
- theorem
OAI.LowSpaceSubsetSum.ComputedParentFuels.run_restrictline 112 - theorem
OAI.LowSpaceSubsetSum.ComputedParentFuels.run_congr_leavesline 115 - theorem
OAI.LowSpaceSubsetSum.ComputedParentFuels.lengthBound_eqline 119 - theorem
OAI.LowSpaceSubsetSum.ComputedParentFuels.first_valueline 123 - theorem
OAI.LowSpaceSubsetSum.ComputedParentFuels.second_valueline 128 - theorem
OAI.LowSpaceSubsetSum.ComputedParentFuels.control_valueline 133 - theorem
OAI.LowSpaceSubsetSum.ComputedParentFuels.run_boundsline 138 - theorem
OAI.LowSpaceSubsetSum.ComputedParentFuels.run_workline 152 - theorem
OAI.LowSpaceSubsetSum.ComputedParentFuels.run_scaleline 162