Skip to content

feat(gf-competitive): Phase 0-2 — verify_precision.py + competitive specs#560

Merged
gHashTag merged 1 commit intomasterfrom
feat/gf-competitive-p0
Apr 29, 2026
Merged

feat(gf-competitive): Phase 0-2 — verify_precision.py + competitive specs#560
gHashTag merged 1 commit intomasterfrom
feat/gf-competitive-p0

Conversation

@gHashTag
Copy link
Copy Markdown
Owner

Summary

Implements Phases 0-2 of the GF Competitive Analysis roadmap (#289).

Phase 0: scripts/verify_precision.py

  • mpmath-backed sacred constant verification at 100 decimal digits
  • Outputs JSON: phi, phi_inv, phi_sq, pi, e, Pellis closed form
  • Trinity identity: phi^2 + phi^-2 = 3 verified to 10^-100
  • Phi identity: phi^2 = phi + 1 verified to 10^-100

Phase 1: specs/numeric/gf_competitive.t27

  • GF vs IEEE comparison spec with 5 tests, 2 invariants, 1 benchmark
  • Tests: phi representation, identity checks, roundtrip precision, accumulation stability

Phase 2: specs/numeric/pellis_verify.t27

  • Pellis closed form verification spec
  • 2 tests, 2 invariants, 1 benchmark
  • Pre-registered checkpoint at 137.036

Closes #289

Constitutional compliance

…pecs

Closes #289

Phase 0: scripts/verify_precision.py — mpmath 100-digit sacred constants
Phase 1: specs/numeric/gf_competitive.t27 — GF vs IEEE comparison spec
Phase 2: specs/numeric/pellis_verify.t27 — Pellis closed form verification

- phi, pi, e at 100 decimal digits via mpmath
- Trinity identity check: phi^2 + phi^-2 = 3 (verified to 10^-100)
- Phi identity check: phi^2 = phi + 1 (verified to 10^-100)
- Pellis closed form computation
- GF competitive: roundtrip, accumulation, phi representation tests
- All specs L4-compliant: test + invariant + bench
@github-actions
Copy link
Copy Markdown

📓 NotebookLM Notebook linked to this PR

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

@gHashTag gHashTag merged commit 14f7a55 into master Apr 29, 2026
11 of 12 checks passed
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.

GF Competitive Analysis: GMP integration, verify_precision.py, gf_competitive.t27 spec, and whitepaper scaffold

1 participant