From 416255853a922d80654a1d6af6435a3f12974996 Mon Sep 17 00:00:00 2001 From: ahrazzle <38987266+ahrazzle@users.noreply.github.com> Date: Thu, 12 Nov 2026 17:37:51 -0600 Subject: [PATCH] Repair duplicate Wave 5 through 7 Lean declarations --- CHANGELOG.md | 4 +++ SHA256SUMS | 8 +++--- formal/Wave5StochasticForces.lean | 23 +++++----------- formal/Wave6Convergence.lean | 22 +++------------- formal/Wave7ThresholdAudit.lean | 44 ------------------------------- 5 files changed, 17 insertions(+), 84 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e64ae13..7bd9536 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ > **Attribution:** Maintained by AI agent (Gemini, Google, via `orda-aska` for `Foundation-0`); not yet reviewed by a person. Claim identifiers (`C-01`..`C-27`) reconciled in Wave 8 to match `CLAIMS.md` and generator scripts verbatim. +## Lean build repair -- 2026-11-12 +- Removed trailing duplicate declaration blocks and malformed comment fragments in the Wave 5, 6, and 7 Lean files. Kept the current theorem statements and proofs, and retained the three distinct earlier arithmetic statements under names ending in `_legacy_arithmetic`. +- These checks establish integer identities and inequalities only. They do not validate the physical models. + ## Wave 10 -- 2026-11-12: Linear Sound-Speed No-Go, Dark-WHIM Nonlinear Collapse Scale & Reasoning Ledger (`C-25`..`C-27`; `M-08`) - Added `wave10_covariant_jeans_unification.py`, `results/wave10_covariant_jeans_certificates.json` (`sha256_canonical = 7dd4b40172b8fe261c3028f7a6af6e2b5131fb93cd83d10c439e3c5f0c5be3d4`), `formal/Wave10JeansDerivation.lean`, and `RESEARCH_NOTEBOOK_AND_REASONING.md`. - Proved the homogeneous linear FLRW sound-speed no-go (`C-25`): `c_s(z=0) = 185 km/s` on linear scales gives `lambda_J,com = 25.10 Mpc`, `z = 1100` matter density exceeds `200 * rho_crit0` halos by `2.103e6x` (ruling out monotone `P(rho)` polytropes), and constant-`M` `k^4` scordatura shrinks `k_J,com` by `0.1736x` at `z = 1100`. diff --git a/SHA256SUMS b/SHA256SUMS index ac73489..10d0c76 100644 --- a/SHA256SUMS +++ b/SHA256SUMS @@ -10,9 +10,9 @@ f502c82de78665195772549ce98d7d5000a5c4ea9fcb08084f182db569510a40 wave9_scale_co af8a2459aa8f5885250ab6b5914c50cc852bcc691982c8ef5cf692603bece927 wave10_covariant_jeans_unification.py 606431af2e1366cff43a658c65080f146789fe6e7159f317648cc621f7a8cb28 formal/verify_exact_rational_proofs.py db6e4a202d357b5bd175b20b971b3a79e3b34a573382e2f0e5ed4341d0507562 formal/GravityClaims.lean -a097c2ea83cf1ad0788d8969427737c6e5b1d2250d6c1f3f529178e39903eeda formal/Wave5StochasticForces.lean -fd52c8d997ccf9873cfd020f19f62b27dbfbdecda0234075ddd571193e0a9385 formal/Wave6Convergence.lean -41cd166341b517f3ab316ad5987cd9c74e5a2d443d763d948cde869d285a0672 formal/Wave7ThresholdAudit.lean +0567cb57f5d9b27b2fef56851afbeeb55641ff1c1edc01b2b2de5bd5d390d6bd formal/Wave5StochasticForces.lean +b47eb026828e196bbe1fdd0f0bdfca9094c911de719e4598da5840a69db21c9b formal/Wave6Convergence.lean +a76c9e61cb011bbe1531c219d070be5aa549daca1537ef13fdd232cc9126c364 formal/Wave7ThresholdAudit.lean fa0bcca1fd9350a35e5ffc4bb6969a02616fead2fd80b3aef725fcaaf84f73c8 formal/Wave10JeansDerivation.lean dbd759302d4f7666f0e6505d8af3ad1b690f1e8283680b0dca9c31492151528e results/certificates.json 3ddae446816d764f94ba1d546317881cfe4036ce329da73b6894c27960914a9e results/exact_rational_proof_certificates.json @@ -27,4 +27,4 @@ dd37a45adcb3c815d1a2d44bbbb58ac0235b9ea30d58d6b5a3438a46d91c874e results/wave10 c459b23829444a125fd0b682ab01dc34441088566292b9dad13566ee3b29b6df CLAIMS.md a08db487d924ae709e650df597eaab81da645aef6b9e7e326d26daf93f74dbca METHODS_AND_PLAYBOOK.md 3c4427c87d5c53ac62bbb1a8b41836b6a567485f1716d5c29329d6809f24e45e RESEARCH_NOTEBOOK_AND_REASONING.md -a25d663c071362f100f097dd58943785ee72e5deb7d26520662ae8bee3e0348d CHANGELOG.md +03a1de44651cfe67bceb6de3d7924442120722d9bb9c30c5da333cd144fa63bd CHANGELOG.md diff --git a/formal/Wave5StochasticForces.lean b/formal/Wave5StochasticForces.lean index 000b1c3..fdd842f 100644 --- a/formal/Wave5StochasticForces.lean +++ b/formal/Wave5StochasticForces.lean @@ -45,23 +45,12 @@ theorem claim_c16_bell_chsh_bounds : 4 * 2500 < 14641 /\ (4 : Int) < 8 := by decide -end Foundation0.Gravity.Wave5 - - Foundation-0 / gravity -- Zero-Dependency Lean 4 Formal Verification (Wave 5) - Machine-checkable formalization of C-12, C-14, and C-16 in stock Lean 4 `Init`. - Disclosure: Written by AI agent (orda-aska / Gemini, Google, for Foundation-0); unreviewed by a person. - License: Apache-2.0 (code) / CC-BY-4.0 (documentation & proofs). --/ - -namespace Foundation0.Gravity.Wave5 - -/-- Claim C-12: Cross-Scale Flux-Phase Log Slope Relation (-2 + 0 = 2 * (-1)) -/ -theorem claim_c12_log_slope_relation : (-2 : Int) + 0 = 2 * (-1) := by decide - -/-- Claim C-14: Equivalence-Principle Mass-Scaling No-Go Discrepancy Bound -/ -theorem claim_c14_wep_discrepancy_bound : 45570000 * 91095 < 415125 * 10^7 := by decide +/-- Earlier equation-only C-12 arithmetic statement, retained separately. +This historical statement does not replace the current comparison bounds. -/ +theorem claim_c12_log_slope_relation_legacy_arithmetic : (-2 : Int) + 0 = 2 * (-1) := by decide -/-- Claim C-16: Bell-CHSH Non-Locality Ceiling & Tsirelson Bound inequalities -/ -theorem claim_c16_bell_chsh_bounds : 4 * 2500 < 14641 ∧ 4 < 8 := by decide +/-- Earlier C-16 statement uses natural numbers for both comparisons. +This historical statement does not replace the current comparison bounds. -/ +theorem claim_c16_bell_chsh_bounds_legacy_arithmetic : 4 * 2500 < 14641 ∧ 4 < 8 := by decide end Foundation0.Gravity.Wave5 diff --git a/formal/Wave6Convergence.lean b/formal/Wave6Convergence.lean index 39395fc..5524c08 100644 --- a/formal/Wave6Convergence.lean +++ b/formal/Wave6Convergence.lean @@ -76,25 +76,9 @@ theorem c20_centroid_diffusion_epoch_and_mass_invariant (piVal c RH hbar m : Int _ = (((2 * (piVal * m)) * c) * RH) * hbar := congrArg (fun t => (((2 * t) * c) * RH) * hbar) (Int.mul_comm m piVal) _ = ((((2 * piVal) * m) * c) * RH) * hbar := congrArg (fun t => ((t * c) * RH) * hbar) ((Int.mul_assoc 2 piVal m).symm) -end Foundation0.Gravity.Wave6 - - Foundation-0 / gravity -- Zero-Dependency Lean 4 Formal Verification (Wave 6) - Machine-checkable formalization of C-18, C-19, and C-20 in stock Lean 4 `Init`. - Disclosure: Written by AI agent (orda-aska / Gemini, Google, for Foundation-0); unreviewed by a person. - License: Apache-2.0 (code) / CC-BY-4.0 (documentation & proofs). --/ - -namespace Foundation0.Gravity.Wave6 - -theorem c18_hbar_cancels_identically (twoPi M c RH hbar G : Int) : - (twoPi * M * c * RH) * (hbar * G) * (c * c) = hbar * (c * c * c) * (twoPi * G * M * RH) := by - simp [Int.mul_assoc, Int.mul_comm, Int.mul_left_comm] - -theorem c19_potential_depth_clean_window : +/-- Earlier C-19 integer interval, retained as arithmetic only. +The current certificate uses the interval in `c19_potential_depth_clean_window`. -/ +theorem c19_potential_depth_clean_window_legacy_arithmetic : 35 < 190 ∧ 190 < 650 ∧ 650 < 800 ∧ 5 * 800 < 6000 ∧ 30 * 190 < 6000 := by decide -theorem c20_centroid_diffusion_epoch_and_mass_invariant (piVal c RH hbar m : Int) : - (piVal * c * RH * hbar) * (2 * m) = (2 * piVal * m * c * RH) * hbar := by - simp [Int.mul_assoc, Int.mul_comm, Int.mul_left_comm] - end Foundation0.Gravity.Wave6 diff --git a/formal/Wave7ThresholdAudit.lean b/formal/Wave7ThresholdAudit.lean index a52de92..6d2527d 100644 --- a/formal/Wave7ThresholdAudit.lean +++ b/formal/Wave7ThresholdAudit.lean @@ -55,48 +55,4 @@ theorem c22_supply_capped_trapping_strictly_bounded (x s rSat : Int) have h_one : 1 * s = s := Int.one_mul s omega -end Foundation0.Gravity.Wave7 - - Foundation-0 / gravity — Wave-7 Lean 4 Formal Proofs of Empirical Threshold & Supply-Cap Bounds (C-21, C-22) - Stock Lean 4 Init formal verification (zero external dependencies). - Disclosure: Written by AI agent (Gemini, Google, via orda-aska for Foundation-0); not yet reviewed by a person. - License: Apache-2.0 (code) / CC-BY-4.0 (documentation & proofs). --/ - -namespace Foundation0.Gravity.Wave7 - -theorem c21_stratified_onset_and_half_saturation_window : - let sigma_lstar : Int := 152 - let sigma_crit : Int := 190 - let sigma_half : Int := 320 - let sigma_ngc4125 : Int := 283 - let sigma_w6 : Int := 388 - let sigma_50_sq : Int := sigma_crit * sigma_crit + sigma_half * sigma_half - sigma_lstar < sigma_crit ∧ - sigma_crit < sigma_ngc4125 ∧ - sigma_ngc4125 < sigma_w6 ∧ - 365 * 365 < sigma_50_sq ∧ - sigma_50_sq < 390 * 390 := by - decide - -theorem c22_unbounded_tf_exceeds_cosmic_supply_cap : - let ds_bullet : Int := 1000 * 1000 - 388 * 388 - let ds_macs : Int := 1494 * 1494 - 388 * 388 - 11 * (ds_bullet * ds_bullet * ds_bullet) < (ds_macs * ds_macs * ds_macs) := by - decide - -theorem c22_supply_capped_trapping_strictly_bounded (x s rSat : Int) - (hs : 0 < s) (hr : 1 < rSat) : - (x + s) + (rSat - 1) * x < rSat * (x + s) := by - have h_expand_lhs : (x + s) + (rSat - 1) * x = rSat * x + s := by - rw [Int.sub_mul, Int.one_mul] - omega - have h_expand_rhs : rSat * (x + s) = rSat * x + rSat * s := by - rw [Int.mul_add] - rw [h_expand_lhs, h_expand_rhs] - have h_diff : s < rSat * s := by - have h1 : 1 * s < rSat * s := Int.mul_lt_mul_of_pos_right hr hs - simpa [Int.one_mul] using h1 - omega - end Foundation0.Gravity.Wave7