Paper IX · Lean source
ResidueDigitsContract.lean
Selected results recorded Coverage and evidence
Compiler/replay evidence is reported for a subset or bounded block. No whole-work coverage is implied.
This viewer reads the retained source; it does not run Lean or assign new claim mappings.
polynomial_counts/contracts/ResidueDigitsContract.lean24 lines
Original source path
preserved/PRSC_IX_Consolidated_Manuscript/polynomial_counts/contracts/ResidueDigitsContract.leanSkip declarations and read code
1 module
2 public import ResidueLiftDigits
3
4 @[expose] public section
5 noncomputable section
6 set_option autoImplicit false
7 namespace Komorebi.ResidueDigitsContract
8
9 /-- The target contains actual next-level residue vectors retaining the lower
10 residue, not arbitrary integer representatives or all next-level roots. -/
11 def explicit_residue_digit_equivalence (q L : ℕ) (hq : 0 < q) {d : ℕ}
12 (x : Fin d → ℤ) :
13 (Fin d → ZMod q) ≃
14 {y : Fin d → ZMod (q^(L+1)) //
15 ∀ i, (q : ℤ)^L ∣ ((y i).val : ℤ) - x i} :=
16 ResidueLiftDigits.digitEquivResidue q L hq x
17
18 /-- The forward map is exactly the prescribed digit shift. -/
19 theorem explicit_residue_digit_formula (q L : ℕ) (hq : 0 < q) {d : ℕ}
20 (x : Fin d → ℤ) (t : Fin d → ZMod q) (i : Fin d) :
21 (explicit_residue_digit_equivalence q L hq x t).val i =
22 ((x i + (q : ℤ)^L * ((t i).val : ℤ) : ℤ) : ZMod (q^(L+1))) := rfl
23
24 end Komorebi.ResidueDigitsContract
Original file and source record
This copy matches the recorded source file. Its publication here does not change the work’s review status.
SHA-256: 96c06bf4928003510b7d7f0028a49cf1edf84dc64485737c920cc7e30eb00668
Back to Paper IX: Arithmetic Packets, Dyadic Towers, and Local Polynomial Deformation