Skip to content

proof: reduce whole-contract legacy-bodies premise to per-statement interface#2128

Merged
Th0rgal merged 4 commits into
mainfrom
paloma/parallel-fallback-fragment-helper
Jul 10, 2026
Merged

proof: reduce whole-contract legacy-bodies premise to per-statement interface#2128
Th0rgal merged 4 commits into
mainfrom
paloma/parallel-fallback-fragment-helper

Conversation

@Th0rgal

@Th0rgal Th0rgal commented Jul 9, 2026

Copy link
Copy Markdown
Member

Summary

Complementary #2080 fragment slice built on top of the phase30 whole-contract
retarget (depends on #2126; base = paloma/issue-2080-whole-contract-retarget-phase30).

It closes the body-shape half of the whole-contract plumbing by reducing the
LegacyCompatibleExternalBodies ir premise still carried by
compile_preserves_semantics_with_helper_proofs_and_helper_ir_of_compileValidatedCore
down to the same per-statement StmtListCompiledLegacyCompatible interface
that #2080 already tracks for the proven-disjoint infrastructure.

New results (purely additive, no existing declaration touched):

  • Function.lean
    • compileStmtList_legacyCompatible_of_interface (private) — reusable legacy
      composition: a per-statement legacy interface + a successful compileStmtList
      yields a LegacyCompatibleExternalStmtList compiled body, by structural
      induction mirroring the existing disjoint-composition chain.
    • compileFunctionSpec_body_legacyCompatible_of_interface — lifts that to a
      whole function body (param loads ++ compiled statements).
  • Contract.lean
    • legacyCompatibleExternalBodies_of_compileValidatedCore_of_interface — bridges
      the per-function interface across every selector-dispatched function to
      LegacyCompatibleExternalBodies ir for a concrete compileValidatedCore output.
    • compile_preserves_semantics_with_helper_proofs_and_helper_ir_of_compileValidatedCore_of_interface
      — whole-contract retarget theorem restated directly on the per-statement
      interface; discharges the hlegacyBodies premise internally.

This does not duplicate the active storage/mapping bridge work; it reuses the
existing legacy-subset predicates and mirrors the already-landed disjoint chain.

Validation

  • lean-slot lake build Compiler.Proofs.IRGeneration.Function — green
  • lean-slot lake build Compiler.Proofs.IRGeneration.Contract — green
  • Diff is purely additive (132 insertions, 0 deletions); no existing theorem
    weakened, no signature changed, so no downstream module can regress.
  • Zero new sorry / admit / axiom / native_decide in any added line.
  • Full-project lake build was launched as the authoritative confirmation and
    GitHub CI runs it independently on this PR.

Test plan

  • CI full lake build green
  • No new axioms (AXIOMS.md remains "0 active")

Note

Low Risk
Purely additive Lean proofs with no signature changes to existing theorems; risk is limited to proof maintenance in the IR generation proof layer, not runtime or auth behavior.

Overview
Adds legacy-compatibility composition lemmas so the helper-aware whole-contract retarget theorem can take per-statement StmtListCompiledLegacyCompatible obligations (aligned with #2080) instead of a whole-contract LegacyCompatibleExternalBodies ir premise.

In Function.lean, compileStmtList_legacyCompatible_of_interface inductively lifts the per-statement interface to a LegacyCompatibleExternalStmtList for a successful compileStmtList, and compileFunctionSpec_body_legacyCompatible_of_interface extends that to full external function bodies (param loads plus compiled statements).

In Contract.lean, legacyCompatibleExternalBodies_of_compileValidatedCore_of_interface walks every selector-dispatched function from a compileValidatedCore output and assembles LegacyCompatibleExternalBodies. compile_preserves_semantics_with_helper_proofs_and_helper_ir_of_compileValidatedCore_of_interface is the same semantic conclusion as the existing ..._of_compileValidatedCore theorem but discharges hlegacyBodies internally from hbodies. PrintAxioms.lean registers the new public theorems.

Reviewed by Cursor Bugbot for commit 64a61de. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Jul 9, 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 9, 2026 9:50am

Request Review

@cursor

cursor Bot commented Jul 9, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_961d6c55-da7d-45df-94e2-04bd9cc9b0f1)

Th0rgal and others added 4 commits July 9, 2026 11:50
Add the missing legacy-compatibility analog of the proven disjoint
composition:
- compileStmtList_legacyCompatible_of_interface: lift the per-statement
  StmtListCompiledLegacyCompatible interface to a whole-list
  LegacyCompatibleExternalStmtList witness for the emitted Yul body.
- compileFunctionSpec_body_legacyCompatible_of_interface: per-function
  bridge composing genParamLoads_scalar_legacy with the body lemma.

These lift the remaining per-statement #2080 legacy obligations toward the
whole-contract LegacyCompatibleExternalBodies target.
@Th0rgal
Th0rgal force-pushed the paloma/parallel-fallback-fragment-helper branch from 2544beb to 64a61de Compare July 9, 2026 09:50
@cursor

cursor Bot commented Jul 9, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_7f337ef3-dabc-4419-8160-c03cdd309e92)

@Th0rgal

Th0rgal commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

/ocr review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenCodeReview first-pass review

Status: skipped · 0 finding(s) · files unknown · 0 tool calls

No supported files changed.

Pilot mode: advisory only. Codex Review remains the merge gate.

@Th0rgal

Th0rgal commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

/ocr review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenCodeReview first-pass review

Status: completed_with_errors · 0 finding(s) · 3 files · 742245 tokens · 80 tool calls

Some files could not be reviewed due to errors.

⚠️ 2 OCR warning(s) reported.

Warnings

  • subtask_error Compiler/Proofs/IRGeneration/Contract.lean: LLM completion error: context deadline exceeded
  • subtask_error PrintAxioms.lean: LLM completion error: context deadline exceeded

Pilot mode: advisory only. Codex Review remains the merge gate.

@Th0rgal

Th0rgal commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

/ocr review

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

OpenCodeReview first-pass review

Status: completed_with_errors · 0 finding(s) · 3 files · 1259023 tokens · 121 tool calls

Some files could not be reviewed due to errors.

⚠️ 2 OCR warning(s) reported.

Warnings

  • subtask_error Compiler/Proofs/IRGeneration/Contract.lean: LLM completion error: context deadline exceeded
  • subtask_error Compiler/Proofs/IRGeneration/Function.lean: LLM completion error: context deadline exceeded

Pilot mode: advisory only. Codex Review remains the merge gate.

⚠️ OCR did not complete successfully; this run is intentionally retryable for the same commit.

@Th0rgal

Th0rgal commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

/ocr review

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

⚠️ OpenCodeReview failed to produce valid JSON.

No stderr captured.

@Th0rgal

Th0rgal commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

/ocr review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenCodeReview first-pass review

Status: packetized_review · Mode: large-lean-hotspots · 7 finding(s) · 3 files · 0 tokens · 0 tool calls

Large Lean diff routed to bounded packet review: 3 Lean file(s), 138 changed supported line(s). Full-file OCR was not attempted; this is deterministic hotspot coverage, not complete review coverage.

⚠️ Large Lean hotspot mode covers ranked packets/checklists only; it is not a full-file OCR review.
✅ Posted 7 inline comment(s).
⚠️ 1 OCR warning(s) reported.

Warnings

  • coverage : Packetized Lean review covers ranked hotspots only. Codex/human review must cover skipped hunks and proof obligations.

OCR pilot metrics

  • Routing: large-lean-hotspots (router-v3)
  • Changed files: 3 supported / 3 total; Lean 3, trust docs 0, workflow/scripts 0, contracts 0, docs 0
  • Changed lines: 138 supported; thresholds large Lean >=3 files or >800 lines
  • OCR: status packetized_review; comments 7; files 3; tokens 0; tool calls 0; warnings 1; duration 1s
  • Largest changed files: Compiler/Proofs/IRGeneration/Contract.lean (+83/-0), Compiler/Proofs/IRGeneration/Function.lean (+49/-0), PrintAxioms.lean (+5/-1)

Packet coverage

  • Packet review: enabled; selected 7/8 packet(s)
  • Residual risk: Reviewed top 7 packet(s) by deterministic risk score; remaining changed hunks/files require Codex or human proof review.
  • Covered packets:
    • PrintAxioms.lean:5964 score 92 — introduced sorry/admit
    • Compiler/Proofs/IRGeneration/Function.lean:2861 score 66 — public declaration/signature changed
    • Compiler/Proofs/IRGeneration/Contract.lean:2876 score 66 — public declaration/signature changed
    • Compiler/Proofs/IRGeneration/Contract.lean:1349 score 65 — public declaration/signature changed
    • PrintAxioms.lean:2139 score 12 — hotspot path/churn
    • PrintAxioms.lean:1884 score 12 — hotspot path/churn
    • PrintAxioms.lean:1922 score 12 — hotspot path/churn

Pilot mode: advisory only. Codex Review remains the merge gate.

Comment thread PrintAxioms.lean
Comment thread Compiler/Proofs/IRGeneration/Function.lean
Comment thread Compiler/Proofs/IRGeneration/Contract.lean
Comment thread Compiler/Proofs/IRGeneration/Contract.lean
Comment thread PrintAxioms.lean
Comment thread PrintAxioms.lean
Comment thread PrintAxioms.lean
@Th0rgal

Th0rgal commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

/ocr review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenCodeReview first-pass review

Status: scout_triage · Mode: large-lean-hotspots · 7 finding(s) · 3 files · 0 tokens · 0 tool calls

Large Lean diff routed to bounded packet review: 3 Lean file(s), 138 changed supported line(s). Deterministic fallback triage; scout model not configured and strong packet review required. Full-file OCR was not attempted.

⚠️ Large Lean scout mode covers ranked packets/checklists only; it is not a full-file OCR review and must not be read as LGTM.
✅ Posted 7 inline comment(s).
⚠️ 1 OCR warning(s) reported.

Warnings

  • coverage : Large Lean scout mode covers ranked hotspots only. Codex/human review must cover skipped hunks and proof obligations; OCR strong packet review is not wired yet.

OCR pilot metrics

  • Routing: large-lean-hotspots (router-v4)
  • Changed files: 3 supported / 3 total; Lean 3, trust docs 0, workflow/scripts 0, contracts 0, docs 0
  • Changed lines: 138 supported; thresholds large Lean >=3 files or >800 lines
  • OCR: status scout_triage; comments 7; files 3; tokens 0; tool calls 0; warnings 1; duration 1s
  • Largest changed files: Compiler/Proofs/IRGeneration/Contract.lean (+83/-0), Compiler/Proofs/IRGeneration/Function.lean (+49/-0), PrintAxioms.lean (+5/-1)

Packet coverage

  • Packet review: enabled; selected 7/8 packet(s)
  • Scout: not configured; status not_configured; model none
  • Strong review: required; status blocked_packet_input
  • Residual risk: Triaged top 7 deterministically ranked packet(s); remaining changed hunks/files require Codex or human proof review, and selected packets still need strong reviewer analysis.
  • Strong packet-review blocker: OpenCodeReview 1.7.5 supports --from/--to full diff ranges, but this workflow does not have a safe packet/window input bridge for Lean hunks yet.
  • Covered packets:
    • Compiler/Proofs/IRGeneration/Function.lean:2861 score 66 — public declaration/signature changed
    • Compiler/Proofs/IRGeneration/Contract.lean:2876 score 66 — public declaration/signature changed
    • Compiler/Proofs/IRGeneration/Contract.lean:1349 score 65 — public declaration/signature changed
    • PrintAxioms.lean:2139 score 12 — hotspot path/churn
    • PrintAxioms.lean:5964 score 12 — hotspot path/churn
    • PrintAxioms.lean:1884 score 12 — hotspot path/churn
    • PrintAxioms.lean:1922 score 12 — hotspot path/churn

Pilot mode: advisory only. Codex Review remains the merge gate.

Comment thread Compiler/Proofs/IRGeneration/Function.lean
Comment thread Compiler/Proofs/IRGeneration/Contract.lean
Comment thread Compiler/Proofs/IRGeneration/Contract.lean
Comment thread PrintAxioms.lean
Comment thread PrintAxioms.lean
Comment thread PrintAxioms.lean
Comment thread PrintAxioms.lean
@Th0rgal

Th0rgal commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

/ocr review

1 similar comment
@Th0rgal

Th0rgal commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

/ocr review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenCodeReview first-pass review

Status: scout_triage · Mode: large-lean-hotspots · 7 finding(s) · 3 files · 0 tokens · 0 tool calls

Large Lean diff routed to bounded packet review: 3 Lean file(s), 138 changed supported line(s). Scout triage fallback_deterministic; strong packet review required. Full-file OCR was not attempted.

⚠️ Large Lean scout mode covers ranked packets/checklists only; it is not a full-file OCR review and must not be read as LGTM.
✅ Posted 7 inline comment(s).
⚠️ 1 OCR warning(s) reported.

Warnings

  • coverage : Large Lean scout mode covers ranked hotspots only. Codex/human review must cover skipped hunks and proof obligations; OCR strong packet review is not wired yet.

OCR pilot metrics

  • Routing: large-lean-hotspots (router-v5)
  • Changed files: 3 supported / 3 total; Lean 3, trust docs 0, workflow/scripts 0, contracts 0, docs 0
  • Changed lines: 138 supported; thresholds large Lean >=3 files or >800 lines
  • OCR: status scout_triage; comments 7; files 3; tokens 0; tool calls 0; warnings 1; duration 1s
  • Largest changed files: Compiler/Proofs/IRGeneration/Contract.lean (+83/-0), Compiler/Proofs/IRGeneration/Function.lean (+49/-0), PrintAxioms.lean (+5/-1)

Packet coverage

  • Packet review: enabled; selected 7/8 packet(s)
  • Scout: configured; status fallback_deterministic; model MiniMax-M3
  • Strong review: required; status blocked_packet_input
  • Residual risk: Triaged top 7 deterministically ranked packet(s); remaining changed hunks/files require Codex or human proof review, and selected packets still need strong reviewer analysis.
  • Strong packet-review blocker: OpenCodeReview 1.7.5 supports --from/--to full diff ranges, but this workflow does not have a safe packet/window input bridge for Lean hunks yet.
  • Covered packets:
    • Compiler/Proofs/IRGeneration/Function.lean:2861 score 66 — public declaration/signature changed
    • Compiler/Proofs/IRGeneration/Contract.lean:2876 score 66 — public declaration/signature changed
    • Compiler/Proofs/IRGeneration/Contract.lean:1349 score 65 — public declaration/signature changed
    • PrintAxioms.lean:2139 score 12 — hotspot path/churn
    • PrintAxioms.lean:5964 score 12 — hotspot path/churn
    • PrintAxioms.lean:1884 score 12 — hotspot path/churn
    • PrintAxioms.lean:1922 score 12 — hotspot path/churn

Pilot mode: advisory only. Codex Review remains the merge gate.

Comment thread Compiler/Proofs/IRGeneration/Function.lean
Comment thread Compiler/Proofs/IRGeneration/Contract.lean
Comment thread Compiler/Proofs/IRGeneration/Contract.lean
Comment thread PrintAxioms.lean
Comment thread PrintAxioms.lean
Comment thread PrintAxioms.lean
Comment thread PrintAxioms.lean
@Th0rgal

Th0rgal commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

/ocr review

@Th0rgal

Th0rgal commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

/ocr review

@Th0rgal

Th0rgal commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

/ocr review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenCodeReview first-pass review

Status: scout_triage · Mode: large-lean-hotspots · 7 finding(s) · 3 files · 0 tokens · 0 tool calls

Large Lean diff routed to bounded packet review: 3 Lean file(s), 138 changed supported line(s). Scout triage fallback_deterministic; strong packet review required. Full-file OCR was not attempted.

⚠️ Large Lean scout mode covers ranked packets/checklists only; it is not a full-file OCR review and must not be read as LGTM.
✅ Posted 7 inline comment(s).
⚠️ 1 OCR warning(s) reported.

Warnings

  • coverage : Large Lean scout mode covers ranked hotspots only. Codex/human review must cover skipped hunks and proof obligations; OCR strong packet review is not wired yet.

OCR pilot metrics

  • Routing: large-lean-hotspots (router-v8)
  • Changed files: 3 supported / 3 total; Lean 3, trust docs 0, workflow/scripts 0, contracts 0, docs 0
  • Changed lines: 138 supported; thresholds large Lean >=3 files or >800 lines
  • OCR: status scout_triage; comments 7; files 3; tokens 0; tool calls 0; warnings 1; duration 1s
  • Largest changed files: Compiler/Proofs/IRGeneration/Contract.lean (+83/-0), Compiler/Proofs/IRGeneration/Function.lean (+49/-0), PrintAxioms.lean (+5/-1)

Packet coverage

  • Packet review: enabled; selected 7/8 packet(s)
  • Scout: configured; status fallback_deterministic; model MiniMax-M3
  • Scout provider HTTP status: 400
  • Scout provider error: {"error":{"message":"Model 'MiniMax-M3' is not a known chain or a 'provider/model' id. List chains at /api/model-routing/chains and all supported models at /api/providers/catalog.","type":"error","code":"model_not_found"}}
  • Strong review: required; status blocked_packet_input
  • Residual risk: Triaged top 7 deterministically ranked packet(s); remaining changed hunks/files require Codex or human proof review, and selected packets still need strong reviewer analysis.
  • Strong packet-review blocker: OpenCodeReview 1.7.5 supports --from/--to full diff ranges, but this workflow does not have a safe packet/window input bridge for Lean hunks yet.
  • Covered packets:
    • Compiler/Proofs/IRGeneration/Function.lean:2861 score 66 — public declaration/signature changed
    • Compiler/Proofs/IRGeneration/Contract.lean:2876 score 66 — public declaration/signature changed
    • Compiler/Proofs/IRGeneration/Contract.lean:1349 score 65 — public declaration/signature changed
    • PrintAxioms.lean:2139 score 12 — hotspot path/churn
    • PrintAxioms.lean:5964 score 12 — hotspot path/churn
    • PrintAxioms.lean:1884 score 12 — hotspot path/churn
    • PrintAxioms.lean:1922 score 12 — hotspot path/churn

Pilot mode: advisory only. Codex Review remains the merge gate.

Comment thread Compiler/Proofs/IRGeneration/Function.lean
Comment thread Compiler/Proofs/IRGeneration/Contract.lean
Comment thread Compiler/Proofs/IRGeneration/Contract.lean
Comment thread PrintAxioms.lean
Comment thread PrintAxioms.lean
Comment thread PrintAxioms.lean
Comment thread PrintAxioms.lean
@Th0rgal

Th0rgal commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

/ocr review

1 similar comment
@Th0rgal

Th0rgal commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

/ocr review

@Th0rgal

Th0rgal commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 64a61deaac

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Th0rgal
Th0rgal changed the base branch from paloma/issue-2080-whole-contract-retarget-phase30 to main July 10, 2026 16:00
@Th0rgal

Th0rgal commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

/ocr review

@Th0rgal
Th0rgal merged commit b8b9896 into main Jul 10, 2026
22 of 23 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

OpenCodeReview first-pass review

Status: error · Mode: legacy · 0 finding(s) · files unknown

OCR produced no JSON output

OCR stderr highlights
Error: review failed: all 3 file review(s) failed — check your LLM configuration and API key

OCR pilot metrics

  • Routing: legacy (router unknown)
  • Changed files: unknown supported / unknown total; Lean 0, trust docs 0, workflow/scripts 0, contracts 0, docs 0
  • Changed lines: unknown supported; thresholds large Lean >=? files or >? lines
  • OCR: status error; comments 0; files unknown; tokens 0; tool calls 0; warnings 0; duration 0s

Pilot mode: advisory only. Codex Review remains the merge gate.

⚠️ OCR did not complete successfully; this run is intentionally retryable for the same commit.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenCodeReview first-pass review

Status: large-lean-hotspots · Mode: large-lean-hotspots · 0 finding(s) · 0 files · 0 tokens · 0 tool calls

Lean packet budget exceeded: 25 Lean file(s), 3963 changed supported line(s).

⚠️ Large Lean scout mode covers ranked packets/checklists only; it is not a full-file OCR review and must not be read as LGTM.
⚠️ 1 OCR warning(s) reported.

Warnings

  • routing : Diff exceeded bounded packet review capability; full OCR not attempted.

OCR pilot metrics

  • Routing: large-lean-hotspots (router-v8)
  • Changed files: 36 supported / 36 total; Lean 25, trust docs 0, workflow/scripts 9, contracts 0, docs 2
  • Changed lines: 3963 supported; thresholds large Lean >=3 files or >800 lines
  • OCR: status large-lean-hotspots; comments 0; files 0; tokens 0; tool calls 0; warnings 1; duration 0s
  • Largest changed files: .github/scripts/test-ocr-routing.js (+0/-1808), .github/scripts/ocr-router.js (+0/-1307), .github/scripts/post-ocr-review.js (+17/-334), docs/C2_STORAGE_LENS_PART2_SCOPE.md (+0/-72), .github/workflows/ocr-review.yml (+9/-60)

Packet coverage

  • Packet review: not used; selected 0/8 packet(s)
  • Scout: configured; status skipped_no_packets; model reviewer_scout
  • Strong review: required; status blocked_packet_input
  • Residual risk: Diff exceeded packet budget; use top changed files and deterministic signals as required Codex/human review checklist.
  • Strong packet-review blocker: OpenCodeReview 1.7.5 supports --from/--to full diff ranges, but this workflow does not have a safe packet/window input bridge for Lean hunks yet.

Pilot mode: advisory only. Codex Review remains the merge gate.

@Th0rgal

Th0rgal commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

Resolving the 28 open OpenCodeReview [large-lean-hotspots] threads: these are automated packet-selection / coverage-marker notices (each states "it is not a full OCR semantic review"), not concrete findings. Triaged all 28 — none contain an actionable issue. The high-severity 'sorry/admit' flag is a false positive matching the derived PrintAxioms.lean line "0 sorry'd" (the audit reports zero sorries; theorem count 5587→5591). Focused Lean build of the two touched proof modules (Contract, Function) passed on the build host; hygiene/proof-length/axiom-sync checks all pass; Codex review on head 64a61de is clean.

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