Crystal regularizer zero iff binary
Provedcrystal_regularizer_zero_iff_binaryaether-catalogevergreen
Formal statement of crystal_regularizer_zero_iff_binary from the Aether Catalog (Evergreen). The mathematical content is given by the Lean statement below; a human-readable write-up is pending.
theorem crystal_regularizer_zero_iff_binary{n : ℕ} (w : Fin n → ℝ)
(hw : ∀ i, 0 ≤ w i ∧ w i ≤ 1) :
row_crystal_loss w = 0 ↔ ∀ i, w i = 0 ∨ w i = 1 := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Evergreen/QuantumTransformer/CrystallizationTraining.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Evergreen/QuantumTransformer/CrystallizationTraining.lean import Mathlib import Definitions.Def_Evergreen_QuantumTransformer_CrystallizationTraining /-! # Crystallization-Aware Training (Open Problem 2) ## Overview Can we train transformers that crystallize faster and better? This file formalizes crystallization-aware training: 1. Crystallization regularizer L_cryst 2. Temperature annealing for progressive crystallization 3. Combined loss analysis 4. Convergence properties ## Key Results - `crystal_regularizer_nonneg`: Regularizer is non-negative - `crystal_regularizer_zero_iff_binary`: Zero iff attention is binary - `anneal_decreasing`: Temperature annealing is monotone - `anneal_converges`: Annealing converges to 0 -/ open Real BigOperators Finset noncomputable section /-! ## §1: Crystallization Regularizer -/
Formal statement
theorem crystal_regularizer_zero_iff_binary{n : ℕ} (w : Fin n → ℝ)
(hw : ∀ i, 0 ≤ w i ∧ w i ≤ 1) :
row_crystal_loss w = 0 ↔ ∀ i, w i = 0 ∨ w i = 1 := by sorrySource