Skip to content

Model alignment and phase encoding as a bounded mathematical pair - #3747

Open
joshlf wants to merge 1 commit into
Gorv7wy3hyn76t7fgbuh776b3o6yz5tegfrom
Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q
Open

joshlf wants to merge 1 commit into
Gorv7wy3hyn76t7fgbuh776b3o6yz5tegfrom
Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q

Conversation

@joshlf

@joshlf joshlf commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Retain the nominal Rust wrapper and define its mathematical model inline.
Decode its already-positive NonZero field into alignment and phase with
power-of-two, phase-bound and representability proofs. Prove the accepted
domain, representation relation and round trips independently of method
proofs. Encoding and decoding specifications use the mathematical pair;
broad Raw lemmas preserve the original representation guarantees.

Construct the rounding model using only its data fields; decoder-scoped
completion proves its unchanged constraints in the construction context.
Independent meaning, admission and round-trip guarantees remain explicit.

Retain code-generation failure diagnostics that show the expected and actual
snapshots and report every benchmark worker failure.

Validation: fresh pinned extraction, complete golden comparison, separate
golden/live builds, independent required contracts and axiom audits.

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/Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q && git checkout -b pr-Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q FETCH_HEAD

Checkout

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

Cherry Pick

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

Pull

git pull origin refs/heads/Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q

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:17.816219Z 34c980f PR opened
🔒 Security Review ✅ Completed 2026-10-02T15:30:11.555180Z 34c980f 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

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.67%. Comparing base (9ed47f7) to head (66bbaec).

Additional details and impacted files
@@                          Coverage Diff                          @@
##           Gorv7wy3hyn76t7fgbuh776b3o6yz5teg    #3747      +/-   ##
=====================================================================
+ Coverage                              60.56%   60.67%   +0.10%     
=====================================================================
  Files                                     21       21              
  Lines                                   3766     3766              
=====================================================================
+ Hits                                    2281     2285       +4     
+ Misses                                  1485     1481       -4     

☔ 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 Gorv7wy3hyn76t7fgbuh776b3o6yz5teg branch from 35256a4 to c73f46e Compare October 2, 2026 19:39
@joshlf
joshlf force-pushed the Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q branch from 34c980f to 52acb9c Compare October 2, 2026 19:39
@joshlf
joshlf force-pushed the Gorv7wy3hyn76t7fgbuh776b3o6yz5teg branch from c73f46e to d779d58 Compare October 2, 2026 21:06
@joshlf
joshlf force-pushed the Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q branch 2 times, most recently from c4e1902 to c6b8589 Compare October 3, 2026 16:09
@joshlf
joshlf force-pushed the Gorv7wy3hyn76t7fgbuh776b3o6yz5teg branch from d779d58 to 68baa71 Compare October 3, 2026 16:09
@joshlf joshlf changed the title Add lossless alignment and phase encoding with proofs Add nominal alignment and phase encoding with proofs Oct 3, 2026
@joshlf
joshlf force-pushed the Gorv7wy3hyn76t7fgbuh776b3o6yz5teg branch from 68baa71 to a7dec89 Compare October 4, 2026 02:57
@joshlf
joshlf force-pushed the Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q branch from c6b8589 to 2277ec1 Compare October 4, 2026 02:57
@joshlf joshlf changed the title Add nominal alignment and phase encoding with proofs Model alignment and phase encoding as a bounded mathematical pair Oct 4, 2026
@joshlf
joshlf force-pushed the Gorv7wy3hyn76t7fgbuh776b3o6yz5teg branch from 56efedd to dba437c Compare October 5, 2026 13:03
@joshlf
joshlf force-pushed the Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q branch from 1518357 to 5581ce0 Compare October 5, 2026 13:03
@joshlf
joshlf force-pushed the Gorv7wy3hyn76t7fgbuh776b3o6yz5teg branch from dba437c to 5bc26a2 Compare October 5, 2026 15:25
@joshlf
joshlf force-pushed the Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q branch from 5581ce0 to 371fbd1 Compare October 5, 2026 15:25
@joshlf
joshlf force-pushed the Gorv7wy3hyn76t7fgbuh776b3o6yz5teg branch from 5bc26a2 to fe70cae Compare October 5, 2026 21:12
@joshlf
joshlf force-pushed the Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q branch from 371fbd1 to 0da47ce Compare October 5, 2026 21:12
@joshlf
joshlf force-pushed the Gorv7wy3hyn76t7fgbuh776b3o6yz5teg branch from fe70cae to 34f5fa3 Compare October 5, 2026 21:44
@joshlf
joshlf force-pushed the Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q branch from 0da47ce to 13a51f7 Compare October 5, 2026 21:44
@joshlf
joshlf force-pushed the Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q branch from 13a51f7 to 8d0a04b Compare October 5, 2026 22:08
@joshlf
joshlf force-pushed the Gorv7wy3hyn76t7fgbuh776b3o6yz5teg branch 2 times, most recently from 092c8dd to bee1195 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 Gorv7wy3hyn76t7fgbuh776b3o6yz5teg branch from bee1195 to 48d4e52 Compare October 6, 2026 15:45
@joshlf
joshlf force-pushed the Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q branch from 383793a to 4264b1f Compare October 6, 2026 15:45
Retain the nominal Rust wrapper and define its mathematical model inline.
Decode its already-positive NonZero field into alignment and phase with
power-of-two, phase-bound and representability proofs. Prove the accepted
domain, representation relation and round trips independently of method
proofs. Encoding and decoding specifications use the mathematical pair;
broad Raw lemmas preserve the original representation guarantees.

Construct the rounding model using only its data fields; decoder-scoped
completion proves its unchanged constraints in the construction context.
Independent meaning, admission and round-trip guarantees remain explicit.

Retain code-generation failure diagnostics that show the expected and actual
snapshots and report every benchmark worker failure.

Validation: fresh pinned extraction, complete golden comparison, separate
golden/live builds, independent required contracts and axiom audits.

gherrit-pr-id: Gng7s74f35a4f6jjd5xjjmvxbwqqnnx7q
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