Mirrored from https://github.com/AHMADALIPARR/PIRTM at commit
784ed88. Part of the SnapKitty October 2026 main drop.
PIRTM
Prime-Indexed Recursive Tensor Mathematics โ a compiler IR for tensor
programs lowering to Goldilocks field arithmetic circuits (p = 2โถโด โ 2ยณยฒ + 1).
This repo hosts an Alloy counter-paper against the HCALC verification logs.
The claim, in full
github.com/AHMADALIPARR/hcalc ships Alloy 6.2.0 logs reporting
UNSAT (PASS) for A1โA7, P1โP8, and ten INV_* invariants โ
presented as verification of the sealed properties.
Documented findings (all reproduced, see
paper/counter-paper.md):
- Every assertion is formula-identical to an enforced fact. A1 asserts
declaredCard = 64; the fact setsdeclaredCard = 64. P2 assertsisDiagonal = 1 โง alphaLaw = SpecAlphaLaw; the fact sets both. Same for A6, A7, P4, INV_converge, INV_evolution_total โ see ยง2 of the paper. - The model checks flags, not mathematics. The 64 primes are an Int
constant; the "Gershgorin bound" and "operator norm โค 1โฮต" are Int
flags (
opBoundOK = 1);ฮฑโฑผ = 1/(1+log pโฑผ)is an uninterpreted atomSpecAlphaLaw. No prime value, logarithm, or norm is ever computed. - The method cannot distinguish truth from falsehood. Exhibit A
(
alloy/vacuity-demo.als) runs the identical pattern on a false claim โMoon.madeOfCheese = 1โ and Alloy returnsUNSAT. - Falsifiability is what's missing. Exhibit B
(
alloy/hcalc-mirror.als) mirrors the real A7/P2 pairs and adds a control check whose fact models a generator, not the conclusion โ the shape a genuine verification takes. - What is NOT disputed: the HCALC definitions, the mathematics, or
the Lean 4 formalization (1968 jobs, zero
sorryโ genuine proof, credited in full). Only what the Alloy logs are claimed to establish.
Until the checks can fail, every UNSAT (PASS) reads as
TAUTOLOGY (UNINFORMATIVE).
Reproduce
java -jar alloy.jar exec -f -t text alloy/vacuity-demo.als
java -jar alloy.jar exec -f -t text alloy/hcalc-mirror.als
Alloy 6.2.0 jar bundled. Full argument:
paper/counter-paper.md.
License
AGPL-3.0-only. Copyright (C) 2026 Ahmad Ali Parr.
๐ผ Commercial License
SnapKitty code is free and open under AGPL-3.0 for open-source use. Building a commercial product or service? A proprietary commercial license from Snapkitty Collective LLC lets you ship this code without the AGPL's source-sharing and network-use obligations.