Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4390432
Bind uniform Gaussian moment research to exact noncentered jet source
Oct 25, 2026
1084008
Bind noncentered Gaussian normalizer components before implementation
Oct 25, 2026
e01247d
Specify canonical regression kernel at exact Gaussian pin values
Oct 25, 2026
d313258
Bind the actual six-endpoint Gaussian route without quartic substitution
Oct 25, 2026
28d0151
Prove Gaussian moment, reference positivity and canonical regression …
Oct 25, 2026
817bf3f
Specify the positive normalizer floor from endpoint coupling and Fatou
Oct 25, 2026
8b2b812
Specify direct Gaussian regression from observable covariance equations
Oct 25, 2026
1eb5801
Specify exact endpoint to continuous-normalizer weight identity
Oct 25, 2026
8157330
Specify singular-safe Gaussian common coupling from convergent covari…
Oct 25, 2026
fc94a9b
Bind actual source derivative Gaussianity before implementation
Oct 25, 2026
45b0ede
Specify seven-mode contact covariance positivity certificate
Oct 25, 2026
1ae8539
Specify canonical weighted probability and integral Palm-tail transfer
Oct 25, 2026
ef80ba4
Specify Gaussian-parameter normalizer floor without coupling assumptions
Oct 25, 2026
52062b1
Prove physical endpoint moments, canonical regression and singular-sa…
Oct 25, 2026
7cecd8b
Prove actual derivative joint Gaussianity and freeze contact covarian…
Oct 25, 2026
93c9a30
Specify literal six-pin confluent equivalence and exact prescribed ta…
Oct 25, 2026
16f81b9
Integrate Gaussian conditioning, normalizer and actual Palm transfer …
Oct 25, 2026
3bb99c9
Specify literal contact pin invertibility and positive reference Schu…
Oct 25, 2026
d382da3
Specify actual covariance continuity and confluent integral identities
Oct 25, 2026
6afee9b
Specify regression continuity and uniform Gaussian parameter bounds f…
Oct 25, 2026
badd443
Specify actual endpoint regression using the verified canonical kernel
Oct 25, 2026
049f9e0
Specify actual confluent covariance limits from Fourier Peano bounds
Oct 25, 2026
af61a9c
Deliver 66-target kernel receipt and actual field covariance and pin …
Oct 25, 2026
20e4634
Specify actual canonical endpoint mean and Schur Gaussian law
Oct 25, 2026
7f4d017
Specify actual limiting endpoint contact parameters from source covar…
Oct 25, 2026
dffeea6
Specify actual endpoint estimates using qualified Gaussian and Palm c…
Oct 25, 2026
8590836
Publish exact actual-source Gaussian conditioning evidence and scoped…
Oct 25, 2026
1819e38
Specify canonical physical endpoint law at the prescribed null pin
Oct 25, 2026
7a2ee81
Derive actual physical endpoint moment, positive normalizer and weigh…
Oct 25, 2026
f0cba7d
Merge branch 'main' into codex/dm2-gaussian-moments-20261025
d6g8k5htny-coder Oct 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 17 additions & 0 deletions frontiers/determinant_moment_20261025/LINEAGE_VALIDATION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Declared-author lineage validation

## 25 October Gaussian research successor contributor disclosure

Root author: OpenAI/Codex /root. All scientific proposal/code/API helpers in this
successor use the same OpenAI model family: /root/uniform_jet_moment_sources,
/root/normalizer_palm_research and its scratch-only gaussian_reference_probe,
/root/regression_kernel and its gaussian_api helper,
/root/dm2_landed_composition, /root/palm_measure_transfer and its scratch-only
density_api helper. Source contracts assign their mathematical scope.
Their compiler checks, mathematical controls, kernel evidence and technical
reading receive zero provider-distinct scientific-review credit. An attempted
bridge helper was not created and is not represented as a contributor/reviewer.
Historical source authors/reviews remain at their original immutable identities;
neither inherited code nor historical scientific acceptance is reauthored here.

The text below describes the unchanged historical validator. This disclosure
does not create an accepted alignment record or change its distinctness rules.

Scientific effect: **NONE**. This is an engineering successor to the validator,
not an alignment acceptance, new proof, or scientific-status authority.
Implementer: OpenAI / GPT-6 Astra Pro, ChatGPT session
Expand Down
59 changes: 30 additions & 29 deletions frontiers/determinant_moment_20261025/README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@
# Exact endpoint-Hessian determinant second moment
# Gaussian endpoint moments, canonical conditioning and normalizer research

P02-LM-002: for the source's exact nine-jet endpoint convention and 0<r<=1,
W²<=16r⁴R⁸; an integrable eighth-radius moment bounded by M8 yields an integrable
squared weight with expectation<=16M8r⁴. See SOURCE_MAP.md and SCOPE.md.
This successor develops Gaussian eighth moments, literal six-endpoint determinant
moment bounds, canonical Gaussian regression, positive normalizer deductions,
and actual weighted-probability Cauchy–Schwarz transfer. Precise premises and
remaining actual-field/parent joins are in SCOPE.md and the frozen SOURCE_*.md
contracts. The sibling source_derivative_gaussian_20261025 packet proves actual
Fourier derivative joint Gaussianity and covariance pairings on the existing
smooth carrier.

This supplies a missing formal determinant-moment step for the Palm-tail transfer.
Concrete Gaussian moments, endpoint identification, normalizer and parent results
remain open. Author OpenAI/Codex /root; scientific effect NONE.
All authors/helpers are OpenAI/Codex. Scientific effect NONE; alignment is
PENDING_INDEPENDENT_REVIEW. Original five-statement DM2 proof and evidence remain
preserved. A quartic midpoint weight is not identified with arbitrary literal
field endpoints; the new actual six-coordinate route is used explicitly.

This isolated additive packet preserves the exact existing formal/gate.py and its
13 necessary scalar baseline theorem bodies with narrow imports. It does not modify the occupied core gate
or add a hosted workflow. The dependency lock and Lean/mathlib pins are unchanged.
Repository-wide CI builds the original core formal package, not this packet.
The isolated packet retains the original gate, thirteen scalar baseline proof
bodies, Lean4.34.1/mathlib pins, axiom allowlist and five rejection controls.
No occupied core source or hosted workflow is modified. Repository-wide CI
builds the original core formal package; it does not qualify this packet.

From this directory, with Lean v4.34.1 on PATH:
From this directory, with the pinned lake on PATH:

```sh
lake exe cache get
python -B -S -m unittest discover -s tests -v
python -B -O -S -m unittest discover -s tests -v
python -B -S gate.py
python -B -S gate.py --execute
```

The gate's local exact-commit receipt and complete logs are produced under
.lake/formal-evidence/. Successful local execution is distinct from trusted hosted
execution and independent statement alignment. Both require their own evidence.
A nonauthor same-provider source review is recorded separately and does not satisfy
the unchanged provider-distinct alignment validator. No accepted alignment record
or parent acceptance is claimed. Controls and actual run evidence are delivered
separately; no old result is rebound to this new source.

## Import-only memory repair

The original full-Mathlib build passed but kernel replay exceeded 16GiB.
SOURCE_MAP.md records that failure and the narrow-import successor. Every
scalar statement/proof body, gate.py, pin and rejection control is preserved;
only imports and their exact preservation-test expectations changed.
These are reproduction commands. Reuse completed applicable verification on
unchanged sources; rerun only for a concrete new change or uncovered obligation.
The changed root/inventory warrants one final gate execution. Original Python
gate-test evidence remains applicable; new mathematical controls have separate
actual logs, commands and outcomes. The new receipt is emitted under
.lake/formal-evidence and delivered separately from immutable evidence/final,
which belongs to the original DM2 execution.

Local kernel evidence, actual source identification, hosted execution and
different-family scientific review must be reported separately. Historical
scoped reviews and same-family technical work do not qualify the successor.
The original research goal remains active until its actual remaining joins and
parent obligations are discharged.
10 changes: 10 additions & 0 deletions frontiers/determinant_moment_20261025/ResearchFormalCoreR1.lean
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
import ResearchFormalCoreR1.AlgebraV2
import ResearchFormalCoreR1.ProbabilityCompanionsV2
import ResearchFormalCoreR1.DeterminantMoment
import ResearchFormalCoreR1.GaussianScalarMoments
import ResearchFormalCoreR1.GaussianJetMoments
import ResearchFormalCoreR1.GaussianNormalizer
import ResearchFormalCoreR1.GaussianRegressionKernel
import ResearchFormalCoreR1.EndpointGaussianMoments
import ResearchFormalCoreR1.NormalizerFloor
import ResearchFormalCoreR1.EndpointNormalizerBridge
import ResearchFormalCoreR1.GaussianCoupling
import ResearchFormalCoreR1.GaussianNormalizerLimit
import ResearchFormalCoreR1.PalmReweighting
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
import ResearchFormalCoreR1.GaussianJetMoments

/-! Gaussian moments for the six actual normalized endpoint entries from
GP-DER-047 section 13. Coordinates are (fxx(M)/r,fxy(M)/r,fyy(M),
fxx(S)/r,fxy(S)/r,fyy(S)); no polynomial midpoint-jet identity is assumed. -/

namespace ResearchFormalCoreR1

open MeasureTheory ProbabilityTheory
open scoped BigOperators NNReal

set_option autoImplicit false

def egm_HM (r : ℝ) (j : Fin 6 → ℝ) : Matrix (Fin 2) (Fin 2) ℝ :=
!![r * j 0, r * j 1; r * j 1, j 2]

def egm_HS (r : ℝ) (j : Fin 6 → ℝ) : Matrix (Fin 2) (Fin 2) ℝ :=
!![r * j 3, r * j 4; r * j 4, j 5]

noncomputable def egm_weight (r : ℝ) (j : Fin 6 → ℝ) : ℝ := by
classical
exact if dm2Negative (egm_HM r j) ∧ (egm_HS r j).det < 0 then
|(egm_HM r j).det * (egm_HS r j).det| else 0

/-- The maximum condition is the original strict quadratic-form condition;
no null-boundary assumption is needed for measurable typing. -/
theorem egm_weight_measurable (r : ℝ) : Measurable (egm_weight r) := by
classical
have hm : Continuous (fun j : Fin 6 → ℝ => (egm_HM r j).det) := by
simp only [egm_HM, Matrix.det_fin_two]
fun_prop
have hs : Continuous (fun j : Fin 6 → ℝ => (egm_HS r j).det) := by
simp only [egm_HS, Matrix.det_fin_two]
fun_prop
have htype : MeasurableSet {j : Fin 6 → ℝ |
dm2Negative (egm_HM r j) ∧ (egm_HS r j).det < 0} := by
simp only [egm_HM, dm2_negative_iff]
apply MeasurableSet.inter
· apply MeasurableSet.inter
· have h : Continuous (fun j : Fin 6 → ℝ => r * j 0) := by fun_prop
exact (isOpen_lt h continuous_const).measurableSet
· have h : Continuous (fun j : Fin 6 → ℝ =>
(r * j 0) * j 2 - (r * j 1) ^ 2) := by fun_prop
exact (isOpen_lt continuous_const h).measurableSet
· exact (isOpen_lt hs continuous_const).measurableSet
change Measurable (fun j => if dm2Negative (egm_HM r j) ∧ (egm_HS r j).det < 0
then |(egm_HM r j).det * (egm_HS r j).det| else 0)
exact Measurable.ite htype (hm.measurable.mul hs.measurable).abs measurable_const

private theorem egm_coordinate_bound (j : Fin 6 → ℝ) (i : Fin 6) :
|j i| ≤ gm8Radius j := by
have hsum : |j i| ≤ ∑ k, |j k| :=
Finset.single_le_sum (fun k _ => abs_nonneg (j k)) (Finset.mem_univ i)
unfold gm8Radius
linarith

private theorem egm_factor_bound (r a b c R : ℝ) (hr : 0 ≤ r) (hr1 : r ≤ 1)
(hR : 0 ≤ R) (ha : |a| ≤ R) (hb : |b| ≤ R) (hc : |c| ≤ R) :
|a * c - r * b ^ 2| ≤ 2 * R ^ 2 := by
have hac : |a * c| ≤ R ^ 2 := by
rw [abs_mul, pow_two]
exact mul_le_mul ha hc (abs_nonneg c) hR
have hbb : b ^ 2 ≤ R ^ 2 := by nlinarith [sq_abs b, abs_nonneg b]
have hrbb : |r * b ^ 2| ≤ R ^ 2 := by
rw [abs_of_nonneg (mul_nonneg hr (sq_nonneg b))]
exact (mul_le_of_le_one_left (sq_nonneg b) hr1).trans hbb
exact (abs_sub _ _).trans (by linarith)

private theorem egm_untyped (r : ℝ) (j : Fin 6 → ℝ) (hr : 0 < r) (hr1 : r ≤ 1) :
((egm_HM r j).det * (egm_HS r j).det) ^ 2 ≤
16 * r ^ 4 * gm8Radius j ^ 8 := by
let R := gm8Radius j
let dM := j 0 * j 2 - r * j 1 ^ 2
let dS := j 3 * j 5 - r * j 4 ^ 2
have hR : 0 ≤ R := by dsimp [R, gm8Radius]; positivity
have hM : |dM| ≤ 2 * R ^ 2 :=
egm_factor_bound r _ _ _ R hr.le hr1 hR
(egm_coordinate_bound j 0) (egm_coordinate_bound j 1) (egm_coordinate_bound j 2)
have hS : |dS| ≤ 2 * R ^ 2 :=
egm_factor_bound r _ _ _ R hr.le hr1 hR
(egm_coordinate_bound j 3) (egm_coordinate_bound j 4) (egm_coordinate_bound j 5)
have hprod : |dM * dS| ≤ (2 * R ^ 2) ^ 2 := by
rw [abs_mul, pow_two]
exact mul_le_mul hM hS (abs_nonneg _) (by positivity)
have hsq : (dM * dS) ^ 2 ≤ ((2 * R ^ 2) ^ 2) ^ 2 := by
simpa only [sq_abs] using
(sq_le_sq₀ (abs_nonneg (dM * dS)) (sq_nonneg (2 * R ^ 2))).2 hprod
have hdet : ((egm_HM r j).det * (egm_HS r j).det) ^ 2 =
r ^ 4 * (dM * dS) ^ 2 := by
simp [egm_HM, egm_HS, Matrix.det_fin_two, dM, dS]
ring
calc
_ = r ^ 4 * (dM * dS) ^ 2 := hdet
_ ≤ r ^ 4 * ((2 * R ^ 2) ^ 2) ^ 2 :=
mul_le_mul_of_nonneg_left hsq (by positivity)
_ = 16 * r ^ 4 * gm8Radius j ^ 8 := by dsimp [R]; ring

/-- Exact endpoint determinant domination in the actual normalized six-vector.
The type indicators can only reduce the nonnegative determinant product. -/
theorem egm_pointwise (r : ℝ) (j : Fin 6 → ℝ) (hr : 0 < r) (hr1 : r ≤ 1) :
egm_weight r j ^ 2 ≤ 16 * r ^ 4 * gm8Radius j ^ 8 := by
classical
unfold egm_weight
split_ifs
· simpa only [sq_abs] using egm_untyped r j hr hr1
· simpa only [zero_pow (by decide : (2 : ℕ) ≠ 0)] using
(show 0 ≤ 16 * r ^ 4 * gm8Radius j ^ 8 by positivity)

/-- Genuine Gaussian marginal laws of the actual normalized endpoint vector
supply both integrability and its determinant second moment. The derivative-map,
conditioning law and uniform parameter bounds remain explicit model inputs. -/
theorem egm_gaussian_moment {Ω : Type*} [MeasurableSpace Ω]
(μ : Measure Ω) [IsProbabilityMeasure μ] (J : Ω → Fin 6 → ℝ)
(hJ : Measurable J) (m : Fin 6 → ℝ) (v : Fin 6 → ℝ≥0)
(B V r : ℝ) (hB : 0 ≤ B) (hV : 0 ≤ V) (hr : 0 < r) (hr1 : r ≤ 1)
(hmean : ∀ i, |m i| ≤ B) (hvar : ∀ i, (v i : ℝ) ≤ V)
(hlaw : ∀ i, HasLaw (fun x => J x i) (gaussianReal (m i) (v i)) μ) :
Integrable (fun x => egm_weight r (J x) ^ 2) μ ∧
(∫ x, egm_weight r (J x) ^ 2 ∂μ) ≤ 16 * gm8FiniteM8 6 B V * r ^ 4 := by
obtain ⟨h8, hbound⟩ := gm8_finite_integrable_bound 6 μ J hJ m v B V hB hV
hmean hvar hlaw
have hmajor : Integrable (fun x => 16 * r ^ 4 * gm8Radius (J x) ^ 8) μ :=
h8.const_mul _
have hmeas : AEStronglyMeasurable (fun x => egm_weight r (J x) ^ 2) μ :=
(((egm_weight_measurable r).comp hJ).pow_const 2).aestronglyMeasurable
have hi : Integrable (fun x => egm_weight r (J x) ^ 2) μ :=
hmajor.mono' hmeas (Filter.Eventually.of_forall (fun x => by
rw [Real.norm_eq_abs, abs_of_nonneg (sq_nonneg _)]
exact egm_pointwise r (J x) hr hr1))
refine ⟨hi, ?_⟩
calc
_ ≤ ∫ x, 16 * r ^ 4 * gm8Radius (J x) ^ 8 ∂μ :=
integral_mono hi hmajor (fun x => egm_pointwise r (J x) hr hr1)
_ = 16 * r ^ 4 * (∫ x, gm8Radius (J x) ^ 8 ∂μ) := integral_const_mul _ _
_ ≤ 16 * r ^ 4 * gm8FiniteM8 6 B V :=
mul_le_mul_of_nonneg_left hbound (by positivity)
_ = 16 * gm8FiniteM8 6 B V * r ^ 4 := by ring

end ResearchFormalCoreR1
Loading
Loading