is_self_orthogonal_mds_code
For a finite field F with decidable equality, natural numbers n and k, and an F-subspace C of (Fin n → F), is_self_orthogonal_mds_code n k C asserts that C is self-orthogonal under the standard Euclidean dot product (for all u, v in C, ∑ i : Fin n, u i * v i = 0) and C is an MDS code of length n and dimension k (is_mds_code n k C).
Statement
def is_self_orthogonal_mds_code {F : Type*} [Field F] [Fintype F] [DecidableEq F] (n k : ℕ) (C : Subspace F (Fin n → F)) : Prop
- Defined in
- arXiv:2611.30048 Subsection 2.1
- Verified
- 29 Nov 2026
- Axioms
- none listed
- Built on 1
- is_mds_codeFor a finite field F, natural numbers n and k, a subspace C of Fin n → F has dimension k (Module.finrank F C = k) and is an MDS code if…
- Used by 3
- self_orthogonal_mds_card3_nonexistenceFor any finite field F with decidable equality of cardinality 3, there does not exist any subspace C of (Fin 4 → F) that is a…
- self_orthogonal_mds_card7_nonexistenceFor any finite field F with decidable equality of cardinality 7, there does not exist any subspace C of (Fin 8 → F) that is a…
- self_orthogonal_mds_card5_nonexistenceFor any finite field F with decidable equality of cardinality 5, there does not exist any subspace C of (Fin 6 → F) that is a…
Read back from the Lean
Given a finite field F with decidable equality, natural numbers n and k, and an F-subspace C of Fin n → F, is_self_orthogonal_mds_code n k C is the proposition asserting that:
1. C is self-orthogonal with respect to the standard dot product: for all u ∈ C and v ∈ C, $\sum_{i=0}^{n-1} u_i v_i = 0$; and
2. C is an MDS code with dimension k (is_mds_code n k C).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- A linear code C ≤ F^n is self-orthogonal MDS if it is self-orthogonal under the standard Euclidean dot product and is an MDS code of dimension k. -/ def is_self_orthogonal_mds_code {F : Type*} [Field F] [Fintype F] [DecidableEq F] (n k : ℕ) (C : Subspace F (Fin n → F)) : Prop := (∀ u ∈ C, ∀ v ∈ C, ∑ i : Fin n, u i * v i = 0) ∧ is_mds_code n k C