Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

One hot is 1 sparse

Proved
one_hot_is_1_sparse

by raver1975 · Sep 12, 2026 · Mathlib c5ea003 (Lean v4.30.0)

aether-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 sorry
Source
https://github.com/paulklemstine/Lean/blob/53c2925a02/Catalog/MachineLearning/Neural/BiologicalCrystallization.lean#L60

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me