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.FaithfulPullbackUnit |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.SchemeTheoreticallyDominant |
| 3 | |
| 4 | /-! # Dominant Line Pullback -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.DominantLinePullback.IntrinsicDominantPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Faithfulness for line bundles only needs an injective structure |
| 11 | sheaf map. It applies to the nonflat square-zero parameter injection. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.FaithfulLinePullback.PicardFaithfulLinePullback OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.NormalizedSquares.PicardNormalizedSquares |
| 16 | |
| 17 | theorem framedPullback_injective_of_appTop {X Y : Scheme} (f : X ⟶ Y) |
| 18 | (hf : Function.Injective f.appTop) {M N : Y.Modules} |
| 19 | (eM : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) (eN : N ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) : |
| 20 | Function.Injective (fun a : M ⟶ N => (Scheme.Modules.pullback f).map a) := by |
| 21 | intro a b hab |
| 22 | apply (OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.framedHomEquiv eM eN).symm.injective |
| 23 | change OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.framedCoefficient eM eN a = OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.framedCoefficient eM eN b |
| 24 | apply hf |
| 25 | rw [← OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.framedCoefficient_pullback, ← OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.framedCoefficient_pullback] |
| 26 | exact congrArg (OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.framedCoefficient (OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.pullbackFrame f eM) (OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom.pullbackFrame f eN)) hab |
| 27 | |
| 28 | variable {X Y : Scheme} (f : X ⟶ Y) [IsSchemeTheoreticallyDominant f] [QuasiCompact f] |
| 29 | |
| 30 | theorem linePullback_injective {M N : Y.Modules} (hM : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle M) (hN : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle N) : |
| 31 | Function.Injective (fun a : M ⟶ N => (Scheme.Modules.pullback f).map a) := by |
| 32 | intro a b hab |
| 33 | choose U hxU heM using hM |
| 34 | choose V hxV heN using hN |
| 35 | let W (y : Y) := U y ⊓ V y |
| 36 | have hW : (⊤ : Y.Opens) ≤ iSup W := by |
| 37 | intro y _ |
| 38 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨y, hxU y, hxV y⟩ |
| 39 | apply OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.OpenHomComparison.PicardOpenHomComparison.hom_eq_of_open_pullbacks M N W hW a b |
| 40 | intro y |
| 41 | let eM := ArithmeticGeometry.OrdinaryLocus.Openness.TensorRestriction.Construction.restrictLineBundleTrivialization (show W y ≤ U y from inf_le_left) (Classical.choice (heM y)) |
| 42 | let eN := ArithmeticGeometry.OrdinaryLocus.Openness.TensorRestriction.Construction.restrictLineBundleTrivialization (show W y ≤ V y from inf_le_right) (Classical.choice (heN y)) |
| 43 | let g := f ∣_ W y |
| 44 | have : IsSchemeTheoreticallyDominant g := |
| 45 | IsSchemeTheoreticallyDominant.of_isPullback (isPullback_morphismRestrict f (W y)).flip |
| 46 | have : QuasiCompact g := MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 47 | (isPullback_morphismRestrict f (W y)).flip (inferInstanceAs (QuasiCompact f)) |
| 48 | apply framedPullback_injective_of_appTop g (g.app_injective ⊤) eM eN |
| 49 | let α := OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.NormalizedSquares.PicardNormalizedSquares.sectionSquareIso f (W y).ι (f ⁻¹ᵁ W y).ι g (morphismRestrict_ι f (W y)).symm |
| 50 | exact OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.FaithfulLinePullback.PicardFaithfulLinePullback.map_eq_through_natIso α (congrArg (Scheme.Modules.pullback (f ⁻¹ᵁ W y).ι).map hab) |
| 51 | |
| 52 | theorem structureSheafToPushforward_mono : Mono (ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit.Construction.structureSheafToPushforward f) where |
| 53 | right_cancellation a b hab := by |
| 54 | apply Scheme.Modules.hom_ext |
| 55 | intro U |
| 56 | ext m |
| 57 | apply f.app_injective U |
| 58 | exact congrArg (fun q => q.app U m) hab |
| 59 | |
| 60 | theorem unit_structureSheaf_mono : |
| 61 | Mono ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y)) := by |
| 62 | have := structureSheafToPushforward_mono f |
| 63 | have h : Mono ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) ≫ |
| 64 | (Scheme.Modules.pushforward f).map (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso f).hom) := by |
| 65 | rw [ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit.Construction.pullbackStructureSheafIso_unit] |
| 66 | infer_instance |
| 67 | exact mono_of_mono_fac (show |
| 68 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) ≫ |
| 69 | (Scheme.Modules.pushforward f).map (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso f).hom = |
| 70 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) ≫ |
| 71 | (Scheme.Modules.pushforward f).map (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso f).hom from rfl) |
| 72 | |
| 73 | theorem unit_trivial_mono {M : Y.Modules} (e : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) : |
| 74 | Mono ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M) := by |
| 75 | let adj := Scheme.Modules.pullbackPushforwardAdjunction f |
| 76 | have : Mono (adj.unit.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y)) := unit_structureSheaf_mono f |
| 77 | exact mono_of_mono_fac (adj.unit.naturality e.hom).symm |
| 78 | |
| 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 OAI.AlgebraicGeometry.PELModuli.IntegralModel.Picard.FaithfulPullbackUnit.PicardFaithfulPullbackUnit.mono_of_locally_restrict_mono _ U hU |
| 86 | intro y |
| 87 | let g := f ∣_ U y |
| 88 | have : IsSchemeTheoreticallyDominant g := |
| 89 | IsSchemeTheoreticallyDominant.of_isPullback (isPullback_morphismRestrict f (U y)).flip |
| 90 | have : QuasiCompact g := MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 91 | (isPullback_morphismRestrict f (U y)).flip (inferInstanceAs (QuasiCompact 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.RepresentationTheory.Theta.Geometric.DominantLinePullback.IntrinsicDominantPullback |