op309_k23_network_charge_arithmetic
Injective uncovered-to-supported charging and a per-block budget imply the network upper bound.
Statement
theorem op309_k23_network_charge_arithmetic (u supported blocks : ℕ)
(hcharge : u ≤ supported) (hlocal : u + supported ≤ 3 * blocks) :
2 * u ≤ 3 * blocks- Source
- OP-309 bridgeless network counting.
- Verified
- 26 Nov 2026
- Axioms
Quot.soundpropext
The proof, explained
The network upper bound is obtained by combining the charging hypothesis and the local budget inequality. Since $u \le \mathrm{supported}$, we have $2u = u + u \le u + \mathrm{supported} \le 3 \cdot \mathrm{blocks}$. The linear arithmetic decision procedure `omega` deduces this inequality directly from the hypotheses.
2 * u ≤ 3 * blocks
Combining the hypothesis that $u \le \mathrm{supported}$ with $u + \mathrm{supported} \le 3 \cdot \mathrm{blocks}$ immediately gives $2u = u + u \le u + \mathrm{supported} \le 3 \cdot \mathrm{blocks}$. The `omega` tactic closes the goal by linear integer arithmetic over $\mathbb{N}$.
2 * u ≤ 3 * blocks := by omega
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.
theorem op309_k23_network_charge_arithmetic (u supported blocks : ℕ) (hcharge : u ≤ supported) (hlocal : u + supported ≤ 3 * blocks) : 2 * u ≤ 3 * blocks := by omega