Lean 4 formalization registry · Chapter 8 of 15

Companion module: nonce-indexed arithmetic and geometry

Source: ETP.lean. Line numbers are declaration starts in the supplied snapshot.

Nonce-indexed arithmetic and geometry

Manuscript connection: Wide-word modular reduction.

Mathematical name Lean 4 declaration Source line
Public formula-and-round nonce adapter RWObserver.ETP.formulaTau 26
Wide-word modular reduction RWObserver.ETP.hornerMod 35
Correct remainder of the assembled integer RWObserver.ETP.horner_reduction_correct 41
Deterministic ring offset from the configured pool RWObserver.ETP.wheelOffset 86
Frame-specific cell lookup RWObserver.ETP.ringFrame 101
Balance of the reference ring frame RWObserver.ETP.etp_ring_balance 108