AFTD Auto-Formalizing Theoretical Domains

op309_k23_network_charge_arithmetic

theoremverified

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.

  1. 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}$.

    line 3

      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

theorem op309_k23_network_charge_arithmetic (u supported blocks : ℕ)  (hcharge : u ≤ supported) (hlocal : u + supported ≤ 3 * blocks) :  2 * u ≤ 3 * blocks := by omega
See it in the graphDiscuss this resultChallenge it