Evaluates the (j,i)-entry of the diagonal block in the matrix of
the standard F₂ form: summing the indicator [x = j ∧ x = i] over
x : Fin a gives 1 if i < a and i = j, otherwise 0. Used in
standardFormF2_eq_toMatrix' to compute the diagonal part of the Gram
matrix.
Evaluates the (j,i)-entry of the hyperbolic-plane block in the
matrix of the standard F₂ form: each pair (a+2x, a+2x+1) contributes
the antidiagonal [[0,1],[1,0]], so the sum is 1 iff i, j ≥ a and
(i-a)/2 = (j-a)/2 while (i-a) % 2 ≠ (j-a) % 2. Used in
standardFormF2_eq_toMatrix'.
Linear isomorphism (Fin a → F₂) × (Fin b → Fin 2 → F₂) ≃ₗ Fin (a + 2 b) → F₂ that interleaves the two factors as in
standardFormF2: indices < a come from the first factor, and indices
a + 2k + r (with r ∈ {0,1}) come from the r-th coordinate of the
k-th block in the second factor. Bridges the abstract product
presentation of Proposition 30.6 with the concrete matrix presentation
standardFormF2 a b.
Instances For
Bridge from the abstract Proposition 30.6 to the concrete
standardFormF2 a b. Transporting BilinFormZMod2.standardF2Form a b
along the isomorphism prodToFinEquiv a b and then taking its matrix
representation reproduces exactly the explicit Gram matrix
standardFormF2 a b. This identifies the abstract block-diagonal form
of the classification theorem with the concrete (a + 2b) × (a + 2b)
matrix used downstream.