anza-ed25519-verified/verification
mrwulf 3d3cb9d0d5 Scalar layer complete: Montgomery reduction + full mul ported, scalarImplementation aggregate
Port of the dalek Montgomery stack against THIS fork's own extraction
(gen sections byte-identical, proofs recompiled from scratch here):
- Proofs/ScalarMulSpec.lean      - mul_internal: 9 exact schoolbook columns
- Proofs/ScalarMontSpec.lean     - part1/part2 exact-division rounds
  (LFACTOR*L0 = -1 mod 2^52), head/tail telescopes, mont_bound, tail walk
- Proofs/ScalarReduceSpec.lean   - montgomery_reduce main walk:
  scDenote r * 2^260 = Z in ZMod ell + 52-bit output bounds
- Proofs/ScalarFullMulSpec.lean  - mul = double Montgomery round through
  RR = R^2 mod ell; R cancelled as a unit; post: [mul a b] = [a]*[b]
- Proofs/ScalarMain.lean         - scalarImplementation aggregate (ScBnd
  interfaces; canonical inputs discharge the Montgomery bound)

sub_val_spec/add_val_spec posts strengthened with result-limb bounds.
check-scalar.sh: 9 proof files, 10 kernel audits, all exactly
[propext, Classical.choice, Quot.sound]. Button pressed fresh: green.
2026-07-03 21:36:35 +02:00
..
gen Add scalar-layer foundation (Scalar52 arithmetic mod ℓ) 2026-07-02 21:19:58 +02:00
Proofs Scalar layer complete: Montgomery reduction + full mul ported, scalarImplementation aggregate 2026-07-03 21:36:35 +02:00
check-scalar.sh Scalar layer complete: Montgomery reduction + full mul ported, scalarImplementation aggregate 2026-07-03 21:36:35 +02:00
check.sh coherence pass 2: restore the one-button property, institutionalize audits 2026-07-03 12:54:27 +02:00
CurveField.llbc group-law layer: complete twisted Edwards addition law proven 2026-07-02 15:04:25 +02:00
CurveScalar.llbc Add scalar-layer foundation (Scalar52 arithmetic mod ℓ) 2026-07-02 21:19:58 +02:00
extract-scalar.sh Add scalar-layer foundation (Scalar52 arithmetic mod ℓ) 2026-07-02 21:19:58 +02:00
extract.sh group-law layer: complete twisted Edwards addition law proven 2026-07-02 15:04:25 +02:00
lean-guard lean-guard 3b: global-headroom clamp (sync with control master) 2026-07-03 17:51:15 +02:00