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.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PoincareLineObject |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.PoincareSecondZero |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.DescendedPicardCoverBijection |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.DescendedPicardOrigin |
| 5 | |
| 6 | /-! # Poincare Dual Data -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PoincareDualData.DirectedPolarizedSchemeGluing |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The effectively glued Poincare line represents the original |
| 13 | homogeneous Picard sheaf on all tests. Both original zero normalizations |
| 14 | are retained, so this constructs actual DualAbelianData. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | variable {S : Scheme.{0}} [IsLocallyNoetherian S] (C : S.OpenCover.{0}) |
| 21 | [Category C.I₀] [C.LocallyDirected] [Small.{0} C.I₀] [Quiver.IsThin C.I₀] |
| 22 | [∀ i, IsLocallyNoetherian (C.X i)] {g N : ℕ} {δ : Fin g → ℕ} |
| 23 | (F : ∀ i, PolarizationData.PolarizedAbelianWithFullLevel g δ N (C.X i)) (hN : 3 ≤ N) |
| 24 | (e : ∀ {i j : C.I₀} (f : i ⟶ j), Moduli.Isomorphisms.LevelPreservingIso (F i) ((F j).pullback (C.trans f))) |
| 25 | |
| 26 | local notation "A" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelian C F hN e |
| 27 | local notation "E" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualAbelian C F hN e |
| 28 | local notation "J" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PoincareLineObject.DirectedPolarizedSchemeGluing.poincareLine C F hN e |
| 29 | local notation "hJ" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PoincareLineObject.DirectedPolarizedSchemeGluing.poincareLine_homogeneous C F hN e |
| 30 | |
| 31 | omit [IsLocallyNoetherian S] in |
| 32 | private theorem parameterInclusion_total (i : C.I₀) : |
| 33 | (PoincareTransitions.DirectedPolarizedSchemeGluing.poincareParameterInclusion C F hN e i).left = |
| 34 | ReferenceFamily.CartesianFiberComparison.CartesianFamily.totalMap (C.f i) (F i).dual.abelian.scheme (E).scheme |
| 35 | (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualChartIso C F hN e i) := |
| 36 | ((PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualData C F hN e).chartIso_fst i).symm |
| 37 | |
| 38 | theorem poincare_parameter_bijective_on_chart (i : C.I₀) (T : Over (C.X i)) : |
| 39 | Function.Bijective (fun a : (Over.map (C.f i)).obj T ⟶ (E).scheme => |
| 40 | RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.parameterHomogeneousPicardClass A J hJ a) := |
| 41 | ReferenceFamily.DescendedPicardCoverBijection.descendedPicard_parameter_bijective_over_cover (F i).dual A (C.f i) |
| 42 | (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianChartIso C F hN e i) (E).scheme (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualChartIso C F hN e i) |
| 43 | (PoincareTransitions.DirectedPolarizedSchemeGluing.poincareParameterInclusion C F hN e i) (parameterInclusion_total C F hN e i) |
| 44 | J hJ (PoincareLineObject.DirectedPolarizedSchemeGluing.poincareLine_recovery_class C F hN e i) T |
| 45 | |
| 46 | theorem poincare_parameterMap_isIso : IsIso (RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.homogeneousParameterMap A J hJ) := by |
| 47 | let K := Scheme.fppfTopology.over S |
| 48 | let a : K.uliftYoneda.{1}.obj (E).scheme ⟶ (A).homogeneousPicardSheaf := |
| 49 | ⟨RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.homogeneousParameterMap A J hJ⟩ |
| 50 | have : IsIso a := by |
| 51 | apply SheafOpenCoverDetection.fppfSheaf_isIso_of_baseOpenCover C a |
| 52 | intro i T |
| 53 | have hb := poincare_parameter_bijective_on_chart C F hN e i T |
| 54 | constructor |
| 55 | · intro x y hxy |
| 56 | apply ULift.ext |
| 57 | exact hb.injective hxy |
| 58 | · intro x |
| 59 | obtain ⟨b, hb⟩ := hb.surjective x |
| 60 | exact ⟨ULift.up b, hb⟩ |
| 61 | exact inferInstanceAs (IsIso ((sheafToPresheaf K (Type 1)).map a)) |
| 62 | |
| 63 | /-- The original Picard sheaf is represented by the actual glued dual |
| 64 | scheme, via the line object just constructed. -/ |
| 65 | def poincareRepresentable : (A).homogeneousPicardSheaf.obj.RepresentableBy (E).scheme := by |
| 66 | letI := poincare_parameterMap_isIso C F hN e |
| 67 | exact (Functor.RepresentableBy.equivUliftYonedaIso (A).homogeneousPicardSheaf.obj (E).scheme).symm |
| 68 | (asIso (RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.homogeneousParameterMap A J hJ)) |
| 69 | |
| 70 | theorem poincareRepresentable_class (T : Over S) (a : T ⟶ (E).scheme) : |
| 71 | (poincareRepresentable C F hN e).homEquiv a = RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.parameterHomogeneousPicardClass A J hJ a := rfl |
| 72 | |
| 73 | theorem poincare_parameter_origin (T : Over S) : |
| 74 | RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.parameterHomogeneousPicardClass A J hJ (1 : T ⟶ (E).scheme) = (A).trivialHomogeneousPicardClass T := by |
| 75 | apply SheafOpenCoverDetection.fppfSheaf_eq_of_baseOpenCover (A).homogeneousPicardSheaf C T |
| 76 | intro i |
| 77 | let U := (Over.pullback (C.f i)).obj T |
| 78 | let p := SubterminalRelativeChart.baseChartProjection (C.f i) T |
| 79 | have hlocal := ReferenceFamily.DescendedPicardOrigin.descendedPicard_parameter_origin_over_cover (F i).dual A (C.f i) |
| 80 | (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianChartIso C F hN e i) E (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualChartIso C F hN e i) |
| 81 | (PoincareTransitions.DirectedPolarizedSchemeGluing.poincareParameterInclusion C F hN e i) (parameterInclusion_total C F hN e i) |
| 82 | J hJ (PoincareLineObject.DirectedPolarizedSchemeGluing.poincareLine_recovery_class C F hN e i) U |
| 83 | have hz : (A).homogeneousPicardSheaf.obj.map p.op ((A).trivialHomogeneousPicardClass T) = |
| 84 | (A).trivialHomogeneousPicardClass ((Over.map (C.f i)).obj U) := by |
| 85 | rw [(A).trivialHomogeneousPicardClass_eq_one, (A).trivialHomogeneousPicardClass_eq_one] |
| 86 | exact ((A).homogeneousPicardSectionRestriction p).map_one |
| 87 | exact (RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.parameterHomogeneousPicardClass_naturality A J hJ (1 : T ⟶ (E).scheme) p).trans |
| 88 | ((congrArg (RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.parameterHomogeneousPicardClass A J hJ) (MonObj.comp_one p)).trans |
| 89 | (hlocal.trans hz.symm)) |
| 90 | |
| 91 | theorem poincareRepresentable_universalClass : |
| 92 | (poincareRepresentable C F hN e).homEquiv (𝟙 (E).scheme) = |
| 93 | (toSheafify (Scheme.fppfTopology.over S) (A).homogeneousPicardPresheaf).app (.op (E).scheme) |
| 94 | ⟨Line.Bundles.LineBundle.classOf J, hJ⟩ := |
| 95 | (poincareRepresentable_class C F hN e (E).scheme (𝟙 (E).scheme)).trans |
| 96 | (ReferenceFamily.HomogeneousParameterRecovery.homogeneousParameterClass_identity A (E).scheme J hJ) |
| 97 | |
| 98 | def poincareLineDualZero : |
| 99 | ((J).pullback (lift (1 : (A).scheme ⟶ (E).scheme) (𝟙 (A).scheme)).left).sheaf ≅ |
| 100 | Line.Bundles.structureModule (A).scheme.left := |
| 101 | Classical.choice (Normalized.PoincareSecondZero.normalizedPoincare_dualZero_of_origin A (E).scheme J hJ |
| 102 | (PoincareLineObject.DirectedPolarizedSchemeGluing.poincareLineZero C F hN e) (poincare_parameter_origin C F hN e (𝟙_ (Over S)))) |
| 103 | |
| 104 | /-- The original dual-data structure, with an actual globally glued |
| 105 | Poincare line, all-test representability, and both zero rigidifications. -/ |
| 106 | def poincareDual : Dual.Data.DualAbelianData A where |
| 107 | abelian := E |
| 108 | representable := poincareRepresentable C F hN e |
| 109 | origin T := (poincareRepresentable_class C F hN e T 1).trans (poincare_parameter_origin C F hN e T) |
| 110 | poincare := J |
| 111 | poincareHomogeneous := hJ |
| 112 | universalClass := poincareRepresentable_universalClass C F hN e |
| 113 | normalizedAtAbelianZero := ⟨PoincareLineObject.DirectedPolarizedSchemeGluing.poincareLineZero C F hN e⟩ |
| 114 | normalizedAtDualZero := ⟨poincareLineDualZero C F hN e⟩ |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PoincareDualData.DirectedPolarizedSchemeGluing |