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 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.DominantOpenSquare |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.SectionCycleTransport |
| 3 | |
| 4 | /-! # Dominant Open Cycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.DominantOpenCycle.Cycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: the complete actual divisor of a dominant rational-section pullback commutes with open restriction -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 13 | |
| 14 | variable {X Y W Z : Scheme.{0}} [IsIntegral X] [IsIntegral Y] [IsIntegral W] [IsIntegral Z] |
| 15 | [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] |
| 16 | [AlgebraicGeometry.IsNoetherian W] [AlgebraicGeometry.IsNoetherian Z] |
| 17 | (f : X ⟶ Y) (k : W ⟶ X) [IsOpenImmersion k] (j : Z ⟶ Y) [IsOpenImmersion j] |
| 18 | (q : W ⟶ Z) (hcomm : k ≫ f = q ≫ j) |
| 19 | (hf : f (genericPoint X) = genericPoint Y) (hq : q (genericPoint W) = genericPoint Z) |
| 20 | (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle Y) |
| 21 | |
| 22 | omit [AlgebraicGeometry.IsNoetherian Y] [AlgebraicGeometry.IsNoetherian Z] in |
| 23 | include hcomm in |
| 24 | theorem dominantPullback_section_openSquare (a : Y.functionFieldˣ) : |
| 25 | ((L.pullback j).pullback q).rationalSectionPointCycleWithCoefficient |
| 26 | ((L.pullback j).dominantPullbackSectionCoefficient q hq (L.openPullbackSectionCoefficient j a)) = |
| 27 | Finsupp.comapDomain k ((L.pullback f).rationalSectionPointCycleWithCoefficient |
| 28 | (L.dominantPullbackSectionCoefficient f hf a)) k.isOpenEmbedding.injective.injOn := by |
| 29 | let A := (L.pullback f).pullback k |
| 30 | let B := (L.pullback j).pullback q |
| 31 | let e : A.sheaf ≅ B.sheaf := Module.PullbackSquareSections.BundleCycles.modulePullbackSquareIso f k j q hcomm L.sheaf |
| 32 | let b := (L.pullback f).openPullbackSectionCoefficient k (L.dominantPullbackSectionCoefficient f hf a) |
| 33 | have hc := DominantOpenSquare.Cycles.dominantPullbackSectionCoefficient_openSquare f k j q hcomm hf hq L a |
| 34 | have hi := SectionCycleTransport.Cycles.lineBundleIso_section_pointCycle (L := A) (M := B) e b |
| 35 | have ho := (L.pullback f).openPullback_section_pointCycle k (L.dominantPullbackSectionCoefficient f hf a) |
| 36 | exact (congrArg B.rationalSectionPointCycleWithCoefficient hc.symm).trans (hi.trans ho) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.DominantOpenCycle.Cycles |