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.FiniteEtale.SectionUnit |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.UnitPureClass |
| 3 | |
| 4 | /-! # Section Class Data -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.SectionClassData |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original fixed point class for the actual finite coefficient |
| 11 | quotient, followed by its original pure cohomology and adjunction maps. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistResidueNaturality |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u |
| 21 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 22 | [IsArtinianRing R] [IsLocalRing R] {n : ℕ} |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | |
| 25 | variable (X Y : Over (Spec (CommRingCat.of R))) [Nonempty X.left] (f : Y ⟶ X) |
| 26 | [IsFinite f.left] [Etale f.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 | [IsProper Y.hom] [Smooth Y.hom] [GeometricallyConnected Y.hom] |
| 30 | (s : Spec (CommRingCat.of R) ⟶ Y.left) (hs : s ≫ Y.hom = 𝟙 _) |
| 31 | (B : ℕ) (hB : n + 2 ≤ B) (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 32 | |
| 33 | attribute [local instance] ProperTraceBase.composite_dimension |
| 34 | |
| 35 | local notation "M" => OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.StructurePullbackUnit.coefficients f.left i.left |
| 36 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SectionClass.point i.left (s ≫ f.left) |
| 37 | local notation "hn" => Fintype.card_fin (n + 2) |
| 38 | local notation "π" => OAI.AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n + 2)) |
| 39 | local notation "hsec" => OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.SectionUnit.section_over X Y f i s hs |
| 40 | local notation "eM" => OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.SectionUnit.coefficientUnit X Y f i s hs |
| 41 | local notation "eP" => OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SectionClass.pointUnitIso i.left (s ≫ f.left) hsec |
| 42 | local notation "q" => OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.SectionCoefficientUnit.sheafMap s f.left i.left |
| 43 | local notation "hPure" => OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.MapCoefficientPurity.exactAt f.left i.left B n hn hB g |
| 44 | local notation "hdeg" => OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.ProperTraceBase.degree X i g |
| 45 | |
| 46 | local instance coefficient_qc : (M).IsQuasicoherent := |
| 47 | Finite.MapPureTrace.coefficients_quasicoherent f.left i.left |
| 48 | |
| 49 | local instance coefficient_finite : (M).IsFiniteType := |
| 50 | Finite.MapPureTrace.coefficients_finiteType f.left i.left |
| 51 | |
| 52 | def pureClass := by |
| 53 | letI : Subsingleton (Spec (.of R)) := Ring.KrullDimLE.subsingleton_primeSpectrum R |
| 54 | letI : IsClosedImmersion (s ≫ f.left) := |
| 55 | isClosedImmersion_of_comp_eq_id (i.left ≫ π) (s ≫ f.left) hsec |
| 56 | letI : (P).IsQuasicoherent := Finite.MapPureTrace.coefficients_quasicoherent (s ≫ f.left) i.left |
| 57 | letI : (P).IsFiniteType := Finite.MapPureTrace.coefficients_finiteType (s ≫ f.left) i.left |
| 58 | exact Projective.UnitPureClass.pureClass M P B n hn hB q eM eP (n + 1 - g) hPure g hdeg |
| 59 | |
| 60 | def sectionClass : ProperTraceBase.cohomology X Y f i g := |
| 61 | (ProjectiveRefinement.Serre.cohomologyFunctor (R := R) (σ := Fin (n + 2)) g).map |
| 62 | (ProjectiveFinite.EtaleAdjunction.iso X Y f i g |
| 63 | (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B hB (ProperTraceBase.dimension_le X i g)).hom |
| 64 | (pureClass X Y f i s hs B hB g) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.SectionClassData |