{
  "schema": "one-big-math.paper-edition.v1",
  "canonical": "https://hotdocx.github.io/lab/papers/read/?paper=counting-turns-in-the-walking-endomorphism&revision=2",
  "document": {
    "format": 1,
    "slug": "counting-turns-in-the-walking-endomorphism",
    "revision": 2,
    "mission": "walking-end",
    "publishedAt": "2026-11-29T20:18:01.225Z",
    "authors": [
      "One Big Math editorial desk",
      "Hotdocx"
    ],
    "manuscript": {
      "kind": "note",
      "title": "Counting turns in the walking endomorphism",
      "summary": "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.",
      "sections": [
        {
          "title": "A category generated by one arrow",
          "body": "Imagine standing at the only object of a category and taking its generating arrow $g$. You return to the same object, so you can take the arrow again. The walks differ in how many turns they contain.\n\nThe 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.\n\n| Concept | Notation in this note | Endash name |\n| --- | --- | --- |\n| Unique object | $a$ | `WalkingEnd.base` |\n| Generating arrow | $g$ | `WalkingEnd.loop` |\n| Length of a walk | $L(w)$ | `WalkingEnd.encode` |",
          "state": "ready"
        },
        {
          "title": "Three computations",
          "body": "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.\n\n$$L(g^0)=0.$$\n\nThe double loop is an explicit composite. For four loops the public target specifies the parentheses, so the expression a reader replays is unambiguous.\n\n| Walk in the note | Checked length | Claim |\n| --- | --- | --- |\n| Zeroth power | $0$ | `walking-end-zeroth-power` |\n| Two successive loops | $2$ | `walking-end-two-loops` |\n| Left-associated composite of four loops | $4$ | `walking-end-four-loops` |\n\nThe last row concerns the following composite.\n\n$$L(((g\\circ g)\\circ g)\\circ g)=4.$$\n\nKnowing the three answers is enough to test an implementation on these inputs. A theorem about every possible iteration would require its own quantified statement.",
          "state": "ready"
        },
        {
          "title": "Reading a checked statement",
          "body": "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.\n\nThe 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.\n\nTo inspect the accepted zeroth-power calculation from either registered checkout, run:\n\n```sh\nnode obm.mjs replay walking-end-zeroth-power 1\n```\n\nA successful replay reports the accepted declaration. It certifies the recorded computation; readers can separately discuss the scope and wording of this note.\n\nThe other finite examples can be replayed independently in the same checkout:\n\n```sh\nnode obm.mjs replay walking-end-two-loops 1\nnode obm.mjs replay walking-end-four-loops 1\n```\n\nKeep the claim revision in each command when citing these results.",
          "state": "ready"
        }
      ],
      "claims": [
        {
          "id": "walking-end-endomorphisms",
          "revision": 1
        },
        {
          "id": "walking-end-zeroth-power",
          "revision": 1
        },
        {
          "id": "walking-end-two-loops",
          "revision": 1
        },
        {
          "id": "walking-end-four-loops",
          "revision": 1
        }
      ],
      "references": [
        {
          "title": "One Big Math · WalkingEnd cause",
          "url": "https://hotdocx.github.io/lab/missions/walking-end"
        },
        {
          "title": "Category theory proof repository",
          "url": "https://github.com/hotdocx/one-big-math-category-theory"
        },
        {
          "title": "Checked fourfold composite · immutable Git source",
          "url": "https://github.com/hotdocx/one-big-math-proofs/blob/6ffdd5ad608c4ad229ce580d9f0004b51dee198f/proofs/walking-end/four-loops.en"
        }
      ],
      "priorWork": "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.",
      "releaseNote": "Added the replay commands for the double and fourfold composites and a versioned link to the fourfold proof."
    },
    "claims": [
      {
        "id": "walking-end-endomorphisms",
        "revision": 1,
        "title": "Endomorphism objects correspond to natural numbers",
        "statement": "Obj (Hom WalkingEnd WalkingEnd.base WalkingEnd.base) ≃ Nat",
        "declaration": "OneBigMath.Demo.endomorphisms",
        "receipt": "walking-end-v1",
        "targetHash": "dd6bfd229ad392a5b8cc9d1d459bfd62d0a0da4cc24e5b24a8eecdcd4496095c",
        "proofHash": "a7aa7edc259527cc0ba5eedcf014a750ae22c2399a2f83109773b7eb2e7e0f97",
        "environment": "env-a71e424c21666fb32e038582027027f0660b621507e6b940ec0b6abe0f9564a9",
        "verdict": "Checked",
        "contributor": null,
        "source": null,
        "prerequisites": []
      },
      {
        "id": "walking-end-zeroth-power",
        "revision": 1,
        "title": "The zeroth power encodes the identity",
        "statement": "WalkingEnd.encode (WalkingEnd.power 0) = 0",
        "declaration": "OneBigMath.Category.zerothPower",
        "receipt": "obm-58cf89c2-4d1d-484f-893b-abdaba2b3143",
        "targetHash": "4a6bf2f0f2742d961b00f923015636653a401a97f35920c5330182475dad86bd",
        "proofHash": "820e18893635e51ec14d0278efb798e10ee1df43737be871ce0a27f5641c7e0d",
        "environment": "env-c8e1b1154b6fbdc67de1ddf458d80e3aa507f59f568798dc419713a0607965ca",
        "verdict": "Checked",
        "contributor": "hotdocx",
        "source": "https://github.com/hotdocx/one-big-math-category-theory/blob/b77fe8eb58f817f546105519cb8a74c399857e27/proofs/walking-end/zeroth-power.en",
        "prerequisites": []
      },
      {
        "id": "walking-end-two-loops",
        "revision": 1,
        "title": "Two loops encode as two",
        "statement": "WalkingEnd.encode (WalkingEnd.loop ∘ WalkingEnd.loop) = 2",
        "declaration": "OneBigMath.Demo.twoLoops",
        "receipt": "walking-end-v1",
        "targetHash": "dd6bfd229ad392a5b8cc9d1d459bfd62d0a0da4cc24e5b24a8eecdcd4496095c",
        "proofHash": "a7aa7edc259527cc0ba5eedcf014a750ae22c2399a2f83109773b7eb2e7e0f97",
        "environment": "env-a71e424c21666fb32e038582027027f0660b621507e6b940ec0b6abe0f9564a9",
        "verdict": "Checked",
        "contributor": null,
        "source": null,
        "prerequisites": []
      },
      {
        "id": "walking-end-four-loops",
        "revision": 1,
        "title": "Four loops encode as four",
        "statement": "WalkingEnd.encode (((WalkingEnd.loop ∘ WalkingEnd.loop) ∘ WalkingEnd.loop) ∘ WalkingEnd.loop) = 4",
        "declaration": "OneBigMath.Demo.fourLoops",
        "receipt": "obm-5f35e08c-507b-412a-bbdb-d11d5789e30a",
        "targetHash": "24bb0e4b67c4a852847e68a44f1ab6e08b3bf68c122436809bd41cdd6e89385e",
        "proofHash": "b9bb32934420b62c0416c78e913c9831bebcc326b2c46a1be821579c5029cb7e",
        "environment": "env-c8e1b1154b6fbdc67de1ddf458d80e3aa507f59f568798dc419713a0607965ca",
        "verdict": "Checked",
        "contributor": null,
        "source": "https://github.com/hotdocx/one-big-math-proofs/blob/6ffdd5ad608c4ad229ce580d9f0004b51dee198f/proofs/walking-end/four-loops.en",
        "prerequisites": []
      }
    ]
  },
  "renderer": "Chromium 143.0.7499.4 / KaTeX 0.16.47 / layout 1 @sha256:18c025dcd7c4a2afe4fa25119bc02bd47dd9d0365908ec9d2626412176449cec",
  "pages": 3,
  "artifacts": {
    "pdf": {
      "sha256": "e427700a8353b9dffecc2d72322afcbb36ea84fca119a735fe850049f1d64834",
      "bytes": 142164
    },
    "md": {
      "sha256": "49b5f020d7d27b1b16bc23784e342b0f7c6bb57105cdc043853c0893091292dc",
      "bytes": 4445
    },
    "tex": {
      "sha256": "734140c63fd2550804c6bb58d13752523c780db62898e116671b43b1da43552f",
      "bytes": 5012
    }
  }
}
