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.ProjectivePoint.LocalSectionCoordinatesData |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueData |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.PureClassDegreeTransport |
| 4 | |
| 5 | /-! # Projective Residue Recovery Data -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectiveResidueRecoveryData |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual differential residue on a full projective point chart |
| 12 | is the local survivor used by the original global section recovery. |
| 13 | Its output is the original trace-one section class. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial _root_.HomologicalComplex |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor |
| 20 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 21 | [IsArtinianRing R] [IsLocalRing R] {n g : ℕ} |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | variable (X : Over (Spec (CommRingCat.of R))) [Nonempty X.left] |
| 24 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) [IsClosedImmersion i.left] |
| 25 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 26 | [SmoothOfRelativeDimension g X.hom] |
| 27 | (s₀ : Spec (CommRingCat.of R) ⟶ X.left) [IsClosedImmersion s₀] |
| 28 | (hbase : s₀ ≫ X.hom = 𝟙 _) (B : ℕ) (hB : n+2≤B) |
| 29 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 30 | (D : ProjectivePoint.PointParameterData.Chart.Data X i s₀ g U hU) |
| 31 | attribute [local instance] ProjectivePointTransfer.sourceSeparated |
| 32 | ProjectiveSectionClassData.composite_smooth |
| 33 | ProjectiveFormTrace.composite_proper ProjectiveFormTrace.composite_connected |
| 34 | ProjectiveFormTrace.composite_dimension |
| 35 | ProjectivePoint.Survivor.coefficient_qc ProjectivePoint.Survivor.coefficient_finite |
| 36 | |
| 37 | abbrev scalar := ProjectivePoint.KoszulMap.scalar i.left |
| 38 | abbrev pointMap := ProjectivePoint.KoszulMap.quotientMap s₀ i.left |
| 39 | abbrev forms := GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g |
| 40 | |
| 41 | local instance scalar_qc : (scalar X i).IsQuasicoherent := |
| 42 | Projective.ClosedImmersionPurity.directImage_quasicoherent i.left |
| 43 | local instance scalar_finite : (scalar X i).IsFiniteType := |
| 44 | Projective.ClosedImmersionPurity.directImage_finiteType i.left |
| 45 | local instance forms_qc : (forms (g := g) X).IsQuasicoherent := |
| 46 | FormCoherence.Integral.quasicoherent R X g |
| 47 | |
| 48 | 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] [SmoothOfRelativeDimension g X.hom] [IsClosedImmersion s₀] in |
| 49 | theorem pureDegree : D.codimension=n+1-g := by have h := D.dimension; omega |
| 50 | |
| 51 | include hB in |
| 52 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] [Nonempty ↥X.left] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [IsClosedImmersion s₀] in |
| 53 | theorem exactAt (q : ℕ) (hq : q ≠ D.codimension) : |
| 54 | (Projective.LocalAdjunction.dual X i (ProjectivePoint.Survivor.chart (R := R) (n := n)) B).ExactAt q := |
| 55 | Projective.TotalAdjunctionDimensionData.Residue.exactAt D.dimension X i |
| 56 | (ProjectivePoint.Survivor.chart (R := R) (n := n)) B hB q hq |
| 57 | |
| 58 | def adjunction := Projective.ParameterGlobalCoordinates.iso (c := D.codimension) (g := g) X i (pureDegree (X := X) (i := i) (s₀ := s₀) (g := g) (U := U) (hU := hU) (D := D)) |
| 59 | (ProjectivePoint.Survivor.chart (R := R) (n := n)) B hB (by have h := D.dimension; omega) |
| 60 | |
| 61 | abbrev originalClass := ProjectivePoint.LocalSectionCoordinatesData.globalClass i.left s₀ |
| 62 | (ProjectiveSectionClassData.section_over X i s₀ hbase) B hB (scalar X i) (pointMap X i s₀) |
| 63 | (exactAt X i s₀ B hB U hU D) (forms (g := g) X) (adjunction X i s₀ B hB U hU D) |
| 64 | D.dimension (Projective.SectionClass.scalarUnitIso i.left s₀ |
| 65 | (ProjectiveSectionClassData.section_over X i s₀ hbase)) |
| 66 | |
| 67 | abbrev localClass := ProjectivePoint.LocalSectionCoordinatesData.localClass i.left s₀ |
| 68 | (ProjectiveSectionClassData.section_over X i s₀ hbase) B hB (scalar X i) (pointMap X i s₀) |
| 69 | (exactAt X i s₀ B hB U hU D) (forms (g := g) X) (adjunction X i s₀ B hB U hU D) |
| 70 | U hU D.equations D.parameters D.point_generates D.dimension |
| 71 | |
| 72 | abbrev ordinaryMap := ProjectivePoint.LocalSectionCoordinatesData.ordinaryMap i.left s₀ |
| 73 | (forms (g := g) X) U hU D.contains D.equations D.parameters D.generates D.point_generates |
| 74 | |
| 75 | def localMap := by |
| 76 | letI : ∀ q, ((ProjectivePoint.GlobalTransferRecovery.coefficientDual B (scalar X i)).X q).IsQuasicoherent := |
| 77 | ProjectiveRefinement.AffineTerms.fixed_dual_qc (scalar X i) (ProjectivePoint.Survivor.chart (R := R)) B (n+2) hB |
| 78 | exact PrincipalPoint.PureCoordinates.localMap i.left U hU D.parameters |
| 79 | (ProjectivePoint.GlobalTransferRecovery.coefficientDual B (scalar X i)) D.codimension |
| 80 | (exactAt X i s₀ B hB U hU D) (forms (g := g) X) (adjunction X i s₀ B hB U hU D) |
| 81 | (D.codimension+g) |
| 82 | |
| 83 | include hB in |
| 84 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] [Nonempty ↥X.left] [GeometricallyConnected X.hom] [IsClosedImmersion s₀] in |
| 85 | theorem form_map : |
| 86 | Projective.TotalAdjunctionDimensionData.Residue.rightMap D.dimension X i |
| 87 | (ProjectivePoint.Survivor.chart (R := R) (n := n)) B hB U hU |
| 88 | (PrincipalPoint.Fraction.family U D.parameters) (D.codimension+g) = |
| 89 | localMap X i s₀ B hB U hU D := rfl |
| 90 | |
| 91 | omit [IsArtinianRing R] [IsLocalRing R] [Nonempty ↥X.left] [GeometricallyConnected X.hom] in |
| 92 | theorem form_eq : ProjectivePoint.ResidueData.form X i s₀ hbase B hB U hU D = |
| 93 | localClass X i s₀ hbase B hB U hU D := |
| 94 | ConcreteCategory.congr_hom (form_map X i s₀ B hB U hU D) |
| 95 | (ProjectivePoint.ResidueData.pointTransfer X i s₀ hbase B hB U hU D) |
| 96 | |
| 97 | theorem originalClass_eq : originalClass X i s₀ hbase B hB U hU D = |
| 98 | ProjectiveSectionClassData.sectionClass X i s₀ hbase B hB g := by |
| 99 | exact Projective.PureClassDegreeTransport.comparison (scalar X i) (ProjectivePoint.Survivor.coefficient i.left s₀) |
| 100 | ((Scheme.Modules.pushforward i.left).obj (forms (g := g) X)) B n (Fintype.card_fin (n+2)) hB |
| 101 | (pointMap X i s₀) |
| 102 | (Projective.SectionClass.scalarUnitIso i.left s₀ |
| 103 | (ProjectiveSectionClassData.section_over X i s₀ hbase)) |
| 104 | (Projective.SectionClass.pointUnitIso i.left s₀ |
| 105 | (ProjectiveSectionClassData.section_over X i s₀ hbase)) |
| 106 | D.codimension (n+1-g) (pureDegree (X := X) (i := i) (s₀ := s₀) (g := g) (U := U) (hU := hU) (D := D)) |
| 107 | (exactAt X i s₀ B hB U hU D) |
| 108 | (ProjectiveSerre.exactAt i.left B n (Fintype.card_fin (n+2)) hB g) |
| 109 | g ((Nat.add_comm g D.codimension).trans D.dimension) |
| 110 | (ProjectiveSectionClassData.degree X i g) |
| 111 | (ProjectiveFormTrace.adjunctionIso X i B hB g) |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectiveResidueRecoveryData |