Download lean/OAI/LinearAlgebra/CirculantHadamard/Basic.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 678 Bytes
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/LinearAlgebra/CirculantHadamard/Basic.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/LinearAlgebra/CirculantHadamard/Basic.lean
-
curl -L -o Basic.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/LinearAlgebra/CirculantHadamard/Basic.lean
678 Bytes
Lean 4 · 4
declarations statementsfull
def rowCirculant {n : ℕ} {R : Type uR} (h : Fin n → R) :
Matrix (Fin n) (Fin n) R := fun i j => h (j - i) @[simp] theorem rowCirculant_apply {n : ℕ} {R : Type uR}
(h : Fin n → R) (i j : Fin n) : rowCirculant h i j = h (j - i) := rfl theorem rowCirculant_isCirculant {n : ℕ} (h : Fin n → ℝ) :
IsCirculant (rowCirculant h) := ⟨h, fun _ _ => rfl⟩ @[simp] theorem rowCirculant_zero_row {n : ℕ} [NeZero n]
{R : Type uR} (h : Fin n → R) (j : Fin n) : rowCirculant h 0 j = h j := by proof · 1 line
simp [rowCirculant]
Outline