dalek-ed25519-verified/verification
mrwulf ee739ed1f6 PHASE 2 COMPLETE ON DALEK: THE FULL POINT-LEVEL LIFT
(verify_accepts_iff_decompress, button-enforced)

THE THEOREM: under the apex hypotheses, the signature's R bytes
DECOMPRESS to a valid on-curve point Pt, and

    verifier accepts   <=>   Pt = [k]*(-A) + [s]*B    (as points)

- accept iff decompress(R) equals the recomputed point. Every link of
the chain (byte comparison <-> canonical-encoding equality <-> point
equality <-> decompressed-point equality) is machine-checked over the
extracted code. Axiom cone EXACTLY the SHA-512 + wire-format boundary;
Phase 3b now enforces FOUR certificate tiers (byte apex, half-lift,
point equation, full lift).

Proofs/DecompressMain.lean:
- edwards_d_denote: the extracted EDWARDS_D constant denotes THE curve
  d (edwards_d_spec + edD_char cancelled by 121666 nonzero).
- decompress_of_canonical (standard three axioms): canonical encodings
  of valid on-curve points decompress to them - from_bytes recovers the
  y-residue exactly (sign bit discarded), Q's own x witnesses the
  square so sqrt_ratio_i returns the even root, the sign bit (Q's
  x-parity, from byte 31) selects +/-root, and the parity-injectivity
  argument pins the selection to edX Q; the assembled {X,Y,1,X*Y} is
  ExtValid and on-curve.
- verify_accepts_iff_decompress: the capstone composition.

Full button green fresh. Remaining: replicate x3, coherence pass 4.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 00:05:55 +02:00
..
gen Phase 2, brick 3 opened: decompress extracted for real (gen green) 2026-07-05 18:04:04 +02:00
Proofs PHASE 2 COMPLETE ON DALEK: THE FULL POINT-LEVEL LIFT 2026-07-06 00:05:55 +02:00
check-scalar.sh Coherence pass 3: post-apex accuracy sweep, hygiene, guard ladder 2026-07-05 11:48:17 +02:00
check.sh PHASE 2 COMPLETE ON DALEK: THE FULL POINT-LEVEL LIFT 2026-07-06 00:05:55 +02:00
CurveField.llbc Phase 2, brick 3 opened: decompress extracted for real (gen green) 2026-07-05 18:04:04 +02:00
CurveSig.llbc Phase 2, brick 3 opened: decompress extracted for real (gen green) 2026-07-05 18:04:04 +02:00
extract.sh Phase 2, brick 3 opened: decompress extracted for real (gen green) 2026-07-05 18:04:04 +02:00
lean-guard Coherence pass 3: post-apex accuracy sweep, hygiene, guard ladder 2026-07-05 11:48:17 +02:00