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.PoincareDualData |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PolarizationIsogenyGluing |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.LevelGluing |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PoincareFixedFactor |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Polarization.PositivityDescent |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CartesianPolarizedLevelRecovery |
| 7 | |
| 8 | /-! # Polarized Family Gluing -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PolarizedFamilyGluing.DirectedPolarizedSchemeGluing |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Effective descent of the original polarized full-level objects |
| 15 | along a directed open cover. The abelian and dual schemes, Poincare |
| 16 | line, polarization map, and full ordered level are all constructed. |
| 17 | Every chart recovers the given original object. -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 20 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 21 | |
| 22 | variable {S : Scheme.{0}} (C : S.OpenCover.{0}) |
| 23 | [Category C.I₀] [C.LocallyDirected] [Small.{0} C.I₀] [Quiver.IsThin C.I₀] |
| 24 | [∀ i, IsLocallyNoetherian (C.X i)] {g N : ℕ} {δ : Fin g → ℕ} |
| 25 | (F : ∀ i, PolarizationData.PolarizedAbelianWithFullLevel g δ N (C.X i)) (hN : 3 ≤ N) |
| 26 | (e : ∀ {i j : C.I₀} (f : i ⟶ j), Moduli.Isomorphisms.LevelPreservingIso (F i) ((F j).pullback (C.trans f))) |
| 27 | |
| 28 | local notation "A" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelian C F hN e |
| 29 | local notation "E" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualAbelian C F hN e |
| 30 | local notation "D" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PoincareDualData.DirectedPolarizedSchemeGluing.poincareDual C F hN e |
| 31 | local notation "p" => OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PolarizationIsogenyGluing.DirectedPolarizedSchemeGluing.polarizationMap C F hN e |
| 32 | |
| 33 | section LocallyNoetherian |
| 34 | |
| 35 | variable [IsLocallyNoetherian S] |
| 36 | |
| 37 | /-- The line-recovery map is precisely the original native mixed |
| 38 | product map used in polarization and full-level base change. -/ |
| 39 | theorem poincareLine_mixedRecovery (i : C.I₀) : |
| 40 | Line.Bundles.LineBundle.pullbackClass |
| 41 | (ReferenceFamily.CartesianMixedProduct.CartesianFamily.mixedMap (C.f i) (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualChartIso C F hN e i) (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianChartIso C F hN e i)) |
| 42 | (Line.Bundles.LineBundle.classOf (D).poincare) = Line.Bundles.LineBundle.classOf (F i).dual.poincare := by |
| 43 | have h : PoincareLineObject.DirectedPolarizedSchemeGluing.poincareLineOriginalMap C F hN e i = |
| 44 | ReferenceFamily.CartesianMixedProduct.CartesianFamily.mixedMap (C.f i) (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualChartIso C F hN e i) (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianChartIso C F hN e i) := |
| 45 | ReferenceFamily.PoincareFixedFactor.fixedFamilyPoincareComparison_factor (F i).dual A (C.f i) (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianChartIso C F hN e i) |
| 46 | (E).scheme (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualChartIso C F hN e i) (PoincareTransitions.DirectedPolarizedSchemeGluing.poincareParameterInclusion C F hN e i) |
| 47 | ((PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualData C F hN e).chartIso_fst i).symm |
| 48 | exact (congrArg (fun f => Line.Bundles.LineBundle.pullbackClass f (Line.Bundles.LineBundle.classOf (D).poincare)) h).symm.trans |
| 49 | (PoincareLineObject.DirectedPolarizedSchemeGluing.poincareLine_originalRecovery C F hN e i) |
| 50 | |
| 51 | /-- The original ample geometric-fiber witnesses descend through the |
| 52 | native recovered Poincare formula. -/ |
| 53 | theorem polarization_positive (K : Type) [Field K] [IsAlgClosed K] |
| 54 | (s : Spec (.of K) ⟶ S) : PolarizationData.PositiveOnGeometricFiber D p K s := by |
| 55 | obtain ⟨i, x, hx⟩ := C.exists_eq (s default) |
| 56 | obtain ⟨a, ha, _⟩ := Scheme.exists_fac_of_etale_of_isSepClosed (C.f i) s x hx |
| 57 | have hp := ReferenceFamily.Polarization.PositivityDescent.positiveOnGeometricFiber_cartesian (F i).dual D (C.f i) |
| 58 | (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianChartIso C F hN e i) (PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualChartIso C F hN e i) |
| 59 | (F i).polarization.isogeny.hom p (PolarizationIsogenyGluing.DirectedPolarizedSchemeGluing.polarizationMap_chart C F hN e i) |
| 60 | (poincareLine_mixedRecovery C F hN e i) K a ((F i).polarization.positive K a) |
| 61 | exact ha ▸ hp |
| 62 | |
| 63 | /-- The original polarization, including its full kernel type and |
| 64 | geometric positivity; no positivity premise is added. -/ |
| 65 | def polarization : PolarizationData.Polarization D δ where |
| 66 | isogeny := PolarizationIsogenyGluing.DirectedPolarizedSchemeGluing.isogeny C F hN e |
| 67 | kernelType := PolarizationIsogenyGluing.DirectedPolarizedSchemeGluing.isogeny_type C F hN e |
| 68 | positive K _ _ s := polarization_positive C F hN e K s |
| 69 | |
| 70 | end LocallyNoetherian |
| 71 | |
| 72 | variable [IsNoetherian S] [NeZero N] |
| 73 | |
| 74 | /-- The descended original polarized abelian scheme with full ordered |
| 75 | level, on the actual glued base. -/ |
| 76 | def family : PolarizationData.PolarizedAbelianWithFullLevel g δ N S where |
| 77 | abelian := A |
| 78 | dual := D |
| 79 | polarization := DirectedPolarizedSchemeGluing.polarization C F hN e |
| 80 | level := LevelGluing.DirectedPolarizedSchemeGluing.level C F hN e |
| 81 | |
| 82 | /-- Original chart recovery preserves both group schemes, the actual |
| 83 | Poincare class, the polarization map, and every ordered level label. -/ |
| 84 | def familyChartIso (i : C.I₀) : |
| 85 | Moduli.Isomorphisms.LevelPreservingIso (F i) ((family C F hN e).pullback (C.f i)) := by |
| 86 | let eA : (F i).abelian.scheme ≅ ((family C F hN e).abelian.pullback (C.f i)).scheme := |
| 87 | PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianChartIso C F hN e i |
| 88 | let eD : (F i).dual.abelian.scheme ≅ ((family C F hN e).dual.abelian.pullback (C.f i)).scheme := |
| 89 | PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualChartIso C F hN e i |
| 90 | letI : IsMonHom eA.hom := PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianChartIso_group C F hN e i |
| 91 | letI : IsMonHom eD.hom := PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualChartIso_group C F hN e i |
| 92 | exact ReferenceFamily.CartesianPolarizedLevelRecovery.levelIso_of_cartesian_recovery (F i) (family C F hN e) (C.f i) eA eD |
| 93 | (PolarizationIsogenyGluing.DirectedPolarizedSchemeGluing.polarizationMap_chart C F hN e i) (poincareLine_mixedRecovery C F hN e i) |
| 94 | (LevelGluing.DirectedPolarizedSchemeGluing.chartIso_level C F hN e i).symm |
| 95 | |
| 96 | theorem familyChartIso_abelian (i : C.I₀) : |
| 97 | (familyChartIso C F hN e i).abelian = PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.abelianChartIso C F hN e i := rfl |
| 98 | |
| 99 | theorem familyChartIso_dual (i : C.I₀) : |
| 100 | (familyChartIso C F hN e i).dual = PolarizedSchemeGluing.DirectedPolarizedSchemeGluing.dualChartIso C F hN e i := rfl |
| 101 | |
| 102 | /-- Recovery remains an original full moduli isomorphism after every |
| 103 | base change of a chart, including nonreduced and non-Noetherian tests. -/ |
| 104 | def familyChartIsoOnTest (i : C.I₀) {T : Scheme.{0}} (t : T ⟶ C.X i) : |
| 105 | Moduli.Isomorphisms.LevelPreservingIso ((F i).pullback t) ((family C F hN e).pullback (t ≫ C.f i)) := |
| 106 | ((familyChartIso C F hN e i).pullback t).trans |
| 107 | (Moduli.Isomorphisms.LevelPreservingIso.pullbackComp (family C F hN e) (C.f i) t) |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Directed.PolarizedFamilyGluing.DirectedPolarizedSchemeGluing |