AFTD Auto-Formalizing Theoretical Domains

jensen_shannon_regularized_generator_one

theoremverified

For any parameter c, the regularized generator evaluates to 0 at 1: f_c(1) = 0.

Statement

theorem jensen_shannon_regularized_generator_one (c : ℝ) :
    jensen_shannon_regularized_generator c 1 = 0
Source
folklore
Verified
04 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2

Read back from the Lean

For every real number $c$, jensen_shannon_regularized_generator c 1 = 0.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

The theorem states that for any parameter $c$, the regularized Jensen–Shannon generator satisfies $f_c(1) = 0$. Expanding the definitions of $f_c$ and the base generator at $x = 1$ expresses the value in terms of $\log 1$ and $\log\left(\frac{1+1}{2}\right) = \log 1$. Since $\log 1 = 0$, every term vanishes, and the equality follows by elementary arithmetic evaluation.

  1. The value $f_c(1)$ expands to $\frac{1}{2} \cdot 1 \cdot \log 1 - \frac{1+1}{2} \log\left(\frac{1+1}{2}\right) + c \cdot (1 \cdot \log 1)$.

    Unfold the definitions of the regularized generator $f_c(x) = f(x) + c \cdot x \log x$ and the base generator $f(x) = \frac{1}{2} x \log x - \frac{x+1}{2} \log\left(\frac{x+1}{2}\right)$ at $x = 1$.

    line 4

      unfold jensen_shannon_regularized_generator jensen_shannon_generator
  2. The regularized generator satisfies $f_c(1) = 0$. automation

    Since $\log 1 = 0$ and $\frac{1+1}{2} = 1$, each term in the sum vanishes. The `norm_num` tactic performs the arithmetic and logarithmic evaluations to close the goal.

    line 5

      norm_num

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

/-- The regularized generator satisfies f_c(1) = 0. -/theorem jensen_shannon_regularized_generator_one (c : ℝ) :    jensen_shannon_regularized_generator c 1 = 0 := by  unfold jensen_shannon_regularized_generator jensen_shannon_generator  norm_num
See it in the graphDiscuss this resultChallenge it