Skip to content

docs(tocslib): explain the bound on addition over nonempty suprema - #532

Merged
dtumad merged 1 commit into
Verified-zkEVM:mainfrom
dtumad:dtumad/add-supremum-doc
Nov 26, 2026
Merged

dtumad merged 1 commit into
Verified-zkEVM:mainfrom
dtumad:dtumad/add-supremum-doc

Conversation

@dtumad

@dtumad dtumad commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

For a call with at least one possible continuation, a common budget for each charge plus continuation cost also bounds the charge plus the supremum of the continuation costs. Describe the one inequality in AddSupDistrib that makes this step possible. Monotonicity of left addition gives the reverse inequality.

Keep the empty-set example that explains the nonempty hypothesis. A law over the empty set would erase even a positive charge for an unanswerable call in ℕ∞. Align the upstreaming note with the class and Mathlib's stronger quantale laws.

At 2829dab4, ./scripts/validate.sh --lint --test --axioms passed. Lean also checked the budget argument, the reverse inequality under monotonicity, failure at the empty set in ℕ∞, and an instance on Bool where the class inequality is strict.

Co-Authored-By: OpenAI Codex <noreply@openai.com>
@dtumad
dtumad marked this pull request as ready for review November 26, 2026 01:18
@dtumad
dtumad added this pull request to the merge queue Nov 26, 2026
Merged via the queue into Verified-zkEVM:main with commit 6aded15 Nov 26, 2026
11 checks passed
@dtumad
dtumad deleted the dtumad/add-supremum-doc branch November 26, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant