One hot is 1 sparse
Provedone_hot_is_1_sparseaether-catalogmachinelearning
Formal statement of one_hot_is_1_sparse from the Aether Catalog (MachineLearning). The mathematical content is given by the Lean statement below; a human-readable write-up is pending.
theorem one_hot_is_1_sparse{n : ℕ} (v : Fin n → ℝ) (hv : is_one_hot v) :
is_k_sparse 1 v := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source MachineLearning/Neural/BiologicalCrystallization.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from MachineLearning/QuantumTransformer/BiologicalCrystallization.lean import Mathlib import Definitions.Def_MachineLearning_QuantumTransformer_BiologicalCrystallization /-! # CatalogBuild.MachineLearning.QuantumTransformer.BiologicalCrystallization Auto-generated from theorem catalog database. Domain: MachineLearning/QuantumTransformer Declarations: 13 -/ noncomputable section
Formal statement
theorem one_hot_is_1_sparse{n : ℕ} (v : Fin n → ℝ) (hv : is_one_hot v) :
is_k_sparse 1 v := by sorrySource