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.OrdinaryFramedDatum |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Line.IsoFromDescent |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Ordinary.OverlapPullback |
| 4 | |
| 5 | /-! # Framed Line Recovery -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.FramedLineRecovery |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! An invariant actual frame trivializes a specified recovered line, |
| 14 | using native morphism compatibility and line-descent uniqueness. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization |
| 21 | |
| 22 | theorem iso_inverse_square {C : Type*} [Category* C] {A B X Y : C} |
| 23 | (e : A ≅ B) (f : X ≅ Y) (a : A ⟶ X) (b : B ⟶ Y) |
| 24 | (h : e.hom ≫ b = a ≫ f.hom) : e.inv ≫ a = b ≫ f.inv := by |
| 25 | have hh := congrArg (fun q => e.inv ≫ q ≫ f.inv) h |
| 26 | simpa only [Category.assoc, Iso.inv_hom_id_assoc, Iso.hom_inv_id, Category.comp_id] using hh.symm |
| 27 | |
| 28 | theorem framedUnitRecovery_compatible {X Y R : Scheme.{0}} (f : X ⟶ Y) (s t : R ⟶ X) |
| 29 | (hk : IsKernelPair f s t) |
| 30 | (D : Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => f)) |
| 31 | (e : D.obj PUnit.unit ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 32 | (he : D.hom (t ≫ f) (i₁ := PUnit.unit) (i₂ := PUnit.unit) s t hk.w rfl ≫ |
| 33 | ((Scheme.Modules.pullback t).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso t).hom = |
| 34 | ((Scheme.Modules.pullback s).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso s).hom) : |
| 35 | (Scheme.Modules.pullback (pullback.fst f f)).map |
| 36 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f ≪≫ e.symm).hom ≫ |
| 37 | (Picard.PoincareBundle.Geometric.CechInvariant.relationGluing f D).hom = |
| 38 | (Picard.PoincareBundle.Cech.MateNormalization.standardGluing f (pullback.fst f f) (pullback.snd f f) |
| 39 | pullback.condition).hom.app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) ≫ |
| 40 | (Scheme.Modules.pullback (pullback.snd f f)).map |
| 41 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f ≪≫ e.symm).hom := by |
| 42 | let E := Picard.PoincareBundle.Recovered.OrdinaryDatum.Ordinary.baseDatum f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) |
| 43 | let c := e ≪≫ (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).symm |
| 44 | have hc := OrdinaryFramedDatum.framedDatum_pair_compatible f D e (t ≫ f) s t hk.w rfl he |
| 45 | have ha := KernelPairDescentMorphisms.kernelPair_descent_compatible Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks f s t hk D E c.hom hc |
| 46 | (pullback.snd f f ≫ f) (pullback.fst f f) (pullback.snd f f) pullback.condition rfl |
| 47 | have hb := iso_inverse_square ((Scheme.Modules.pullback (pullback.fst f f)).mapIso c) |
| 48 | ((Scheme.Modules.pullback (pullback.snd f f)).mapIso c) |
| 49 | (D.hom (pullback.snd f f ≫ f) (i₁ := PUnit.unit) (i₂ := PUnit.unit) |
| 50 | (pullback.fst f f) (pullback.snd f f) pullback.condition rfl) |
| 51 | (E.hom (pullback.snd f f ≫ f) (i₁ := PUnit.unit) (i₂ := PUnit.unit) |
| 52 | (pullback.fst f f) (pullback.snd f f) pullback.condition rfl) ha |
| 53 | change (Scheme.Modules.pullback (pullback.fst f f)).map |
| 54 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f ≪≫ e.symm).hom ≫ |
| 55 | (Picard.PoincareBundle.Geometric.CechInvariant.relationGluing f D).hom = |
| 56 | (Picard.PoincareBundle.Geometric.CechInvariant.relationGluing f E).hom ≫ |
| 57 | (Scheme.Modules.pullback (pullback.snd f f)).map |
| 58 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f ≪≫ e.symm).hom at hb |
| 59 | rw [Picard.PoincareBundle.Recovered.OrdinaryDatum.Ordinary.baseDatum_gluing] at hb |
| 60 | exact hb |
| 61 | |
| 62 | theorem recoveredLine_trivial_of_frame {X Y R : Scheme.{0}} (f : X ⟶ Y) |
| 63 | [IsAffineHom f] [Flat f] [Surjective f] [IsLocallyNoetherian Y] |
| 64 | (s t : R ⟶ X) (hk : IsKernelPair f s t) |
| 65 | (D : Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => f)) |
| 66 | (e : D.obj PUnit.unit ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 67 | (he : D.hom (t ≫ f) (i₁ := PUnit.unit) (i₂ := PUnit.unit) s t hk.w rfl ≫ |
| 68 | ((Scheme.Modules.pullback t).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso t).hom = |
| 69 | ((Scheme.Modules.pullback s).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso s).hom) |
| 70 | (P : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (r : (P.pullback f).sheaf ≅ D.obj PUnit.unit) |
| 71 | (hr : (Scheme.Modules.pullback (pullback.fst f f)).map r.hom ≫ |
| 72 | (Picard.PoincareBundle.Geometric.CechInvariant.relationGluing f D).hom = |
| 73 | (Picard.PoincareBundle.Cech.MateNormalization.standardGluing f (pullback.fst f f) (pullback.snd f f) |
| 74 | pullback.condition).hom.app P.sheaf ≫ (Scheme.Modules.pullback (pullback.snd f f)).map r.hom) : |
| 75 | Nonempty (P.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) := by |
| 76 | have hD : Picard.PoincareBundle.Line.Bundles.IsLine (D.obj PUnit.unit) := (Picard.PoincareBundle.Line.Bundles.isLine_unit X).of_iso e.symm |
| 77 | obtain ⟨a, _, _⟩ := Picard.PoincareBundle.Ordinary.LineDescentUniqueness.existsUnique_iso f D hD |
| 78 | (⟨P.sheaf, P.locallyTrivial⟩ : Picard.PoincareBundle.Line.Bundles.LineBundle Y) r hr |
| 79 | obtain ⟨b, _, _⟩ := Picard.PoincareBundle.Ordinary.LineDescentUniqueness.existsUnique_iso f D hD |
| 80 | (Picard.PoincareBundle.Line.Bundles.LineBundle.trivial Y) (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f ≪≫ e.symm) |
| 81 | (framedUnitRecovery_compatible f s t hk D e he) |
| 82 | exact ⟨a ≪≫ b.symm⟩ |
| 83 | |
| 84 | end |
| 85 | |
| 86 | /-! Keep the framed recovery equations at the level of actual |
| 87 | isomorphisms before taking their native module-morphism projections. -/ |
| 88 | |
| 89 | set_option backward.isDefEq.respectTransparency false |
| 90 | set_option backward.isDefEq.respectTransparency.types false |
| 91 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 92 | |
| 93 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization |
| 94 | |
| 95 | theorem iso_square_hom {C : Type*} [Category* C] {A B X Y : C} |
| 96 | (a : A ≅ B) (b : B ≅ Y) (c : A ≅ X) (d : X ≅ Y) (h : a ≪≫ b = c ≪≫ d) : |
| 97 | a.hom ≫ b.hom = c.hom ≫ d.hom := congrArg CategoryTheory.Iso.hom h |
| 98 | |
| 99 | theorem ordinaryOverlap_frame_iso {X Y R : Scheme.{0}} (f : X ⟶ Y) |
| 100 | (D : Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => f)) |
| 101 | (e : D.obj PUnit.unit ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 102 | (q : R ⟶ Y) (s t : R ⟶ X) (hs : s ≫ f = q) (ht : t ≫ f = q) |
| 103 | (he : D.hom q (i₁ := PUnit.unit) (i₂ := PUnit.unit) s t hs ht ≫ |
| 104 | ((Scheme.Modules.pullback t).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso t).hom = |
| 105 | ((Scheme.Modules.pullback s).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso s).hom) : |
| 106 | Picard.PoincareBundle.Ordinary.OverlapPullback.overlapIso f D q s t hs ht ≪≫ |
| 107 | ((Scheme.Modules.pullback t).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso t) = |
| 108 | (Scheme.Modules.pullback s).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso s := by |
| 109 | apply CategoryTheory.Iso.ext |
| 110 | rw [Iso.trans_hom, Picard.PoincareBundle.Ordinary.OverlapPullback.overlapIso_hom] |
| 111 | exact he |
| 112 | |
| 113 | theorem framedUnitRecovery_compatible_iso {X Y R : Scheme.{0}} (f : X ⟶ Y) (s t : R ⟶ X) |
| 114 | (hk : IsKernelPair f s t) |
| 115 | (D : Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => f)) |
| 116 | (e : D.obj PUnit.unit ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 117 | (he : Picard.PoincareBundle.Ordinary.OverlapPullback.overlapIso f D (t ≫ f) s t hk.w rfl ≪≫ |
| 118 | ((Scheme.Modules.pullback t).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso t) = |
| 119 | (Scheme.Modules.pullback s).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso s) : |
| 120 | (Scheme.Modules.pullback (pullback.fst f f)).mapIso |
| 121 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f ≪≫ e.symm) ≪≫ |
| 122 | Picard.PoincareBundle.Geometric.CechInvariant.relationGluing f D = |
| 123 | (Picard.PoincareBundle.Cech.MateNormalization.standardGluing f (pullback.fst f f) (pullback.snd f f) |
| 124 | pullback.condition).app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) ≪≫ |
| 125 | (Scheme.Modules.pullback (pullback.snd f f)).mapIso |
| 126 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f ≪≫ e.symm) := by |
| 127 | have h := congrArg CategoryTheory.Iso.hom he |
| 128 | rw [Iso.trans_hom, Picard.PoincareBundle.Ordinary.OverlapPullback.overlapIso_hom] at h |
| 129 | apply CategoryTheory.Iso.ext |
| 130 | exact framedUnitRecovery_compatible f s t hk D e h |
| 131 | |
| 132 | end |
| 133 | |
| 134 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.FramedLineRecovery |