OAI/Computability/QuantumFactoring/OrderTrialLaw.lean
7 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.ExactQuantumFactoring.OrderTrial.selectedSampleAmplitudeline 17Source documentation
Unnormalized joint amplitude after modular powering and the selected phase-transform block. The modular-power register is NOT copied before this interference sum.
noncomputable def selectedSampleAmplitude {G : Type*} [Group G] (Q k : ℕ) (a u : G) : ℂ := by … - lemma
OAI.ExactQuantumFactoring.OrderTrial.selectedSampleAmplitude_residueline 23 - lemma
OAI.ExactQuantumFactoring.OrderTrial.selectedSampleProbability_residueline 33 - def
OAI.ExactQuantumFactoring.OrderTrial.ValidCandidateline 41Source documentation
The literal modular-power verification in all three trial modes.
def ValidCandidate {G : Type*} [Group G] (B : ℕ) (a : G) (d : ℕ) : Prop := … - lemma
OAI.ExactQuantumFactoring.OrderTrial.ValidCandidate.order_dvdline 44 - lemma
OAI.ExactQuantumFactoring.OrderTrial.trueOrder_validline 48 - lemma
OAI.ExactQuantumFactoring.OrderTrial.reduced_mass_sumline 54Source documentation
Summing the exact per-reduced-label mass gives the prescribed true-order probability phi(r) lambda(r), including r=1 and its label j=0.
lemma reduced_mass_sum {n Q B d : ℕ} (hB : 0 < B) (hd : 0 < d) : (∑ j ∈ (Finset.range d).filter (fun j => Nat.Coprime j d), (firstModeMass n Q B d j + secondModeMass n Q B d j + thirdModeMass n Q B d j)) = (Nat.totient d : ℝ) * (prescribedMass d : ℝ) := by …Mentions: OAI.ExactQuantumFactoring.OrderTrial.firstModeMass, OAI.ExactQuantumFactoring.OrderTrial.secondModeMass, OAI.ExactQuantumFactoring.OrderTrial.thirdModeMass, OAI.ExactQuantumFactoring.OrderTrial.prescribedMass