Repository navigation
det: EPSMPMT's float ** / ANNUITY in IEEE binary64 (owner 2026-10-27); csmrt/cmort L1->L3 (Part of #5867, #6072) - #6831
Conversation
…-10-27, Part of #5867) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…sweep baseline, register C6 (owner 2026-10-27, Part of #5867) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
…nd-in; mortgage-mpmt proved 11/11 (Part of #5867) equivalence_binary64.lower swaps the two ruled statements for CALLs of faults/ggb64.c (faithful or refused); the stub rebuilds the port's short HFP rate from the quoted rate, since binary32 vs HFP was the whole 2-cent diff. mortgage-mpmt leaves the det sweep baseline. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (cb8921e) is not the one a maintainer labelled |
…lice2-oracle (5-file rule) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
CI shepherd: the head of this PR (714cfc7) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
…6072) ladder_refresh.py mortgage-mlist on main: proven on 10 scenarios, 6/6 paragraphs, 15/15 net branches. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…art of #6072) (#6838) * DBB EPSMLIST ladder: list-two-companies reaches A600 and 162:true, 15/15 net branches (Part of #6072) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * ladder: re-measure mortgage-mlist on main after #6831 merged (Part of #6072) ladder_refresh.py mortgage-mlist on main: proven on 10 scenarios, 6/6 paragraphs, 15/15 net branches. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Part of #5867. Part of #6072.
The owner ruled on 2026-10-27 (#5867) that DBB EPSMPMT's floating-point
(1 + C) ** N(line 125) andFUNCTION ANNUITY(line 144, dead code in A300-TRY2) are IEEE 754 binary64. The ruling covers EPSMPMT only. #4702 and the ASSUMED HFP power still apply to every other program.What changed
det/gen.py:IEEE_BINARY64_PROGRAMS = {"EPSMPMT"}. In that program, a COMPUTE whose expression holds**or ANNUITY is now emitted as Javadouble:**becomesStrictMath.pow(fdlibm, so the bits are the same on every JVM);r / (1 - (1 + r) ** -n), or1 / nwhen r is 0;Hfp.javamethod, so nocobolrt_rules.jsonentry was needed.(rate / 100) / 12into the COMP-1) is still long HFP. In any other program the same statements keepHfp.power, or the ANNUITY refusal.det_sweep_baseline.json:mortgage-csmrtandmortgage-cmortare removed (their only cause was EPSMPMT's hole, through the called-hole rule).mortgage-mpmtnow has no hole, but it stays listed with its real cause, which is the oracle side (below).reached:line and "Waiting on it" text;Cobol.storetruncates too.ladder-sliceSKILL.md: the owner-holds line now records the new state.test_det_hfp.py: the EPSMPMT corpus test now asserts 0 holes, binary64 on line 125 and ANNUITY on line 144, and HFP on line 120.test_det_hfp.py: fixture tests check that binary64 is EPSMPMT's alone, and that a float receiver is a named hole.test_det_sweep_baseline_causes.pyis rewritten for the new baseline state.Ladder (before =
origin/mainledgers, after =ladder_refresh.py)det_port.py check: 177/180 ports are unchanged. In the 3 that moved, onlyEpsmpmtService.javachanged (7 lines), and all 3 were re-proved by the sweep. No evidence records were hand-edited.Facts checked, and where the plan was wrong
-std=ibm):(1 + C) ** Nstored on its own is the exact decimal power (6.022574971161645864);C * ((1 + C) ** N)gives 0.030112764..., where the exact product of the same operands is 0.030112874....maximum-principal: GnuCOBOL 599550.79, det 599550.44;high-rate: GnuCOBOL 16666.50, det 16666.49.mortgage-mpmtstays in the baseline. The ruling's oracle side needs a stand-in (see Remaining slices).Hfp.ieee/Hfp.ieeeAnnuityruntime methods were replaced by inline Java double. A new runtime method needs a rule-catalogue entry, which would have been a 6th hand-written file.Gates
pr_gates.py --fast: 9/9 pass.pr_gates.py --ratchets: 9 pass, 0 fail (including ports, ground-truth and time).test_det_hfp.py: 85 passed, 0 skipped (the DBB corpus was present).test_det_sweep_baseline_causes.py: 2 passed.register.py --checkandregister.py audit --ci: clean.Class / Sibling gaps
The class is "a floating-point
**or FUNCTION ANNUITY in a burned program". Among the burned estates, only EPSMPMT reaches a float**(line 125) or ANNUITY (line 144); C6 lists CBSA's 6 other COMP-1/COMP-2 programs, which have neither. Every other program keeps the ASSUMED HFPHfp.power(#4702, waiting on the z/OS capture, #4050) and the ANNUITY refusal. Both are pinned bytest_binary64_is_epsmpmts_alone. A same-mechanism sibling, also open: a non-exact COMP-2 MOVEd into a 2-decimal field differs between GnuCOBOL and det (BNK1TFN line 494, C6).Remaining slices
churn/5867-slice2-oracle, kept out of this PR for the 5-file rule). It lowers EPSMPMT's two ruled COMPUTEs into CALLs of a C stub (tests/tools/equivalence_binary64.py,tests/equivalence/faults/ggb64.c, a hook inequivalence_call.py, 12 tests) and provesmortgage-mpmton 11 of 11 calls, then drops it from the baseline. It needs this PR merged first. Open owner question it raises: the stub takes the rate as the port holds it (short HFP), because with GnuCOBOL's binary32 rate 2 calls differ by a cent.Lessons for agents
Cobol.storeof a float result truncates unless ROUNDED, the same as cobc. A note claiming otherwise was wrong.cobolrt_rules.jsonentry. Inline Java (StrictMath, a lambda) avoids that when the routine is program-scoped.Checklist: partial [c:cc4b71b5] -- z/OS captures still need mainframe access
Checklist: partial [c:87252fac] -- det side done here; the oracle stand-in and the baseline drop are slice 2
Owner decisions
Owner OK (2026-10-27): the floating-point
(1 + C) ** N(line 125) andFUNCTION ANNUITY(line 144) of DBB EPSMPMT are IEEE 754 binary64; EPSMPMT only.Cross-repo: none.
🤖 Generated with Claude Code