AFTD Auto-Formalizing Theoretical Domains

op75_compact_block

def

Seven width-three hidden layers for one nonnegative integer weight in the one-pass subset-sum construction.

Statement

def op75_compact_block (a : ℕ) : List (ReLUHiddenLayer 3)
Source
OP-75, arXiv:2610.06092; explicit seven-layer single-pass subset-sum construction.
Verified
15 Nov 2026
Axioms
none listed
Built on 2
  • op75_compact_layerA width-three hidden layer formed from a rational three-by-three matrix and rational bias vector.
  • ReLUHiddenLayerA hidden layer of width k consists of a k-by-k rational weight matrix and a rational bias vector of length k.
Used by 5
  • op75_compact_block_effectFor an input in the unit interval and a nonnegative accumulator, the seven-layer block for a nonnegative integer weight transforms the…
  • op75_network_evalFor a unit-interval input, the explicit subset-sum network evaluates to the final orbit coordinate plus the absolute difference between…
  • op75_block_encoding_templateThe seven-layer block encoding is a fixed prefix, the positive coefficient encoding, a fixed middle, the negative coefficient encoding,…
  • op75_compact_networkThe width-three network obtained by concatenating a seven-layer block for each integer weight, followed by the final target-checking layer…
  • op75_fold_blocksFor a nonnegative initial accumulator and an initial point in the unit interval, folding the seven-layer blocks gives the final orbit…

Lean source view module on GitHub

def op75_compact_block (a : ℕ) : List (ReLUHiddenLayer 3) :=   [ op75_compact_layer ![![1,0,0],![0,1,0],![4,0,0]] ![0,0,-1],
    op75_compact_layer ![![1,0,0],![0,1,(a:ℚ)],![4,0,0]] ![0,0,-2],
    op75_compact_layer ![![1,0,0],![0,1,-(a:ℚ)],![0,0,0]] ![0,0,0],
    op75_compact_layer ![![1,0,0],![0,1,0],![8,0,0]] ![0,0,-6],
    op75_compact_layer ![![1,0,0],![0,1,0],![8,0,-1]] ![0,0,-3],
    op75_compact_layer ![![1,0,0],![0,1,0],![-4,0,1]] ![0,0,1],
    op75_compact_layer ![![0,0,-1],![0,1,0],![0,0,0]] ![1,0,0] ]
See it in the graphDiscuss this resultChallenge it