Research-Stack/0-Core-Formalism/lean
Devin AI 10feb8d717 proof(E8Sidon): close sidon_energy_bound via RRC dimensional classification
Add finset_pair_eq_iff lemma (the 'dimensional annotation' step):
  {a,b} = {c,d} as Finsets → (a=c ∧ b=d) ∨ (a=d ∧ b=c)
Proved via Set.pair_eq_pair_iff + Finset.coe_inj coercion.

Use it to close sidon_energy_bound (E(S) ≤ 2k²):
  1. Route every filtered quadruple to 'same' or 'swap' shape
  2. Each shape is an image of S×S (card ≤ k²)
  3. Union ≤ same.card + swap.card ≤ 2k²

Inspired by Trail of Bits dimensional analysis technique:
annotate once (finset_pair_eq_iff), validate mechanically.

Sorry count: 9 tokens across 8 theorems (down from 10/9).

Build: 3210 jobs, 0 errors
Co-Authored-By: Allaun Silverfox <bigdataiscoming+9i37y6j2@protonmail.com>
2026-06-15 22:23:23 +00:00
..
conversions/hardware WIP: accumulated changes 2026-05-25 16:24:21 -05:00
external/OTOM WIP: accumulated changes 2026-05-25 16:24:21 -05:00
LeanGPT Remove legacy Python prototypes superseded by Lean formalization 2026-05-19 15:34:17 +00:00
Semantics proof(E8Sidon): close sidon_energy_bound via RRC dimensional classification 2026-06-15 22:23:23 +00:00
CHAIN_ALL_REVIEW_REPORT.md initial: sovereign research stack (consolidated, weightless, and lfs-optimized) 2026-05-04 18:11:36 -05:00