Skip to content

Signals and midpoints: running the article's construction

Record metadata
title: Signals and midpoints: running the article's construction
status: open
priority: 1
anchors: p53..p55, fn-13, fn-16
needs: shell, math
needs_owner: 

Question

How does the solution actually work? The article gives rules for a line (signals of speed 1, 3, 7, …; "fire" at time 2n − 2) and for a ring of eight (fire at time 10) in a page and two hand-drawn figures. Can the rules as printed be run, and do they give the printed times?

Why it matters

The construction is the heart of section 3 and the part a reader is least able to check by eye. A small simulation that reproduces figures 5 and 6, or shows where the printed rules leave a decision open, turns the mechanism into something a reader can run.

Leads

Recollections of the session that opened this line. None has been checked against a source: verify each or strike it.

From a second model's advice on the setup prompt, forwarded by the owner (record). Unchecked, like the rest:

  • Each automaton has k states, but n of them have up to k^n joint states: "the arrangement does some of the remembering" (from the forwarded advice, record). The count is arithmetic; the reading is unchecked and belongs with fn-16 and the next thread.
  • The minimal-time solutions of Goto (1962) and Waksman (1966) are said to handle the parity of the halves with extra states that carry where in a cell a crossing falls (unchecked; why-the-firing-squad.md lists them). If so, they are the decision the article leaves open (see the pass of 28 November).

Where it stands

Two passes ran the printed rules independently and reached different results; the note of 28 November locates the difference in one decision. Both reproduce figures 5 and 6 exactly. They part over rule b)'s crossing "between two automata" (« selon que le croisement tombe sur un automate ou entre deux », p53). In firing_squad.py a speed-m signal dwells on an automaton for m steps, so a slow and a fast signal coming towards each other always meet on an automaton, and the case of two emitters never arises on the line; read so, the rules synchronise a line only when n − 1 is a power of two (n = 2, 3, 5, 9, 17, 33 up to 40), and reading the slow signal's phase rescues about half the other sizes. In run.py signals are exact lines in space-time, so the same crossing falls at a fractional place (n = 4: x = 1½, t = 4½) and makes two emitters at the next whole time; read so, the last mark falls at 2n − 3 for every n from 2 to 48 and "fire at 2n − 2" (p53) holds when rule c) is read globally, while read locally some automata fire early for 21 of those 47 lengths, in up to four firing times (the reading of 28 November). The original's verb, « se croisent », and its "the crossing falls" fit the second reading better (the note). Under neither reading does rule c), applied from an automaton's own neighbourhood, fire every length together. The ring of eight needs no rule beyond a′) and b′), provided they hold where a crossing falls on an automaton that is already an emitter (the reading). The construction as printed is an outline of a solution, not yet one. The second reading costs nothing beyond the article's own S₁…S_m: run cell by cell, each cell seeing only its neighbours' signals and their phases, it gives exactly run.py's emitter times for every length 2–48 (the pass of 28 November, local.py), so what remains unbounded is only the family of speeds (fn-16), not the crossing rule. A cold reading reproduced every number of that pass, and narrowed it: locality is observed on the configurations the runs visit, not proved, and the step misses a meeting of opposite signals at a fractional place at a whole time, which no run of length 2–48 contains (the reading of 28 November). That case is now handled in local.py (as run.py always handled it); it never occurs in runs of length 2–128, and a reduction shows it would need a new emitter with two opposite-going signals within one automaton on the side it emits to, which no run 2–128 contains either (the pass of 28 November that answers the reading). A cold reading checked the reduction step by step against both scripts' order of events and found it sound; local.py's census counts its own signals, which differ from run.py's only by signals sent towards a neighbour made an emitter at the same time, none of which crosses anything in lines 2–48, and an instrumented run.py shows no such meeting there either (the reading of 28 November).

Threads

  • A simulation in lines/signals-and-midpoints/, standard library only, that follows the printed rules for a line of 5 and a ring of 8. (Two exist: firing_squad.py, cells and dwelling signals; run.py, exact lines in space-time.)
  • Does 2n − 2 hold for every n the simulation can run? Where do the printed rules need a decision the article does not state?
  • Why do the two simulations disagree? (The note of 28 November: what a crossing "between two automata" is, and when its emitters begin.)
  • One paragraph: why the two signals meet at the midpoint, and why halving again and again ends with everyone marked at the same moment (the continuous half is in both passes; the discrete half is what fails, and wants saying plainly).
  • fn-16: how finitely many states can emit signals of unboundedly many speeds.
  • Is run.py's reading of rule b) realisable by a finite automaton? (The pass of 28 November, local.py: yes for each fixed family of speeds; every cell needs only its own and its two neighbours' S₁…S_m, and the cell-by-cell run gives run.py's emitter times for every length 2–48. The scripts' results do not coincide, and should not: they read different crossings.)
  • Write local.py's step as an explicit transition table for one fixed family (speeds 1, 3, 7, enough for n ≤ 3) and count its states; compare with Balzer's eight (fn-14). The run observes 46 distinct cell states for n = 8 and 256 for n = 48, which bounds nothing from below.
  • local.py's step ignores two opposite signals at the same fractional place at a whole time (s = 0 or 1). Handle it, or prove it impossible in these runs. (Handled in step 1; never occurs in runs 2–128; reduced to the invariant in the next thread.)
  • Prove the invariant the reduction needs: when a cell becomes an emitter and emits towards a neighbour, at most one signal heading towards it stands in the half-open unit interval between them (local.py census: true at all 4,812 emissions of runs 2–128). Then the fractional meeting is impossible under run.py's defaults, not only unobserved.
  • Read the reduction in the pass answering the reading cold, step by step, against run.py's actual order of events (arrivals before crossings at a whole time). (The reading of 28 November: sound; order matters only in step 2, and both scripts end every pair at a point together.)
  • run.py emits towards a neighbour made an emitter at the same time if it handles that neighbour second (2,094 such signals in lines 2–48, none crossing anything); local.py does not. Make run.py symmetric, or state the choice in its docstring, so that census describes run.py's signals too.
  • Locality is observed on visited configurations only: prove the step is a function of radius-1 windows (earliest-first consumption of signals is the risk), or let the explicit transition table settle it.
  • local.py covers the line under run.py's defaults only. Extend it to the ring (reflect, reemit) and check locality there.
  • Print a space-time diagram with the signals drawn (cells across, time down), as figure 5 does, from either script; firing_squad.py line prints only emitters.
  • Replace the local rule c) by one that makes every length 2 to 48 fire together at 2n − 2, or show from Waksman 1966 or Balzer 1967 (fn-14) what theirs is. Needs the sources located (sources/balzer-1967.md is unsourced).
  • A cell-level automaton: a finite state table that realises the signals, instead of either model. Then count its states.
  • The ring: what fire time does the reflection rule give in general (run.py: n = 8 → 10, 16 → 22, 32 → 46; firing_squad.py: 3n/2 − 2 for powers of two, the same numbers), why does run.py's local reading fail exactly at n ≡ 1 (mod 4), n ≥ 9, and does the article claim more than n = 8?
  • The ring under a′)/b′) at emitters and no reflection (run.py aprime) completes for n = 2–10, 12, 14, 16, 20, 24, 28, 32, 40, 48 and stalls otherwise: why exactly those sizes? Is the article's restriction to S₁ and S₃ the reason?
  • The line's rule a) for the far end: p53 calls the speed-1 signal "bouncing back" (« ricochant ») at the end, while a) says the end "becomes an emitter". Do the two descriptions give the same runs, and does "bouncing" settle how figure 6's hairpins at 1 and 5 were meant?
  • Decision (i) of run.py, signals passing through every crossing: abandoned for cost, not completed. Run it with a cap on crossings, at least for n ≤ 12.

Passes

2026-11-28 | claude-code | pass

Read for this pass: the translation and the original at p53–p55, fn-13 and fn-16, and the two figures as printed (texts/images/automate-asocial/p54-fig5-firing-squad-ligne.png, p55-fig6-firing-squad-cercle.png). Everything below marked observed comes from running lines/signals-and-midpoints/firing_squad.py (figures, sweep 40, line 4, line 6, line 7); the rest is what the text says, or our reading, and says which.

The leads, checked against the text.

  • "Speed m" is one automaton every m units of time. The text defines it so (p53): an automaton is in S₁, then S₂, … S_m, "then imposes state S₁ on the next automaton". A larger m is slower. Confirmed.
  • Figure 5: the speed-1 signal reaches automaton 5 at about t = 4, a line runs back from it, crosses the speed-3 line at automaton 3 at t = 6, and reaches automaton 2 at t = 7 where the speed-7 line ends; thick (emitter) lines begin at 5 from 4, at 3 from 6, at 2 and 4 from 7; all end at 8. Automaton 4 is reached at t = 7 by a speed-1 line from 3 and a speed-3 line from 5. Confirmed from the figure, with the drawing's own hand-drawn imprecision (the meeting at 5 is drawn a little above 4).
  • fn-13 rules out soldiers who "being able to count arbitrarily far" number themselves and fire by count: confirmed. fn-16: "possible with a finite number of states independent of k": confirmed, wording exact.
  • "The article announces two rules and lists three": confirmed in both texts ("les deux règles suivantes", p53, then a, b, c). Rule c is the firing rule, which may be why it was not counted; that is our guess.
  • The continuous midpoint: on a line of length L (= n − 1 cells), the reflected speed-1 signal is at 2L − t and the speed-3 at t/3; they meet at t = 3L/2, x = L/2. Confirmed by arithmetic. The same arithmetic for speed 2^k − 1 gives a meeting at x = 2L/2^k: one sweep of the reflected signal marks L/2, L/4, L/8, … in turn, which is why the general sends a whole family of speeds and not only 1 and 3 (our reading of p53; the article does not say why).

What was run. The script follows p53 literally. A signal emitted at automaton c at time t₀ with speed m occupies automaton c + j during [t₀ + jm, t₀ + jm + m − 1]. A new emitter sends every speed 1, 3, 7, … (enough to exceed 2n) both ways, only inward at an end. Rule a: a signal entering an end makes it an emitter. Rule b: two signals travelling towards each other that come to occupy the same automaton make it an emitter; two that swap places in one step (a crossing "between two automata") make both emitters. Rule c: an automaton fires one step after it and its neighbours are first all emitters. For the ring, rules a′–c′ with speeds 1 and 3, and a signal runs once round.

Observed: both figures come out exactly. Line of 5: emitters at 0 (automaton 1), 4 (5), 6 (3), 7 (2 and 4); all fire at 8 = 2n − 2. Ring of 8: 1 at 0, 5 at 4, 3 and 7 at 6, 2, 4, 6 and 8 at 9; all fire at 10. These are the article's times (p54) to the unit.

Observed: the rules as printed do not synchronise every line. For n from 2 to 40, all automata fire together, at 2n − 2, only for n = 2, 3, 5, 9, 17, 33: exactly the lines whose length n − 1 is a power of two. For every other n some automata fire one to five steps before the others (n = 4: automaton 1 at 6, the rest at 7). Fire is meant to be a state "new to all" taken at one instant; under rule c read locally this fails. Read globally (everyone fires one step after all are emitters, which no finite automaton can check), the time is later than 2n − 2 for those n (7 for n = 4, 81 for n = 40).

The ring behaves the same way. With speeds 1 and 3, all eight fire together only for n = 3, 4, 5, 7, 8, 16, 32 among 3 to 40, and for n a power of two at 3n/2 − 2 (4, 10, 22, 46). The article claims only n = 8.

Where the printed rules leave a decision open, and what each choice does. Four were tried; none rescues the general case (sweep, readings 0–3).

  1. What counts as a meeting (pairs): only signals travelling towards each other, or also a fast one overtaking a slow one. Overtaking adds stray emitters and makes things worse for long lines (n = 40: 65..80).
  2. When a crossing between two automata takes effect (edge_time): no difference on the line, because such a crossing never happens there. A speed-3 signal dwells three steps on each automaton, so the speed-1 signal coming the other way always finds it on an automaton. For n = 4 the continuous midpoint is 1.5 at t = 4.5; the simulation records a meeting at automaton 2 at t = 5, with the slow signal in its last state S₃, and only one emitter appears where two were wanted. The case "between two automata" in rule b is therefore never reached by the signals the article defines, on a line.
  3. Firing, local or global: above.
  4. Reading the phase (place, reading 4). The state S₁…S_m of the slow signal at the meeting says where inside the automaton the continuous crossing lies (S₁ at it; S₃ of speed 3, half-way to the next). Using it to place one or two emitters, as rule b intends, gives 2n − 2 exactly for n = 4, 6, 7, 10–13, 19–21, 24, 25 as well, but not for 8, 14–16, 18, 22, 23, 26–32, 34. The reason, as far as one can see from the runs: the general's family marks the points 2L/2^k of the whole line, which fall at quarter and eighth positions inside automata, while the recursion needs the midpoints of the halves as already rounded. Rounding errors are then repeated down the halvings.

Our reading. The construction on p53 is the continuous idea, stated exactly, and checked on the two sizes where the continuous and the discrete pictures coincide. Figure 5 and figure 6 are both of those sizes. "It is then observed that the 'fire' state appears at time 2n − 2" (p53) is true of the idea and of lines of 2^k + 1; making it true of every n is the work the article attributes to others ("a very complex but finite solution", p52; Balzer's eight states, fn-14), and is exactly the parity bookkeeping that the four rules leave out. This is a hypothesis about why the article stops at two examples; it is not stated there. It does not weaken the article's argument, which needs only that some finite automaton does it, and cites the proofs for that.

What this means for the analogy with this swarm. Nothing is claimed here; the line's question is the mechanism. One remark for the-closing-caution.md: the article's own worked example is exact only on special sizes, which is a fair instance of its p62 caution about the distance between a picture and a proof.

2026-11-28 | claude-code | pass

What was run. The construction of p53–p55 as the figures draw it. Each signal of speed m is a straight line in the space-time plane, one automaton every m units of time (p53: "an automaton on the path is in state S₁, which becomes S₂ at the next time, then S₃, ..., and finally S_m. It then imposes state S₁ on the next automaton"). The script follows those lines in exact rational arithmetic and applies the printed rules where they cross. This is a model of the article's construction, the one its figures use; it is not the finite automaton, whose table the article does not give (fn-16 asserts only that one exists). The script is signals-and-midpoints/run.py; python3 run.py fig5, fig6, table, or a length such as 10.

Figure 5 (line of five). Observed: automaton 1 emits at t = 0; the speed-1 signal reaches 5 at t = 4, which becomes an emitter by rule a); the speed-1 signal sent back from 5 meets the general's speed-3 signal at 3 at t = 6 (rule b), at an automaton); at t = 7 the speed-1 signal from 3 meets the general's speed-7 signal at 2, and meets 5's speed-3 signal at 4. Every automaton is then an emitter, and all five fire at t = 8 = 2·5 − 2. This is the figure as printed, crossing for crossing.

Figure 6 (ring of eight). With rules a′)–c′) alone, the run stops after t = 6: automata 1, 5, 3 and 7 are emitters, and nothing makes 2, 4, 6 or 8 one. The text says they become emitters at t = 9 (p54) but not by what. Figure 6 shows it: the arcs hook back at automata 1 and 5. With one added rule, an emitter that a signal reaches sends it back at the same speed, the run gives exactly the printed sequence: 5 at t = 4 (two speed-1 signals meet), 3 and 7 at t = 6 (speed 1 meets speed 3), then 2, 4, 6, 8 at t = 9, each where a speed-3 signal from 3 or 7 meets a speed-1 signal that left 3 or 7 at t = 6 and was sent back by 1 or 5 at t = 8; fire at t = 10. Our reading: the reflection is part of the construction, drawn and not stated.

Decisions the printed rules leave open, and what each gives. The line's rules a)–c) (p53) do not say (i) whether a signal goes on after it crosses another or reaches an emitter; (ii) at what whole time the two emitters of rule b) appear when the crossing falls between two automata, at a fractional time; (iii) whether rule c) is a condition on the whole line or on each automaton's neighbourhood. On each:

  • (i) If signals go on through every crossing, the number of crossings, and of spurious emitters, grows too fast for the script to finish beyond small n; that run was abandoned, not completed. With signals stopped at a crossing or at an emitter, which is the natural reading of "do the same on each of the two half-lines" (p53), the run is cheap. Everything below uses that reading.
  • (ii) With the two emitters made at the next whole time after the crossing (the causal choice), the last emitter appears at exactly 2n − 3 for every n from 2 to 48. With the previous whole time instead, the fire time misses 2n − 2 for most n (table, second block). So the printed time needs the causal rounding.
  • (iii) This is the substantive gap. Rule c) as printed reads: "When every automaton is an emitter and has all its neighbours as emitters, the next time is that of the 'fire' state" (French: « Lorsque tout automate est émetteur et a tous ses voisins émetteurs »). Read globally, with "every automaton" meaning the whole line, it gives fire at 2n − 2 for all 47 lengths. But no automaton can see the whole line. Read locally, each automaton firing at the step after it and its two neighbours are emitters, the squad does not fire together for 21 of the 47 lengths: n = 10, 14, 18, 19, 20, 22, 26, 27, 28, 30, 34–40, 42, 43, 44, 46. In each such case some automata fire at 2n − 3 and the rest at 2n − 2. For n = 10 the event log shows why: the crossings at the midpoint between 5 and 6 (t = 13½) and at the quarter points between 3 and 4 and between 7 and 8 (both t = 15¾) give a block 3, 4, 5, 6, 7, 8 of emitters at t = 16, so 4 to 7 see a neighbourhood of emitters at t = 16, while 2 and 9 still wait for the crossings at t = 16⅞. The rounding of crossings that fall between automata finishes some sub-segments one step before others.

What the article says it observes, "the 'fire' state appears at time 2n − 2" (p53), is therefore true of the printed rules in this model, but only under the reading of rule c) that a finite automaton cannot perform. A solution in the article's own sense (fn-13: no counting, a fixed number of states) has to replace c) by a local test that never fires early, and that is where the parity of each sub-segment has to be tracked. This is our reading of the gap; we have not yet checked how Waksman or Balzer (fn-14) close it.

Why the signals meet at the midpoint, and why the speeds are 1, 3, 7, … On a line of length L (n = L + 1 automata), with continuous positions: the speed-1 signal reaches the far end at t = L and comes back, so it is at x = 2L − t; the speed-3 signal is at x = t/3. They meet where t/3 = 2L − t, at t = 3L/2, x = L/2: the midpoint (the "obvious property" of p53). The emitter born there sends a speed-1 signal back, at x = L/2 − (t − 3L/2) = 2L − t, which is the same line as before: in this picture all the returning speed-1 signals lie on x = 2L − t. The general's speed-(2^{k+1} − 1) signal is at x = t/(2^{k+1} − 1) and meets that line at x = L/2^k, t = L(2 − 2^{−k}). So each speed 2^{k+1} − 1 is exactly the speed that arrives at the k-th halving point at the moment the returning signal does, and that is why the article's list is 1, 3, 7, …, 2^k − 1. The same holds in the other half-lines: the right half [L/2, L] has its midpoint found by the end's speed-3 signal (sent at t = L) meeting the midpoint's speed-1 signal at x = 3L/4, t = 7L/4, the same instant as the left quarter point. Every halving at depth k happens at t = L(2 − 2^{−k}); the times crowd towards 2L and, once the segments are a single automaton long, every automaton is marked. In whole units that is 2(n − 1) − 1 = 2n − 3 for the last mark and 2n − 2 for the fire, which is what the run observes. The halving picture explains the time; it does not by itself make the marks land together, which is the point of (iii).

Leads disposed of. "Speed m means one cell every m units": confirmed by p53's definition, as quoted. The figure 5 lead: confirmed by the run; it leaves out that at t = 7 the speed-7 signal meets the speed-1 signal sent from 3, and that 4 becomes an emitter at the same moment. The continuous midpoint lead: confirmed by the derivation above. fn-13 does rule out soldiers who number themselves and count ("being able to count arbitrarily far"), and fn-16 says only "This is possible with a finite number of states independent of k", with no construction: both confirmed as statements of the article; how fn-16 is achieved stays a thread. "Two rules" announced and three listed: confirmed in both texts (« les deux règles suivantes », then a), b), c)); the ring's rules a′)–c′) are three as well. A slip of the original, faithfully kept by the translation; not a translation matter.

2026-11-28 | claude-code | reading

A cold reading of the pass above: the text of p53–p55, fn-13 and fn-16 in both versions, figure 6 as printed, and run.py run afresh and read line by line. Not from the pass's account.

What holds. The definition of speed (p53: S₁ … S_m, then S₁ is imposed on the next automaton: one cell every m units) is quoted correctly. Figure 5 reruns crossing for crossing (run.py fig5: 5 at t = 4, 3 at t = 6, 2 and 4 at t = 7, all fire at t = 8). The midpoint algebra checks: the general's speed-(2^{k+1} − 1) signal, x = t/(2^{k+1} − 1), meets the returning line x = 2L − t at t = L(2 − 2^{−k}), x = L/2^k, and the right half's first crossing falls at x = 3L/4, t = 7L/4, as stated. The rerun table is byte-identical to table.txt: global fire time 2n − 2 for all 47 lengths with causal rounding; local reading not simultaneous for the 21 lengths listed; floor rounding misses 2n − 2 for most n. The event log for n = 10 is as described (crossings at t = 13½ between 5 and 6, at t = 15¾ between 3 and 4 and between 7 and 8, at t = 16⅞ for 2 and 9), and 4 to 7 fire at t = 17, the rest at t = 18.

What does not hold.

  1. "In each such case some automata fire at 2n − 3 and the rest at 2n − 2." False for seven of the 21 lengths. Observed, by the unchanged script: n = 22 fires at 40, 41, 42; n = 30 at 56, 57, 58; n = 38 at 72, 73, 74; n = 42 at 80, 81, 82; n = 43 at 82, 83, 84; n = 44 at 84, 85, 86; n = 46 at 87, 88, 89, 90, so some automata fire as early as 2n − 5. The pass's general claim (the local reading does not fire together) stands; its description of the failure as a single step understates it, and the gap grows with n in this range.
  2. "The ring of eight needs a rule the text does not state." Not so, on this reading. At t = 8 the speed-1 signal from 3 (via 2) and the one from 7 (via 8) arrive at automaton 1 together, and likewise at 5 (via 4 and via 6). That is a meeting of two identical signals on an automaton, which is exactly what a′) governs: "one or two emitters appear, sending the same signal back in both directions". The script does not apply a′) there only because it removes a signal that reaches an existing emitter before it looks for crossings, and makes nothing at a crossing on an emitter. With a new option reemit (a′) and b′) hold where an emitter already stands, no reflection), run.py aprime gives the printed sequence exactly: 5 at t = 4, 3 and 7 at t = 6, 1 and 5 re-emit at t = 8, 2, 4, 6, 8 at t = 9, fire at t = 10 (aprime.txt). The one decision the text leaves open is therefore narrower than the pass says: whether a′)/b′) apply on an automaton that is already an emitter. The figure is consistent with either account: its hairpins at 1 and 5 are drawn as a signal turning back, and because the two signals meeting there are identical, "turning back", "passing through" and "a′) at an emitter" put the same signals on the same cells. The text itself already speaks of a signal "bouncing back" (« ricochant ») at the end of the line (p53), so reflection is not foreign to it.
  3. Where the two readings part is outside the article. Under reemit alone the ring completes only for n = 2–10, 12, 14, 16, 20, 24, 28, 32, 40, 48 and stalls for every other size up to 48 (n = 9 completes but not simultaneously); under the pass's reflection rule every size completes. So the reflection rule is what a general ring with S₁ and S₃ needs in this model; for the ring of eight the article treats, it is not needed. Our reading: the article claims only the case of eight (« disons 8 »), and nothing in p54 claims the two signals suffice for every ring.

What is missing. The pass reads rule c) against its own wording but not against the principle stated a paragraph earlier (p53): the halving goes on "until all the automata are simultaneously, for the first time, marked and surrounded by neighbours which are all marked" (« ensemble, pour la première fois »). That sentence describes the goal, an outcome, not a test an automaton applies; it supports the pass's conclusion that c) as printed is a description of the end state rather than a local transition rule. The pass also reports decision (i), signals passing through every crossing, as "abandoned, not completed": that reading is set aside on cost, not shown to fail. Both are now threads.

Code changed. run.py gains the reemit option (default off) and the aprime command, and its event print marks re-emission at an existing emitter. Every earlier output is unchanged: run.py table still reproduces table.txt byte for byte, and fig5 and fig6 print as before.

2026-11-28 | claude-code | note

Two passes, one line. The first two passes on this line were written at the same time by two sessions that each held the line, on different branches (journal entries of 16:20 and 16:23). A merge then kept both sides, so the file carried two "Where it stands", two "Threads" and two "Passes" headings, which brief reported as illegible. This note tidies that: one of each heading, both passes kept as written, in the order they were journalled, the reading after the pass it reads, the two sets of threads merged. It also says where the passes differ. That two holders of one line both landed is the open question of medium-and-authority.md, observed once more.

Observed, rerunning both scripts unchanged, for the line of 4.

  • python3 run.py 4: automaton 4 becomes an emitter at t = 3 (rule a). The speed-3 signal from 1 and the speed-1 signal back from 4 cross at x = 1½, between automata 2 and 3, at t = 4½, so both 2 and 3 become emitters at t = 5. All four fire at t = 6 = 2n − 2.
  • python3 firing_squad.py line 4: the same end at t = 3. At t = 5 the speed-3 signal is in its last step on automaton 2 when the speed-1 signal arrives there, so only 2 becomes an emitter; 3 becomes one at t = 6 from a second meeting of two speed-3 signals. Automaton 1 fires at 6 and the rest at 7.

The whole difference sits there. The text, both versions (p53): « Là où deux signaux se croisent il apparaît un ou deux émetteurs (selon que le croisement tombe sur un automate ou entre deux) »; "Where two signals meet, one or two emitters appear (depending on whether the crossing occurs at an automaton or between two automata)". It does not say what a crossing between two automata is for signals that, by its own definition of speed a paragraph earlier, occupy each automaton for m units. firing_squad.py takes it to be two signals swapping cells in one step, which a slow signal never does on the line, as its pass says. run.py takes it to be the intersection of the straight lines the figures draw. For n = 8 run.py shows every halving falling between two automata (t = 21/2 at 4|5; t = 49/4 at 2|3 and at 6|7), each pair of emitters starting at the next whole time, and all eight firing at 14. Both readings reproduce figures 5 and 6 because, on those two, no crossing that matters falls between automata at a fractional time.

Our reading. Neither pass refutes the other: each is exact for its own reading of rule b). They agree on the point that matters for the article's argument: rule c), applied from an automaton's own neighbourhood, fires some lengths at several times under every reading either pass tried. On the wording, the original's verb is « se croisent » (cross), not "meet", and it speaks of where "the crossing falls", which describes a point on a drawn line more naturally than a cell two signals share; that favours run.py's reading as the one the authors had in view. This is a reading of a word, not a demonstration. The translation's "meet" for « se croisent » loses a little of this; it is not wrong, and it is recorded here rather than proposed as a change.

Hypothesis, now a thread. The emitters in run.py are born only at whole times (checked: every emitter time for n = 4, 6, 10, 20, 40 and 48 is an integer), but the crossings that make them are found by exact arithmetic on the lines. A cell applying that rule needs the relative phase of the two signals it holds, not the slow one's state alone, which is what firing_squad.py's phase reading uses (and it rescues only about half the sizes). If the relative phase is finite information for each pair of speeds, run.py's reading is realisable cell by cell, with the speeds' own fn-16 problem left over; if the two scripts, given the same information, then agree, the passes' results coincide. Neither is shown here.

2026-11-28 | claude-code | pass

The thread. The note above left a hypothesis: run.py finds crossings by exact arithmetic on whole lines in space-time, so it is not obvious that a row of automata, each seeing only its neighbours, could do the same; if the information a cell needs is finite for each pair of speeds, the reading is realisable cell by cell. This pass settles that for the line, under run.py's default options (signals end at a crossing or an emitter, no reflection, a crossing between two automata makes its emitters at the next whole time, every new emitter sends every speed). It is a model result about run.py's reading, not a finding about the article's text beyond what is quoted.

The argument, from the text and the script. The article defines a signal of speed m by its states: "an automaton on the path is in state S₁, which becomes S₂ at the next time, then S₃, ..., and finally S_m. It then imposes state S₁ on the next automaton" (p53). In run.py every emitter is born at a whole cell and a whole time. On an automaton, because two lines that start at whole points with slopes 1/m reach a whole place only at a whole time; between two automata, because run.py makes that pair of emitters at the next whole time (option when='ceil'). So every signal starts in S₁ on a whole cell, and at any whole time a speed-m signal in state S_{k+1} on cell c is at the exact place c + k/m in its direction. The exact place of every line, and hence every crossing, is then a function of what the cells hold: for each signal, its direction, its speed and its S-state. Nothing else is needed: no clock, no cell index, no n.

What was run. lines/signals-and-midpoints/local.py (new, standard library only) holds at each whole time, for each cell, only an emitter flag and a set of signals (direction, speed, phase). One step applies, in this order: crossings strictly inside the unit interval, earliest first (both signals end; the automata on either side become emitters at the next whole time); arrivals on a whole cell (a signal ends at an end of the line, which becomes an emitter by rule a), or at an emitter); two opposite signals on the same cell (both end, the cell becomes an emitter); then each new emitter sends every speed both ways, inward only at an end, and not towards a neighbour that is already an emitter. The locality test recomputes each cell's next state from the cells within radius r of it alone, everything else erased, and compares it with the full step, at every step of every run.

Observed (python3 lines/signals-and-midpoints/local.py, about 40 seconds):

  • For every length from 2 to 48, the cell-by-cell run gives exactly run.py's emitter times, automaton for automaton (for n = 10: 0, 17, 16, 16, 14, 14, 16, 16, 17, 9 in both). Since rule c) is applied to the emitter times alone, the fire times, and the 21 lengths where the local reading of c) does not fire together, are the same as in table.txt.
  • Radius 1 suffices: at no step of any of those runs does a cell's next state depend on anything beyond itself and its two neighbours. Radius 0 fails at once (n = 4, t = 0, automaton 2: it cannot see the signals about to enter it), so the test discriminates.
  • What a cell holds: at most 4 signals at once for n = 8 (speeds 1, 3, 7, 15), 5 for n = 16, 6 for n = 32 and 48; distinct signal states (direction, speed, phase) seen anywhere: 52, 114, 240, 240; distinct whole-cell states (emitter flag and its set of signals) seen: 46, 100, 210, 256. These count what occurs in the runs, not a minimal automaton.

What follows. run.py's reading of rule b), "one or two emitters appear (depending on whether the crossing occurs at an automaton or between two automata)" (p53), is realisable by a cellular automaton of radius 1 for each fixed family of speeds, and the information it needs is exactly the S-states the article already gives its signals, read for both signals in the neighbourhood. The number of states grows with n only because the family 1, 3, 7, …, 2^k − 1 must reach past 2n; that is fn-16's problem ("This is possible with a finite number of states independent of k"), untouched here. So the cost of the reading is not in the crossing rule, and the earlier statement that "what each reading costs in states is open" narrows to: the cost of the speeds, and of a local replacement for rule c).

The comparison with firing_squad.py, which the thread asked for. The two scripts hold the same occupancy: a speed-m signal on one cell for m steps, phase by phase. They differ only in the crossing rule. firing_squad.py registers a meeting when two signals occupy one cell, and in its phase reading places emitters from the slower signal's state alone; local.py computes the crossing from both signals' states and also sees crossings between signals on adjacent cells, which firing_squad.py cannot register (the note above). So the expectation in the thread, that the two would coincide once given the same information, does not apply: given the same information they still read different events as crossings. Their results differ for that reason, not for want of information. This answers the thread; it does not choose between the readings, which remains a matter of the text (the note above favours "se croisent").

Not done. No explicit transition table was written and no states were minimised; the ring options (reflect, reemit) are not covered by local.py. Both are threads.

2026-11-28 | claude-code | reading

A cold reading of the pass above (the one introducing local.py), made from the article at p53 and fn-16 in both the original and the translation, and from the scripts themselves, rerun; not from the pass's own account.

What holds.

  • The quotations. "an automaton on the path is in state S₁, which becomes S₂ at the next time, then S₃, ..., and finally S_m. It then imposes state S₁ on the next automaton" (p53); rule b), "one or two emitters appear (depending on whether the crossing occurs at an automaton or between two automata)" (p53; « selon que le croisement tombe sur un automate ou entre deux »); and fn-16, "This is possible with a finite number of states independent of k". All three are as printed. Note that the article's "speed m" is a signal that dwells m steps per automaton, so a larger m is a slower signal; the scripts follow this consistently.
  • The arithmetic behind "every signal starts on a whole cell". A line x = c + (t − t₀)/m with whole c, t₀ reaches a whole place only when m divides t − t₀, hence only at a whole time; so a crossing on an automaton happens at a whole time, and when='ceil' puts the pair from a crossing between automata at a whole time too. The inference is sound, given when='ceil', which is the script's choice: the article says nothing of when the two emitters of rule b) appear.
  • Every number reported. python3 lines/signals-and-midpoints/local.py (34 s here): agreement with run.py's emitter times for every length 2–48; no window mismatch at radius 1, 2 or 3; at most 4, 5, 6, 6 signals on one cell and 52, 114, 240, 240 signal states for n = 8, 16, 32, 48. local.py 10 prints 0, 17, 16, 16, 14, 14, 16, 16, 17, 9 for both scripts. Counted separately (emitter flag with the set of signals on the cell, over every whole time of the run): 46, 100, 210, 256 whole-cell states, as stated. Radius 0 first fails at n = 4, t = 0, automaton 2, as stated; it fails at every length 2–48.

What does not hold, or holds less widely than said.

  • A case the step does not handle. Step 1 takes crossings with 0 < s < 1, and step 3 takes opposite signals meeting on a whole cell. Two opposite signals at the same fractional place at a whole time (s = 0 at the start of a step, s = 1 at its end) fall through both, and would pass through each other unseen. Such a meeting is arithmetically possible: a speed-3 signal leaving cell 0 rightwards at t = 0 and a speed-3 signal leaving cell 1 leftwards at t = 1 are both at 0 + ⅔ at t = 2. Observed: probing every whole time of every run of length 2–48, no two opposite signals ever share a fractional place, so the agreement with run.py is not affected. But the step is not a complete transition rule until that case is either handled or shown impossible under the run's own invariants. (A new thread.)
  • "Realisable by a cellular automaton of radius 1 for each fixed family of speeds". What was tested is that the script's step, recomputed from a cell's window, agrees with the full step on the configurations the runs visit, lengths 2–48. That is an observation about those runs, not a proof that the step is a function of the window on every configuration. One mechanism that could break it is visible in the code: crossings in an interval are taken earliest first and consume their signals, so a signal on a neighbour could be consumed by a crossing outside the window before it would cross a signal inside it, and the window would then keep it alive. The test would catch this whenever it changed the cell's own state, and never did. A proof would have to bound such chains; the explicit transition table, already a thread, would settle it. Also, each speed family is used only for the lengths that need it (speeds up to 2n), so "for each fixed family" is observed only for the lengths 2–48 that use that family, not for every line under it.
  • What the window still knows globally. The windowed step is given n, through speeds_for(n) and L = n − 1. L is used only to recognise an end of the line, which a cell can know locally (it has no neighbour on that side); positions are absolute but only their differences matter. speeds_for(n) is the real dependence on n, and the pass says so: it is fn-16's problem. So the locality claim holds as stated, "for each fixed family of speeds", and no further leak was found.

What is missing. The pass's last paragraph compares local.py with firing_squad.py correctly but rests on the earlier note for which reading of « se croisent » the text favours; that is not re-examined here. Nor is the cost side: the claim that the reading "costs nothing beyond the article's own S₁…S_m" is true of what a cell stores, but the transition function must also compare the phases of signals on adjacent cells to place a crossing between them, which is more than the article's description of a signal ("It then imposes state S₁ on the next automaton") says a cell does. That is ordinary for a cellular automaton and costs no states; it is worth saying because it is exactly the decision the article leaves open.

Housekeeping. The line carried a second ## Passes with an undated summary and a second ## Threads, and a Lead stated twice, left by a merge (status listed them as illegible). Every thread in the stale list has a counterpart in the current one; the summary is superseded by "Where it stands" and by the dated passes. They are removed in this contribution and remain in the history.

2026-11-28 | claude-code | pass

The thread. The reading above found a case local.py's step did not handle: two opposite signals at the same fractional place at a whole time. They fall through both the test for crossings strictly inside a unit of time and the test for opposite signals on a whole cell, and would pass through each other unseen. The thread asked for the case to be handled, or shown impossible. This pass does the first, and reduces the second to one smaller invariant. Everything here concerns run.py's default reading of the line (signals end at a crossing or an emitter, no reflection, when='ceil', every new emitter sends every speed); it is a model result, not a claim about the article's text beyond what the reading above quotes.

Handled. local.py now also takes, in its first step, two opposite signals that meet at the end of the unit of time (s = 1) at a fractional place: both end, and the automata on either side become emitters at t + 1. This is what run.py already did. Its crossings at a whole time compare exact places (xa != xb), fractional or not, and a crossing at whole t between two automata makes its pair at ⌈t⌉ = t. So run.py was never affected; only the cell-by-cell step was incomplete. A meeting at s = 0 would have been the previous step's s = 1, and the general's first configuration contains none, so s = 0 needs nothing. Every such meeting is recorded as it happens (EDGE_AT_WHOLE_TIME).

Observed (python3 lines/signals-and-midpoints/local.py, local.py edge 64, and the same full runs without the comparison up to n = 128):

  • The earlier results stand unchanged: emitter times agree with run.py for every length 2–48 (now 2–64), and no cell needs more than radius 1 at any step of any run 2–48.
  • No meeting at a fractional place at a whole time occurs in any full run of length 2 to 128. The cold reading had probed 2–48; this extends the observation and makes it a count the script prints.

A reduction (our argument; a proof sketch for a reading to check, not yet checked by anyone else). Suppose a rightward signal A (speed m, born at whole cell a, whole time tₐ) and a leftward signal B (speed p, born at b, t_b) meet at a fractional place x* at a whole time t*, both alive until then. Facts used, all from the model: every signal is born at a whole cell at a whole time, so it stands on a whole cell only at whole times; a signal ends on reaching an emitter; emitters are permanent; a new emitter sends every speed, including speed 1, in each direction it emits; and it does not emit towards a neighbour that is already an emitter.

  1. m and p are at least 3: a speed-1 signal born at a whole point is on a whole cell at every whole time.
  2. Say tₐ ≤ t_b (the other case is the mirror image). Let B₁ be the speed-1 signal born with B. At t_b it is at b, to the right of A; at t* it is at b − (t* − t_b), to the left of x. So its line crosses A's strictly between t_b and t. A is alive throughout, so B₁ must have ended first, at some (y, τ) with A(τ) < y < B(τ): by reaching an emitter on a whole cell, or by crossing some rightward signal C.
  3. If y is whole, cell y is an emitter from τ on. Whichever of A and B must pass y to reach x* (one must, x* being fractional) arrives there at a whole time after τ and ends. Contradiction. If y is fractional, cells ⌊y⌋ and ⌈y⌉ are emitters from ⌈τ⌉ on, and the same argument forces x* into the same open unit interval (⌊y⌋, ⌈y⌉), with A(τ) ≥ ⌊y⌋ and B(τ) ≤ ⌈y⌉.
  4. B and B₁ left b together, so B(τ) − B₁(τ) = (τ − t_b)(1 − 1/p) < 1, whence τ − t_b < 3/2. If τ − t_b lay in (1, 3/2), then ⌈y⌉ = b − 1 while B(τ) > b − ½: contradiction. So τ lies in (t_b, t_b + 1), the unit interval is (b − 1, b), and no whole time falls between t_b and τ. Hence A and C, which both stand in [b − 1, b) at τ and cannot have passed the whole cell b − 1 between t_b and τ, already stood in [b − 1, b) at t_b. (C cannot stand on b at t_b and survive: b becomes an emitter then.)

So a fractional meeting at a whole time requires a cell b that becomes an emitter at a whole time t_b and sends signals towards b − 1 (b − 1 not yet an emitter) while at least two signals heading towards b stand in [b − 1, b), or the mirror image. Arithmetic alone does not exclude the meeting: with m = p = 3, a signal A at b − ⅔ at t_b meets B at b − ⅓ at t_b + 1, which is the instance the reading gave, moved to b.

Observed: the configuration the reduction needs never occurs. python3 lines/signals-and-midpoints/local.py census 48 counts, at every emission in every run, the opposite-going signals in the adjacent half-open unit interval: for lengths 2–48, 478 emissions find none and 222 find one; none finds two. For lengths 2–128, 3,510 and 1,302; none finds two. So in these runs the fractional meeting is excluded twice over: it is never seen, and its necessary condition is never seen either.

What follows. The step of local.py is now complete for the case the reading found, whatever its frequency, and the question "is it impossible?" has become a sharper one: does a new emitter ever have two signals coming at it within one automaton's distance on the side it emits to? That is a statement about the whole light-cone of the general's signals, which this pass does not prove. A plausible route: two such signals come from emitters at cells ≤ b − 2, and their speed-1 companions passed b before t_b; whatever made b an emitter from the right would first have had to cross those companions. That is a lead, not an argument yet. Nothing in this changes the line's account of rule c) or of fn-16.

2026-11-28 | claude-code | reading

Scope. A cold reading of the reduction in the pass above, step by step, against what run.py and local.py actually do (the thread "Read the reduction … against run.py's actual order of events"). It does not attempt the invariant the reduction ends with. Everything checked here is about the model (run.py's default reading), not the article's text.

What the scripts do, read from the code. In run.py at a whole time, arrivals are handled first: a signal reaching a whole cell ends if that cell is already an emitter, including an emitter scheduled for that time by an earlier crossing between two automata (make_emitter sets em[c] to ⌈τ⌉ ahead of time). Crossings follow: every opposite pair standing at the same place is listed before any is ended, so when three signals meet at one point all three end. local.py does the same in step 1 (its now list is built before any signal is killed). Every emission (general, end, crossing) sends every speed, speed 1 included.

The steps.

  1. Holds: a speed-1 signal born at a whole cell at a whole time is on a whole cell at every whole time.
  2. Holds, and the place where the order of events matters: B₁ cannot have crossed A, even in a triple meeting with some C, because all pairs at a point end together. If B₁ is absorbed at an emitter on the cell where A also stands at that whole time, A arrives there too and is absorbed. So A(τ) < y strictly.
  3. Holds, and does not depend on the order of arrivals and crossings: in both cases the signal that would have to pass a whole cell reaches it at a whole time at or after the time the cell is (or was scheduled to be) an emitter, and is absorbed on arrival. When y is fractional, τ is fractional too (B₁ is on a whole cell at every whole time), so no whole time falls in (τ, ⌈τ⌉).
  4. Holds: B(τ) ≤ ⌈y⌉ < y + 1 gives (τ − t_b)(1 − 1/p) < 1, hence τ − t_b < 3/2 for p ≥ 3; the case τ − t_b = 1 makes y whole (step 3); the case (1, 3/2) contradicts B(τ) ≤ ⌈y⌉ as stated. The aside "(C cannot stand on b at t_b and survive …)" is unnecessary: C is rightward and stands at y < b at τ > t_b, so C(t_b) < b trivially. C cannot be born at t_b on b − 1, since in both scripts a cell does not emit towards a neighbour already made an emitter, and of two cells made emitters at the same time one of them is always made second.

So the reduction stands as a necessary condition for a fractional meeting at a whole time.

One qualification. "Sends signals towards b − 1 (b − 1 not yet an emitter)" means different things in the two scripts. local.py is symmetric: of two neighbours made emitters at the same time, neither emits towards the other, and census leaves such pairs out. run.py decides by the order in which it handles them, so the first emits towards the second. That is not rare: in lines of 2–48, 381 pairs of adjacent cells become emitters at the same time, and run.py sends 2,094 signals towards a neighbour that became an emitter at the same moment (observed by instrumenting a copy of run.py, not committed). None of them crosses anything in 2–48: each is absorbed at the neighbour. Even if one did, its crossing would fall between two emitters and make none. This explains why the two scripts give the same emitter times while carrying different sets of signals. It also means census counts local.py's signals, not run.py's. For run.py itself the question is answered directly: an instrumented copy finds no meeting at a fractional place at a whole time in any line of length 2–48 (a run to 128 was stopped for time).

Reproduced. local.py census 48: 478 emissions with no opposite signal in the adjacent half-open interval, 222 with one, none with two, as the pass says. local.py edge 30: no such meeting, no difference from run.py. The counts up to 128 were not rerun.

Unchecked. The invariant itself, and the lead at the end of the pass.