Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Row Counting and Row Reversal

Abstract

Row and column counting are interchangeable, and reversing the rows complements the total ascent count.

Definition 1.1 (Row ascent count).

Formalization. D5/S3/Combinatorics/LatinEulerianCounting.rowAscents (✓ std3).

Source. Repository-derived.

Acknowledgement. Madjid Mirzavaziri, Daniel Yaqubi (2026). Latin Eulerian Numbers. DOI: 10.48550/arXiv.2609.25100. URL: https://arxiv.org/abs/2609.25100v1.

Commentary.

For adjacent rows, count the columns whose entries increase from the first row to the second.

Definition 1.2 (Row reversal).

Formalization. D5/S3/Combinatorics/LatinEulerianCounting.reverseRows (✓ std3).

Source. Repository-derived.

Acknowledgement. Madjid Mirzavaziri, Daniel Yaqubi (2026). Latin Eulerian Numbers. DOI: 10.48550/arXiv.2609.25100. URL: https://arxiv.org/abs/2609.25100v1.

Commentary.

ReverseRows reads the original square at the reversed row index and leaves columns unchanged.

Theorem 1.3 (Complementary row pair counts).

Proof. Machine-checked in Lean as D5/S3/Combinatorics/LatinEulerianCounting.rowAscents_reverse_add (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Madjid Mirzavaziri, Daniel Yaqubi (2026). Latin Eulerian Numbers. DOI: 10.48550/arXiv.2609.25100. URL: https://arxiv.org/abs/2609.25100v1.

Commentary.

For a Latin square, each reversed adjacent row pair has a complementary ascent count, summing to the order.

Theorem 1.4 (Reversal identity).

Proof. Machine-checked in Lean as D5/S3/Combinatorics/LatinEulerianCounting.total_reverse (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Madjid Mirzavaziri, Daniel Yaqubi (2026). Latin Eulerian Numbers. DOI: 10.48550/arXiv.2609.25100. URL: https://arxiv.org/abs/2609.25100v1.

Commentary.

Reversing all rows exchanges ascent and descent in every column comparison, so the two totals sum to n times n minus one.

References

  • Truth anchor: D5/S3/Combinatorics/LatinEulerianCounting.reverseRows
  • Truth anchor: D5/S3/Combinatorics/LatinEulerianCounting.rowAscents
  • Truth anchor: D5/S3/Combinatorics/LatinEulerianCounting.rowAscents_reverse_add
  • Truth anchor: D5/S3/Combinatorics/LatinEulerianCounting.total_reverse
  • Dependency: D5/S3/Combinatorics/LatinEulerianDefs