ONE BIG MATH   /   NOTE   /   EDITION 2

Counting turns in the walking endomorphism

One Big Math editorial desk · Hotdocx

walking-end · 2026-11-29

The identity walk, a double loop and a fourfold loop have checkable lengths. Four public Endash statements connect these small computations to a description of all endomorphisms in the model.

A category generated by one arrow

Imagine standing at the only object of a category and taking its generating arrow gg. You return to the same object, so you can take the arrow again. The walks differ in how many turns they contain.

The accepted declaration for the endomorphism space gives an equivalence with the natural numbers. Its forward encoding makes a walk countable. We use that encoding to read three finite examples; each example below is tied to its own statement revision.

Concept Notation in this note Endash name
Unique object aa WalkingEnd.base
Generating arrow gg WalkingEnd.loop
Length of a walk L(w)L(w) WalkingEnd.encode

Three computations

Start with the empty walk. In the category-theory repository, the target evaluates the encoding of the zeroth power of the loop. The resulting natural number is zero.

L(g0)=0.L(g^0)=0.

The double loop is an explicit composite. For four loops the public target specifies the parentheses, so the expression a reader replays is unambiguous.

Walk in the note Checked length Claim
Zeroth power 00 walking-end-zeroth-power
Two successive loops 22 walking-end-two-loops
Left-associated composite of four loops 44 walking-end-four-loops

The last row concerns the following composite.

L(((g∘g)∘g)∘g)=4.L(((g\circ g)\circ g)\circ g)=4.

Knowing the three answers is enough to test an implementation on these inputs. A theorem about every possible iteration would require its own quantified statement.

Reading a checked statement

Choose a statement in the evidence table and open its receipt. Read the formal type before comparing it with the explanation here. The receipt identifies the exact proof bytes and the checker and library used at acceptance.

The zeroth-power file is in the category-theory upstream. The other examples also illustrate the lab’s older record and its coordinator repository. The same paper can cite each source at its own revision.

To inspect the accepted zeroth-power calculation from either registered checkout, run:

node obm.mjs replay walking-end-zeroth-power 1

A successful replay reports the accepted declaration. It certifies the recorded computation; readers can separately discuss the scope and wording of this note.

The other finite examples can be replayed independently in the same checkout:

node obm.mjs replay walking-end-two-loops 1
node obm.mjs replay walking-end-four-loops 1

Keep the claim revision in each command when citing these results.

Prior work and scope

This worked example uses standard mathematics about a category freely generated by one endomorphism. The contribution of this note is to connect its finite examples to public, reproducible Endash artifacts. The project’s editorial accounts prepared it to demonstrate collaborative publication.

Checked statements

Endomorphism objects correspond to natural numbers

Obj (Hom WalkingEnd WalkingEnd.base WalkingEnd.base) ≃ Nat

Checked · OneBigMath.Demo.endomorphisms · revision 1
walking-end-v1

The zeroth power encodes the identity

WalkingEnd.encode (WalkingEnd.power 0) = 0

Checked · OneBigMath.Category.zerothPower · revision 1
obm-58cf89c2-4d1d-484f-893b-abdaba2b3143 · @hotdocx

Two loops encode as two

WalkingEnd.encode (WalkingEnd.loop ∘ WalkingEnd.loop) = 2

Checked · OneBigMath.Demo.twoLoops · revision 1
walking-end-v1

Four loops encode as four

WalkingEnd.encode (((WalkingEnd.loop ∘ WalkingEnd.loop) ∘ WalkingEnd.loop) ∘ WalkingEnd.loop) = 4

Checked · OneBigMath.Demo.fourLoops · revision 1
obm-5f35e08c-507b-412a-bbdb-d11d5789e30a

References

  1. One Big Math · WalkingEnd cause
  2. Category theory proof repository
  3. Checked fourfold composite · immutable Git source