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.AdjunctionGlobal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectivePureTrace |
| 3 | |
| 4 | /-! # Projective Form Trace -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectiveFormTrace |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual top differential-form sheaf inherits the normalized |
| 11 | Serre trace through the proved global adjunction. For a pointed smooth |
| 12 | proper geometrically connected family over the stated Artinian base, |
| 13 | this trace is an isomorphism. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistResidueNaturality |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 27 | [IsArtinianRing R] [IsLocalRing R] [Module.Injective R R] {n : ℕ} |
| 28 | |
| 29 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 30 | |
| 31 | variable (X : Over (Spec (CommRingCat.of R))) [Nonempty X.left] |
| 32 | (f : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)) [IsClosedImmersion f.left] |
| 33 | (B : ℕ) (hB : n + 2 ≤ B) (g : ℕ) |
| 34 | [SmoothOfRelativeDimension g X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 35 | |
| 36 | local instance composite_dimension : SmoothOfRelativeDimension g |
| 37 | (f.left ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n + 2))) := by |
| 38 | change SmoothOfRelativeDimension g (f.left ≫ (Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)).hom) |
| 39 | rw [Over.w f] |
| 40 | infer_instance |
| 41 | |
| 42 | local instance composite_proper : IsProper |
| 43 | (f.left ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n + 2))) := by |
| 44 | change IsProper (f.left ≫ (Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)).hom) |
| 45 | rw [Over.w f] |
| 46 | infer_instance |
| 47 | |
| 48 | local instance composite_connected : GeometricallyConnected |
| 49 | (f.left ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n + 2))) := by |
| 50 | change GeometricallyConnected (f.left ≫ (Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)).hom) |
| 51 | rw [Over.w f] |
| 52 | infer_instance |
| 53 | |
| 54 | include X f in |
| 55 | omit [IsArtinianRing R] [IsLocalRing R] [Module.Injective R R] [IsProper X.hom] [GeometricallyConnected X.hom] in |
| 56 | private theorem dimension_le : g ≤ n + 1 := by |
| 57 | have h := ClosedDimension.projective f.left g |
| 58 | simp only [Fintype.card_fin] at h |
| 59 | omega |
| 60 | |
| 61 | def adjunctionIso : |
| 62 | (ProjectiveRefinement.Serre.fixedDual |
| 63 | (Projective.ClosedImmersionPurity.directImage f.left) B n (Fintype.card_fin (n + 2))).homology |
| 64 | (n + 1 - g) ≅ |
| 65 | Intrinsic.ClosedFormSections.directImage R X (Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)) f g := by |
| 66 | letI : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 67 | exact Projective.AdjunctionGlobal.iso X f g |
| 68 | (NegativeTwistResidueNaturality.topChart.{u} (n + 1) (Fintype.card_fin (n + 2))) B hB (dimension_le X f g) |
| 69 | |
| 70 | abbrev cohomology : AddCommGrpCat.{u} := |
| 71 | (ProjectiveRefinement.Serre.cohomologyFunctor (R := R) (σ := Fin (n + 2)) g).obj |
| 72 | (Intrinsic.ClosedFormSections.directImage R X (Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)) f g) |
| 73 | |
| 74 | def trace : cohomology X f g ⟶ AddCommGrpCat.of (Projective.TopTracePairing.coefficientRing R) := |
| 75 | (ProjectiveRefinement.Serre.cohomologyFunctor (R := R) (σ := Fin (n + 2)) g).map |
| 76 | (adjunctionIso X f B hB g).inv ≫ |
| 77 | ProjectivePureTrace.trace f.left B n (Fintype.card_fin (n + 2)) hB g |
| 78 | |
| 79 | variable (s : Spec (CommRingCat.of R) ⟶ X.left) (hs : s ≫ X.hom = 𝟙 _) |
| 80 | |
| 81 | include hs in |
| 82 | omit [IsNoetherianRing R] [IsArtinianRing R] [IsLocalRing R] [Module.Injective R R] [Nonempty ↥X.left] [IsClosedImmersion (Over.Hom.left f)] [IsProper X.hom] [GeometricallyConnected X.hom] in |
| 83 | private theorem section_eq : |
| 84 | s ≫ (f.left ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n + 2))) = 𝟙 _ := by |
| 85 | change s ≫ (f.left ≫ (Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)).hom) = 𝟙 _ |
| 86 | rw [Over.w f] |
| 87 | exact hs |
| 88 | |
| 89 | def traceIso : cohomology X f g ≅ AddCommGrpCat.of (Projective.TopTracePairing.coefficientRing R) := |
| 90 | ((ProjectiveRefinement.Serre.cohomologyFunctor (R := R) (σ := Fin (n + 2)) g).mapIso |
| 91 | (adjunctionIso X f B hB g)).symm ≪≫ |
| 92 | ProjectivePureTrace.traceIso f.left B n (Fintype.card_fin (n + 2)) hB g |
| 93 | s (section_eq X f s hs) |
| 94 | |
| 95 | theorem traceIso_hom : (traceIso X f B hB g s hs).hom = trace X f B hB g := by |
| 96 | change _ ≫ (ProjectivePureTrace.traceIso f.left B n |
| 97 | (Fintype.card_fin (n + 2)) hB g s (section_eq X f s hs)).hom = _ |
| 98 | rw [ProjectivePureTrace.traceIso_hom] |
| 99 | rfl |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ProjectiveFormTrace |