Skip to content

Derive proof domains from supply and execution-work limits - #79

Merged
Th0rgal merged 1 commit into
mainfrom
codex/resource-assumption-closure
Sep 15, 2026
Merged

Th0rgal merged 1 commit into
mainfrom
codex/resource-assumption-closure

Conversation

@Th0rgal

@Th0rgal Th0rgal commented Sep 15, 2026

Copy link
Copy Markdown
Member

Summary

Derive the numerical fee/counter domains from two readable limits: circulating funds below 10^50 ETH at each actual transaction input, and lifetime executed work below 2^128 events. The new history induction starts the existing funding proof at each transaction, so inner calls and ancestor rollback are covered without bounding total historical issuance.

ResourceAssumptions.from_deployment derives initialization, physical queues, committed effects and the three local observations from actual factory/history inputs. completed_call also consumes the derived domain for a next completed call, including SYSTEM. No safe-fee formula or intermediate queue invariant is a premise of the deployment-facing result.

The work count conservatively includes completed LOG0 instructions with length >=68 bytes across the actual execution trees, including unrelated matching logs and rolled-back work. Documentation states this definition, corrects the description of the 2893 intermediate multiplication overflow, and retains the open canonical installation, scheduling, admission and protocol-history bindings. Registered parents and kill-lines are unchanged.

Validation

Validation receipts and exact source hashes: audit/receipts/resource-assumptions.json.

  • FFI prerequisite and targeted Lean build passed.
  • LEAN_NUM_THREADS=2 make check passed: 3,678 default build jobs and 3,608 mutation-target jobs.
  • Fresh independent direct Lean compilation, metadata and diff checks passed on unchanged source hash.
  • New declarations use only propext, Classical.choice and Quot.sound.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-15T12:08:29.999796Z a59d572 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Th0rgal
Th0rgal merged commit 0e38bf8 into main Sep 15, 2026
1 check passed
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