Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | /- |
| 2 | Copyright (c) 2026 The AINTLIB contributors. All rights reserved. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | Authors: AINTLIB ModularCurves project |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TuplePermutationFaces |
| 8 | |
| 9 | /-! # Tuple Injective Boundary -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleInjectiveBoundary |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Category _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive Opposite _root_.TopologicalSpace |
| 16 | universe u |
| 17 | |
| 18 | open Set |
| 19 | |
| 20 | theorem cechTupleAlternatingProjection_boundary_single_of_injective |
| 21 | {ι : Type u} [LinearOrder ι] (n : ℕ) |
| 22 | (i : Fin (n + 2) → ι) (hi : Function.Injective i) : |
| 23 | TupleChains.cechTupleBoundary n |
| 24 | (TupleAlternation.cechTupleAlternatingProjection (n + 1) (Finsupp.single i 1)) = |
| 25 | TupleAlternation.cechTupleAlternatingProjection n |
| 26 | (TupleChains.cechTupleBoundary n (Finsupp.single i 1)) := by |
| 27 | let σ := Tuple.sort i |
| 28 | let j := i ∘ σ |
| 29 | have hj : StrictMono j := |
| 30 | (Tuple.monotone_sort i).strictMono_of_injective |
| 31 | (hi.comp σ.injective) |
| 32 | rw [TupleAlternation.cechTupleAlternatingProjection_single, |
| 33 | TupleAlternation.cechTupleAlternatingProjectionBasis_of_injective i hi, one_smul, |
| 34 | TupleChains.cechTupleBoundary_single] |
| 35 | rw [TupleChains.cechTupleBoundary_single, one_smul] |
| 36 | change (Equiv.Perm.sign σ : ℤ) • TupleChains.cechTupleBoundaryBasis n j = |
| 37 | TupleAlternation.cechTupleAlternatingProjection n (TupleChains.cechTupleBoundaryBasis n i) |
| 38 | unfold TupleChains.cechTupleBoundaryBasis |
| 39 | rw [map_sum, Finset.smul_sum] |
| 40 | simp only [TupleAlternation.cechTupleAlternatingProjection_single] |
| 41 | refine Fintype.sum_equiv σ _ _ fun r => ?_ |
| 42 | rw [TuplePermutationFaces.cechTupleAlternatingProjectionBasis_delete_perm i σ hj r] |
| 43 | simp only [Finsupp.smul_single, smul_eq_mul, mul_one] |
| 44 | congr 1 |
| 45 | rw [Cech.PermutedTupleSigns.cechPermDelete_sign] |
| 46 | have hsquare : |
| 47 | (-1 : ℤ) ^ (σ r : ℕ) * (-1 : ℤ) ^ (σ r : ℕ) = 1 := by |
| 48 | rw [← pow_add, (Even.add_self (σ r : ℕ)).neg_one_pow] |
| 49 | calc |
| 50 | (Equiv.Perm.sign σ : ℤ) * (-1 : ℤ) ^ (r : ℕ) = |
| 51 | (-1 : ℤ) ^ (r : ℕ) * (Equiv.Perm.sign σ : ℤ) := mul_comm _ _ |
| 52 | _ = (-1 : ℤ) ^ (σ r : ℕ) * |
| 53 | (((-1 : ℤ) ^ (r : ℕ) * (Equiv.Perm.sign σ : ℤ)) * |
| 54 | (-1 : ℤ) ^ (σ r : ℕ)) := by |
| 55 | symm |
| 56 | calc |
| 57 | (-1 : ℤ) ^ (σ r : ℕ) * |
| 58 | (((-1 : ℤ) ^ (r : ℕ) * (Equiv.Perm.sign σ : ℤ)) * |
| 59 | (-1 : ℤ) ^ (σ r : ℕ)) = |
| 60 | (((-1 : ℤ) ^ (σ r : ℕ)) * |
| 61 | (-1 : ℤ) ^ (σ r : ℕ)) * |
| 62 | (((-1 : ℤ) ^ (r : ℕ)) * |
| 63 | (Equiv.Perm.sign σ : ℤ)) := by ring |
| 64 | _ = (-1 : ℤ) ^ (r : ℕ) * (Equiv.Perm.sign σ : ℤ) := by |
| 65 | rw [hsquare, one_mul] |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleInjectiveBoundary |