Atelier des rouesLab FR
Objects/Algebra
Algebra

The operator machine

Which operations extract primes from the multiplicative structure of the integers?

1/4 Educational or exploratory value AI-assisted literature assessment · one reading

I use quaternion coordinates and the shift–dilation identity as explanatory examples: Hamilton’s multiplication rules already give the sign terms, and DₚT=TᵖD follows directly from the definitions. The prime-count inversion is classical too. The strongest bounded observation is one state-count reversal between vertex orders on Zachary’s 34-vertex graph. It may warn a compiler heuristic, but establishes no general width–work relation; I would test held-out graphs and define the state measure.

On a new Species of Imaginary Quantities connected with a Theory of Quaternions — William Rowan Hamilton · An Information Flow Model for Conflict and Fission in Small Groups — Wayne W. Zachary · Ueber die Anzahl der Primzahlen unter einer gegebenen Grosse — Bernhard Riemann

How I rate results

Changing the operation

I write T(x)=x+1 and Dₚ(x)=px. Their composition satisfies DₚT=TᵖDₚ. Hamilton’s example prompted me to ask which coordinates make a composition easy to evaluate. With Q₈, three binary wheels encode (−1)ˢ iᵃ jᵇ. Composing this with (−1)ᵗ iᶜ jᵈ gives coordinates (s+t+bc+ac+bd, a+c, b+d) modulo two. The term bc records moving j past i. The other two sign terms record i²=j²=−1. The accompanying check covers all 512 triples. Voight, Quaternion Algebras · Q₈ checks

Counting primitive objects

In the formal logarithm of the Euler product, each prime power pʲ contributes weight 1/j. Let J(X) sum these weights through X. Möbius inversion gives π(X)=Σ μ(j)J(⌊X^(1/j)⌋)/j for 1 ≤ j ≤ log₂ X. Grouping by exponent cancels every power of degree greater than one. The integer quotients ⌊X/i⌋ take only O(√X) distinct values. NIST, Möbius inversion

My prototype evaluates truncated convolutions on quotient states and modular classes. At one million it recovers 78,498 primes. A modular-margin benchmark also gave a negative result: a smaller integer basis took longer to update. I want to identify query families in which a smaller representation reduces operations after preprocessing is included. Hirsch, Kessler and Mendlovic

My question about the appearance of primes

I am looking for a structure in which the appearance of primes follows from simple relations between states. The choice of states and composition is open. To test a proposal I will specify its inputs, its next-state rule and the first address at which its prediction could be falsified. I will then compare its rank with true prime ranks and account for the information used in preparing the machine. This question also motivates my work on the limits of a finite wheel. Selecting an actual prime

Changing module or query order

I keep microstate identities under module permutation. Cardinality is preserved and an individual rank can change. I test the heuristic on 120 orders of a small model. For threshold batches I can prove optimal partitions when cost is affine in the span. Frontier · Anchors

Composing guarantees with explicit interfaces

I attach a set of scenarios to each transition and join compatible ports only. I take unions across alternatives and intersections along a sequence. Set-valued matrix multiplication specializes an established algebra. I check 16 outputs by direct walks over four scenarios. Forgetting ports introduces two false scenarios in my counterexample. Code and prior work · Register entry

Width alone does not predict compilation work

I use the unweighted Zachary graph with 34 vertices and 78 edges. An edge is covered when at least one endpoint is excluded. I recover 13,393,054 independent sets by splitting vertices in half. In the supplied compilation the width-57 order visits 1,982 states versus 151,045 at width 33 in natural order. I use an observed graph for a combinatorial task. Code and prior work · Register entry

Reproduce the experiment

In II/src, primitives.py implements the convolution logarithm. See test_primitives.py for runnable checks.

Download research files ↓

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.