ising_two_layer_quartic_density_pos
The unnormalized two-layer quartic density is strictly positive everywhere.
Statement
theorem ising_two_layer_quartic_density_pos (d : ℕ) (c : ℝ) (p : ℝ × ℝ) : 0 < ising_two_layer_quartic_density d c p- Source
- Positivity sanity check for the target density in OP-812.
- Verified
- 02 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- ising_two_layer_quartic_densityThe unnormalized quartic density at (x,y) is exp(-a_d (x^4+y^4)+cxy), where a_d=(d-2)(d-1)/(12d^2).
The proof, explained
By definition, the quartic density function is the exponential of a real expression. Unfolding this definition reduces the goal directly to the fact that the exponential function is strictly positive on all of $\mathbb{R}$.
The density $\text{ising\_two\_layer\_quartic\_density}(d, c, p)$ is strictly positive for all parameters $d$, $c$, and $p$.
Unfolding the definition of `ising_two_layer_quartic_density` shows that it is defined as the exponential of a real-valued expression. Because the real exponential function is strictly positive everywhere (`Real.exp_pos`), the density is strictly positive.
uses
Real.exp_posunfold ising_two_layer_quartic_density exact Real.exp_pos _
Real.exp_pos- The real exponential function is strictly positive everywhere: $\exp(x) > 0$ for all $x \in \mathbb{R}$.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem ising_two_layer_quartic_density_pos (d : ℕ) (c : ℝ) (p : ℝ × ℝ) : 0 < ising_two_layer_quartic_density d c p := by unfold ising_two_layer_quartic_density exact Real.exp_pos _