Skip to content

Prove numerical cast plan selection and metadata conversion - #3776

Open
joshlf wants to merge 1 commit into
Gurqevo3e4xhhk2x275sikrq6qmdyzyqbfrom
Gdbl6xaqz63ttxnug4rlquswinz6f64o6
Open

joshlf wants to merge 1 commit into
Gurqevo3e4xhhk2x275sikrq6qmdyzyqbfrom
Gdbl6xaqz63ttxnug4rlquswinz6f64o6

Conversation

@joshlf

@joshlf joshlf commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Accepted plans preserve complete rounded sizes for every natural element
count and retain the destination alignment requirement. Prove both selection
paths, then prove the unchecked metadata implementation returns its exact
affine map whenever its product and sum fit. Rejected plans remain conservative.

Extract the actual numerical functions, retain independent arbitrary-outcome
contract checks, and document the restricted external correspondence for
unchecked integer operations. Pointer construction is outside these claims.

Validation: fresh extraction, required proofs and axiom audit; MSRV, stable,
nightly and workspace Clippy checks.

Agent-authored-by: AI agent acting on joshlf's behalf


Latest Update: v7 — Compare vs v6

📚 Full Patch History

Links show the diff between the row version and the column version.

Version v6 v5 v4 v3 v2 v1 Base
v7 vs v6 vs v5 vs v4 vs v3 vs v2 vs v1 vs Base
v6 vs v5 vs v4 vs v3 vs v2 vs v1 vs Base
v5 vs v4 vs v3 vs v2 vs v1 vs Base
v4 vs v3 vs v2 vs v1 vs Base
v3 vs v2 vs v1 vs Base
v2 vs v1 vs Base
v1 vs Base
⬇️ Download this PR

Branch

git fetch origin refs/heads/Gdbl6xaqz63ttxnug4rlquswinz6f64o6 && git checkout -b pr-Gdbl6xaqz63ttxnug4rlquswinz6f64o6 FETCH_HEAD

Checkout

git fetch origin refs/heads/Gdbl6xaqz63ttxnug4rlquswinz6f64o6 && git checkout FETCH_HEAD

Cherry Pick

git fetch origin refs/heads/Gdbl6xaqz63ttxnug4rlquswinz6f64o6 && git cherry-pick FETCH_HEAD

Pull

git pull origin refs/heads/Gdbl6xaqz63ttxnug4rlquswinz6f64o6

Stacked PRs enabled by GHerrit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 5, 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-10-05T17:22:02.857588Z b323a93 PR opened
🔒 Security Review ✅ Completed 2026-10-05T17:23:41.810376Z b323a93 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.

@codecov-commenter

codecov-commenter commented Oct 5, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (Gurqevo3e4xhhk2x275sikrq6qmdyzyqb@74f3f4d). Learn more about missing BASE report.

Files with missing lines Patch % Lines
zerocopy/src/layout/cast_from.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                         Coverage Diff                          @@
##             Gurqevo3e4xhhk2x275sikrq6qmdyzyqb    #3776   +/-   ##
====================================================================
  Coverage                                     ?   52.17%           
====================================================================
  Files                                        ?       27           
  Lines                                        ?     4393           
  Branches                                     ?        0           
====================================================================
  Hits                                         ?     2292           
  Misses                                       ?     2101           
  Partials                                     ?        0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joshlf
joshlf force-pushed the Gdbl6xaqz63ttxnug4rlquswinz6f64o6 branch from b323a93 to afb7a9f Compare October 5, 2026 21:12
@joshlf
joshlf force-pushed the Gurqevo3e4xhhk2x275sikrq6qmdyzyqb branch from 7be5eac to 846d308 Compare October 5, 2026 21:12
@joshlf
joshlf force-pushed the Gurqevo3e4xhhk2x275sikrq6qmdyzyqb branch from 846d308 to 5a71a9d Compare October 5, 2026 21:44
@joshlf
joshlf force-pushed the Gdbl6xaqz63ttxnug4rlquswinz6f64o6 branch 2 times, most recently from 071eddb to e690b10 Compare October 5, 2026 22:08
@joshlf
joshlf force-pushed the Gdbl6xaqz63ttxnug4rlquswinz6f64o6 branch from e690b10 to e9a0708 Compare October 6, 2026 00:32
@joshlf
joshlf force-pushed the Gurqevo3e4xhhk2x275sikrq6qmdyzyqb branch from 080cb21 to f17e6fd Compare October 6, 2026 00:32
Accepted plans preserve complete rounded sizes for every natural element
count and retain the destination alignment requirement. Prove both selection
paths, then prove the unchecked metadata implementation returns its exact
affine map whenever its product and sum fit. Rejected plans remain conservative.

Extract the actual numerical functions, retain independent arbitrary-outcome
contract checks, and document the restricted external correspondence for
unchecked integer operations. Pointer construction is outside these claims.

Validation: fresh extraction, required proofs and axiom audit; MSRV, stable,
nightly and workspace Clippy checks.

Agent-authored-by: AI agent acting on joshlf's behalf
gherrit-pr-id: Gdbl6xaqz63ttxnug4rlquswinz6f64o6

This branch has not been deployed

No deployments
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.

2 participants