verify_shor_witness
QC-001 Shor witness certifier. Presented (N, halfPow, factor, cofactor) as decimal strings. halfPow squared == 1 (mod N), halfPow != 1 or N-1, gcd(halfPow-1,N)=factor, factor*cofactor=N. Does not find a period. Optional q_hex/object is a Q-only Affine expose (no k): returns patoshi_expose + shors_qmt_witness + topological_shear. period_r carries an ECDLP scalar or is empty; the Affine period turn's companion images travel as c1_recon_hex/c3_add_hex inside topological_shear, never as period_r. Verdict on a Q expose is the measured jordan_proven tag. Floats refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| N | No | ||
| q_hex | No | optional Affine Q hex; Q-only expose envelope; no k | |
| factor | No | ||
| object | No | alias of q_hex | |
| halfPow | No | ||
| cofactor | No |