Skip to content

Compare nested DST sizes with a recursive Rust oracle - #3749

Open
joshlf wants to merge 1 commit into
Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7qfrom
Guzdt7nfgmmi7y3e4taezg43ssexn4hrf
Open

joshlf wants to merge 1 commit into
Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7qfrom
Guzdt7nfgmmi7y3e4taezg43ssexn4hrf

Conversation

@joshlf

@joshlf joshlf commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Check runtime nested-DST sizes against an independently implemented recursive
Rust oracle, including padding inside packed fields.

Extract and prove the independent checked Rust reference for arbitrary nested
record descriptions and metadata. Use its remainder-based rounding in compiler
regression tests, without sharing the production padding utility.

Validation: fresh pinned extraction and complete-model golden comparison;
independent golden/live Lean builds, required-contract checks, and the
transitive axiom audit.

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


Latest Update: v25 — Compare vs v24

📚 Full Patch History

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

Version v24 v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v25 v24 v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v24 v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v8 v7 v6 v5 v4 v3 v2 v1 Base
v7 v6 v5 v4 v3 v2 v1 Base
v6 v5 v4 v3 v2 v1 Base
v5 v4 v3 v2 v1 Base
v4 v3 v2 v1 Base
v3 v2 v1 Base
v2 v1 Base
v1 Base
⬇️ Download this PR

Branch

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

Checkout

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

Cherry Pick

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

Pull

git pull origin refs/heads/Guzdt7nfgmmi7y3e4taezg43ssexn4hrf

Stacked PRs enabled by GHerrit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 2, 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-02T15:30:18.196581Z 65ccd3f PR opened
🔒 Security Review ✅ Completed 2026-10-02T15:28:53.466439Z 65ccd3f 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 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 51 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.75%. Comparing base (66bbaec) to head (c91e32b).

Files with missing lines Patch % Lines
zerocopy/src/layout/nested_reference.rs 0.00% 51 Missing ⚠️
Additional details and impacted files
@@                          Coverage Diff                          @@
##           Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q    #3749      +/-   ##
=====================================================================
- Coverage                              60.67%   59.75%   -0.92%     
=====================================================================
  Files                                     21       22       +1     
  Lines                                   3766     3817      +51     
=====================================================================
- Hits                                    2285     2281       -4     
- Misses                                  1481     1536      +55     

☔ 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 Gcrebpateb5cosfnz4zvqhnx2xldzt6vv branch from af4e7c1 to ba7e20f Compare October 2, 2026 15:39
@joshlf
joshlf force-pushed the Guzdt7nfgmmi7y3e4taezg43ssexn4hrf branch 2 times, most recently from ac6e75c to a3fdabf Compare October 2, 2026 19:39
@joshlf
joshlf force-pushed the Gcrebpateb5cosfnz4zvqhnx2xldzt6vv branch from ba7e20f to 3f134f9 Compare October 2, 2026 19:39
@joshlf
joshlf force-pushed the Guzdt7nfgmmi7y3e4taezg43ssexn4hrf branch from a3fdabf to d7f9645 Compare October 2, 2026 21:06
@joshlf
joshlf force-pushed the Gcrebpateb5cosfnz4zvqhnx2xldzt6vv branch 2 times, most recently from 663dcca to db36ff4 Compare October 3, 2026 16:09
@joshlf
joshlf force-pushed the Guzdt7nfgmmi7y3e4taezg43ssexn4hrf branch from d7f9645 to 3819b9a Compare October 3, 2026 16:09
@joshlf
joshlf force-pushed the Gcrebpateb5cosfnz4zvqhnx2xldzt6vv branch from db36ff4 to 24ab6aa Compare October 4, 2026 02:57
@joshlf
joshlf force-pushed the Guzdt7nfgmmi7y3e4taezg43ssexn4hrf branch from 3819b9a to 1908b50 Compare October 4, 2026 02:57
@joshlf
joshlf force-pushed the Guzdt7nfgmmi7y3e4taezg43ssexn4hrf branch from 2b181a0 to d7235f7 Compare October 5, 2026 13:03
@joshlf
joshlf force-pushed the Gcrebpateb5cosfnz4zvqhnx2xldzt6vv branch from 180ebba to 5be32d8 Compare October 5, 2026 13:03
@joshlf
joshlf force-pushed the Guzdt7nfgmmi7y3e4taezg43ssexn4hrf branch from d7235f7 to ef2804b Compare October 5, 2026 15:25
@joshlf
joshlf force-pushed the Gcrebpateb5cosfnz4zvqhnx2xldzt6vv branch from 5be32d8 to a71947f Compare October 5, 2026 15:25
@joshlf
joshlf force-pushed the Guzdt7nfgmmi7y3e4taezg43ssexn4hrf branch from ef2804b to e63e932 Compare October 5, 2026 21:12
@joshlf
joshlf changed the base branch from Gcrebpateb5cosfnz4zvqhnx2xldzt6vv to Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q October 5, 2026 21:12
@joshlf
joshlf force-pushed the Guzdt7nfgmmi7y3e4taezg43ssexn4hrf branch from e63e932 to 96c40d2 Compare October 5, 2026 21:44
@joshlf
joshlf force-pushed the Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q branch 2 times, most recently from 13a51f7 to 8d0a04b Compare October 5, 2026 22:08
@joshlf
joshlf force-pushed the Guzdt7nfgmmi7y3e4taezg43ssexn4hrf branch 2 times, most recently from 5dd3068 to 19392df Compare October 6, 2026 00:32
@joshlf
joshlf force-pushed the Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q branch from 8d0a04b to 383793a Compare October 6, 2026 00:32
@joshlf
joshlf force-pushed the Guzdt7nfgmmi7y3e4taezg43ssexn4hrf branch from 19392df to d31057e Compare October 6, 2026 15:45
@joshlf
joshlf force-pushed the Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q branch from 383793a to 4264b1f Compare October 6, 2026 15:45
Check runtime nested-DST sizes against an independently implemented recursive
Rust oracle, including padding inside packed fields.

Extract and prove the independent checked Rust reference for arbitrary nested
record descriptions and metadata. Use its remainder-based rounding in compiler
regression tests, without sharing the production padding utility.

Validation: fresh pinned extraction and complete-model golden comparison;
independent golden/live Lean builds, required-contract checks, and the
transitive axiom audit.

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

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