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.Isogenies.NeighborCounting.FaithfulLinePullback |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ModulePullbackOpen |
| 3 | |
| 4 | /-! # Faithful Pullback Unit -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FaithfulPullbackUnit |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Faithfully flat pullback units for actual line bundles are monomorphisms. |
| 11 | This gives uniqueness for local factorizations through the unit. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | open OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ModulePullbackOpen.Construction OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FunctionDescent OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OpenHomComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FaithfulLinePullback |
| 18 | |
| 19 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [Flat f] [Surjective f] |
| 20 | |
| 21 | theorem app_injective (U : Y.Opens) : Function.Injective (f.app U) := by |
| 22 | let g := f ∣_ U |
| 23 | have : Flat g := MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 24 | (isPullback_morphismRestrict f U).flip (inferInstanceAs (Flat f)) |
| 25 | have : Surjective g := MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 26 | (isPullback_morphismRestrict f U).flip (inferInstanceAs (Surjective f)) |
| 27 | have : Epi g := Flat.epi_of_flat_of_surjective g |
| 28 | have hi : Function.Injective (f.app (U.ι ''ᵁ ⊤)) := by |
| 29 | intro r s hrs |
| 30 | apply FunctionDescent.appTop_injective_of_epi g |
| 31 | change (f ∣_ U).appTop r = (f ∣_ U).appTop s |
| 32 | rw [morphismRestrict_appTop] |
| 33 | change X.presheaf.map _ (f.app _ r) = X.presheaf.map _ (f.app _ s) |
| 34 | rw [hrs] |
| 35 | exact (congrArg (fun V : Y.Opens ↦ Function.Injective (f.app V)) U.ι_image_top).mp hi |
| 36 | |
| 37 | theorem structureSheafToPushforward_mono : Mono (ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit.Construction.structureSheafToPushforward f) where |
| 38 | right_cancellation a b hab := by |
| 39 | apply Scheme.Modules.hom_ext |
| 40 | intro U |
| 41 | ext m |
| 42 | apply app_injective f U |
| 43 | exact congrArg (fun q ↦ q.app U m) hab |
| 44 | |
| 45 | theorem unit_structureSheaf_mono : |
| 46 | Mono ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y)) := by |
| 47 | have := structureSheafToPushforward_mono f |
| 48 | have h : Mono ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) ≫ |
| 49 | (Scheme.Modules.pushforward f).map (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso f).hom) := by |
| 50 | rw [ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit.Construction.pullbackStructureSheafIso_unit] |
| 51 | infer_instance |
| 52 | exact mono_of_mono_fac (show |
| 53 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) ≫ |
| 54 | (Scheme.Modules.pushforward f).map (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso f).hom = |
| 55 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) ≫ |
| 56 | (Scheme.Modules.pushforward f).map (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso f).hom from rfl) |
| 57 | |
| 58 | theorem unit_trivial_mono {M : Y.Modules} (e : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) : |
| 59 | Mono ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M) := by |
| 60 | let adj := Scheme.Modules.pullbackPushforwardAdjunction f |
| 61 | have : Mono (adj.unit.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y)) := unit_structureSheaf_mono f |
| 62 | exact mono_of_mono_fac (adj.unit.naturality e.hom).symm |
| 63 | |
| 64 | omit [Flat f] [Surjective f] in |
| 65 | theorem mono_of_locally_restrict_mono {M N : Y.Modules} (a : M ⟶ N) |
| 66 | {ι : Type*} (U : ι → Y.Opens) (hU : (⊤ : Y.Opens) ≤ iSup U) |
| 67 | (ha : ∀ i, Mono ((Scheme.Modules.restrictFunctor (U i).ι).map a)) : Mono a where |
| 68 | right_cancellation b c hbc := by |
| 69 | apply OpenHomComparison.hom_eq_of_open_pullbacks _ _ U hU b c |
| 70 | intro i |
| 71 | apply FaithfulLinePullback.map_eq_through_natIso (Scheme.Modules.restrictFunctorIsoPullback (U i).ι) |
| 72 | have := ha i |
| 73 | apply (cancel_mono ((Scheme.Modules.restrictFunctor (U i).ι).map a)).mp |
| 74 | rw [← (Scheme.Modules.restrictFunctor (U i).ι).map_comp, |
| 75 | ← (Scheme.Modules.restrictFunctor (U i).ι).map_comp, hbc] |
| 76 | |
| 77 | /-- The actual adjunction unit is monic for every line bundle, without |
| 78 | reducedness or a global trivialization. -/ |
| 79 | theorem unit_line_mono {M : Y.Modules} (hM : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle M) : |
| 80 | Mono ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M) := by |
| 81 | choose U hyU he using hM |
| 82 | have hU : (⊤ : Y.Opens) ≤ iSup U := by |
| 83 | intro y _ |
| 84 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨y, hyU y⟩ |
| 85 | apply mono_of_locally_restrict_mono _ U hU |
| 86 | intro y |
| 87 | let g := f ∣_ U y |
| 88 | have : Flat g := MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 89 | (isPullback_morphismRestrict f (U y)).flip (inferInstanceAs (Flat f)) |
| 90 | have : Surjective g := MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 91 | (isPullback_morphismRestrict f (U y)).flip (inferInstanceAs (Surjective f)) |
| 92 | let e : M.restrict (U y).ι ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule (U y).toScheme := |
| 93 | (Scheme.Modules.restrictFunctorIsoPullback (U y).ι).app M ≪≫ Classical.choice (he y) |
| 94 | have : Mono ((Scheme.Modules.pullbackPushforwardAdjunction g).unit.app (M.restrict (U y).ι)) := |
| 95 | unit_trivial_mono g e |
| 96 | exact mono_of_mono_fac (ArithmeticGeometry.OrdinaryLocus.Openness.ModulePullbackOpen.Construction.modulePullbackOpen_unit f (U y) M) |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FaithfulPullbackUnit |