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.PELModuli.IntegralModel.Picard.GlobalFunctions |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.ModuleHomSheaf |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.LineEndomorphisms |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.RigidifiedIso |
| 5 | |
| 6 | /-! # Rigidified Uniqueness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.RigidifiedUniqueness.PicardRigidifiedUniqueness |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Uniqueness of normalized line-bundle isomorphisms, including after |
| 13 | arbitrary nonreduced base change of a proper integral geometric factor. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.GlobalFunctions.PicardFunctions |
| 21 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.ModuleHomSheaf.PicardModuleHomSheaf |
| 22 | |
| 23 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar OAI.AlgebraicGeometry.Isogenies.NeighborCounting.LineEndomorphisms OAI.AlgebraicGeometry.Isogenies.NeighborCounting.RigidifiedIso |
| 24 | |
| 25 | variable {X T : Scheme.{u}} (π : X ⟶ T) (z : T ⟶ X) |
| 26 | |
| 27 | theorem section_appTop_injective (hπ : z ≫ π = 𝟙 T) |
| 28 | (hΓ : Function.Surjective π.appTop) : Function.Injective z.appTop := by |
| 29 | intro r s hrs |
| 30 | obtain ⟨a, rfl⟩ := hΓ r |
| 31 | obtain ⟨b, rfl⟩ := hΓ s |
| 32 | have h (c : Γ(T, ⊤)) : z.appTop (π.appTop c) = c := |
| 33 | congrArg (fun f : T ⟶ T ↦ f.appTop c) hπ |
| 34 | rw [h, h] at hrs |
| 35 | exact congrArg π.appTop hrs |
| 36 | |
| 37 | theorem section_pullbackEnd_injective (hπ : z ≫ π = 𝟙 T) |
| 38 | (hΓ : Function.Surjective π.appTop) {M : X.Modules} (hM : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle M) : |
| 39 | Function.Injective (fun q : M ⟶ M ↦ (Scheme.Modules.pullback z).map q) := by |
| 40 | intro q q' hq |
| 41 | obtain ⟨r, rfl⟩ := Isogenies.NeighborCounting.LineEndomorphisms.exists_scalarEnd hM q |
| 42 | obtain ⟨s, rfl⟩ := Isogenies.NeighborCounting.LineEndomorphisms.exists_scalarEnd hM q' |
| 43 | change (Scheme.Modules.pullback z).map (Isogenies.NeighborCounting.ModuleScalar.scalarEnd M r) = |
| 44 | (Scheme.Modules.pullback z).map (Isogenies.NeighborCounting.ModuleScalar.scalarEnd M s) at hq |
| 45 | rw [Isogenies.NeighborCounting.ModuleScalar.scalarEnd_pullback, Isogenies.NeighborCounting.ModuleScalar.scalarEnd_pullback] at hq |
| 46 | have hr := Isogenies.NeighborCounting.LineEndomorphisms.scalarEnd_injective (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.isLineBundle_pullback z M hM) hq |
| 47 | exact congrArg (Isogenies.NeighborCounting.ModuleScalar.scalarEnd M) (section_appTop_injective π z hπ hΓ hr) |
| 48 | |
| 49 | theorem iso_eq_of_section (hπ : z ≫ π = 𝟙 T) |
| 50 | (hΓ : Function.Surjective π.appTop) {M N : X.Modules} (hM : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle M) |
| 51 | (e f : M ≅ N) |
| 52 | (hef : (Scheme.Modules.pullback z).map e.hom = (Scheme.Modules.pullback z).map f.hom) : |
| 53 | e = f := by |
| 54 | apply Iso.ext |
| 55 | apply (cancel_mono f.inv).mp |
| 56 | apply section_pullbackEnd_injective π z hπ hΓ hM |
| 57 | change (Scheme.Modules.pullback z).map (e.hom ≫ f.inv) = |
| 58 | (Scheme.Modules.pullback z).map (f.hom ≫ f.inv) |
| 59 | rw [Functor.map_comp, Functor.map_comp, hef] |
| 60 | |
| 61 | theorem normalizedIso_unique (hπ : z ≫ π = 𝟙 T) |
| 62 | (hΓ : Function.Surjective π.appTop) {M N : X.Modules} (hM : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle M) |
| 63 | (eM : (Scheme.Modules.pullback z).obj M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule T) |
| 64 | (eN : (Scheme.Modules.pullback z).obj N ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule T) |
| 65 | (e f : M ≅ N) |
| 66 | (he : (Scheme.Modules.pullback z).map e.hom ≫ eN.hom = eM.hom) |
| 67 | (hf : (Scheme.Modules.pullback z).map f.hom ≫ eN.hom = eM.hom) : e = f := by |
| 68 | apply iso_eq_of_section π z hπ hΓ hM e f |
| 69 | exact (cancel_mono eN.hom).mp (he.trans hf.symm) |
| 70 | |
| 71 | /-- Every existing isomorphism has exactly one normalized representative. -/ |
| 72 | theorem existsUnique_normalizedIso (hπ : z ≫ π = 𝟙 T) |
| 73 | (hΓ : Function.Surjective π.appTop) {M N : X.Modules} (hM : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle M) |
| 74 | (eM : (Scheme.Modules.pullback z).obj M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule T) |
| 75 | (eN : (Scheme.Modules.pullback z).obj N ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule T) (e : M ≅ N) : |
| 76 | ∃! f : M ≅ N, (Scheme.Modules.pullback z).map f.hom ≫ eN.hom = eM.hom := by |
| 77 | refine ⟨Isogenies.NeighborCounting.RigidifiedIso.normalizedIso π z e eM eN, Isogenies.NeighborCounting.RigidifiedIso.normalizedIso_section π z hπ e eM eN, ?_⟩ |
| 78 | intro f hf |
| 79 | exact normalizedIso_unique π z hπ hΓ hM eM eN f _ hf |
| 80 | (Isogenies.NeighborCounting.RigidifiedIso.normalizedIso_section π z hπ e eM eN) |
| 81 | |
| 82 | /-- The scalar-control hypothesis is proved for the actual proper product, |
| 83 | with no reducedness or finite-type restriction on the test scheme. -/ |
| 84 | theorem proper_product_normalizedIso_unique |
| 85 | {k : Type u} [Field k] [IsAlgClosed k] |
| 86 | (T A : Over (Spec (.of k))) [IsProper A.hom] [IsIntegral A.left] |
| 87 | (z : T.left ⟶ (T ⊗ A).left) (hz : z ≫ (fst T A).left = 𝟙 T.left) |
| 88 | {M N : (T ⊗ A).left.Modules} (hM : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle M) |
| 89 | (eM : (Scheme.Modules.pullback z).obj M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule T.left) |
| 90 | (eN : (Scheme.Modules.pullback z).obj N ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule T.left) |
| 91 | (e f : M ≅ N) |
| 92 | (he : (Scheme.Modules.pullback z).map e.hom ≫ eN.hom = eM.hom) |
| 93 | (hf : (Scheme.Modules.pullback z).map f.hom ≫ eN.hom = eM.hom) : e = f := by |
| 94 | have hΓ : IsIso ((fst T A).left.appTop) := GlobalFunctions.PicardFunctions.isIso_properBaseChange_app T A ⊤ |
| 95 | exact normalizedIso_unique (fst T A).left z hz |
| 96 | (ConcreteCategory.bijective_of_isIso ((fst T A).left.appTop)).surjective hM eM eN e f he hf |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.RigidifiedUniqueness.PicardRigidifiedUniqueness |