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.CechTuple.SectionMaps |
| 8 | |
| 9 | /-! # Support Functoriality -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 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 | /-- The identity tuple-chain map does not enlarge support. -/ |
| 21 | theorem CechTuple.SupportFunctoriality.cechTupleSupportNonincreasing_id |
| 22 | {ι : Type u} {n : ℕ} : |
| 23 | FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing |
| 24 | (LinearMap.id : FreeCech.TupleChains.CechTupleChain ι n →ₗ[ℤ] FreeCech.TupleChains.CechTupleChain ι n) := by |
| 25 | intro i |
| 26 | simpa using FreeCech.TupleChains.CechTupleChain.supportedBy_single i 1 Subset.rfl |
| 27 | |
| 28 | /-- A sum of support-nonincreasing tuple-chain maps is support-nonincreasing. -/ |
| 29 | theorem FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing.add |
| 30 | {ι : Type u} {n m : ℕ} |
| 31 | {f g : FreeCech.TupleChains.CechTupleChain ι n →ₗ[ℤ] FreeCech.TupleChains.CechTupleChain ι m} |
| 32 | (hf : FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing f) |
| 33 | (hg : FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing g) : |
| 34 | FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing (f + g) := by |
| 35 | intro i |
| 36 | simpa using (hf i).add (hg i) |
| 37 | |
| 38 | /-- A negated support-nonincreasing tuple-chain map is support-nonincreasing. -/ |
| 39 | theorem FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing.neg |
| 40 | {ι : Type u} {n m : ℕ} |
| 41 | {f : FreeCech.TupleChains.CechTupleChain ι n →ₗ[ℤ] FreeCech.TupleChains.CechTupleChain ι m} |
| 42 | (hf : FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing f) : |
| 43 | FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing (-f) := by |
| 44 | intro i |
| 45 | simpa using (hf i).smul (-1) |
| 46 | |
| 47 | /-- A linear map out of a free integral module is the sum of its values on basis vectors. -/ |
| 48 | theorem CechTuple.SupportFunctoriality.linearMap_apply_eq_finsupp_sum_single |
| 49 | {α N : Type u} [AddCommGroup N] |
| 50 | (f : (α →₀ ℤ) →ₗ[ℤ] N) (x : α →₀ ℤ) : |
| 51 | f x = x.sum fun i a => a • f (Finsupp.single i 1) := by |
| 52 | classical |
| 53 | induction x using Finsupp.induction_linear with |
| 54 | | zero => simp |
| 55 | | add x y hx hy => |
| 56 | rw [map_add, hx, hy, |
| 57 | Finsupp.sum_add_index (by simp) (by simp [add_smul])] |
| 58 | | single i a => |
| 59 | calc |
| 60 | f (Finsupp.single i a) = |
| 61 | a • f (Finsupp.single i 1) := by |
| 62 | simpa using f.map_smul a (Finsupp.single i 1) |
| 63 | _ = (Finsupp.single i a).sum |
| 64 | (fun j b => b • f (Finsupp.single j 1)) := by |
| 65 | simp |
| 66 | |
| 67 | /-- A support-nonincreasing map preserves any prescribed containing support. -/ |
| 68 | theorem FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing.map_supportedBy |
| 69 | {ι : Type u} {n m : ℕ} |
| 70 | {f : FreeCech.TupleChains.CechTupleChain ι n →ₗ[ℤ] FreeCech.TupleChains.CechTupleChain ι m} |
| 71 | (hf : FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing f) |
| 72 | (x : FreeCech.TupleChains.CechTupleChain ι n) (N : Set ι) |
| 73 | (hx : FreeCech.TupleChains.CechTupleChain.SupportedBy x N) : |
| 74 | FreeCech.TupleChains.CechTupleChain.SupportedBy (f x) N := by |
| 75 | rw [CechTuple.SupportFunctoriality.linearMap_apply_eq_finsupp_sum_single] |
| 76 | change FreeCech.TupleChains.CechTupleChain.SupportedBy |
| 77 | (∑ i ∈ x.support, |
| 78 | x i • f (Finsupp.single i 1)) N |
| 79 | apply FreeCech.TupleChains.CechTupleChain.supportedBy_sum x.support _ |
| 80 | intro i hi |
| 81 | exact FreeCech.TupleChains.CechTupleChain.SupportedBy.smul |
| 82 | (FreeCech.TupleChains.CechTupleChain.SupportedBy.mono (hf i) (hx hi)) (x i) |
| 83 | |
| 84 | /-- A composite of support-nonincreasing tuple-chain maps is support-nonincreasing. -/ |
| 85 | theorem FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing.comp |
| 86 | {ι : Type u} {n m l : ℕ} |
| 87 | {f : FreeCech.TupleChains.CechTupleChain ι n →ₗ[ℤ] FreeCech.TupleChains.CechTupleChain ι m} |
| 88 | {g : FreeCech.TupleChains.CechTupleChain ι m →ₗ[ℤ] FreeCech.TupleChains.CechTupleChain ι l} |
| 89 | (hg : FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing g) |
| 90 | (hf : FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing f) : |
| 91 | FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing (g.comp f) := by |
| 92 | intro i |
| 93 | exact FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing.map_supportedBy |
| 94 | hg (f (Finsupp.single i 1)) (Set.range i) (hf i) |
| 95 | |
| 96 | /-- The tuple deletion boundary does not enlarge support. -/ |
| 97 | theorem CechTuple.SupportFunctoriality.cechTupleBoundary_supportNonincreasing |
| 98 | {ι : Type u} (n : ℕ) : |
| 99 | FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing |
| 100 | (FreeCech.TupleChains.cechTupleBoundary (ι := ι) n) := by |
| 101 | intro i |
| 102 | apply FreeCech.TupleSupportOperations.cechTupleBoundary_supportedBy |
| 103 | exact FreeCech.TupleChains.CechTupleChain.supportedBy_single i 1 Subset.rfl |
| 104 | |
| 105 | /-- The sorted-tuple projection does not enlarge support. -/ |
| 106 | theorem CechTuple.SupportFunctoriality.cechTupleAlternatingProjection_supportNonincreasing |
| 107 | {ι : Type u} [LinearOrder ι] (n : ℕ) : |
| 108 | FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing |
| 109 | (FreeCech.TupleAlternation.cechTupleAlternatingProjection (ι := ι) n) := by |
| 110 | intro i |
| 111 | apply FreeCech.TupleSupportOperations.cechTupleAlternatingProjection_supportedBy |
| 112 | exact FreeCech.TupleChains.CechTupleChain.supportedBy_single i 1 Subset.rfl |
| 113 | |
| 114 | /-- The lower-degree term in the tuple homotopy does not enlarge support. -/ |
| 115 | theorem CechTuple.SupportFunctoriality.cechTupleAlternatingHomotopyPrevious_supportNonincreasing |
| 116 | {ι : Type u} [LinearOrder ι] (n : ℕ) : |
| 117 | FreeCech.TupleHomotopySupport.CechTupleSupportNonincreasing |
| 118 | (FreeCech.TupleRecursiveHomotopy.cechTupleAlternatingHomotopyPrevious (ι := ι) n) := by |
| 119 | intro i |
| 120 | cases n with |
| 121 | | zero => |
| 122 | exact FreeCech.TupleChains.CechTupleChain.supportedBy_zero |
| 123 | | succ n => |
| 124 | apply FreeCech.TupleHomotopySupport.cechTupleAlternatingHomotopy_supportedBy |
| 125 | apply FreeCech.TupleSupportOperations.cechTupleBoundary_supportedBy |
| 126 | exact FreeCech.TupleChains.CechTupleChain.supportedBy_single i 1 Subset.rfl |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |