closed_network_parity_bound_le_sqrt_two
For any natural number n ≥ 1, the closed network parity bound 2^(1/2 - 1/(2n)) is at most Real.sqrt 2.
Statement
theorem closed_network_parity_bound_le_sqrt_two (n : ℕ) (hn : 1 ≤ n) :
closed_network_parity_bound n ≤ Real.sqrt 2- Source
- step towards open_problem_735_parity_bound_higher_dimension
- Verified
- 20 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- closed_network_parity_boundThe parity bound for the closed network with n sources is 2^(1/2 - 1/(2n)).
The proof, explained
The theorem states that the parity bound 2^(1/2 - 1/(2n)) is at most √2 for every natural number n ≥ 1. The proof unfolds the definition of closed_network_parity_bound and writes √2 as 2^(1/2). Because the base 2 is at least 1, the power function is non-decreasing, which reduces the problem to showing that 1/2 - 1/(2n) ≤ 1/2. Since n ≥ 1, the fraction 1/(2n) is positive, so subtracting it from 1/2 leaves a value at most 1/2.
The inequality is rephrased as 2^(1/2 - 1/(2n)) ≤ 2^(1/2).
Unfolding the definition of closed_network_parity_bound expresses the left-hand side explicitly as 2^(1/2 - 1/(2n)). Applying Real.sqrt_eq_rpow rewrites the right-hand side √2 as 2^(1/2).
uses
Real.sqrt_eq_rpowunfold closed_network_parity_bound rw [Real.sqrt_eq_rpow]
It suffices to show that the exponent 1/2 - 1/(2n) is at most 1/2.
Since the base satisfies 1 ≤ 2, exponentiation with base 2 is monotonically non-decreasing by Real.rpow_le_rpow_of_exponent_le. Thus, the inequality between the powers reduces to the inequality between their exponents: 1/2 - 1/(2n) ≤ 1/2.
uses
Real.rpow_le_rpow_of_exponent_leapply Real.rpow_le_rpow_of_exponent_le (by norm_num : (1 : ℝ) ≤ 2)
The term 1 / (2n) is non-negative.
From the assumption n ≥ 1, casting to the real numbers gives n > 0. It follows that the denominator 2n is strictly positive, and therefore the fraction 1 / (2n) is non-negative.
have hnpos : (0 : ℝ) < (n : ℝ) := by exact_mod_cast hn have hden : (0 : ℝ) < 2 * (n : ℝ) := by positivity have : 0 ≤ 1 / (2 * (n : ℝ)) := by positivity
The exponent inequality 1/2 - 1/(2n) ≤ 1/2 holds, concluding the proof.
Linear arithmetic (linarith) verifies that subtracting the non-negative quantity 1 / (2n) from 1/2 leaves at most 1/2.
linarith
Real.sqrt_eq_rpow- For any real number x, the square root of x equals x^(1/2).
Real.rpow_le_rpow_of_exponent_le- For real numbers with base x ≥ 1, if y ≤ z then x^y ≤ x^z.
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
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
/-- For any natural number n ≥ 1, the closed network parity bound 2^(1/2 - 1/(2n)) is at most Real.sqrt 2. -/theorem closed_network_parity_bound_le_sqrt_two (n : ℕ) (hn : 1 ≤ n) : closed_network_parity_bound n ≤ Real.sqrt 2 := by unfold closed_network_parity_bound rw [Real.sqrt_eq_rpow] apply Real.rpow_le_rpow_of_exponent_le (by norm_num : (1 : ℝ) ≤ 2) have hnpos : (0 : ℝ) < (n : ℝ) := by exact_mod_cast hn have hden : (0 : ℝ) < 2 * (n : ℝ) := by positivity have : 0 ≤ 1 / (2 * (n : ℝ)) := by positivity linarith