| 1 | /- |
| 2 | Ported from google-deepmind/formal-conjectures at commit a61ab09632df039ef8381b6ac8accc5ce4d954d7, |
| 3 | file FormalConjectures/Wikipedia/Hadamard.lean, declaration Hadamard.HadamardConjecture. |
| 4 | Copyright 2025 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 |
| 5 | (https://www.apache.org/licenses/LICENSE-2.0). |
| 6 | Port: `public import FormalConjecturesUtil` replaced by specific Mathlib imports; the |
| 7 | `@[category …, AMS …]` attributes and the doc comments dropped; only `IsHadamard` and the target |
| 8 | kept (not `IsHadamard'`, the equivalence lemma, `hadamardConstant`, `H12` or the variants). |
| 9 | The definition and the proposition are unchanged. |
| 10 | -/ |
| 11 | module |
| 12 | |
| 13 | public import Mathlib.LinearAlgebra.Matrix.Determinant.Basic |
| 14 | public import Mathlib.Analysis.SpecialFunctions.Pow.Real |
| 15 | |
| 16 | @[expose] public section |
| 17 | |
| 18 | namespace Hadamard |
| 19 | |
| 20 | |
| 21 | def IsHadamard {n : ℕ} (M : Matrix (Fin n) (Fin n) ℝ) : Prop := |
| 22 | (∀ (i j : Fin n), M i j ∈ ({1, -1} : Finset ℝ)) ∧ |
| 23 | |M.det| = n ^ ((n : ℝ) / 2) |
| 24 | |
| 25 | theorem HadamardConjecture (k : ℕ) : ∃ M, IsHadamard (n := 4 * k) M := by |
| 26 | sorry |
| 27 | |
| 28 | end Hadamard |
| 29 | |
| 30 | /-- The family's target (decision 0100), under the family's name: its type is taken from upstream's |
| 31 | `Hadamard.HadamardConjecture` above, so the two cannot differ. Upstream's declaration is kept for provenance; it is not a |
| 32 | target. -/ |
| 33 | theorem Hadamard : type_of% @Hadamard.HadamardConjecture := by |
| 34 | sorry |