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.Projective.SectionClass |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.UnitPureClass |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectiveFormTrace |
| 4 | |
| 5 | /-! # Projective Section Class Data -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectiveSectionClassData |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original scalar-to-point quotient class, followed by the |
| 12 | original pure cohomology and top-form adjunction maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistResidueNaturality |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u |
| 22 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 23 | [IsArtinianRing R] [IsLocalRing R] {n : ℕ} |
| 24 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 25 | |
| 26 | variable (X : Over (Spec (CommRingCat.of R))) [Nonempty X.left] |
| 27 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)) [IsClosedImmersion i.left] |
| 28 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 29 | (s : Spec (CommRingCat.of R) ⟶ X.left) (hs : s ≫ X.hom = 𝟙 _) |
| 30 | (B : ℕ) (hB : n + 2 ≤ B) (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 31 | |
| 32 | local notation "π" => OAI.AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n + 2)) |
| 33 | |
| 34 | local instance composite_smooth : Smooth (i.left ≫ π) := by |
| 35 | change Smooth (i.left ≫ (Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)).hom) |
| 36 | rw [Over.w i] |
| 37 | infer_instance |
| 38 | |
| 39 | attribute [local instance] ProjectiveFormTrace.composite_dimension |
| 40 | ProjectiveFormTrace.composite_proper ProjectiveFormTrace.composite_connected |
| 41 | |
| 42 | include hs in |
| 43 | omit [IsNoetherianRing R] [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] [Nonempty ↥X.left] [IsClosedImmersion (Over.Hom.left i)] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] in |
| 44 | theorem section_over : s ≫ (i.left ≫ π) = 𝟙 _ := by |
| 45 | change s ≫ (i.left ≫ (Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)).hom) = 𝟙 _ |
| 46 | rw [Over.w i] |
| 47 | exact hs |
| 48 | |
| 49 | include X i in |
| 50 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] in |
| 51 | theorem degree : g + (n + 1 - g) = n + 1 := by |
| 52 | have h := ClosedDimension.projective i.left g |
| 53 | simp only [Fintype.card_fin] at h |
| 54 | omega |
| 55 | |
| 56 | omit [IsNoetherianRing R] [Module.Injective R R] [Nonempty ↥X.left] [IsClosedImmersion (Over.Hom.left i)] in |
| 57 | theorem scalarUnit_one : |
| 58 | Projective.SectionClass.scalarUnitIso i.left s (section_over X i s hs) 1 = |
| 59 | Cech.StructureUnit.unit i.left π |
| 60 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := Fin (n + 2))) |
| 61 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := Fin (n + 2))) := |
| 62 | ArtinianCechStructureUnit.iso_one i.left π s (section_over X i s hs) |
| 63 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := Fin (n + 2))) |
| 64 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := Fin (n + 2))) |
| 65 | |
| 66 | local notation "M" => OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SectionClass.scalar i.left |
| 67 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SectionClass.point i.left s |
| 68 | local notation "hn" => Fintype.card_fin (n + 2) |
| 69 | local notation "hsec" => OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s hs |
| 70 | |
| 71 | def pureClass := by |
| 72 | letI : Subsingleton (Spec (.of R)) := Ring.KrullDimLE.subsingleton_primeSpectrum R |
| 73 | letI : IsClosedImmersion s := isClosedImmersion_of_comp_eq_id (i.left ≫ π) s hsec |
| 74 | letI : (P).IsQuasicoherent := Finite.MapPureTrace.coefficients_quasicoherent s i.left |
| 75 | letI : (P).IsFiniteType := Finite.MapPureTrace.coefficients_finiteType s i.left |
| 76 | exact Projective.UnitPureClass.pureClass M P B n hn hB |
| 77 | (Cech.StructurePullbackUnit.sheafMap s i.left) |
| 78 | (Projective.SectionClass.scalarUnitIso i.left s hsec) |
| 79 | (Projective.SectionClass.pointUnitIso i.left s hsec) |
| 80 | (n + 1 - g) (ProjectiveSerre.exactAt i.left B n hn hB g) g (degree X i g) |
| 81 | |
| 82 | def sectionClass : ProjectiveFormTrace.cohomology X i g := |
| 83 | (ProjectiveRefinement.Serre.cohomologyFunctor (R := R) (σ := Fin (n + 2)) g).map |
| 84 | (ProjectiveFormTrace.adjunctionIso X i B hB g).hom (pureClass X i s hs B hB g) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectiveSectionClassData |