OAI/Combinatorics/LowSpaceSubsetSum/Representation/RepresentationHistoryCoupling.lean
23 declarations, 0 contain sorry, 0 declared as axioms
Bounded fresh-word sampling of the complete dependent representation trial
- theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.factorExponents_le_nline 17 - def
OAI.LowSpaceSubsetSum.RepresentationSetup.nestedCouplingline 36 - theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.nestedCoupling_uniformline 40 - theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.nestedCoupling_failureline 43 - def
OAI.LowSpaceSubsetSum.RepresentationSetup.residuesCouplingline 48 - theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.residuesCoupling_uniformline 55 - theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.residuesCoupling_failureline 63 - def
OAI.LowSpaceSubsetSum.RepresentationSetup.primeHistoryCouplingline 82 - def
OAI.LowSpaceSubsetSum.RepresentationSetup.trialHistoryCouplingline 86 - def
OAI.LowSpaceSubsetSum.RepresentationSetup.extraPrimeCouplingline 89 - theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.extraPrimeCoupling_uniformline 92 - theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.extraPrimeCoupling_failureline 96 - def
OAI.LowSpaceSubsetSum.RepresentationSetup.extraHistoryCouplingline 100 - def
OAI.LowSpaceSubsetSum.RepresentationSetup.bucketHistoryCouplingline 104 - theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.primeHistoryCoupling_uniformline 109 - theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.trialHistoryCoupling_uniformline 113 - theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.extraHistoryCoupling_uniformline 117 - theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.bucketHistoryCoupling_uniformline 124Source documentation
The ideal marginal is the dependent history law, rather than the uniform law on the final sigma type.
theorem bucketHistoryCoupling_uniform (hn : 10000 ≤ n) : (R.bucketHistoryCoupling hn).idealLaw = R.bucketTrialLaw hn := by … - def
OAI.LowSpaceSubsetSum.RepresentationSetup.rangeCallBoundline 129 - theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.guessHistoryCoupling_failureline 132 - theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.partitionHistoryCoupling_failureline 142 - theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.bucketHistoryCoupling_failureline 156Source documentation
Three low-factor prime calls and one extra-prime call; all other calls are counted explicitly from the actual permutation, guess, residue and family code.
theorem bucketHistoryCoupling_failure (hn : 10000 ≤ n) : (R.bucketHistoryCoupling hn).failure ≤ R.rangeCallBound / (2 : ℝ) ^ (n ^ 3) + 4 * Real.exp (-((n : ℝ) ^ 2 / 4)) := by … - theorem
OAI.LowSpaceSubsetSum.RepresentationSetup.bucketHistoryCoupling_eventline 188Source documentation
Any proved ideal event transfers directly, with no conditioning on sampler success.
theorem bucketHistoryCoupling_event (hn : 10000 ≤ n) (P : R.BucketTrialHistory (by omega) → Prop) : (R.bucketTrialLaw hn).probability P - (R.rangeCallBound / (2 : ℝ) ^ (n ^ 3) + 4 * Real.exp (-((n : ℝ) ^ 2 / 4))) ≤ (R.bucketHistoryCoupling hn).boundedLaw.probability (fun h => ∃ x, h = some x ∧ P x) := by …