Skip to content

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 30 Oct 22:31
· 79 commits to main since this release
16f5bfd

QUBOPreprocessing v0.1.4

Diff since v0.1.3

QUBOPreprocessing v0.1.4

Added

  • Non-zero-field degree-3 Walsh–Hadamard elimination (star_nonzero_h at max_degree = 3 whenever $\alpha_{123} = 0$, #56, #57).
  • Shared-neighborhood co-flip cancellation (:coflip_pair) and non-adjacent exact signed twin contraction (prove_twin, contract_twins!, #58, #59).
  • Roof-duality residual-SCC (:roof_scc_pair, contract_scc = true) and two-branch probing (:probing_pair, :double_probe) 2-SAT pair equivalences (#60, #61).
  • 0-, 1-, and 2-separator Tarjan biconnected block elimination (eliminate_block!, :block, enable_blocks = true, #62, #63).
  • Kernel-checked Lean 4 (v4.33.1, Mathlib v4.33.1) formalization of all eight core theorems (180 public theorems, 360 compiled constants across 9 modules in lean/, #54, #55, #68, #69, #72, #73, #74, #75, #76, #77).
  • Permanent end-to-end brute-force, operation-sequence, and certificate-tampering fuzz test suite (test/fuzz.jl, #80, #81) and updated 6,292-instance QUBOLib.jl (v0.2.4-data+6) / QOBLIB / QPLIB / MINLPLib benchmark documentation (#82, #83).

Fixed & Optimized

  • Replaced $O(n)$ abstract labels::Tuple scans with $O(1)$ label_vec::Vector indexing (34.5x export_certificate and 30.0x materialize speedup at $n = 32{,}000$), eliminated per-size NTuple{N} JIT recompilation in domain_map (15,300x first-call speedup at $n = 4{,}000$), and added concrete _Storage term iteration and 53-bit rational hardware fma interval enclosures (#64, #65, #66, #67, #70, #78).
  • Recorded deduction-matched caller assume! requests in st.pins and replayed them in chronological order across structural assume! rollbacks (#71, #79).

Merged pull requests:

  • feat(lean): add kernel-checked Lean 4 formalization of gauge invariance, compositional reduction, Max-Cut triangle slack, and compression refutations (#54) (#55) (@bernalde)
  • feat(elimination): generalize degree-3 elimination to all zero-cubic-Fourier (alpha_123 = 0) vertices (#56) (#57) (@bernalde)
  • feat(relations): shared-neighborhood co-flip pair dominance (:coflip_pair) and twin/clique contraction (#58) (#59) (@bernalde)
  • feat(relations,probing,roof): 2-SAT pair equivalences from roof-duality residual SCCs and double probing (#60) (#61) (@bernalde)
  • feat(elimination): 0-, 1-, and 2-separator biconnected block elimination (#62) (#63) (@bernalde)
  • Perf: Eliminate heterogeneous Tuple specialization in verify_certificate and speed up _enclose / _can_possibly_contract (#65) (@bernalde)
  • Perf: Eliminate _Storage/_thaw dispatch, 53-bit rational BigFloat enclosures, and redundant relation checks (#66) (#67) (@bernalde)
  • Lean 4: Formalize Theorem 5 — General 3-Variable Walsh–Hadamard Quadratic Interpolation & Non-Zero-Field Degree-3 Elimination Cones (#68) (#69) (@bernalde)
  • Lean 4: Formalize Theorem 6 — Unified Shared-Neighborhood Co-Flip Cancellation & Non-Adjacent Twin Contraction (#72) (#73) (@bernalde)
  • Lean 4: Formalize Theorem 7 — Quantitative Telescoping Energy-Repair Margins for Two-Branch Probing (#74) (#75) (@bernalde)
  • Lean 4: Formalize Theorem 8 — Exact 0-, 1-, 2-, and 3-Separator Biconnected Block Elimination (#76) (#77) (@bernalde)
  • Perf: linear label validation and no per-size recompilation for label/gauge tuples (#70) (#78) (@bernalde)
  • Fix: keep deduction-matched assumptions across assume!'s structural rollback (#71) (#79) (@bernalde)
  • test: promote brute-force, operation-sequence, and certificate-tampering fuzz suites into test/fuzz.jl (#80) (#81) (@bernalde)
  • chore(release): prepare v0.1.4 and refresh corpus benchmark & Lean 4 docs (#83) (@bernalde)

Closed issues:

  • feat(lean): add kernel-checked Lean 4 formalization of gauge invariance, compositional reduction, Max-Cut triangle slack, and compression refutations (#54)
  • feat(elimination): generalize degree-3 elimination to all zero-cubic-Fourier (alpha_123 = 0) vertices (#56)
  • feat(relations): shared-neighborhood co-flip pair dominance (:coflip_pair) and twin/clique contraction (#58)
  • feat(relations,probing,roof): 2-SAT pair equivalences from roof-duality residual SCCs and double probing (#60)
  • feat(elimination): 1-separator and 2-separator biconnected-component block elimination (#62)
  • Perf: Eliminate heterogeneous Tuple specialization in verify_certificate and speed up _enclose / _can_possibly_contract (#64)
  • Perf: Eliminate type-unstable _Storage/_thaw iteration, dyadic BigFloat enclosures, and redundant relation checks on dense graphs (#66)
  • Lean 4: Formalize Theorem 5 — General 3-Variable Walsh–Hadamard Quadratic Interpolation & Non-Zero-Field Degree-3 Elimination Cones (#68)
  • Perf: O(n²) label validation and per-model-size recompilation in export_certificate / materialize / domain_map (#70)
  • assume! silently drops a caller assumption that matched a certified deduction after a later structural rollback (#71)
  • Lean 4: Formalize Theorem 6 — Unified Shared-Neighborhood Co-Flip Cancellation & Non-Adjacent Twin Contraction (#72)
  • Lean 4: Formalize Theorem 7 — Quantitative Telescoping Energy-Repair Margins for Two-Branch Probing (#74)
  • Lean 4: Formalize Theorem 8 — Exact 0-, 1-, 2-, and 3-Separator Biconnected Block Elimination (#76)
  • test: promote brute-force, operation-sequence, and certificate-tampering fuzz suites into test/fuzz.jl (#80)
  • chore(release): update corpus benchmark & Lean 4 docs and prepare v0.1.4 (#82)