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.NumberTheory.PadicHodge.IntegralComparison.PrincipalResidue.ResidueRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.TopClassMap |
| 3 | |
| 4 | /-! # Open Top Class -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenTopClass |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual pushed section restriction and principal reindex send |
| 11 | the full-intersection class to the class of its literal restriction. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalResidue.SymbolCoordinates |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | variable {Y Z : Scheme.{u}} (π : Y ⟶ Z) |
| 18 | (U : Z.Opens) (hU : IsAffineOpen U) |
| 19 | (V : Y.Opens) (hV : IsAffineOpen V) (hVU : V ≤ π ⁻¹ᵁ U) |
| 20 | (N : Y.Modules) {m : ℕ} (t : Fin m → Γ(Z,U)) |
| 21 | |
| 22 | abbrev source := (Principal.AdditiveSections.additiveFunctor U hU).obj |
| 23 | ((Scheme.Modules.pushforward π).obj N) |
| 24 | abbrev target := (Principal.AdditiveSections.additiveFunctor V hV).obj N |
| 25 | abbrev reindex := OpenReindex.reindex π U V hVU |
| 26 | abbrev family := PrincipalPoint.Fraction.family U t |
| 27 | |
| 28 | def coefficientMap : source π U hU N ⟶ |
| 29 | (reindex π U V hVU).op ⋙ target V hV N := |
| 30 | (OpenReindex.pushforwardIso π U hU N).hom ≫ |
| 31 | OpenReindex.restriction π U hU V hV hVU N |
| 32 | |
| 33 | def complexMap : AugmentedOrdered.Cech.complex (family U t) (source π U hU N) ⟶ |
| 34 | AugmentedOrdered.Cech.complex |
| 35 | (PrincipalPoint.Fraction.family V (PrincipalResidue.ResidueRestriction.parameters π U V hVU t)) |
| 36 | (target V hV N) := |
| 37 | AugmentedOrdered.CechFunctor.complexMap (family U t) (coefficientMap π U hU V hV hVU N) ≫ |
| 38 | (AugmentedOrdered.CechReindex.iso (reindex π U V hVU) (family U t) (target V hV N)).hom |
| 39 | |
| 40 | def restriction : Γ(N,π ⁻¹ᵁ Principal.SectionPresheaf.openSubset U (PrincipalResidue.SymbolCoordinates.top U t)) →+ |
| 41 | Γ(N,Principal.SectionPresheaf.openSubset V (PrincipalResidue.SymbolCoordinates.top V (PrincipalResidue.ResidueRestriction.parameters π U V hVU t))) := |
| 42 | (N.presheaf.map (homOfLE (PrincipalResidue.ResidueRestriction.topBelow π U V hV hVU t)).op).hom |
| 43 | |
| 44 | theorem coefficient : |
| 45 | (coefficientMap π U hU V hV hVU N).app (op (PrincipalResidue.SymbolCoordinates.top U t)) ≫ |
| 46 | AugmentedOrdered.CechReindexTop.coefficient (reindex π U V hVU) |
| 47 | (family U t) m (by simp) (target V hV N) = |
| 48 | N.presheaf.map (homOfLE (PrincipalResidue.ResidueRestriction.topBelow π U V hV hVU t)).op := by |
| 49 | change (𝟙 _ ≫ N.presheaf.map _) ≫ N.presheaf.map _ = N.presheaf.map _ |
| 50 | rw [Category.id_comp, ← N.presheaf.map_comp] |
| 51 | congr 1 |
| 52 | |
| 53 | theorem comparison : |
| 54 | AugmentedCech.TopClassMap.map (family U t) (source π U hU N) m (by simp) ≫ |
| 55 | homologyMap (complexMap π U hU V hV hVU N t) m = |
| 56 | N.presheaf.map (homOfLE (PrincipalResidue.ResidueRestriction.topBelow π U V hV hVU t)).op ≫ |
| 57 | AugmentedCech.TopClassMap.map |
| 58 | (PrincipalPoint.Fraction.family V (PrincipalResidue.ResidueRestriction.parameters π U V hVU t)) |
| 59 | (target V hV N) m (by simp) := by |
| 60 | rw [complexMap, homologyMap_comp, ← Category.assoc, |
| 61 | AugmentedCech.TopClassMap.naturality, Category.assoc, |
| 62 | AugmentedCech.TopClassMap.reindex, ← Category.assoc, coefficient] |
| 63 | rfl |
| 64 | |
| 65 | theorem apply (x : Γ(N,π ⁻¹ᵁ Principal.SectionPresheaf.openSubset U (PrincipalResidue.SymbolCoordinates.top U t))) : |
| 66 | homologyMap (complexMap π U hU V hV hVU N t) m |
| 67 | (AugmentedCech.TopClassMap.map (family U t) (source π U hU N) m (by simp) x) = |
| 68 | AugmentedCech.TopClassMap.map |
| 69 | (PrincipalPoint.Fraction.family V (PrincipalResidue.ResidueRestriction.parameters π U V hVU t)) |
| 70 | (target V hV N) m (by simp) (restriction π U V hV hVU N t x) := |
| 71 | ConcreteCategory.congr_hom (comparison π U hU V hV hVU N t) x |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenTopClass |