AFTD Auto-Formalizing Theoretical Domains

lower_ones_matrix

def

The n × n lower triangular matrix L over F₂ with all entries on and below the diagonal equal to 1: L_ij = 1 iff j ≤ i.

Statement

def lower_ones_matrix (n : ℕ) : Matrix (Fin n) (Fin n) (ZMod 2)
Defined in
arXiv:2610.13798 (On the failure of additivity of inversion numbers for dijoins), Sec. 3 (the matrix L of Proposition 3.1).
Verified
13 Oct 2026
Axioms
none listed
Used by 2

Lean source view module on GitHub

/-- The lower triangular all-ones matrix `L` over `𝔽₂`: `L i j = 1` iff `j ≤ i`. -/
def lower_ones_matrix (n : ℕ) : Matrix (Fin n) (Fin n) (ZMod 2) :=
  fun i j => if j ≤ i then 1 else 0
See it in the graphDiscuss this resultChallenge it