lattices: ModuleLWETheorem and ModuleSISTheorem step upper bounds tighten from rank^8 to rank^4 (Lean 4.34.1, Comparator + nanoda)
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 toQL.Minimal.ModuleLWETheoreminPaperDefs/P01/Cases.lean, withtime := 2 ^ (c * rank ^ 8 * n.log2 ^ 2)replaced bytime := 2 ^ (c * rank ^ 4 * n.log2 ^ 2)(using thelargePowersOfTwothresholdmax (secretThreshold rank) (2 ^ (rank ^ 2))).QL.Minimal.moduleLWE_from_threshold : QL.Minimal.ModuleLWETheorem_from_threshold— eliminates the∀ᶠ nfilter under the same noise, modulus, and matrix-fraction quantifiers, proving uniform time2 ^ (c * (rank ^ 4 * n.log2 ^ 2 + rank ^ 8))for everyrank ≥ 1and every power of twon ≥ 2 ^ (6 * rank * (2 * (6 * rank).log2 + 14))(showing thatfromNinsecretThresholdis strictly dominated for allrank ≥ 1).QL.Minimal.moduleLWE_separated : QL.Minimal.ModuleLWETheorem_separated— filter form with time2 ^ (c * (rank ^ 4 * n.log2 ^ 2 + rank ^ 8)).QL.Minimal.moduleSIS_separated : QL.Minimal.ModuleSISTheorem_separated— uniform time2 ^ (c * (columns ^ 4 * n.log2 ^ 2 + columns ^ 8))for all1 ≤ rows < columnsand all powers of twon ≥ 32, together withQL.Minimal.moduleSIS_rank4giving2 ^ (c * columns ^ 4 * n.log2 ^ 2)whenevercolumns ^ 2 ≤ n.log2(for growing rankcolumns = ⌊√log₂ n⌋, this lowers the proven upper bound from2^{O(log^6 n)}to2^{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):
- While
QL/P01/Weyl/Dim.lean:691already provesQL.dimV_le : dimV ν ≤ (1 + ν.cols) ^ (δ * (δ - 1) / 2)onShape δ, downstream envelope lemmas (Data/Flag.lean:143,Claims/Closing.lean:231,Messages.lean:81) relaxδ(δ - 1)/2toδ^2, inflating(log dimV)^2proxies by(2δ / (δ - 1))^2(16×atδ = 2,9×atδ = 3,64/9×atδ = 4). - The residual
+O(rank^8)term inside the current proof originates inQL/P01/Boot/Slack.lean:164(small_le, Lemma 16.7) from theexp(δ^2 e)partition fiber union bound; alongside this we formalize in explicit Hodge/Plücker coordinates the exterior-blade decompositions (c_12 ≠ 0andc_12 = 0) and domain saturation onΛ^2(R^3)versus the Klein–Plücker obstruction onΛ^2(R^4)over Mathlib'sCommRing,IsDomain, andField.
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