AFTD Auto-Formalizing Theoretical Domains

ising_two_layer_quartic_density_pos

theoremverified

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

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}$.

  1. 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.

    lines 2–3

    uses Real.exp_pos

      unfold 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

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 _
See it in the graphDiscuss this resultChallenge it