Skip to content

specs/math: sacred_physics checks every member of its finite sets instead of a dropped prose tail - #5727

Merged
dmitrii-f-t27 merged 1 commit into
masterfrom
fix/sacred-physics-finite-sets
Oct 3, 2026
Merged

dmitrii-f-t27 merged 1 commit into
masterfrom
fix/sacred-physics-finite-sets

Conversation

@dmitrii-f-t27

Copy link
Copy Markdown
Collaborator

Closes #5726

t27c parse-complete dropped 48 tokens from specs/math/sacred_physics.t27: two invariants ended in a prose tail over a finite set (for n in {1, 2, 3, 4, 5}, for a, b in {1, 2, 3}), and the parser threw away the whole assertion, so both invariants checked nothing.

  • Each set is finite and written out, so every member is now its own assertion: 5 for phi_pow(n) * phi_pow(-n) == 1, 9 for phi_pow(a + b) == phi_pow(a) * phi_pow(b), tolerance 1e-12 as before. A comment says which set each covers.
  • parse-complete --show: 48 token(s) DISCARDED -> nothing discarded.
  • Typecheck unchanged (OK, 0 errors, 9 warnings).
  • Zig ast-check: 2 errors on master, 2 here (pre-existing undeclared PI_lv, which also blocks test-report on both). t27c gen emits all 14 new checks.
  • Both seals regenerated with the t27c built from this tree; --verify reports all hashes MATCH.
  • The sacred_physics parse-no-discard entry is removed from docs/reports/suite_expectations.json; local t27c suite --ratchet --corpus-only: RATCHET CLEAN.

🤖 Generated with Claude Code

…tead of a dropped prose tail (#5726)

phi_pow_inverse_reciprocal ("for n in {1, 2, 3, 4, 5}") and
phi_pow_additive_exponents ("for a, b in {1, 2, 3}") lost their whole
assertion to the parser. Both sets are finite, so each member is now its own
assertion (5 + 9), same tolerance. Seals regenerated with this tree's t27c;
the parse-no-discard ledger entry is removed.

Closes #5726

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-03 10:11:41 UTC

Summary

Status Count
Total Open PRs 39
PRs with Failing Checks 36
PRs with All Checks Green 3
READY 1
FAILING 36
PENDING 0
NO CHECKS YET 0

These columns do not partition: 1 + 36 + 0 + 0 = 37, and there are 39 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=b45a356c2eb6 != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

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.

sacred_physics: two phi_pow invariants end in a prose 'for n in {...}' and check nothing

1 participant