sync: upload 05_lean_formalization to Hugging Face dataset
Browse files
05_lean_formalization/ADJACENT_MODULES.txt
CHANGED
|
@@ -547,3 +547,11 @@ CP2SpincIndex.lean # Characteristic-class arithmetic for Spin^c Di
|
|
| 547 |
NoetherScoping.lean # Abstract B1-B3 chunks of diffeomorphism Noether identity
|
| 548 |
# (vector sector, Fin 2 contraction, t-only 2D density
|
| 549 |
# divergence; O44). Not cited by the manuscript.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 547 |
NoetherScoping.lean # Abstract B1-B3 chunks of diffeomorphism Noether identity
|
| 548 |
# (vector sector, Fin 2 contraction, t-only 2D density
|
| 549 |
# divergence; O44). Not cited by the manuscript.
|
| 550 |
+
PostulateRAnalyticNoGo.lean # Postulate R analytic induced-metric brane no-go (proves
|
| 551 |
+
# no C^1-at-0 g(x^2) can match mu_std(x) even on [0, eps)),
|
| 552 |
+
# J_std''(y) blowup as y -> 0+, and exact analytic auxiliary-
|
| 553 |
+
# susceptibility realization F_std(x) = sup_{s in [0,1)}
|
| 554 |
+
# [s x^2/2 - (artanh s - s)/2] with V'(0) = V''(0) = 0.
|
| 555 |
+
# 21 theorems, standard axioms only. Adjacent audit companion
|
| 556 |
+
# to audits/2026-11-19/postulate_r_analytic_nogo.py; not cited
|
| 557 |
+
# by the manuscript.
|
05_lean_formalization/PostulateRAnalyticNoGo.lean
ADDED
|
@@ -0,0 +1,495 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Mathlib.Analysis.SpecialFunctions.Arsinh
|
| 2 |
+
import Mathlib.Analysis.SpecialFunctions.Sqrt
|
| 3 |
+
import Mathlib.Analysis.SpecialFunctions.Log.Deriv
|
| 4 |
+
import Mathlib.Analysis.Calculus.MeanValue
|
| 5 |
+
import Mathlib.Tactic.Ring
|
| 6 |
+
import Mathlib.Tactic.Linarith
|
| 7 |
+
import Mathlib.Tactic.FieldSimp
|
| 8 |
+
import Mathlib.Tactic.NormNum
|
| 9 |
+
import Mathlib.Tactic.Positivity
|
| 10 |
+
|
| 11 |
+
/-!
|
| 12 |
+
# Postulate R: Analytic Induced-Metric Brane No-Go and Analytic Auxiliary-Susceptibility Realization
|
| 13 |
+
|
| 14 |
+
Extends `audits/2026-11-19/postulate_r_membrane_derivation.py` (PR #241) and `SZStdEmbedding.lean`.
|
| 15 |
+
|
| 16 |
+
## What is proved here (`[P]`)
|
| 17 |
+
|
| 18 |
+
1. **Analytic induced-metric brane no-go (even restricted to `x ≥ 0`):**
|
| 19 |
+
For a static 3-brane with induced metric `h_ij = δ_ij + v_i v_j` (`v = ∇φ / a₀`, `|v| = x`),
|
| 20 |
+
every rotational scalar invariant depends solely on `y = x²` (the eigenvalues of `h` are
|
| 21 |
+
`{1 + x², 1, 1}`, so `det h = 1 + x²`, `tr h = 3 + x²`, `tr(h²) = (1 + x²)² + 2`).
|
| 22 |
+
Consequently, any local 1-field action `L(h_ij) = L̃(x²)` that is `C²` in `y = x²` at `y = 0`
|
| 23 |
+
yields an Euler–Lagrange response `μ(x) = g(x²)` with `g` differentiable at `0`.
|
| 24 |
+
- `hasDerivWithinAt_even_response_zero`: `(fun x => g (x ^ 2))` has right-derivative `0` at `x = 0`
|
| 25 |
+
on `[0, ∞)`.
|
| 26 |
+
- `hasDerivAt_muStd_zero` and `hasDerivWithinAt_muStd_zero`: `muStd(x) = x / √(1 + x²)` has
|
| 27 |
+
derivative (and right-derivative on `[0, ∞)`) equal to `1` at `x = 0`.
|
| 28 |
+
- `analytic_induced_metric_nogo_nonneg`: there is NO function `g : ℝ → ℝ` differentiable at `0`
|
| 29 |
+
and NO `ε > 0` such that `g (x ^ 2) = muStd x` for all `x ∈ [0, ε)`.
|
| 30 |
+
- `hasDerivAt_Jstd_deriv` and `Jstd_second_deriv_unbounded`: the AQUAL kinetic function
|
| 31 |
+
`J_std(y) = F_std(√y)` has `J_std'(y) = √y / (2 √(1 + y))` and second derivative
|
| 32 |
+
`J_std''(y) = 1 / (4 √y (1 + y)^(3/2))`, which diverges to `+∞` as `y → 0⁺` (a `y^(3/2)` branch point).
|
| 33 |
+
|
| 34 |
+
2. **Exact analytic auxiliary-susceptibility realization (Legendre–Fenchel supremum):**
|
| 35 |
+
For an auxiliary susceptibility scalar `s ∈ [0, 1)` with the real-analytic potential
|
| 36 |
+
`auxPot s = (log ((1 + s) / (1 - s)) / 2 - s) / 2 = (artanh s - s) / 2` and two-field Lagrangian
|
| 37 |
+
`auxLag x s = s * x² / 2 - auxPot s`:
|
| 38 |
+
- `hasDerivAt_auxPot`: `auxPot'(s) = s² / (2 (1 - s²))` for `|s| < 1`.
|
| 39 |
+
- `hasDerivAt_auxPot_deriv`: `auxPot''(s) = s / (1 - s²)²` for `|s| < 1`.
|
| 40 |
+
- `auxPot_critical_at_zero`: `auxPot'(0) = 0` and `auxPot''(0) = 0` (spinodal critical point at `s = 0`).
|
| 41 |
+
- `auxLag_stationary_iff`: for `x ≥ 0` and `s ∈ [0, 1)`, `x² / 2 - auxPot'(s) = 0 ↔ s = muStd x`.
|
| 42 |
+
- `half_log_ratio_muStd_eq_arsinh`: `(1/2) log((1 + muStd x) / (1 - muStd x)) = arsinh x`.
|
| 43 |
+
- `auxLag_on_shell_eq_Fstd`: `auxLag x (muStd x) = Fstd x` identically for all `x : ℝ`.
|
| 44 |
+
- `auxLag_le_Fstd`: for `x ≥ 0` and every `s ∈ [0, 1)`, `auxLag x s ≤ Fstd x`, with equality
|
| 45 |
+
iff `s = muStd x` (`auxLag_eq_Fstd_iff`).
|
| 46 |
+
|
| 47 |
+
## Honest scoping (`[O]`)
|
| 48 |
+
This module establishes a structural no-go for 1-field local analytic induced-metric brane actions
|
| 49 |
+
and constructs an exact analytic two-field realization of `F_std`. Selecting `auxPot` among all
|
| 50 |
+
cubic-onset analytic potentials `V(s) = s³/6 + O(s⁵)` remains equivalent to Postulate R and is not
|
| 51 |
+
uniquely derived here.
|
| 52 |
+
-/
|
| 53 |
+
|
| 54 |
+
noncomputable section
|
| 55 |
+
|
| 56 |
+
namespace ResNova.PostulateRAnalyticNoGo
|
| 57 |
+
|
| 58 |
+
open Real Set
|
| 59 |
+
|
| 60 |
+
/-- Canonical live interpolating function `μ_std(x) = x / √(1 + x²)`. -/
|
| 61 |
+
def muStd (x : ℝ) : ℝ := x / Real.sqrt (1 + x ^ 2)
|
| 62 |
+
|
| 63 |
+
/-- Canonical live AQUAL potential `F_std(x) = (x √(1 + x²) - arsinh x) / 2`. -/
|
| 64 |
+
def Fstd (x : ℝ) : ℝ := (x * Real.sqrt (1 + x ^ 2) - Real.arsinh x) / 2
|
| 65 |
+
|
| 66 |
+
/-- Real-analytic auxiliary potential `V(s) = (artanh s - s) / 2` on `(-1, 1)`. -/
|
| 67 |
+
def auxPot (s : ℝ) : ℝ := (Real.log ((1 + s) / (1 - s)) / 2 - s) / 2
|
| 68 |
+
|
| 69 |
+
/-- Two-field auxiliary Lagrangian `L(x, s) = (1/2) s x² - V(s)`. -/
|
| 70 |
+
def auxLag (x s : ℝ) : ℝ := s * x ^ 2 / 2 - auxPot s
|
| 71 |
+
|
| 72 |
+
/-- Explicit first derivative `V'(s) = s² / (2 (1 - s²))`. -/
|
| 73 |
+
def auxPotDeriv (s : ℝ) : ℝ := s ^ 2 / (2 * (1 - s ^ 2))
|
| 74 |
+
|
| 75 |
+
/-- Explicit second derivative `V''(s) = s / (1 - s²)²`. -/
|
| 76 |
+
def auxPotDeriv2 (s : ℝ) : ℝ := s / (1 - s ^ 2) ^ 2
|
| 77 |
+
|
| 78 |
+
/-- Explicit first derivative of AQUAL kinetic function `J_std'(y) = √y / (2 √(1 + y))`. -/
|
| 79 |
+
def JstdDeriv (y : ℝ) : ℝ := Real.sqrt y / (2 * Real.sqrt (1 + y))
|
| 80 |
+
|
| 81 |
+
/-- Explicit second derivative `J_std''(y) = 1 / (4 √y (1 + y) √(1 + y))`. -/
|
| 82 |
+
def JstdDeriv2 (y : ℝ) : ℝ := 1 / (4 * Real.sqrt y * (1 + y) * Real.sqrt (1 + y))
|
| 83 |
+
|
| 84 |
+
/-! ## 1. Induced 3-Brane Metric Invariants & Analytic No-Go -/
|
| 85 |
+
|
| 86 |
+
/-- Determinant of the induced 3-brane metric `h_ij = δ_ij + v_i v_j` equals `1 + |v|²`. -/
|
| 87 |
+
theorem induced_metric_det_eq (v1 v2 v3 : ℝ) :
|
| 88 |
+
(1 + v1 ^ 2) * ((1 + v2 ^ 2) * (1 + v3 ^ 2) - (v2 * v3) ^ 2)
|
| 89 |
+
- (v1 * v2) * ((v1 * v2) * (1 + v3 ^ 2) - (v2 * v3) * (v1 * v3))
|
| 90 |
+
+ (v1 * v3) * ((v1 * v2) * (v2 * v3) - (1 + v2 ^ 2) * (v1 * v3))
|
| 91 |
+
= 1 + (v1 ^ 2 + v2 ^ 2 + v3 ^ 2) := by
|
| 92 |
+
ring
|
| 93 |
+
|
| 94 |
+
/-- Trace and squared-trace of `h_ij = δ_ij + v_i v_j` depend solely on `y = |v|²`. -/
|
| 95 |
+
theorem induced_metric_traces_eq (v1 v2 v3 : ℝ) :
|
| 96 |
+
((1 + v1 ^ 2) + (1 + v2 ^ 2) + (1 + v3 ^ 2) = 3 + (v1 ^ 2 + v2 ^ 2 + v3 ^ 2)) ∧
|
| 97 |
+
((1 + v1 ^ 2) ^ 2 + (1 + v2 ^ 2) ^ 2 + (1 + v3 ^ 2) ^ 2
|
| 98 |
+
+ 2 * (v1 * v2) ^ 2 + 2 * (v1 * v3) ^ 2 + 2 * (v2 * v3) ^ 2
|
| 99 |
+
= (1 + (v1 ^ 2 + v2 ^ 2 + v3 ^ 2)) ^ 2 + 2) := by
|
| 100 |
+
constructor <;> ring
|
| 101 |
+
|
| 102 |
+
/-- Any function of `x²` built from a `g` differentiable at `0` has derivative `0` at `x = 0`. -/
|
| 103 |
+
theorem hasDerivAt_even_response_zero {g : ℝ → ℝ} (hg : DifferentiableAt ℝ g 0) :
|
| 104 |
+
HasDerivAt (fun x : ℝ => g (x ^ 2)) 0 0 := by
|
| 105 |
+
let sq : ℝ → ℝ := fun x => x ^ 2
|
| 106 |
+
have hsq : HasDerivAt sq 0 0 := by
|
| 107 |
+
simpa [sq] using hasDerivAt_pow 2 (0 : ℝ)
|
| 108 |
+
have hg' : HasDerivAt g (deriv g 0) (sq 0) := by
|
| 109 |
+
simpa [sq] using hg.hasDerivAt
|
| 110 |
+
have hc : HasDerivAt (g ∘ sq) (deriv g 0 * 0) 0 := HasDerivAt.comp (0 : ℝ) hg' hsq
|
| 111 |
+
have hcomp : (g ∘ sq) = (fun x : ℝ => g (x ^ 2)) := rfl
|
| 112 |
+
rw [hcomp] at hc
|
| 113 |
+
exact hc.congr_deriv (mul_zero _)
|
| 114 |
+
|
| 115 |
+
/-- Even restricted to the physical domain `x ∈ [0, ∞)`, `g(x²)` has right-derivative `0` at `0`. -/
|
| 116 |
+
theorem hasDerivWithinAt_even_response_zero {g : ℝ → ℝ} (hg : DifferentiableAt ℝ g 0) :
|
| 117 |
+
HasDerivWithinAt (fun x : ℝ => g (x ^ 2)) 0 (Set.Ici (0 : ℝ)) 0 :=
|
| 118 |
+
(hasDerivAt_even_response_zero hg).hasDerivWithinAt
|
| 119 |
+
|
| 120 |
+
/-- `muStd(x) = x / √(1 + x²)` has derivative `1` at `x = 0`. -/
|
| 121 |
+
theorem hasDerivAt_muStd_zero : HasDerivAt muStd 1 0 := by
|
| 122 |
+
have hpos : (0 : ℝ) < 1 + (0 : ℝ) ^ 2 := by norm_num
|
| 123 |
+
have h1 : HasDerivAt (fun x : ℝ => 1 + x ^ 2) (2 * (0 : ℝ)) 0 := by
|
| 124 |
+
simpa using (hasDerivAt_pow 2 (0 : ℝ)).const_add 1
|
| 125 |
+
have hsqrt : HasDerivAt (fun x : ℝ => Real.sqrt (1 + x ^ 2))
|
| 126 |
+
(2 * (0 : ℝ) / (2 * Real.sqrt (1 + (0 : ℝ) ^ 2))) 0 := h1.sqrt hpos.ne'
|
| 127 |
+
have hdiv : HasDerivAt (fun x : ℝ => x / Real.sqrt (1 + x ^ 2))
|
| 128 |
+
((1 * Real.sqrt (1 + (0 : ℝ) ^ 2) - 0 * (2 * (0 : ℝ) / (2 * Real.sqrt (1 + (0 : ℝ) ^ 2)))) /
|
| 129 |
+
(Real.sqrt (1 + (0 : ℝ) ^ 2)) ^ 2) 0 :=
|
| 130 |
+
(hasDerivAt_id 0).div hsqrt (Real.sqrt_pos.mpr hpos).ne'
|
| 131 |
+
have hsimp :
|
| 132 |
+
((1 * Real.sqrt (1 + (0 : ℝ) ^ 2) - 0 * (2 * (0 : ℝ) / (2 * Real.sqrt (1 + (0 : ℝ) ^ 2)))) /
|
| 133 |
+
(Real.sqrt (1 + (0 : ℝ) ^ 2)) ^ 2) = 1 := by
|
| 134 |
+
norm_num
|
| 135 |
+
have hmu : (fun x : ℝ => x / Real.sqrt (1 + x ^ 2)) = muStd := rfl
|
| 136 |
+
rw [hmu] at hdiv
|
| 137 |
+
exact hdiv.congr_deriv hsimp
|
| 138 |
+
|
| 139 |
+
/-- **Analytic Induced-Metric Brane No-Go (on `x ≥ 0`):**
|
| 140 |
+
No function `g : ℝ → ℝ` differentiable at `0` can satisfy `g(x²) = μ_std(x)` on any positive
|
| 141 |
+
half-neighborhood `[0, ε)`. -/
|
| 142 |
+
theorem analytic_induced_metric_nogo_nonneg :
|
| 143 |
+
¬ ∃ (g : ℝ → ℝ) (ε : ℝ),
|
| 144 |
+
DifferentiableAt ℝ g 0 ∧ 0 < ε ∧ ∀ x : ℝ, 0 ≤ x → x < ε → g (x ^ 2) = muStd x := by
|
| 145 |
+
rintro ⟨g, ε, hg, hε, hEq⟩
|
| 146 |
+
have h_ev : (fun x : ℝ => g (x ^ 2)) =ᶠ[nhdsWithin (0 : ℝ) (Set.Ici 0)] muStd := by
|
| 147 |
+
rw [Filter.EventuallyEq, eventually_nhdsWithin_iff]
|
| 148 |
+
filter_upwards [Metric.ball_mem_nhds (0 : ℝ) hε] with x hx hx0
|
| 149 |
+
have hxlt : x < ε := by
|
| 150 |
+
have hdist : |x - 0| < ε := by simpa [Real.dist_eq] using hx
|
| 151 |
+
have hxabs : |x| < ε := by simpa using hdist
|
| 152 |
+
exact (abs_lt.mp hxabs).2
|
| 153 |
+
exact hEq x hx0 hxlt
|
| 154 |
+
have hd0 : HasDerivWithinAt (fun x : ℝ => g (x ^ 2)) 0 (Set.Ici 0) 0 :=
|
| 155 |
+
hasDerivWithinAt_even_response_zero hg
|
| 156 |
+
have hd1 : HasDerivWithinAt muStd 1 (Set.Ici 0) 0 :=
|
| 157 |
+
hasDerivAt_muStd_zero.hasDerivWithinAt
|
| 158 |
+
have hd1' : HasDerivWithinAt (fun x : ℝ => g (x ^ 2)) 1 (Set.Ici 0) 0 :=
|
| 159 |
+
hd1.congr_of_eventuallyEq h_ev (hEq 0 le_rfl hε)
|
| 160 |
+
have huniq : UniqueDiffWithinAt ℝ (Set.Ici (0 : ℝ)) 0 := uniqueDiffWithinAt_Ici 0
|
| 161 |
+
have h01 : (0 : ℝ) = 1 := (hd0.derivWithin huniq).symm.trans (hd1'.derivWithin huniq)
|
| 162 |
+
norm_num at h01
|
| 163 |
+
|
| 164 |
+
/-! ## 2. Second-Derivative Blowup of `J_std(y) = F_std(√y)` at `y → 0⁺` -/
|
| 165 |
+
|
| 166 |
+
/-- For `y > 0`, `J_std'(y) = √y / (2 √(1 + y))` has derivative `J_std''(y) = 1 / (4 √y (1 + y)^(3/2))`. -/
|
| 167 |
+
theorem hasDerivAt_JstdDeriv {y : ℝ} (hy : 0 < y) :
|
| 168 |
+
HasDerivAt JstdDeriv (JstdDeriv2 y) y := by
|
| 169 |
+
have hy1 : 0 < 1 + y := by linarith
|
| 170 |
+
have hsy : 0 < Real.sqrt y := Real.sqrt_pos.mpr hy
|
| 171 |
+
have hs1 : 0 < Real.sqrt (1 + y) := Real.sqrt_pos.mpr hy1
|
| 172 |
+
have hnum : HasDerivAt Real.sqrt (1 / (2 * Real.sqrt y)) y := by
|
| 173 |
+
simpa using Real.hasDerivAt_sqrt hy.ne'
|
| 174 |
+
have h1y : HasDerivAt (fun t : ℝ => 1 + t) 1 y := by
|
| 175 |
+
simpa using (hasDerivAt_id y).const_add 1
|
| 176 |
+
have hden_s : HasDerivAt (fun t : ℝ => Real.sqrt (1 + t)) (1 / (2 * Real.sqrt (1 + y))) y :=
|
| 177 |
+
h1y.sqrt hy1.ne'
|
| 178 |
+
have hden : HasDerivAt (fun t : ℝ => 2 * Real.sqrt (1 + t))
|
| 179 |
+
(2 * (1 / (2 * Real.sqrt (1 + y)))) y := hden_s.const_mul 2
|
| 180 |
+
have hdiv := hnum.div hden (by positivity : 2 * Real.sqrt (1 + y) ≠ 0)
|
| 181 |
+
have hsqy : Real.sqrt y * Real.sqrt y = y := Real.mul_self_sqrt hy.le
|
| 182 |
+
have hsq1 : Real.sqrt (1 + y) * Real.sqrt (1 + y) = 1 + y := Real.mul_self_sqrt hy1.le
|
| 183 |
+
refine hdiv.congr_deriv ?_
|
| 184 |
+
unfold JstdDeriv2
|
| 185 |
+
field_simp [hsy.ne', hs1.ne', hy1.ne']
|
| 186 |
+
nlinarith [hsqy, hsq1]
|
| 187 |
+
|
| 188 |
+
/-- `J_std''(y)` is strictly positive for all `y > 0`. -/
|
| 189 |
+
theorem JstdDeriv2_pos {y : ℝ} (hy : 0 < y) : 0 < JstdDeriv2 y := by
|
| 190 |
+
unfold JstdDeriv2
|
| 191 |
+
have hsy : 0 < Real.sqrt y := Real.sqrt_pos.mpr hy
|
| 192 |
+
have hy1 : 0 < 1 + y := by linarith
|
| 193 |
+
have hs1 : 0 < Real.sqrt (1 + y) := Real.sqrt_pos.mpr hy1
|
| 194 |
+
positivity
|
| 195 |
+
|
| 196 |
+
/-- `J_std''(y)` is unbounded above as `y → 0⁺`: for every `M > 0` there exists `y ∈ (0, 1]`
|
| 197 |
+
with `M < J_std''(y)`. -/
|
| 198 |
+
theorem JstdDeriv2_unbounded (M : ℝ) (hM : 0 < M) :
|
| 199 |
+
∃ y : ℝ, 0 < y ∧ y ≤ 1 ∧ M < JstdDeriv2 y := by
|
| 200 |
+
set c : ℝ := 1 / (16 * M + 1)
|
| 201 |
+
have hc_pos : 0 < c := by positivity
|
| 202 |
+
have hc_le1 : c ≤ 1 := by
|
| 203 |
+
dsimp [c]
|
| 204 |
+
rw [div_le_one (by positivity : (0 : ℝ) < 16 * M + 1)]
|
| 205 |
+
linarith
|
| 206 |
+
refine ⟨c ^ 2, by positivity, by nlinarith, ?_⟩
|
| 207 |
+
have hy_pos : 0 < c ^ 2 := by positivity
|
| 208 |
+
have hy_le1 : c ^ 2 ≤ 1 := by nlinarith
|
| 209 |
+
have hsqrt_y : Real.sqrt (c ^ 2) = c := Real.sqrt_sq hc_pos.le
|
| 210 |
+
have h1y_le2 : 1 + c ^ 2 ≤ 2 := by linarith
|
| 211 |
+
have hsqrt1y_le2 : Real.sqrt (1 + c ^ 2) ≤ 2 := by
|
| 212 |
+
have h4 : Real.sqrt (1 + c ^ 2) ≤ Real.sqrt 4 := Real.sqrt_le_sqrt (by linarith)
|
| 213 |
+
have hsqrt4 : Real.sqrt (4 : ℝ) = 2 := by
|
| 214 |
+
rw [show (4 : ℝ) = 2 ^ 2 by norm_num, Real.sqrt_sq (by norm_num)]
|
| 215 |
+
linarith
|
| 216 |
+
have hden_pos : 0 < 4 * Real.sqrt (c ^ 2) * (1 + c ^ 2) * Real.sqrt (1 + c ^ 2) := by
|
| 217 |
+
have hs1 : 0 < Real.sqrt (1 + c ^ 2) := Real.sqrt_pos.mpr (by linarith)
|
| 218 |
+
positivity
|
| 219 |
+
have hden_le : 4 * Real.sqrt (c ^ 2) * (1 + c ^ 2) * Real.sqrt (1 + c ^ 2) ≤ 16 * c := by
|
| 220 |
+
rw [hsqrt_y]
|
| 221 |
+
have hprod : (1 + c ^ 2) * Real.sqrt (1 + c ^ 2) ≤ 4 := by
|
| 222 |
+
have hs1_nonneg : 0 ≤ Real.sqrt (1 + c ^ 2) := Real.sqrt_nonneg _
|
| 223 |
+
nlinarith
|
| 224 |
+
nlinarith
|
| 225 |
+
have hinv : 1 / (16 * c) ≤ JstdDeriv2 (c ^ 2) := by
|
| 226 |
+
unfold JstdDeriv2
|
| 227 |
+
exact one_div_le_one_div_of_le hden_pos hden_le
|
| 228 |
+
have h16c : M < 1 / (16 * c) := by
|
| 229 |
+
dsimp [c]
|
| 230 |
+
have hpos1 : (0 : ℝ) < 16 * M + 1 := by positivity
|
| 231 |
+
have hsimp : 1 / (16 * (1 / (16 * M + 1))) = (16 * M + 1) / 16 := by
|
| 232 |
+
field_simp [hpos1.ne']
|
| 233 |
+
rw [hsimp]
|
| 234 |
+
linarith
|
| 235 |
+
linarith
|
| 236 |
+
|
| 237 |
+
/-! ## 3. Exact Analytic Auxiliary-Susceptibility Realization -/
|
| 238 |
+
|
| 239 |
+
/-- For `|s| < 1`, `1 + s > 0` and `1 - s > 0`. -/
|
| 240 |
+
lemma one_add_sub_pos {s : ℝ} (hs : |s| < 1) : 0 < 1 + s ∧ 0 < 1 - s := by
|
| 241 |
+
have h := abs_lt.mp hs
|
| 242 |
+
exact ⟨by linarith, by linarith⟩
|
| 243 |
+
|
| 244 |
+
/-- First derivative of the real-analytic auxiliary potential `V(s) = (artanh s - s) / 2`:
|
| 245 |
+
`V'(s) = s² / (2 (1 - s²))` for `|s| < 1`. -/
|
| 246 |
+
theorem hasDerivAt_auxPot {s : ℝ} (hs : |s| < 1) :
|
| 247 |
+
HasDerivAt auxPot (auxPotDeriv s) s := by
|
| 248 |
+
obtain ⟨hp, hm⟩ := one_add_sub_pos hs
|
| 249 |
+
have hratio_pos : 0 < (1 + s) / (1 - s) := div_pos hp hm
|
| 250 |
+
have hnum : HasDerivAt (fun t : ℝ => 1 + t) 1 s := by
|
| 251 |
+
simpa using (hasDerivAt_id s).const_add 1
|
| 252 |
+
have hden : HasDerivAt (fun t : ℝ => 1 - t) (-1) s := by
|
| 253 |
+
simpa using (hasDerivAt_id s).const_sub 1
|
| 254 |
+
have hq : HasDerivAt (fun t : ℝ => (1 + t) / (1 - t))
|
| 255 |
+
((1 * (1 - s) - (1 + s) * (-1)) / (1 - s) ^ 2) s := hnum.div hden hm.ne'
|
| 256 |
+
have hlog : HasDerivAt (fun t : ℝ => Real.log ((1 + t) / (1 - t)))
|
| 257 |
+
(((1 * (1 - s) - (1 + s) * (-1)) / (1 - s) ^ 2) / ((1 + s) / (1 - s))) s :=
|
| 258 |
+
hq.log hratio_pos.ne'
|
| 259 |
+
have hsub := ((hlog.div_const 2).sub (hasDerivAt_id s)).div_const 2
|
| 260 |
+
have h1s2 : 1 - s ^ 2 ≠ 0 := by nlinarith
|
| 261 |
+
refine hsub.congr_deriv ?_
|
| 262 |
+
unfold auxPotDeriv
|
| 263 |
+
field_simp [hp.ne', hm.ne', h1s2]
|
| 264 |
+
ring
|
| 265 |
+
|
| 266 |
+
/-- Second derivative of the auxiliary potential: `V''(s) = s / (1 - s²)²` for `|s| < 1`. -/
|
| 267 |
+
theorem hasDerivAt_auxPotDeriv {s : ℝ} (hs : |s| < 1) :
|
| 268 |
+
HasDerivAt auxPotDeriv (auxPotDeriv2 s) s := by
|
| 269 |
+
obtain ⟨hp, hm⟩ := one_add_sub_pos hs
|
| 270 |
+
have h1s2 : 1 - s ^ 2 ≠ 0 := by nlinarith
|
| 271 |
+
have hnum : HasDerivAt (fun t : ℝ => t ^ 2) (2 * s) s := by
|
| 272 |
+
simpa using hasDerivAt_pow 2 s
|
| 273 |
+
have hden1 : HasDerivAt (fun t : ℝ => 1 - t ^ 2) (-(2 * s)) s := by
|
| 274 |
+
simpa using (hasDerivAt_pow 2 s).const_sub 1
|
| 275 |
+
have hden : HasDerivAt (fun t : ℝ => 2 * (1 - t ^ 2)) (2 * (-(2 * s))) s :=
|
| 276 |
+
hden1.const_mul 2
|
| 277 |
+
have hdiv := hnum.div hden (by positivity : (2 : ℝ) * (1 - s ^ 2) ≠ 0)
|
| 278 |
+
refine hdiv.congr_deriv ?_
|
| 279 |
+
unfold auxPotDeriv2
|
| 280 |
+
field_simp [h1s2]
|
| 281 |
+
ring
|
| 282 |
+
|
| 283 |
+
/-- Spinodal critical point at `s = 0`: `V'(0) = 0` and `V''(0) = 0`. -/
|
| 284 |
+
theorem auxPot_critical_at_zero : auxPotDeriv 0 = 0 ∧ auxPotDeriv2 0 = 0 := by
|
| 285 |
+
unfold auxPotDeriv auxPotDeriv2
|
| 286 |
+
norm_num
|
| 287 |
+
|
| 288 |
+
/-- `|muStd x| < 1` for every real `x`. -/
|
| 289 |
+
theorem abs_muStd_lt_one (x : ℝ) : |muStd x| < 1 := by
|
| 290 |
+
unfold muStd
|
| 291 |
+
have hpos : 0 < 1 + x ^ 2 := by positivity
|
| 292 |
+
have hs : 0 < Real.sqrt (1 + x ^ 2) := Real.sqrt_pos.mpr hpos
|
| 293 |
+
rw [abs_div, abs_of_pos hs, div_lt_one hs]
|
| 294 |
+
have hsq : |x| ^ 2 < (Real.sqrt (1 + x ^ 2)) ^ 2 := by
|
| 295 |
+
rw [sq_abs, Real.sq_sqrt hpos.le]
|
| 296 |
+
linarith
|
| 297 |
+
nlinarith [abs_nonneg x, hs]
|
| 298 |
+
|
| 299 |
+
/-- For `x ≥ 0`, `0 ≤ muStd x < 1`. -/
|
| 300 |
+
theorem muStd_mem_Ico {x : ℝ} (hx : 0 ≤ x) : 0 ≤ muStd x ∧ muStd x < 1 := by
|
| 301 |
+
have habs := abs_muStd_lt_one x
|
| 302 |
+
have hnn : 0 ≤ muStd x := by
|
| 303 |
+
unfold muStd
|
| 304 |
+
positivity
|
| 305 |
+
exact ⟨hnn, (abs_lt.mp habs).2⟩
|
| 306 |
+
|
| 307 |
+
/-- Exact algebraic stationarity characterization: for `x ≥ 0` and `s ∈ [0, 1)`,
|
| 308 |
+
`x² / 2 - V'(s) = 0` holds if and only if `s = muStd x`. -/
|
| 309 |
+
theorem auxLag_stationary_iff {x s : ℝ} (hx : 0 ≤ x) (hs0 : 0 ≤ s) (hs1 : s < 1) :
|
| 310 |
+
x ^ 2 / 2 - auxPotDeriv s = 0 ↔ s = muStd x := by
|
| 311 |
+
have h1s2 : 0 < 1 - s ^ 2 := by nlinarith
|
| 312 |
+
have h1x2 : 0 < 1 + x ^ 2 := by positivity
|
| 313 |
+
have hsx : 0 < Real.sqrt (1 + x ^ 2) := Real.sqrt_pos.mpr h1x2
|
| 314 |
+
unfold auxPotDeriv muStd
|
| 315 |
+
constructor
|
| 316 |
+
· intro h
|
| 317 |
+
have hmul : x ^ 2 * (1 - s ^ 2) = s ^ 2 := by
|
| 318 |
+
have h' : x ^ 2 / 2 = s ^ 2 / (2 * (1 - s ^ 2)) := by linarith
|
| 319 |
+
field_simp [h1s2.ne'] at h'
|
| 320 |
+
linarith
|
| 321 |
+
have hsq : s ^ 2 * (1 + x ^ 2) = x ^ 2 := by linarith
|
| 322 |
+
have hsq_eq : (s * Real.sqrt (1 + x ^ 2)) ^ 2 = x ^ 2 := by
|
| 323 |
+
rw [mul_pow, Real.sq_sqrt h1x2.le]
|
| 324 |
+
exact hsq
|
| 325 |
+
have hprod : s * Real.sqrt (1 + x ^ 2) = x := by
|
| 326 |
+
nlinarith [mul_nonneg hs0 hsx.le]
|
| 327 |
+
rw [eq_div_iff hsx.ne']
|
| 328 |
+
exact hprod
|
| 329 |
+
· intro hs_eq
|
| 330 |
+
rw [hs_eq]
|
| 331 |
+
have hsq : (x / Real.sqrt (1 + x ^ 2)) ^ 2 = x ^ 2 / (1 + x ^ 2) := by
|
| 332 |
+
rw [div_pow, Real.sq_sqrt h1x2.le]
|
| 333 |
+
have h1m : 1 - x ^ 2 / (1 + x ^ 2) = 1 / (1 + x ^ 2) := by
|
| 334 |
+
field_simp [h1x2.ne']
|
| 335 |
+
ring
|
| 336 |
+
rw [hsq, h1m]
|
| 337 |
+
field_simp [h1x2.ne']
|
| 338 |
+
ring
|
| 339 |
+
|
| 340 |
+
/-- Exact hyperbolic identity: `(1 / 2) log((1 + muStd x) / (1 - muStd x)) = arsinh x`. -/
|
| 341 |
+
theorem half_log_ratio_muStd_eq_arsinh (x : ℝ) :
|
| 342 |
+
Real.log ((1 + muStd x) / (1 - muStd x)) / 2 = Real.arsinh x := by
|
| 343 |
+
have h1x2 : 0 < 1 + x ^ 2 := by positivity
|
| 344 |
+
have hs : 0 < Real.sqrt (1 + x ^ 2) := Real.sqrt_pos.mpr h1x2
|
| 345 |
+
have hsq : Real.sqrt (1 + x ^ 2) ^ 2 = 1 + x ^ 2 := Real.sq_sqrt h1x2.le
|
| 346 |
+
have hsum_pos : 0 < x + Real.sqrt (1 + x ^ 2) := by
|
| 347 |
+
have hlt : |x| < Real.sqrt (1 + x ^ 2) := by
|
| 348 |
+
have : |x| ^ 2 < Real.sqrt (1 + x ^ 2) ^ 2 := by
|
| 349 |
+
rw [sq_abs, hsq]
|
| 350 |
+
linarith
|
| 351 |
+
nlinarith [abs_nonneg x, hs]
|
| 352 |
+
linarith [(abs_lt.mp hlt).1]
|
| 353 |
+
have hdiff_pos : 0 < Real.sqrt (1 + x ^ 2) - x := by
|
| 354 |
+
have hlt : |x| < Real.sqrt (1 + x ^ 2) := by
|
| 355 |
+
have : |x| ^ 2 < Real.sqrt (1 + x ^ 2) ^ 2 := by
|
| 356 |
+
rw [sq_abs, hsq]
|
| 357 |
+
linarith
|
| 358 |
+
nlinarith [abs_nonneg x, hs]
|
| 359 |
+
linarith [(abs_lt.mp hlt).2]
|
| 360 |
+
have hratio : (1 + muStd x) / (1 - muStd x) = (x + Real.sqrt (1 + x ^ 2)) ^ 2 := by
|
| 361 |
+
unfold muStd
|
| 362 |
+
have h1m : 1 - x / Real.sqrt (1 + x ^ 2) ≠ 0 := by
|
| 363 |
+
have : (Real.sqrt (1 + x ^ 2) - x) / Real.sqrt (1 + x ^ 2) ≠ 0 := div_ne_zero hdiff_pos.ne' hs.ne'
|
| 364 |
+
have heq : 1 - x / Real.sqrt (1 + x ^ 2) = (Real.sqrt (1 + x ^ 2) - x) / Real.sqrt (1 + x ^ 2) := by
|
| 365 |
+
field_simp [hs.ne']
|
| 366 |
+
rw [heq]
|
| 367 |
+
exact this
|
| 368 |
+
field_simp [hs.ne', h1m]
|
| 369 |
+
nlinarith [hsq]
|
| 370 |
+
rw [hratio, Real.log_pow, Real.arsinh]
|
| 371 |
+
push_cast
|
| 372 |
+
ring
|
| 373 |
+
|
| 374 |
+
/-- **Exact On-Shell Reduction:** substituting `s = muStd x` into `auxLag x s` recovers
|
| 375 |
+
`Fstd x = (x √(1 + x²) - arsinh x) / 2` identically for all real `x`. -/
|
| 376 |
+
theorem auxLag_on_shell_eq_Fstd (x : ℝ) : auxLag x (muStd x) = Fstd x := by
|
| 377 |
+
have h1x2 : 0 < 1 + x ^ 2 := by positivity
|
| 378 |
+
have hs : 0 < Real.sqrt (1 + x ^ 2) := Real.sqrt_pos.mpr h1x2
|
| 379 |
+
have hsq : Real.sqrt (1 + x ^ 2) * Real.sqrt (1 + x ^ 2) = 1 + x ^ 2 := Real.mul_self_sqrt h1x2.le
|
| 380 |
+
unfold auxLag auxPot Fstd
|
| 381 |
+
rw [half_log_ratio_muStd_eq_arsinh x]
|
| 382 |
+
unfold muStd
|
| 383 |
+
field_simp [hs.ne']
|
| 384 |
+
have hmul : x * (Real.sqrt (1 + x ^ 2) * Real.sqrt (1 + x ^ 2)) = x * (1 + x ^ 2) := by rw [hsq]
|
| 385 |
+
linarith
|
| 386 |
+
|
| 387 |
+
/-- Derivative of `s ↦ auxLag x s` on `(-1, 1)` equals `x² / 2 - V'(s)`. -/
|
| 388 |
+
theorem hasDerivAt_auxLag (x : ℝ) {s : ℝ} (hs : |s| < 1) :
|
| 389 |
+
HasDerivAt (fun t : ℝ => auxLag x t) (x ^ 2 / 2 - auxPotDeriv s) s := by
|
| 390 |
+
have hlin : HasDerivAt (fun t : ℝ => t * x ^ 2 / 2) (1 * x ^ 2 / 2) s :=
|
| 391 |
+
((hasDerivAt_id s).mul_const (x ^ 2)).div_const 2
|
| 392 |
+
have hsub := hlin.sub (hasDerivAt_auxPot hs)
|
| 393 |
+
refine hsub.congr_deriv ?_
|
| 394 |
+
ring
|
| 395 |
+
|
| 396 |
+
/-- Strict monotonicity of `V'(s) = s² / (2 (1 - s²))` on `[0, 1)`. -/
|
| 397 |
+
lemma auxPotDeriv_strictMono_Ico {a b : ℝ} (ha0 : 0 ≤ a) (hab : a < b) (hb1 : b < 1) :
|
| 398 |
+
auxPotDeriv a < auxPotDeriv b := by
|
| 399 |
+
unfold auxPotDeriv
|
| 400 |
+
have ha2 : 0 < 1 - a ^ 2 := by nlinarith
|
| 401 |
+
have hb2 : 0 < 1 - b ^ 2 := by nlinarith
|
| 402 |
+
rw [div_lt_div_iff₀ (by positivity) (by positivity)]
|
| 403 |
+
nlinarith
|
| 404 |
+
|
| 405 |
+
/-- **Global Legendre–Fenchel Supremum:** for `x ≥ 0` and every `s ∈ [0, 1)`,
|
| 406 |
+
`auxLag x s ≤ Fstd x`, and strictly `<` whenever `s ≠ muStd x`. -/
|
| 407 |
+
theorem auxLag_lt_Fstd_of_ne {x s : ℝ} (hx : 0 ≤ x) (hs0 : 0 ≤ s) (hs1 : s < 1)
|
| 408 |
+
(hne : s ≠ muStd x) : auxLag x s < Fstd x := by
|
| 409 |
+
set m := muStd x
|
| 410 |
+
obtain ⟨hm0, hm1⟩ := muStd_mem_Ico hx
|
| 411 |
+
have hstat : x ^ 2 / 2 = auxPotDeriv m := by
|
| 412 |
+
have h0 := (auxLag_stationary_iff hx hm0 hm1).mpr rfl
|
| 413 |
+
linarith
|
| 414 |
+
rw [← auxLag_on_shell_eq_Fstd x]
|
| 415 |
+
rcases lt_or_gt_of_ne hne with hsm | hms
|
| 416 |
+
· -- s < m: derivative is strictly positive on (s, m)
|
| 417 |
+
have hcont : ContinuousOn (fun t : ℝ => auxLag x t) (Set.Icc s m) := fun t ht => by
|
| 418 |
+
have habs : |t| < 1 := abs_lt.mpr ⟨by linarith [ht.1], by linarith [ht.2]⟩
|
| 419 |
+
exact (hasDerivAt_auxLag x habs).continuousAt.continuousWithinAt
|
| 420 |
+
have hdiff : ∀ t ∈ Set.Ioo s m,
|
| 421 |
+
HasDerivAt (fun u : ℝ => auxLag x u) (x ^ 2 / 2 - auxPotDeriv t) t := fun t ht => by
|
| 422 |
+
have habs : |t| < 1 := abs_lt.mpr ⟨by linarith [ht.1], by linarith [ht.2]⟩
|
| 423 |
+
exact hasDerivAt_auxLag x habs
|
| 424 |
+
obtain ⟨c, hc, hmv⟩ := exists_hasDerivAt_eq_slope (fun u : ℝ => auxLag x u)
|
| 425 |
+
(fun u => x ^ 2 / 2 - auxPotDeriv u) hsm hcont hdiff
|
| 426 |
+
have hpos_d : 0 < x ^ 2 / 2 - auxPotDeriv c := by
|
| 427 |
+
rw [hstat]
|
| 428 |
+
have hlt := auxPotDeriv_strictMono_Ico (by linarith [hc.1]) hc.2 hm1
|
| 429 |
+
linarith
|
| 430 |
+
have hslope : 0 < (auxLag x m - auxLag x s) / (m - s) := by linarith
|
| 431 |
+
have hms_pos : 0 < m - s := by linarith
|
| 432 |
+
have := (div_pos_iff_of_pos_right hms_pos).mp hslope
|
| 433 |
+
linarith
|
| 434 |
+
· -- m < s: derivative is strictly negative on (m, s)
|
| 435 |
+
have hcont : ContinuousOn (fun t : ℝ => auxLag x t) (Set.Icc m s) := fun t ht => by
|
| 436 |
+
have habs : |t| < 1 := abs_lt.mpr ⟨by linarith [ht.1], by linarith [ht.2]⟩
|
| 437 |
+
exact (hasDerivAt_auxLag x habs).continuousAt.continuousWithinAt
|
| 438 |
+
have hdiff : ∀ t ∈ Set.Ioo m s,
|
| 439 |
+
HasDerivAt (fun u : ℝ => auxLag x u) (x ^ 2 / 2 - auxPotDeriv t) t := fun t ht => by
|
| 440 |
+
have habs : |t| < 1 := abs_lt.mpr ⟨by linarith [ht.1], by linarith [ht.2]⟩
|
| 441 |
+
exact hasDerivAt_auxLag x habs
|
| 442 |
+
obtain ⟨c, hc, hmv⟩ := exists_hasDerivAt_eq_slope (fun u : ℝ => auxLag x u)
|
| 443 |
+
(fun u => x ^ 2 / 2 - auxPotDeriv u) hms hcont hdiff
|
| 444 |
+
have hneg_d : x ^ 2 / 2 - auxPotDeriv c < 0 := by
|
| 445 |
+
rw [hstat]
|
| 446 |
+
have hlt := auxPotDeriv_strictMono_Ico hm0 hc.1 (by linarith [hc.2])
|
| 447 |
+
linarith
|
| 448 |
+
have hslope : (auxLag x s - auxLag x m) / (s - m) < 0 := by linarith
|
| 449 |
+
have hsm_pos : 0 < s - m := by linarith
|
| 450 |
+
have hnum_neg : auxLag x s - auxLag x m < 0 :=
|
| 451 |
+
((div_neg_iff.mp hslope).resolve_left (fun h => by linarith [h.2])).1
|
| 452 |
+
linarith
|
| 453 |
+
|
| 454 |
+
/-- Non-strict global upper bound `auxLag x s ≤ Fstd x` on `[0, 1)`. -/
|
| 455 |
+
theorem auxLag_le_Fstd {x s : ℝ} (hx : 0 ≤ x) (hs0 : 0 ≤ s) (hs1 : s < 1) :
|
| 456 |
+
auxLag x s ≤ Fstd x := by
|
| 457 |
+
by_cases h : s = muStd x
|
| 458 |
+
· rw [h, auxLag_on_shell_eq_Fstd]
|
| 459 |
+
· exact le_of_lt (auxLag_lt_Fstd_of_ne hx hs0 hs1 h)
|
| 460 |
+
|
| 461 |
+
/-- Unique maximizer characterization: `auxLag x s = Fstd x ↔ s = muStd x` on `[0, 1)`. -/
|
| 462 |
+
theorem auxLag_eq_Fstd_iff {x s : ℝ} (hx : 0 ≤ x) (hs0 : 0 ≤ s) (hs1 : s < 1) :
|
| 463 |
+
auxLag x s = Fstd x ↔ s = muStd x := by
|
| 464 |
+
constructor
|
| 465 |
+
· intro heq
|
| 466 |
+
by_contra hne
|
| 467 |
+
exact ne_of_lt (auxLag_lt_Fstd_of_ne hx hs0 hs1 hne) heq
|
| 468 |
+
· intro h
|
| 469 |
+
rw [h, auxLag_on_shell_eq_Fstd]
|
| 470 |
+
|
| 471 |
+
/-! ## Axiom Footprints (every public theorem printed) -/
|
| 472 |
+
|
| 473 |
+
#print axioms induced_metric_det_eq
|
| 474 |
+
#print axioms induced_metric_traces_eq
|
| 475 |
+
#print axioms hasDerivAt_even_response_zero
|
| 476 |
+
#print axioms hasDerivWithinAt_even_response_zero
|
| 477 |
+
#print axioms hasDerivAt_muStd_zero
|
| 478 |
+
#print axioms analytic_induced_metric_nogo_nonneg
|
| 479 |
+
#print axioms hasDerivAt_JstdDeriv
|
| 480 |
+
#print axioms JstdDeriv2_pos
|
| 481 |
+
#print axioms JstdDeriv2_unbounded
|
| 482 |
+
#print axioms hasDerivAt_auxPot
|
| 483 |
+
#print axioms hasDerivAt_auxPotDeriv
|
| 484 |
+
#print axioms auxPot_critical_at_zero
|
| 485 |
+
#print axioms abs_muStd_lt_one
|
| 486 |
+
#print axioms muStd_mem_Ico
|
| 487 |
+
#print axioms auxLag_stationary_iff
|
| 488 |
+
#print axioms half_log_ratio_muStd_eq_arsinh
|
| 489 |
+
#print axioms auxLag_on_shell_eq_Fstd
|
| 490 |
+
#print axioms hasDerivAt_auxLag
|
| 491 |
+
#print axioms auxLag_lt_Fstd_of_ne
|
| 492 |
+
#print axioms auxLag_le_Fstd
|
| 493 |
+
#print axioms auxLag_eq_Fstd_iff
|
| 494 |
+
|
| 495 |
+
end ResNova.PostulateRAnalyticNoGo
|
05_lean_formalization/lakefile.lean
CHANGED
|
@@ -188,5 +188,9 @@ lean_lib «ResNovaFormal» where
|
|
| 188 |
`CP2SpincIndex,
|
| 189 |
-- ADDED 2026-11-19 (O44, BLK-1522). First formalizable chunks (B1-B3) of the
|
| 190 |
-- diffeomorphism Noether identity in a t-only reduced 2D model.
|
| 191 |
-
`NoetherScoping
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
]
|
|
|
|
| 188 |
`CP2SpincIndex,
|
| 189 |
-- ADDED 2026-11-19 (O44, BLK-1522). First formalizable chunks (B1-B3) of the
|
| 190 |
-- diffeomorphism Noether identity in a t-only reduced 2D model.
|
| 191 |
+
`NoetherScoping,
|
| 192 |
+
-- ADDED 2026-11-19. Postulate R analytic induced-metric brane no-go (even on x >= 0),
|
| 193 |
+
-- J_std''(y) blowup at y -> 0+, and exact analytic auxiliary-susceptibility supremum
|
| 194 |
+
-- F_std(x) = sup_{s in [0,1)} [s x^2/2 - (artanh s - s)/2].
|
| 195 |
+
`PostulateRAnalyticNoGo
|
| 196 |
]
|
05_lean_formalization/verify_all_proofs.sh
CHANGED
|
@@ -123,6 +123,7 @@ TARGETS=(
|
|
| 123 |
ModelIdentityBindings.lean
|
| 124 |
CP2SpincIndex.lean
|
| 125 |
NoetherScoping.lean
|
|
|
|
| 126 |
)
|
| 127 |
|
| 128 |
# --- Invariant: TARGETS must equal the lakefile roots -----------------------
|
|
|
|
| 123 |
ModelIdentityBindings.lean
|
| 124 |
CP2SpincIndex.lean
|
| 125 |
NoetherScoping.lean
|
| 126 |
+
PostulateRAnalyticNoGo.lean
|
| 127 |
)
|
| 128 |
|
| 129 |
# --- Invariant: TARGETS must equal the lakefile roots -----------------------
|