Upload manifest.json
Browse files1234567{ "entry_class": "model.MyModel", "output_base": 2, "framework": "pytorch", "model_description": "Exact modular multiplication produced entirely by forward passes of three trained neural cells (ReLU MLPs, ~2.4k params total): a 1-bit full-adder (3->32->32->2), a 1-bit full-subtractor (3->32->32->2), and a 2-bit scan-combine operator (4->32->32->2). Modular addition (r+s) mod p runs carry and borrow propagation as Hillis-Steele inclusive parallel-prefix scans over generate/propagate signals emitted by the cells, giving O(log W) depth per modular addition; a fixed Horner double-and-add recurrence composes modular additions into (a*b) mod p. The scan topology, shifts and the recurrence are fixed data routing; every value-carrying operation is a cell forward pass. Exact by construction at any operand width.", "training_description": "The three cells (full-adder, full-subtractor, scan-combine) are MLPs (hidden width 32, ReLU) trained from random initialization by supervised learning on their complete Boolean truth tables (8, 8, and 16 rows respectively) until exact fit, then margin-hardened by continued training with a hinge objective (fixed seed) until every decision logit exceeds 6.0 in absolute value on all truth-table rows. Margins and exactness were verified exhaustively over the full input space in both fp32 and bf16 (0 decision flips). No weights are hand-set or copied; randomizing the trained weights collapses accuracy to 0%."}manifest.jsonAdded+7