AFTD Auto-Formalizing Theoretical Domains

closed_network_bound_even

theoremverified

For any natural number n, if n is even, then closed_network_bound n = Real.sqrt 2.

Statement

theorem closed_network_bound_even {n : ℕ} (hn : Even n) :
    closed_network_bound n = Real.sqrt 2
Source
arXiv:2610.35838 Theorem 4
Verified
01 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1
  • closed_network_boundThe function closed_network_bound maps each natural number n to a real number, defined by cases: if n is even, it equals Real.sqrt 2;…

Read back from the Lean

For every natural number $n$, if $n$ is even, then $\mathrm{closed\_network\_bound}(n) = \sqrt{2}$.

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 proceeds by directly evaluating the definition of `closed_network_bound`. Since the function is defined by cases depending on whether $n$ is even, and $n$ is even by hypothesis, the conditional simplifies immediately to $\sqrt{2}$.

  1. Under the hypothesis that $n$ is even, $\text{closed\_network\_bound}(n)$ evaluates to $\sqrt{2}$.

    Unfolding the definition of `closed_network_bound` expresses it as a conditional: $\text{if Even } n \text{ then } \sqrt{2} \text{ else } 2^{1/2 - 1/(2n)}$. Rewriting with `if_pos` using the hypothesis $hn$ (that $n$ is even) simplifies the conditional to its positive branch, yielding $\sqrt{2}$.

    lines 4–5

    uses if_pos

      unfold closed_network_bound
      rw [if_pos hn]
if_pos
If a proposition $c$ holds, then the conditional expression $\text{if } c \text{ then } t \text{ else } e$ evaluates to $t$.

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

/-- For even n, the closed-network quantum bound is sqrt(2). -/theorem closed_network_bound_even {n : ℕ} (hn : Even n) :    closed_network_bound n = Real.sqrt 2 := by  unfold closed_network_bound  rw [if_pos hn]
See it in the graphDiscuss this resultChallenge it