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.TupleAlternatingChainMap |
| 8 | |
| 9 | /-! # Tuple Recursive Homotopy -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleRecursiveHomotopy |
| 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 | /-- Conrad's recursive chain homotopy from the identity to signed sorting. -/ |
| 21 | def cechTupleAlternatingHomotopy {ι : Type u} [LinearOrder ι] : |
| 22 | (n : ℕ) → TupleChains.CechTupleChain ι n →ₗ[ℤ] TupleChains.CechTupleChain ι (n + 1) |
| 23 | | 0 => 0 |
| 24 | | n + 1 => |
| 25 | TupleChains.cechTupleLinearExtension fun i => |
| 26 | TupleChains.cechTuplePrependChain (i 0) (n + 1) |
| 27 | (TupleAlternation.cechTupleAlternatingProjectionBasis (n + 1) i - |
| 28 | Finsupp.single i 1 - |
| 29 | cechTupleAlternatingHomotopy n |
| 30 | (TupleChains.cechTupleBoundaryBasis n i)) |
| 31 | |
| 32 | @[simp] |
| 33 | theorem cechTupleAlternatingHomotopy_zero |
| 34 | {ι : Type u} [LinearOrder ι] : |
| 35 | TupleRecursiveHomotopy.cechTupleAlternatingHomotopy (ι := ι) 0 = 0 := |
| 36 | rfl |
| 37 | |
| 38 | @[simp] |
| 39 | theorem cechTupleAlternatingHomotopy_succ_single |
| 40 | {ι : Type u} [LinearOrder ι] (n : ℕ) |
| 41 | (i : Fin (n + 2) → ι) (a : ℤ) : |
| 42 | TupleRecursiveHomotopy.cechTupleAlternatingHomotopy (n + 1) (Finsupp.single i a) = |
| 43 | a • TupleChains.cechTuplePrependChain (i 0) (n + 1) |
| 44 | (TupleAlternation.cechTupleAlternatingProjectionBasis (n + 1) i - |
| 45 | Finsupp.single i 1 - |
| 46 | TupleRecursiveHomotopy.cechTupleAlternatingHomotopy n |
| 47 | (TupleChains.cechTupleBoundaryBasis n i)) := by |
| 48 | simp [TupleRecursiveHomotopy.cechTupleAlternatingHomotopy, TupleChains.cechTupleLinearExtension] |
| 49 | |
| 50 | /-- The lower-degree term `h∂` in the tuple-chain homotopy identity. -/ |
| 51 | def cechTupleAlternatingHomotopyPrevious |
| 52 | {ι : Type u} [LinearOrder ι] : |
| 53 | (n : ℕ) → TupleChains.CechTupleChain ι n →ₗ[ℤ] TupleChains.CechTupleChain ι n |
| 54 | | 0 => 0 |
| 55 | | n + 1 => |
| 56 | (TupleRecursiveHomotopy.cechTupleAlternatingHomotopy n).comp (TupleChains.cechTupleBoundary n) |
| 57 | |
| 58 | @[simp] |
| 59 | theorem cechTupleAlternatingHomotopyPrevious_zero |
| 60 | {ι : Type u} [LinearOrder ι] : |
| 61 | cechTupleAlternatingHomotopyPrevious (ι := ι) 0 = 0 := |
| 62 | rfl |
| 63 | |
| 64 | @[simp] |
| 65 | theorem cechTupleAlternatingHomotopyPrevious_succ_apply |
| 66 | {ι : Type u} [LinearOrder ι] (n : ℕ) |
| 67 | (x : TupleChains.CechTupleChain ι (n + 1)) : |
| 68 | cechTupleAlternatingHomotopyPrevious (n + 1) x = |
| 69 | TupleRecursiveHomotopy.cechTupleAlternatingHomotopy n (TupleChains.cechTupleBoundary n x) := |
| 70 | rfl |
| 71 | |
| 72 | theorem cechTupleAlternatingProjection_zero |
| 73 | {ι : Type u} [LinearOrder ι] (x : TupleChains.CechTupleChain ι 0) : |
| 74 | TupleAlternation.cechTupleAlternatingProjection 0 x = x := by |
| 75 | induction x using Finsupp.induction_linear with |
| 76 | | zero => simp |
| 77 | | add x y hx hy => simp [hx, hy] |
| 78 | | single i a => |
| 79 | have hi : StrictMono i := by |
| 80 | intro k l hkl |
| 81 | omega |
| 82 | rw [TupleAlternation.cechTupleAlternatingProjection_single, |
| 83 | TupleAlternation.cechTupleAlternatingProjectionBasis_of_strictMono i hi] |
| 84 | simp |
| 85 | |
| 86 | theorem cechTupleAlternatingHomotopyPrevious_boundaryBasis |
| 87 | {ι : Type u} [LinearOrder ι] (n : ℕ) |
| 88 | (i : Fin (n + 2) → ι) : |
| 89 | cechTupleAlternatingHomotopyPrevious n |
| 90 | (TupleChains.cechTupleBoundaryBasis n i) = 0 := by |
| 91 | cases n with |
| 92 | | zero => rfl |
| 93 | | succ n => |
| 94 | change TupleRecursiveHomotopy.cechTupleAlternatingHomotopy n |
| 95 | (TupleChains.cechTupleBoundary n (TupleChains.cechTupleBoundaryBasis (n + 1) i)) = 0 |
| 96 | have hsq := TupleBoundarySquare.cechTupleBoundary_boundary (ι := ι) n |
| 97 | (Finsupp.single i 1) |
| 98 | simp only [TupleChains.cechTupleBoundary_single, one_smul] at hsq |
| 99 | rw [hsq, map_zero] |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleRecursiveHomotopy |