Repository navigation
test(c-host): a real C host gets exact payments, and the wide-intermediates slice closes (§9-73) - #343
Merged
Conversation
…ts payments whose products leave int32_t SPEC-wide-intermediates acceptance F (DP-W11: one expression of an existing example, the fingerprint unchanged). one_payment is now the difference of two cumulative shares, principal * (month + 1) / months - principal * month / months. At 1,000,000,000 over 12 months the products leave int32_t from month 2 on while every payment fits; the pure tree is computed exactly, so host.c receives 83333334 for month 2 and twelve payments that sum to the principal. The remainder is spread instead of folded into month 0 (array_return.rs updated). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ype, sizes equal §0.4 (§9-73) Acceptance I: mlprobe built from b077cb9 answers all 626 rows exactly as the PURE+CALL prototype (543 / 44 / 20 / 18, 42 rows changed against main). The example .text sizes equal the PURE measurement (95,334 -> 95,472). SPEC banner, index row and candidate list close the slice; the session record is §9-73, and the 2026-09-26 (6) start block moved byte-for-byte to start-block-054.md. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… says which 42 it counts Grok verify (unasked): array_return's one_payment test never reached a product outside i32, so only the four-minute C host would catch a regression — it now asserts (1e9, 12, 2) = 83333334 as well. The record's "42 rows changed" counts OUTPUTS; the category table's net movement is 39. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
Author
🔵 SCAManager 분석 결과총점: 89/100 (등급 B) 점수 상세
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
SPEC-wide-intermediates§6 task 2 — acceptance F and I, and the slice closes. Follows #341 (SPEC) and #342 (codegen).examples/schedule.mlsone_paymentis now the difference of two cumulative shares,principal * (month + 1) / months - principal * month / months. At 1,000,000,000 over 12 monthsprincipal * (month + 1)leaves int32_t frommonth2 on while every payment fits.hosts/c-host/host.cassertsone_payment(1e9, 12, 2) == 83333334, twelve payments summing to the principal, and the domain error at month 12.array_return.rspins the new values; the parts still sum to the principal, and every payment fits i32 for every input).mlprobebuilt frommain(b077cb9) answers all 626 rows exactly as the PURE+CALL prototype: 543 correct / 44 silent / 20-3-though-it-fits / 18 other, 0 unjudged. The 48,000-call random differential relies on the prototype's env switch and was not re-run — the sample for I is the 626 rows..texttotal 95,334 → 95,472 (+138), six modules, −123..+192 — equal to the PURE numbers.schedulewith the newone_payment: 3640 → 3656.start-block-054.md.Evidence (E2)
host.cagainst the pre-slice codegen (8438cf9) fails exactly the two new checks (GATE_D_FAILED (2)); the domain check passes.MATHLESS_GATE_D/FPC/FPC_HOST=require): 704 passed, 0 failed on 73253a1.array_return13/13 anddoc_claims50/50 on the head.STATUS.mdat b077cb9.Grok verify (single claims, REVIEW ONLY)
f1024a5…).one_paymentvalues[14285, 14286, 14286, 14285, 14286, 14286, 14286], sum 100000, and 83333334 — CONFIRMED (recomputed).host.cblock matches the golden header's signature, the int32 sum cannot overflow, and the comment's "from month 2 on" — CONFIRMED.array_returnnever reached an overflowing product → added the F input to the Rust oracle.if (one_payment)skips on a NULL symbol →sym()already counts a missing symbol as a failure (host.c390–396).🤖 Generated with Claude Code