@@ -21,13 +21,14 @@ import ArkLib.Data.Lattices.Vectors
2121 `Commitments/Functional/Hachi/RingSwitch/Reduction.lean`, since `Data` does not import
2222 `ProofSystem`):
2323
24- * `Rq.natDegree_val_toPoly_lt'` — representatives are degree-reduced (any modulus of
25- positive degree, generalizing the `powTwoCyclotomic`-pinned version);
2624 * `val_toPoly_injective` — representatives are injective;
2725 * `modulus_dvd_toPoly_add_sub` / `modulus_dvd_toPoly_mul_sub` — the coset laws: reduction
2826 changes the representative of a sum/product by a multiple of the modulus, via the
2927 semantic quotient bridge `quotientHom`.
3028
29+ The remaining presentation law — representatives are degree-reduced — is
30+ `Rq.natDegree_val_toPoly_lt'` in `Rq.lean`, next to the other `Rq` degree lemmas.
31+
3132 ## References
3233
3334 * [ Huang, M.-Y. M., Mao, X., and Zhang, J., *Sublinear Proofs over Polynomial Rings* ] [HMZ25 ]
@@ -43,17 +44,7 @@ variable {R : Type*} [Field R]
4344
4445variable [BEq R] [LawfulBEq R] (Φ : CyclotomicModulus R) [IsCyclotomic Φ]
4546
46- /-! ## Degree bound and injectivity of canonical representatives -/
47-
48- /-- A reduced representative has `natDegree` below `d = deg φ` — the any-modulus version of
49- `Rq.natDegree_val_toPoly_lt` (which is pinned to `powTwoCyclotomic`), with the dimension
50- positivity `0 < d` as an explicit hypothesis. -/
51- theorem Rq.natDegree_val_toPoly_lt' (hd : 0 < Φ.φ.natDegree) (a : Rq Φ) :
52- a.1 .toPoly.natDegree < Φ.φ.natDegree := by
53- rcases eq_or_ne a.1 .toPoly 0 with h0 | hne
54- · rw [h0, Polynomial.natDegree_zero]; exact hd
55- · rw [CompPoly.CPolynomial.natDegree_toPoly]
56- exact Polynomial.natDegree_lt_natDegree hne (Φ.degree_toPoly_lt_of_reduced a.2 )
47+ /-! ## Injectivity of canonical representatives -/
5748
5849omit [IsCyclotomic Φ] in
5950/-- Canonical representatives are injective: `Rq` elements with equal representative
0 commit comments