Skip to content

proof: consume direct helper fuel split sufficient bridge#2172

Draft
Th0rgal wants to merge 1 commit into
codex/2080-direct-helper-fuel-split-interfacefrom
codex/2080-direct-helper-fuel-split-consumer
Draft

proof: consume direct helper fuel split sufficient bridge#2172
Th0rgal wants to merge 1 commit into
codex/2080-direct-helper-fuel-split-interfacefrom
codex/2080-direct-helper-fuel-split-consumer

Conversation

@Th0rgal

@Th0rgal Th0rgal commented Jul 11, 2026

Copy link
Copy Markdown
Member

Summary

Consumes the #2171 sufficient-fuel split interface from the direct helper statement-context side:

  • adds DirectInternalHelperCallSufficientFuelEvidence
  • adds DirectInternalHelperAssignSufficientFuelEvidence
  • proves internalCallWithInternalsSufficientBridge_of_directContextEvidence
  • proves internalCallAssignWithInternalsSufficientBridge_of_directContextEvidence
  • proves compiledStmtStepWithHelpersAndHelperIRWithInternals_internalCall_of_directContextFuelSplit
  • proves compiledStmtStepWithHelpersAndHelperIRWithInternals_internalCallAssign_of_directContextFuelSplit

These theorems turn the #2170 sufficient-fuel statement-context adapters into the exact sufficient-region bridge shape required by the #2171 fuel-split singleton constructors, then combine that sufficient bridge with an explicit residual obligation to produce the direct singleton compiled-step proofs.

The residual low/insufficient-fuel branch remains explicit and is not hidden or weakened.

Validation

  • lean-slot lake build Compiler.Proofs.HelperStepProofs
  • python3 scripts/check_proof_length.py
  • python3 scripts/generate_print_axioms.py
  • python3 scripts/generate_print_axioms.py --check
  • git diff --check
  • rg -n "\\bsorry\\b|\\badmit\\b|axiom |True :=|\\t" Compiler/Proofs/HelperStepProofs.lean Compiler/Proofs/IRGeneration/GenericInduction/Calls.lean PrintAxioms.lean

The final rg output only matches the standard PrintAxioms.lean audit comments.

@vercel

vercel Bot commented Jul 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
verity Ready Ready Preview, Comment Jul 11, 2026 7:48am

Request Review

@Th0rgal Th0rgal force-pushed the codex/2080-direct-helper-fuel-split-consumer branch from ace4ec6 to dce7080 Compare July 11, 2026 07:48
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