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.HodgeConjecture.DegreeTwo.ConcreteDivisorNeighborhood |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.SupportedDivisorSum |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.PlaneWindingComparison |
| 4 | import OAI.AlgebraicGeometry.DivisorClass.Chern.PrimitiveNormalWinding |
| 5 | |
| 6 | /-! # Thom -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # ChernClass: the original first Chern class and original divisor Thom class |
| 14 | |
| 15 | The constructed native chart comparison, finite divisor sum, and actual |
| 16 | codimension-two removal give a global equality. Its cycle is exactly the |
| 17 | original rational-section divisor. The remaining universal coefficient is |
| 18 | the already proved integral sign, not an arbitrary rational rescaling. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | set_option backward.defeqAttrib.useBackward true |
| 26 | |
| 27 | variable {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (L : Line.Bundles.AlgebraicLineBundle X) [IsIntegral X.carrier] |
| 28 | |
| 29 | /-- The actual global relative Chern class is the original supported divisor |
| 30 | sum, with its already proved primitive orientation coefficient. -/ |
| 31 | theorem Line.Bundles.AlgebraicLineBundle.rationalSectionChernRelativeClass_eq_actualDivisorThom : |
| 32 | L.rationalSectionChernRelativeClass = NormalWinding.normalWindingCoefficient • L.rationalSectionDivisorThomClass := by |
| 33 | have h := HodgeConjecture.DegreeTwo.ConcreteDivisorNeighborhood.Constructions.rationalSectionChernRelativeClass_eq_divisorThom |
| 34 | (SupportedDivisorSum.Construction.integralPresentationVariety X) L |
| 35 | rw [PlaneWindingComparison.neg_windingNormalCoefficient_eq_normalWindingCoefficient] at h |
| 36 | exact h |
| 37 | |
| 38 | /-- The actual Chern class uses the original dimension-graded integral divisor, |
| 39 | rationalized by the original coefficient map. -/ |
| 40 | theorem Line.Bundles.AlgebraicLineBundle.firstChernClassQ_eq_actualDivisorThom : |
| 41 | First.firstChernClassQ X L = NormalWinding.normalWindingCoefficient • |
| 42 | (SupportedDivisorSum.Construction.integralPresentationVariety X).rationalCycleClass 1 |
| 43 | (Finsupp.mapDomain |
| 44 | (Component.Construction.integralSupportToVariety (SupportedDivisorSum.Construction.integralPresentationVariety X) 1) |
| 45 | (Classes.Construction.rationalizeDivisor X L.rationalSectionIntegralDivisor)) := by |
| 46 | rw [← L.rationalSectionChernRelativeClass_absolute, |
| 47 | L.rationalSectionChernRelativeClass_eq_actualDivisorThom, map_smul, |
| 48 | L.rationalSectionDivisorThomClass_absolute_actual] |
| 49 | |
| 50 | /-- The comparison coefficient is constrained to the two primitive integral |
| 51 | orientations; the divisor itself is unchanged. -/ |
| 52 | theorem Line.Bundles.AlgebraicLineBundle.firstChernClassQ_eq_divisorThom_or_neg : |
| 53 | First.firstChernClassQ X L = |
| 54 | (SupportedDivisorSum.Construction.integralPresentationVariety X).rationalCycleClass 1 L.rationalSectionDivisorThomCycle ∨ |
| 55 | First.firstChernClassQ X L = |
| 56 | -((SupportedDivisorSum.Construction.integralPresentationVariety X).rationalCycleClass 1 L.rationalSectionDivisorThomCycle) := by |
| 57 | have h := L.firstChernClassQ_eq_actualDivisorThom |
| 58 | rw [← L.rationalSectionDivisorThomCycle_eq_actual] at h |
| 59 | rcases PrimitiveNormalWinding.normalWindingCoefficient_eq_one_or_neg_one with hp | hn |
| 60 | · exact Or.inl (by simpa only [hp, one_smul] using h) |
| 61 | · exact Or.inr (by simpa only [hn, neg_one_smul] using h) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.DivisorClass.Chern |