§1 example 1: multiplicative order from a stabilizer
ProvedQAlgorithms.Papers.Independent.Intakethird100.P03.order_reductionLet and let be a unit modulo . For integer , set on , and let . Then
Moreover, , and every positive natural number with satisfies . Thus the positive canonical stabilizer generator is precisely the multiplicative order.
This is the algebraic reduction to a stabilizer, without importing the separately cited randomized factoring reduction.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P03
noncomputable section
open scoped Matrix ComplexConjugate Kronecker
namespace QAlgorithms.Papers.Independent.Intakethird100.P03
open QAlgorithms.Papers.Independent.Renew46.P01 (cleanVector)
attribute [local instance] Classical.propDecidable
/-- PDF p.4, example 1: the stabilizer at one is (orderOf g) Z, whose positive
canonical generator is exactly the multiplicative order. No factoring reduction is added. -/
theorem order_reduction (q : ℕ) (hq : 2 ≤ q) (g : (ZMod q)ˣ) :
0 < orderOf g ∧
(∀ m : ℤ, orderAction g m 1 = 1 ↔ ∃ t : ℤ, m = (orderOf g : ℤ) * t) ∧
orderAction g (orderOf g : ℤ) 1 = 1 ∧
∀ r : ℕ, 0 < r → orderAction g (r : ℤ) 1 = 1 → orderOf g ≤ r := by sorry
end QAlgorithms.Papers.Independent.Intakethird100.P03
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number satisfying and every unit , let be the group-theoretic order of . Then ; for every integer , the ring equality holds if and only if there exists an integer with ; one has ; and, for every natural number , if and , then . Integer powers here are taken in the unit group, including inverse powers for negative , and then interpreted in .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.