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.SectionBoundary |
| 8 | |
| 9 | /-! # Section Alternation -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CechTuple.SectionAlternation |
| 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 restriction lift of signed sorting is projection to ordered tuples followed by |
| 21 | alternating extension. -/ |
| 22 | theorem coefficientCechTupleMapF_alternatingProjection |
| 23 | {X : Scheme.{u}} {R : Type u} [CommRing R] (coefficientMap : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 24 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (n : ℕ) : |
| 25 | SectionMaps.coefficientCechTupleMapF coefficientMap M U |
| 26 | (FreeCech.TupleAlternation.cechTupleAlternatingProjection (ι := ι) n) |
| 27 | (SupportFunctoriality.cechTupleAlternatingProjection_supportNonincreasing n) = |
| 28 | OrderedCech.FormalProjection.coefficientCechToOrderedF coefficientMap M U n ≫ |
| 29 | CoefficientCech.AlternatingExtension.orderedToCoefficientCechAlternatingF coefficientMap M U n := by |
| 30 | apply SectionIdentity.coefficientCechHom_ext coefficientMap M U n |
| 31 | intro i |
| 32 | let p : (Intrinsic.CoefficientCechComplex.coefficientCechComplex coefficientMap M U).X n ⟶ |
| 33 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n i := |
| 34 | Pi.π (fun q : Fin (n + 1) → ι => |
| 35 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n q) i |
| 36 | change SectionMaps.coefficientCechTupleMapF coefficientMap M U |
| 37 | (FreeCech.TupleAlternation.cechTupleAlternatingProjection n) |
| 38 | (SupportFunctoriality.cechTupleAlternatingProjection_supportNonincreasing n) ≫ p = |
| 39 | (OrderedCech.FormalProjection.coefficientCechToOrderedF coefficientMap M U n ≫ |
| 40 | CoefficientCech.AlternatingExtension.orderedToCoefficientCechAlternatingF coefficientMap M U n) ≫ p |
| 41 | rw [Category.assoc] |
| 42 | by_cases hi : Function.Injective i |
| 43 | · let s := Tuple.sort i |
| 44 | let j := i ∘ s |
| 45 | have hj : StrictMono j := |
| 46 | (Tuple.monotone_sort i).strictMono_of_injective |
| 47 | (hi.comp s.injective) |
| 48 | let pj : (Intrinsic.CoefficientCechComplex.coefficientCechComplex coefficientMap M U).X n ⟶ |
| 49 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n j := |
| 50 | Pi.π (fun q : Fin (n + 1) → ι => |
| 51 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n q) j |
| 52 | let q : Ordered.CoefficientCechTerms.orderedCoefficientCechObject coefficientMap M U n ⟶ |
| 53 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n j := |
| 54 | Pi.π (fun t : Ordered.SectionCechIndices.OrderedCechIndex ι n => |
| 55 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n t.1) ⟨j, hj⟩ |
| 56 | have hji : Set.range j ⊆ Set.range i := by |
| 57 | rintro x ⟨k, rfl⟩ |
| 58 | exact ⟨s k, rfl⟩ |
| 59 | let r : Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n j ⟶ |
| 60 | Ordered.CoefficientCechTerms.coefficientCechFactor coefficientMap M U n i := |
| 61 | SectionRestrictions.coefficientCechTupleRestriction coefficientMap M U i j hji |
| 62 | have hr : |
| 63 | r = (Coefficient.ModulePresheaf.coefficientModulePresheaf coefficientMap M).map |
| 64 | (((FormalCoproduct.mk _ U).mapPower s).φ i).op := by |
| 65 | dsimp only [r] |
| 66 | exact SectionRestrictions.coefficientCechTupleRestriction_eq_map coefficientMap M U i j hji |
| 67 | (((FormalCoproduct.mk _ U).mapPower s).φ i) |
| 68 | have hleft : |
| 69 | SectionMaps.coefficientCechTupleMapF coefficientMap M U |
| 70 | (FreeCech.TupleAlternation.cechTupleAlternatingProjection n) |
| 71 | (SupportFunctoriality.cechTupleAlternatingProjection_supportNonincreasing n) ≫ p = |
| 72 | (Equiv.Perm.sign s : ℤ) • (pj ≫ r) := by |
| 73 | calc |
| 74 | SectionMaps.coefficientCechTupleMapF coefficientMap M U |
| 75 | (FreeCech.TupleAlternation.cechTupleAlternatingProjection n) |
| 76 | (SupportFunctoriality.cechTupleAlternatingProjection_supportNonincreasing n) ≫ p = |
| 77 | SectionMaps.coefficientCechTupleMapComponent coefficientMap M U |
| 78 | (FreeCech.TupleAlternation.cechTupleAlternatingProjection n) |
| 79 | (SupportFunctoriality.cechTupleAlternatingProjection_supportNonincreasing n) i := by |
| 80 | dsimp only [p] |
| 81 | exact SectionMaps.coefficientCechTupleMapF_comp_π coefficientMap M U |
| 82 | (FreeCech.TupleAlternation.cechTupleAlternatingProjection n) |
| 83 | (SupportFunctoriality.cechTupleAlternatingProjection_supportNonincreasing n) i |
| 84 | _ = SectionRows.coefficientCechTupleRow coefficientMap M U i |
| 85 | (FreeCech.TupleAlternation.cechTupleAlternatingProjectionBasis n i) := by |
| 86 | change SectionRows.coefficientCechTupleRow coefficientMap M U i |
| 87 | (FreeCech.TupleAlternation.cechTupleAlternatingProjection n |
| 88 | (Finsupp.single i 1)) = |
| 89 | SectionRows.coefficientCechTupleRow coefficientMap M U i |
| 90 | (FreeCech.TupleAlternation.cechTupleAlternatingProjectionBasis n i) |
| 91 | rw [FreeCech.TupleAlternation.cechTupleAlternatingProjection_single, one_smul] |
| 92 | _ = SectionRows.coefficientCechTupleRow coefficientMap M U i |
| 93 | (Finsupp.single j (Equiv.Perm.sign s : ℤ)) := by |
| 94 | rw [FreeCech.TupleAlternation.cechTupleAlternatingProjectionBasis_of_injective i hi] |
| 95 | _ = (Equiv.Perm.sign s : ℤ) • (pj ≫ r) := by |
| 96 | exact SectionRows.coefficientCechTupleRow_single_of_subset |
| 97 | coefficientMap M U i j (Equiv.Perm.sign s : ℤ) hji |
| 98 | have hproj : OrderedCech.FormalProjection.coefficientCechToOrderedF coefficientMap M U n ≫ q = pj := by |
| 99 | dsimp only [q, pj] |
| 100 | exact OrderedCech.ProjectionCoordinates.coefficientCechToOrderedF_comp_π coefficientMap M U n ⟨j, hj⟩ |
| 101 | have halt : |
| 102 | CoefficientCech.AlternatingExtension.orderedToCoefficientCechAlternatingF coefficientMap M U n ≫ p = |
| 103 | (Equiv.Perm.sign s : ℤ) • (q ≫ r) := by |
| 104 | rw [hr] |
| 105 | exact CoefficientCech.AlternatingCoordinates.orderedToCoefficientCechAlternatingF_comp_π_of_injective |
| 106 | coefficientMap M U n i hi |
| 107 | rw [hleft] |
| 108 | calc |
| 109 | (Equiv.Perm.sign s : ℤ) • (pj ≫ r) = |
| 110 | (Equiv.Perm.sign s : ℤ) • |
| 111 | ((OrderedCech.FormalProjection.coefficientCechToOrderedF coefficientMap M U n ≫ q) ≫ r) := by |
| 112 | rw [hproj] |
| 113 | _ = OrderedCech.FormalProjection.coefficientCechToOrderedF coefficientMap M U n ≫ |
| 114 | ((Equiv.Perm.sign s : ℤ) • (q ≫ r)) := by |
| 115 | simp only [comp_zsmul, Category.assoc] |
| 116 | _ = OrderedCech.FormalProjection.coefficientCechToOrderedF coefficientMap M U n ≫ |
| 117 | (CoefficientCech.AlternatingExtension.orderedToCoefficientCechAlternatingF coefficientMap M U n ≫ p) := by |
| 118 | rw [halt] |
| 119 | · have hleft : |
| 120 | SectionMaps.coefficientCechTupleMapF coefficientMap M U |
| 121 | (FreeCech.TupleAlternation.cechTupleAlternatingProjection n) |
| 122 | (SupportFunctoriality.cechTupleAlternatingProjection_supportNonincreasing n) ≫ p = 0 := by |
| 123 | calc |
| 124 | SectionMaps.coefficientCechTupleMapF coefficientMap M U |
| 125 | (FreeCech.TupleAlternation.cechTupleAlternatingProjection n) |
| 126 | (SupportFunctoriality.cechTupleAlternatingProjection_supportNonincreasing n) ≫ p = |
| 127 | SectionMaps.coefficientCechTupleMapComponent coefficientMap M U |
| 128 | (FreeCech.TupleAlternation.cechTupleAlternatingProjection n) |
| 129 | (SupportFunctoriality.cechTupleAlternatingProjection_supportNonincreasing n) i := by |
| 130 | dsimp only [p] |
| 131 | exact SectionMaps.coefficientCechTupleMapF_comp_π coefficientMap M U |
| 132 | (FreeCech.TupleAlternation.cechTupleAlternatingProjection n) |
| 133 | (SupportFunctoriality.cechTupleAlternatingProjection_supportNonincreasing n) i |
| 134 | _ = 0 := by |
| 135 | change SectionRows.coefficientCechTupleRow coefficientMap M U i |
| 136 | (FreeCech.TupleAlternation.cechTupleAlternatingProjection n |
| 137 | (Finsupp.single i 1)) = 0 |
| 138 | rw [FreeCech.TupleAlternation.cechTupleAlternatingProjection_single, one_smul, |
| 139 | FreeCech.TupleAlternation.cechTupleAlternatingProjectionBasis_of_not_injective i hi, |
| 140 | map_zero] |
| 141 | rw [hleft] |
| 142 | rw [CoefficientCech.AlternatingRetraction.orderedToCoefficientCechAlternatingF_comp_π_of_not_injective |
| 143 | coefficientMap M U n i hi] |
| 144 | simp |
| 145 | |
| 146 | end |
| 147 | |
| 148 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CechTuple.SectionAlternation |