TFPT scientific source excerpt Original repository path: experiments/theory-contracts/elliptic-moebius-source-bridge-20261026/boundary_origin_20261027/source/check_three_cabled_seam.py Original file SHA-256: 730e457fa4b009dd899a3909ddc1c745db9ed5a28220d3b63b5374c14f026286 Inclusive original lines: 1-181 Line numbers below refer to the original source. This bounded excerpt is source evidence; it is not a new proof/checker run. Conversation metadata and personal execution details are omitted where indicated. 000001 | #!/usr/bin/env python3 000002 | """Finite algebraic test for the three-cabled seam and its jet quotient. 000003 | 000004 | The Hardy/Fredholm statement is proved analytically in the accompanying text. 000005 | This script only checks its finite polynomial truncations and the induced 000006 | c, Q, and beta characters on the explicit cokernel. 000007 | """ 000008 | import json 000009 | from pathlib import Path 000010 | 000011 | import sympy as sp 000012 | 000013 | 000014 | SHEETS = 3 000015 | TRUNCATION_DEGREE = 6 000016 | WINDINGS = range(1, 9) 000017 | I = sp.I 000018 | ZETA8 = (1 + I) / sp.sqrt(2) 000019 | 000020 | 000021 | def basis_index(sheet, degree, degree_bound): 000022 | return sheet * degree_bound + degree 000023 | 000024 | 000025 | def multiplication_matrix(n, degree=TRUNCATION_DEGREE): 000026 | """Matrix of z^n: (C[z]_ (C[z]_(a+1,j)", 000169 | "Q_reference": "(a,j)->(-a,j) with phase i^j", 000170 | "Q_spin": "(a,j)->(-a,j) with phase zeta8*i^j", 000171 | }, 000172 | "cases": cases, 000173 | "checks": checks, 000174 | "checks_passed": not errors, 000175 | "errors": errors, 000176 | } 000177 | 000178 | output = json.dumps(payload, indent=2, sort_keys=True) + "\n" 000179 | Path(__file__).with_name("three-cabled-seam.json").write_text(output) 000180 | print(output, end="") 000181 | raise SystemExit(0 if not errors else 1)