Repository navigation
Certified enclosures of the planar microscopic radius-tail constants (Math-#178's table confirmed to 9e-16; exact T_b and T_2 = −T_1/12; scientific effect NONE) #190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
d6g8k5htny-coder
merged 7 commits into
main
from
claude/c6-tail-constant-certified-20260930
Oct 1, 2026
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
30de5e3
Certified enclosures of the planar microscopic radius-tail constants
th3realdyll-afk 65ac384
Certified tail constants v1.1: universal bounds on c, Codex findings
th3realdyll-afk ca42155
Certified tail constants v1.2: explicit bounds for every k
th3realdyll-afk d405564
Merge main 3e0a91b into the certified tail constants branch (citation…
th3realdyll-afk c9789d9
Certified tail constants v1.3: exact interval negation, rule LIBRARY_…
d6g8k5htny-coder 6504c35
Merge branch 'main' into claude/c6-tail-constant-certified-20260930
d6g8k5htny-coder 28747d8
Merge main c2f1270 into the certified tail-constants branch (packet b…
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| name: C6 tail constants certified enclosure | ||
|
|
||
| 'on': | ||
| pull_request: | ||
| paths: | ||
| - 'reviews/c6_tail_constant_certified_20260930/**' | ||
| - '.github/workflows/c6-tail-constant-certified.yml' | ||
| - 'frontiers/two_scale_cluster_geometry_20260929/RADIAL_TAIL.md' | ||
| - 'frontiers/extreme_cluster_sampling_20260930/PROOF.md' | ||
| - 'frontiers/radial_rate_20260930/PROOF.md' | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| certify-and-reject-mutants: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 30 | ||
| steps: | ||
| - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 | ||
| with: | ||
| persist-credentials: false | ||
| - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 | ||
| with: | ||
| python-version: '3.11.16' | ||
| - name: Verify sources and pins, replay both modes, reject mutants | ||
| env: | ||
| PYTHONDONTWRITEBYTECODE: '1' | ||
| run: | | ||
| set -euo pipefail | ||
| python -B -S - <<'PY' | ||
| import concurrent.futures, hashlib, json, pathlib, subprocess, sys | ||
| root = pathlib.Path('reviews/c6_tail_constant_certified_20260930').resolve() | ||
| manifest_doc = json.loads((root / 'SOURCE_FILES.json').read_text()) | ||
| manifest = manifest_doc['files'] | ||
| present = sorted(p.name for p in root.iterdir()) | ||
| expected_names = sorted([e['path'] for e in manifest] + ['SOURCE_FILES.json']) | ||
| if present != expected_names: | ||
| raise ValueError('packet tree differs from manifest: ' + repr(present)) | ||
| for entry in manifest: | ||
| path = root / entry['path'] | ||
| if pathlib.PurePosixPath(entry['path']).name != entry['path'] or path.is_symlink(): | ||
| raise ValueError('flat regular source required: ' + entry['path']) | ||
| data = path.read_bytes() | ||
| if len(data) != entry['bytes'] or hashlib.sha256(data).hexdigest() != entry['sha256']: | ||
| raise ValueError('source identity mismatch: ' + entry['path']) | ||
| # main-resident pins: the consumed sources must be the reviewed bytes | ||
| for pin in manifest_doc['pins_on_main']: | ||
| if not pin.get('workflow_checked'): | ||
| continue | ||
| p = pathlib.Path(pin['path']) | ||
| if p.is_symlink() or not p.is_file(): | ||
| raise ValueError('pinned source missing: ' + pin['path']) | ||
| data = p.read_bytes() | ||
| blob = hashlib.sha1(b'blob %d\0' % len(data) + data).hexdigest() | ||
| if blob != pin['git_blob']: | ||
| raise ValueError('pinned source drifted: ' + pin['path'] + ' ' + blob) | ||
| script = str(root / 'certify_tail_constants.py') | ||
| expected = (root / 'RESULTS.json').read_bytes() | ||
| mutants = ['gamma-power', 'cusp-shift', 'prefactor', 'pi-truncated', 'log2-truncated', 'tail-dropped', 'tb-power', 't2-weight', 't1t2-scale', 'j-scale', 'context-neg'] | ||
| def mutant_rc(args): | ||
| flags, m = args | ||
| return m, flags, subprocess.run([sys.executable, *flags, script, '--mutant', m], | ||
| capture_output=True, timeout=1500).returncode | ||
| for flags in (['-B', '-S'], ['-B', '-O', '-S']): | ||
| out = subprocess.run([sys.executable, *flags, script], | ||
| check=True, capture_output=True, timeout=1500).stdout | ||
| if out != expected: | ||
| raise RuntimeError('output differs from RESULTS.json under ' + ' '.join(flags)) | ||
| doc = json.loads(out) | ||
| if not (doc['passed'] and len(doc['checks']) == 12 and all(doc['checks'].values())): | ||
| raise RuntimeError('certification did not pass under ' + ' '.join(flags)) | ||
| with concurrent.futures.ThreadPoolExecutor(max_workers=4) as pool: | ||
| for m, fl, rc in pool.map(mutant_rc, [(flags, m) for m in mutants]): | ||
| if rc != 1: | ||
| raise RuntimeError('mutant ' + m + ' not rejected under ' + ' '.join(fl)) | ||
| print(json.dumps({'scientific_effect': 'NONE', 'mathematical_acceptance': False, 'certified_enclosures': True})) | ||
| PY | ||
| git diff --exit-code | ||
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.