formal-math icon indicating copy to clipboard operation
formal-math copied to clipboard

lattices: ModuleLWETheorem and ModuleSISTheorem step upper bounds tighten from rank^8 to rank^4 (Lean 4.34.1, Comparator + nanoda)

Open ad3002 opened this issue 4 days ago • 0 comments

Hello,

in lattices/ (commit 487d559), PaperDefs/P01/Cases.lean states ModuleSISTheorem (line 461) and ModuleLWETheorem (line 495, also quoted in lattices/README.md) with running-time upper bounds 2 ^ (c * rank ^ 8 * n.log2 ^ 2) (resp. columns ^ 8).

Tracing the proof from QL/Minimal/ModuleSIS.lean and QL/Minimal/ModuleLWE.lean to QL/Minimal/ToldDegree.lean:50 (levelAll_shape_le), the Theorem_Da / shape_pow budget exponent (s^2 * a + s^4)^2 (QL/P01/Oracle/GivenSolver.lean:29) is relaxed via s^2 * a + s^4 ≤ 2 * s^4 * a prior to squaring in levelAll_pow_le, which couples s^8 with a^2.

Keeping Y := s^2 * a + s^4 inside levelAll_pow_le via (s^2 * a + s^4)^2 ≤ 2 * (s^4 * a^2 + s^8) (on the identical Machine.Source ⟨code, b, .levelAll true 1 2 c⟩, without modifying the quantum programs) compiles directly on this project's pin (leanprover/lean4:v4.34.1, Mathlib d13f23b7) and proves five sharpened step upper-bound statements in PaperDefs/P01/Rank4Compression.lean:

  • QL.Minimal.moduleLWE_rank4 : QL.Minimal.ModuleLWETheorem_rank4 — identical character-for-character to QL.Minimal.ModuleLWETheorem in PaperDefs/P01/Cases.lean, with time := 2 ^ (c * rank ^ 8 * n.log2 ^ 2) replaced by time := 2 ^ (c * rank ^ 4 * n.log2 ^ 2) (using the largePowersOfTwo threshold max (secretThreshold rank) (2 ^ (rank ^ 2))).
  • QL.Minimal.moduleLWE_from_threshold : QL.Minimal.ModuleLWETheorem_from_threshold — eliminates the ∀ᶠ n filter under the same noise, modulus, and matrix-fraction quantifiers, proving uniform time 2 ^ (c * (rank ^ 4 * n.log2 ^ 2 + rank ^ 8)) for every rank ≥ 1 and every power of two n ≥ 2 ^ (6 * rank * (2 * (6 * rank).log2 + 14)) (showing that fromN in secretThreshold is strictly dominated for all rank ≥ 1).
  • QL.Minimal.moduleLWE_separated : QL.Minimal.ModuleLWETheorem_separated — filter form with time 2 ^ (c * (rank ^ 4 * n.log2 ^ 2 + rank ^ 8)).
  • QL.Minimal.moduleSIS_separated : QL.Minimal.ModuleSISTheorem_separated — uniform time 2 ^ (c * (columns ^ 4 * n.log2 ^ 2 + columns ^ 8)) for all 1 ≤ rows < columns and all powers of two n ≥ 32, together with QL.Minimal.moduleSIS_rank4 giving 2 ^ (c * columns ^ 4 * n.log2 ^ 2) whenever columns ^ 2 ≤ n.log2 (for growing rank columns = ⌊√log₂ n⌋, this lowers the proven upper bound from 2^{O(log^6 n)} to 2^{O(log^4 n)}).

Using the repository's pins (leanprover/comparator d03acab154, nanoda_lib 0.4.32 0da9f98fea, landrun 811cfff51c), Comparator accepts comparator-rank4.json across all five PaperDefs theorems in both the default Lean 4.34.1 kernel and nanoda (Your solution is okay!, log in logs/comparator_rank4.log).

Two companion audit observations on Part 3 are formalized in proof/QL/Minimal/AlgebraicAudit.lean (9 further theorems, all checked by lake build and scripts/PrintRank4Axioms.lean from propext, Classical.choice, and Quot.sound alone):

  1. While QL/P01/Weyl/Dim.lean:691 already proves QL.dimV_le : dimV ν ≤ (1 + ν.cols) ^ (δ * (δ - 1) / 2) on Shape δ, downstream envelope lemmas (Data/Flag.lean:143, Claims/Closing.lean:231, Messages.lean:81) relax δ(δ - 1)/2 to δ^2, inflating (log dimV)^2 proxies by (2δ / (δ - 1))^2 (16× at δ = 2, 9× at δ = 3, 64/9× at δ = 4).
  2. The residual +O(rank^8) term inside the current proof originates in QL/P01/Boot/Slack.lean:164 (small_le, Lemma 16.7) from the exp(δ^2 e) partition fiber union bound; alongside this we formalize in explicit Hodge/Plücker coordinates the exterior-blade decompositions (c_12 ≠ 0 and c_12 = 0) and domain saturation on Λ^2(R^3) versus the Klein–Plücker obstruction on Λ^2(R^4) over Mathlib's CommRing, IsDomain, and Field.

Limits: the underlying quantum programs are unchanged; the results tighten the proven running-time (time, machine steps) upper bounds rather than claiming lower bounds, and standardized ML-KEM / ML-DSA parameters remain far outside the theorem hypotheses. For item (1) above, AlgebraicAudit.lean audits QL.dimV directly rather than propagating δ(δ - 1)/2 through all downstream bit-length lemmas of Part 3.

9-page exposition (including a five-stage structural guide to Paper 1), Lean 4.34.1 overlay, and Comparator / nanoda logs:

  • Zenodo archive: https://doi.org/10.5281/zenodo.24704226
  • Repository: https://github.com/ad3002/galactic-lattices-rank4

If I have misread any definition or convention, I would be glad to hear it and revise the record. Mathematical audit, Lean formalization, and manuscript drafting were carried out in collaboration with Gemini 4 Carbon, as described in the note's disclosure.

Aleksey Komissarov Neapolis University, Pafos, Cyprus

ad3002 avatar Dec 01 '26 13:12 ad3002