AFTD Auto-Formalizing Theoretical Domains

star_occupancy_two_at_one

theoremverified

At activity lam = 1, the star graph K_{1,2} (the path P_3) has dominating occupancy equal to 2/3.

Statement

theorem star_occupancy_two_at_one : star_occupancy 2 1 = 2 / 3
Source
arXiv:2208.10475v2; OP-542
Verified
27 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1
  • star_occupancyThe normalized lambda-biased dominating occupancy of the star graph K_{1,k} with k leaves at activity lam > 0, given by (lam * (1 + lam)^k…

Read back from the Lean

star_occupancy 2 1 is equal to 2 / 3 (in the real numbers).

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 result follows by direct calculation from the definition of `star_occupancy`. Expanding the definition for a 2-leaf star graph at activity $\lambda = 1$ yields a rational expression with numerator 10 and denominator 15, which evaluates to $2/3$.

  1. Expanding the definition reduces the equality to an explicit rational arithmetic formula.

    Unfolding `star_occupancy` for $k = 2$ and $\lambda = 1$ substitutes the parameters into the defining fraction, leaving the goal of showing that $\frac{1 \cdot (1 + 1)^2 + 2 \cdot 1^2 \cdot (1 + 1)^{2 - 1} + 2 \cdot 1^2}{(2 + 1) \cdot (1 \cdot (1 + 1)^2 + 1^2)} = \frac{2}{3}$.

    line 3

      unfold star_occupancy
  2. The arithmetic expression evaluates to $2/3$. automation

    Evaluating the powers and products gives numerator $1 \cdot 4 + 2 \cdot 1 \cdot 2 + 2 \cdot 1 = 10$ and denominator $3 \cdot (4 + 1) = 15$. The fraction simplifies to $10 / 15 = 2/3$, which `norm_num` verifies automatically.

    line 4

      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 star graph K_{1,2} at activity 1 has occupancy 2/3. -/theorem star_occupancy_two_at_one : star_occupancy 2 1 = 2 / 3 := by  unfold star_occupancy  norm_num
See it in the graphDiscuss this resultChallenge it