AFTD Auto-Formalizing Theoretical Domains

cactus_cycle_envelope_two

theoremverified

The cactus cycle envelope cactus_cycle_envelope evaluated at 2 is equal to 4 / 3.

Statement

theorem cactus_cycle_envelope_two : cactus_cycle_envelope 2 = 4 / 3
Source
arXiv:2610.23032
Verified
30 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1
  • cactus_cycle_envelopeFor a natural number m, the cactus cycle envelope cactus_cycle_envelope m is defined as the real number (3 * (2 : ℝ) ^ (m - 1) - 2) / ((2…

Read back from the Lean

The function cactus_cycle_envelope evaluated at 2 : ℕ equals 4 / 3 (in ℝ).

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 proof evaluates the cactus cycle envelope at $m = 2$ by direct computation. Unfolding the definition gives the rational expression $(3 \cdot 2^{2-1} - 2) / (2^2 - 1)$, which simplifies directly to $4/3$ through standard arithmetic.

  1. Unfolding the definition reduces the equation to $(3 \cdot 2^{2 - 1} - 2) / (2^2 - 1) = 4 / 3$

    By definition, $\text{cactus\_cycle\_envelope}(m) = (3 \cdot 2^{m-1} - 2) / (2^m - 1)$. Substituting $m = 2$ gives this concrete numerical expression.

    line 3

      unfold cactus_cycle_envelope
  2. The numerical expression evaluates to $4 / 3$

    Computing the arithmetic directly: the numerator is $3 \cdot 2^{2-1} - 2 = 3 \cdot 2 - 2 = 4$, and the denominator is $2^2 - 1 = 4 - 1 = 3$, yielding $4 / 3$.

    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 cactus cycle envelope at m = 2 equals 4 / 3. -/theorem cactus_cycle_envelope_two : cactus_cycle_envelope 2 = 4 / 3 := by  unfold cactus_cycle_envelope  norm_num
See it in the graphDiscuss this resultChallenge it