# statements/Hadamard.lean @ main

````
/-
Ported from google-deepmind/formal-conjectures at commit a61ab09632df039ef8381b6ac8accc5ce4d954d7,
file FormalConjectures/Wikipedia/Hadamard.lean, declaration Hadamard.HadamardConjecture.
Copyright 2025 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0
(https://www.apache.org/licenses/LICENSE-2.0).
Port: `public import FormalConjecturesUtil` replaced by specific Mathlib imports; the
`@[category …, AMS …]` attributes and the doc comments dropped; only `IsHadamard` and the target
kept (not `IsHadamard'`, the equivalence lemma, `hadamardConstant`, `H12` or the variants).
The definition and the proposition are unchanged.
-/
module

public import Mathlib.LinearAlgebra.Matrix.Determinant.Basic
public import Mathlib.Analysis.SpecialFunctions.Pow.Real

@[expose] public section

namespace Hadamard

/-- A square `±1` matrix `M` with `|det M| = n ^ (n / 2)`: a Hadamard matrix. -/
def IsHadamard {n : ℕ} (M : Matrix (Fin n) (Fin n) ℝ) : Prop :=
    (∀ (i j : Fin n), M i j ∈ ({1, -1} : Finset ℝ)) ∧
    |M.det| = n ^ ((n : ℝ) / 2)

theorem HadamardConjecture (k : ℕ) : ∃ M, IsHadamard (n := 4 * k) M := by
  sorry

end Hadamard

/-- The family's target (decision 0100), under the family's name: its type is taken from upstream's
`Hadamard.HadamardConjecture` above, so the two cannot differ. Upstream's declaration is kept for provenance; it is not a
target. -/
theorem Hadamard : type_of% @Hadamard.HadamardConjecture := by
  sorry

````

API: `https://git.neoopensource.com/v1/repos/math/blob?rev=main&path=statements%2FHadamard.lean`
