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.FiniteFlatKernelTransport |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupPointBaseChange |
| 3 | |
| 4 | /-! # Point Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.PointBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual point comparison commutes with kernel inclusions. This |
| 11 | turns integral point membership into membership in the base-changed |
| 12 | finite flat subgroup, without replacing its all-test model. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupPointBaseChange |
| 18 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | theorem pointPullbackGroupEquiv_comp {S T : Scheme.{u}} (f : T ⟶ S) |
| 23 | {G H : Grp (Over S)} (c : G ⟶ H) (a : Over.mk f ⟶ G.X) : |
| 24 | GroupPointBaseChange.pointPullbackGroupEquiv f H (a ≫ c.hom.hom) = |
| 25 | GroupPointBaseChange.pointPullbackGroupEquiv f G a ≫ ((Over.pullback f).mapGrp.map c).hom.hom := by |
| 26 | let e : (Over.map f).obj (Over.mk (𝟙 T)) ≅ Over.mk f := |
| 27 | Over.isoMk (Iso.refl _) (by simp) |
| 28 | change (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv f H (Over.mk (𝟙 T))) (e.hom ≫ (a ≫ c.hom.hom)) = |
| 29 | (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv f G (Over.mk (𝟙 T))) (e.hom ≫ a) ≫ |
| 30 | ((Over.pullback f).mapGrp.map c).hom.hom |
| 31 | rw [← Category.assoc] |
| 32 | exact (Over.mapPullbackAdj f).homEquiv_naturality_right (e.hom ≫ a) c.hom.hom |
| 33 | |
| 34 | theorem pullbackKernel_membership {S T : Scheme.{u}} {A : Over S} [GrpObj A] |
| 35 | (K : Properties.FiniteFlatKernel A) (f : T ⟶ S) (a : Over.mk f ⟶ A) : |
| 36 | (∃ b : Over.mk (𝟙 T) ⟶ (K.pullback f).carrier, |
| 37 | b ≫ (K.pullback f).inclusion = GroupPointBaseChange.pointPullbackGroupEquiv f (Grp.mk A) a) ↔ |
| 38 | ∃ b : Over.mk f ⟶ K.carrier, b ≫ K.inclusion = a := by |
| 39 | let c : Grp.mk K.carrier ⟶ Grp.mk A := Grp.homMk K.inclusion |
| 40 | let eK := GroupPointBaseChange.pointPullbackGroupEquiv f (Grp.mk K.carrier) |
| 41 | let eA := GroupPointBaseChange.pointPullbackGroupEquiv f (Grp.mk A) |
| 42 | constructor |
| 43 | · rintro ⟨b, hb⟩ |
| 44 | refine ⟨eK.symm b, eA.injective ?_⟩ |
| 45 | have hn := pointPullbackGroupEquiv_comp f c (eK.symm b) |
| 46 | exact hn.trans ((congrArg (fun z => z ≫ (Over.pullback f).map K.inclusion) |
| 47 | (eK.apply_symm_apply b)).trans hb) |
| 48 | · rintro ⟨b, hb⟩ |
| 49 | refine ⟨eK b, ?_⟩ |
| 50 | exact (pointPullbackGroupEquiv_comp f c b).symm.trans (congrArg eA hb) |
| 51 | |
| 52 | theorem mapIsoKernel_membership {S : Scheme.{u}} {A B U : Over S} [GrpObj A] [GrpObj B] |
| 53 | (K : Properties.FiniteFlatKernel A) (e : A ≅ B) [IsMonHom e.hom] (a : U ⟶ B) : |
| 54 | (∃ b : U ⟶ (K.mapIso e).carrier, b ≫ (K.mapIso e).inclusion = a) ↔ |
| 55 | ∃ b : U ⟶ K.carrier, b ≫ K.inclusion = a ≫ e.inv := by |
| 56 | constructor |
| 57 | · rintro ⟨b, hb⟩ |
| 58 | let b' : U ⟶ K.carrier := b |
| 59 | change b' ≫ (K.inclusion ≫ e.hom) = a at hb |
| 60 | refine ⟨b', ?_⟩ |
| 61 | exact (cancel_mono e.hom).mp (by |
| 62 | simpa only [Category.assoc, e.inv_hom_id, Category.comp_id] using hb) |
| 63 | · rintro ⟨b, hb⟩ |
| 64 | refine ⟨b, ?_⟩ |
| 65 | change b ≫ (K.inclusion ≫ e.hom) = a |
| 66 | rw [← Category.assoc, hb, Category.assoc, e.inv_hom_id, Category.comp_id] |
| 67 | |
| 68 | theorem baseChangedPointEquiv_pullback {S₁ S₂ S₀ : Scheme.{u}} (f : S₀ ⟶ S₁) (g : S₀ ⟶ S₂) |
| 69 | (G : Grp (Over S₁)) (H : Grp (Over S₂)) |
| 70 | (e : (Over.pullback f).mapGrp.obj G ≅ (Over.pullback g).mapGrp.obj H) |
| 71 | (a : Over.mk f ⟶ G.X) : |
| 72 | GroupPointBaseChange.pointPullbackGroupEquiv g H (GroupPointBaseChange.baseChangedPointEquiv f g G H e a) = |
| 73 | GroupPointBaseChange.pointPullbackGroupEquiv f G a ≫ e.hom.hom.hom := by |
| 74 | exact (GroupPointBaseChange.pointPullbackGroupEquiv g H).apply_symm_apply _ |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.PointBaseChange |