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.TupleRecursiveHomotopy |
| 8 | |
| 9 | /-! # Tuple Homotopy Identity -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleHomotopyIdentity |
| 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 homotopy satisfies `∂h + h∂ = p - 1`. -/ |
| 21 | theorem cechTupleAlternatingHomotopy_identity |
| 22 | {ι : Type u} [LinearOrder ι] (n : ℕ) |
| 23 | (x : TupleChains.CechTupleChain ι n) : |
| 24 | TupleChains.cechTupleBoundary n (TupleRecursiveHomotopy.cechTupleAlternatingHomotopy n x) + |
| 25 | TupleRecursiveHomotopy.cechTupleAlternatingHomotopyPrevious n x = |
| 26 | TupleAlternation.cechTupleAlternatingProjection n x - x := by |
| 27 | induction n with |
| 28 | | zero => |
| 29 | simp [TupleRecursiveHomotopy.cechTupleAlternatingProjection_zero] |
| 30 | | succ n ih => |
| 31 | induction x using Finsupp.induction_linear with |
| 32 | | zero => simp |
| 33 | | add x y hx hy => |
| 34 | simp only [map_add] |
| 35 | calc |
| 36 | (TupleChains.cechTupleBoundary (n + 1)) |
| 37 | (TupleRecursiveHomotopy.cechTupleAlternatingHomotopy (n + 1) x) + |
| 38 | (TupleChains.cechTupleBoundary (n + 1)) |
| 39 | (TupleRecursiveHomotopy.cechTupleAlternatingHomotopy (n + 1) y) + |
| 40 | (TupleRecursiveHomotopy.cechTupleAlternatingHomotopyPrevious (n + 1) x + |
| 41 | TupleRecursiveHomotopy.cechTupleAlternatingHomotopyPrevious (n + 1) y) = |
| 42 | ((TupleChains.cechTupleBoundary (n + 1)) |
| 43 | (TupleRecursiveHomotopy.cechTupleAlternatingHomotopy (n + 1) x) + |
| 44 | TupleRecursiveHomotopy.cechTupleAlternatingHomotopyPrevious (n + 1) x) + |
| 45 | ((TupleChains.cechTupleBoundary (n + 1)) |
| 46 | (TupleRecursiveHomotopy.cechTupleAlternatingHomotopy (n + 1) y) + |
| 47 | TupleRecursiveHomotopy.cechTupleAlternatingHomotopyPrevious (n + 1) y) := by |
| 48 | abel |
| 49 | _ = (TupleAlternation.cechTupleAlternatingProjection (n + 1) x - x) + |
| 50 | (TupleAlternation.cechTupleAlternatingProjection (n + 1) y - y) := by |
| 51 | rw [hx, hy] |
| 52 | _ = TupleAlternation.cechTupleAlternatingProjection (n + 1) x + |
| 53 | TupleAlternation.cechTupleAlternatingProjection (n + 1) y - |
| 54 | (x + y) := by |
| 55 | abel |
| 56 | | single i a => |
| 57 | let ω := |
| 58 | TupleAlternation.cechTupleAlternatingProjectionBasis (n + 1) i - |
| 59 | Finsupp.single i 1 - |
| 60 | TupleRecursiveHomotopy.cechTupleAlternatingHomotopy n |
| 61 | (TupleChains.cechTupleBoundaryBasis n i) |
| 62 | have hp := TupleAlternatingChainMap.cechTupleAlternatingProjection_boundary |
| 63 | (ι := ι) n (Finsupp.single i 1) |
| 64 | simp only [TupleAlternation.cechTupleAlternatingProjection_single, |
| 65 | TupleChains.cechTupleBoundary_single, one_smul] at hp |
| 66 | have hih := ih (TupleChains.cechTupleBoundaryBasis n i) |
| 67 | rw [TupleRecursiveHomotopy.cechTupleAlternatingHomotopyPrevious_boundaryBasis, |
| 68 | add_zero] at hih |
| 69 | have hcycle : TupleChains.cechTupleBoundary n ω = 0 := by |
| 70 | dsimp only [ω] |
| 71 | rw [map_sub, map_sub, hp, hih] |
| 72 | simp only [TupleChains.cechTupleBoundary_single, one_smul] |
| 73 | abel |
| 74 | have hcon := TupleContraction.cechTuplePrepend_contraction (i 0) n ω |
| 75 | rw [hcycle, map_zero, add_zero] at hcon |
| 76 | have hunit : |
| 77 | TupleChains.cechTupleBoundary (n + 1) |
| 78 | (TupleRecursiveHomotopy.cechTupleAlternatingHomotopy (n + 1) |
| 79 | (Finsupp.single i 1)) + |
| 80 | TupleRecursiveHomotopy.cechTupleAlternatingHomotopyPrevious (n + 1) |
| 81 | (Finsupp.single i 1) = |
| 82 | TupleAlternation.cechTupleAlternatingProjection (n + 1) |
| 83 | (Finsupp.single i 1) - |
| 84 | Finsupp.single i 1 := by |
| 85 | rw [TupleRecursiveHomotopy.cechTupleAlternatingHomotopy_succ_single, one_smul, |
| 86 | TupleRecursiveHomotopy.cechTupleAlternatingHomotopyPrevious_succ_apply, |
| 87 | TupleChains.cechTupleBoundary_single, one_smul, |
| 88 | TupleAlternation.cechTupleAlternatingProjection_single, one_smul] |
| 89 | change TupleChains.cechTupleBoundary (n + 1) |
| 90 | (TupleChains.cechTuplePrependChain (i 0) (n + 1) ω) + |
| 91 | TupleRecursiveHomotopy.cechTupleAlternatingHomotopy n |
| 92 | (TupleChains.cechTupleBoundaryBasis n i) = |
| 93 | TupleAlternation.cechTupleAlternatingProjectionBasis (n + 1) i - |
| 94 | Finsupp.single i 1 |
| 95 | rw [hcon] |
| 96 | dsimp only [ω] |
| 97 | abel |
| 98 | have h := congrArg (fun y => a • y) hunit |
| 99 | simpa [smul_sub, Finsupp.smul_single] using h |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FreeCech.TupleHomotopyIdentity |