Binary Parikh matrices and step-two Chen coordinates
Abstract
An ordered product of binary unipotent matrices records the two letter counts and the scattered true-before-false count. The same counts determine the represented step-two Chen signature and its doubled Magnus center.
Definition 1.1 (The integer matrix algebra).
Formalization. D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.IntegerMatrix3 (✓ std3).
Source. Repository-derived.
Commentary.
M with subscript three denotes IntegerMatrix3, the algebra of three-by-three integer matrices with rows and columns indexed by zero, one and two. Write matrixUnit(a,b) for the matrix whose sole nonzero entry is one at (a,b).
Definition 1.2 (Nilpotent letter observations).
Formalization. D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.binaryLetterObservation (✓ std3).
Source. Repository-derived.
Commentary.
A true letter contributes the matrix unit at (0,1); a false letter contributes the unit at (1,2). Multiplication in that order produces the unit at (0,2), whereas the reverse product is zero. Each individual letter matrix has square zero.
Definition 1.3 (The ordered scattered-pair counter).
Formalization. D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.scatteredTrueFalseCount (✓ std3).
Source. Repository-derived.
Commentary.
K(w) abbreviates scatteredTrueFalseCount(w). It counts pairs of positions with an earlier true letter and a later false letter, allowing any intervening letters. A leading true pairs with every false in the tail; a leading false contributes no new such pair.
Theorem 1.4 (Appending a letter).
Proof. Machine-checked in Lean as D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.scattered_true_false_count_append_letter (✓ std3). ∎
Source. Repository-derived.
Commentary.
Appending true adds no true-before-false pair. Appending false adds one pair for every true already in the word. The formula includes the empty word.
Theorem 1.5 (The two counts exhaust length).
Proof. Machine-checked in Lean as D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.binary_letter_counts_length (✓ std3). ∎
Source. Repository-derived.
Commentary.
Every position of a binary word is either true or false. Thus the two natural counts sum to its length, including length zero.
Definition 1.6 (The ordered unipotent product).
Formalization. D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.binaryParikhMatrix (✓ std3).
Citation. Alexandru Mateescu; Arto Salomaa; Kai Salomaa; Sheng Yu (2001). A sharpening of the Parikh mapping. DOI: 10.1051/ita:2001131. URL: https://www.numdam.org/item/ITA_2001__35_6_551_0/.
Commentary.
P(w) abbreviates binaryParikhMatrix(w). The product is taken from left to right in word order, and one is the identity matrix. The empty product is the identity. With r and f the true and false counts, its diagonal entries are one, its lower entries are zero, and its upper entries (0,1), (1,2), (0,2) are r, f, K. Multiplying two such matrices adds the counts and adds the cross term r times the second word’s false count to K.
Theorem 1.7 (The three Parikh entries).
Proof. Machine-checked in Lean as D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.binary_parikh_matrix_entries (✓ std3). ∎
Citation. Alexandru Mateescu; Arto Salomaa; Kai Salomaa; Sheng Yu (2001). A sharpening of the Parikh mapping. DOI: 10.1051/ita:2001131. URL: https://www.numdam.org/item/ITA_2001__35_6_551_0/.
Commentary.
The displayed counts are cast from the naturals to the integers. The central matrix entry retains ordered scattered pairs, rather than adjacent transitions.
Theorem 1.8 (The represented Chen entries).
Proof. Machine-checked in Lean as D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.binary_step_two_signature_entries (✓ std3). ∎
Source. Repository-derived.
Commentary.
S(w) denotes chronologicalSignature(binaryLetterObservation,w). Its degreeOne matrix has the true and false counts at (0,1) and (1,2), and zero elsewhere. Its doubledDegreeTwo matrix has 2K at (0,2) and zero elsewhere. Chen composition gives the same cross term as the unipotent product; the degree-two convention is factorial, so it has no division.
Theorem 1.9 (The doubled central Magnus coordinate).
Proof. Machine-checked in Lean as D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.binary_doubled_magnus_center (✓ std3). ∎
Source. Repository-derived.
Commentary.
C(w) denotes the (0,2) entry of doubledMagnusDegreeTwo(S(w)). Subtracting the square of degreeOne from doubledDegreeTwo gives 2K minus the product of the letter counts. This statement holds for every binary word, including empty and pure-letter words, whose center is zero.
Theorem 1.10 (Counts and center recover the matrix).
Proof. Machine-checked in Lean as D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.binary_parikh_eq_of_counts_and_magnus (✓ std3). ∎
Source. Repository-derived.
Commentary.
If two arbitrary words have the same true count, false count and doubled central Magnus entry, their pair counts agree by the integral center formula, and hence their complete Parikh matrices agree. This recovers the matrix; different ordered words can still have the same matrix.
References
- Truth anchor:
D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.IntegerMatrix3 - Truth anchor:
D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.binaryLetterObservation - Truth anchor:
D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.binaryParikhMatrix - Truth anchor:
D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.binary_doubled_magnus_center - Truth anchor:
D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.binary_letter_counts_length - Truth anchor:
D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.binary_parikh_eq_of_counts_and_magnus - Truth anchor:
D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.binary_parikh_matrix_entries - Truth anchor:
D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.binary_step_two_signature_entries - Truth anchor:
D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.scatteredTrueFalseCount - Truth anchor:
D5/S3/Observer/GoldenChronology/BinaryParikhStepTwoBridge.scattered_true_false_count_append_letter - Dependency: D5/S3/Observer/Chronology/StepTwoChronologicalSignature