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.AbelianScheme.TorsionQuotient.SubgroupTransferIff |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.Group |
| 3 | |
| 4 | /-! # Subgroups -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.Subgroups.TorsionSubgroups |
| 7 | |
| 8 | /-! Genuine killed subgroup families are exactly subgroup families of actual torsion. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | open scoped _root_.CategoryTheory.MonObj |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S : Scheme.{u}} (A : Over S) [GrpObj A] [IsCommMonObj A] (n : ℕ) |
| 16 | variable {T : Over S} |
| 17 | |
| 18 | instance torsionInclusion_mono : Mono (SubgroupFunctor.torsionι A n) := by |
| 19 | unfold SubgroupFunctor.torsionι |
| 20 | exact Limits.equalizer.ι_mono (f := ((𝟙 A : A ⟶ A) ^ n)) (g := (1 : A ⟶ A)) |
| 21 | |
| 22 | noncomputable abbrev restrict (F : SubgroupFunctor.RelativeSubgroup A T) : SubgroupFunctor.RelativeSubgroup (SubgroupFunctor.torsionScheme A n) T := |
| 23 | SubgroupTransferIff.SubgroupTransfer.comap (SubgroupFunctor.torsionι A n) F |
| 24 | |
| 25 | noncomputable abbrev extend (F : SubgroupFunctor.RelativeSubgroup (SubgroupFunctor.torsionScheme A n) T) : SubgroupFunctor.RelativeSubgroup A T := |
| 26 | SubgroupTransferIff.SubgroupTransfer.map (SubgroupFunctor.torsionι A n) F |
| 27 | |
| 28 | theorem extend_restrict (F : SubgroupFunctor.RelativeSubgroup A T) (hF : F.KilledBy n) : |
| 29 | extend A n (restrict A n F) = F := by |
| 30 | ext X t a |
| 31 | constructor |
| 32 | · rintro ⟨b, hb, hba⟩ |
| 33 | exact hba ▸ hb |
| 34 | · intro ha |
| 35 | let b := SubgroupFunctor.torsionLift n a (hF X t a ha) |
| 36 | refine ⟨b, ?_, SubgroupFunctor.torsionLift_ι _ _ _⟩ |
| 37 | change b ≫ SubgroupFunctor.torsionι A n ∈ F.points X t |
| 38 | rw [SubgroupFunctor.torsionLift_ι] |
| 39 | exact ha |
| 40 | |
| 41 | noncomputable def restrictModel {F : SubgroupFunctor.RelativeSubgroup A T} (R : F.Model) (hF : F.KilledBy n) : |
| 42 | (restrict A n F).Model where |
| 43 | carrier := R.carrier |
| 44 | toBase := R.toBase |
| 45 | toGroup := R.toTorsion hF |
| 46 | finite := R.finite |
| 47 | flat := R.flat |
| 48 | finitePresentation := R.finitePresentation |
| 49 | jointly_monic := by |
| 50 | intro X h k hb hg |
| 51 | apply R.jointly_monic X h k hb |
| 52 | have he := congrArg (fun f => f ≫ SubgroupFunctor.torsionι A n) hg |
| 53 | simpa only [Category.assoc, SubgroupFunctor.RelativeSubgroup.Model.toTorsion_ι] using he |
| 54 | points_iff := by |
| 55 | intro X t b |
| 56 | change b ≫ SubgroupFunctor.torsionι A n ∈ F.points X t ↔ _ |
| 57 | rw [R.points_iff] |
| 58 | constructor |
| 59 | · rintro ⟨h, ht, hg⟩ |
| 60 | refine ⟨h, ht, ?_⟩ |
| 61 | apply (cancel_mono (SubgroupFunctor.torsionι A n)).mp |
| 62 | exact (Category.assoc _ _ _).trans |
| 63 | ((congrArg (fun f => h ≫ f) (R.toTorsion_ι hF)).trans hg) |
| 64 | · rintro ⟨h, ht, hg⟩ |
| 65 | refine ⟨h, ht, ?_⟩ |
| 66 | exact (congrArg (fun f => h ≫ f) (R.toTorsion_ι hF)).symm.trans |
| 67 | (((Category.assoc _ _ _).symm).trans (congrArg (fun f => f ≫ SubgroupFunctor.torsionι A n) hg)) |
| 68 | |
| 69 | noncomputable def restrictPointsEquiv (F : SubgroupFunctor.RelativeSubgroup A T) (hF : F.KilledBy n) |
| 70 | (X : Over S) (t : X ⟶ T) : (restrict A n F).points X t ≃* F.points X t := |
| 71 | (SubgroupTransferIff.SubgroupTransfer.pointsEquiv (SubgroupFunctor.torsionι A n) (restrict A n F) X t).trans |
| 72 | (MulEquiv.subgroupCongr (congrArg (fun G : SubgroupFunctor.RelativeSubgroup A T => G.points X t) |
| 73 | (extend_restrict A n F hF))) |
| 74 | |
| 75 | theorem extend_killed (F : SubgroupFunctor.RelativeSubgroup (SubgroupFunctor.torsionScheme A n) T) : (extend A n F).KilledBy n := by |
| 76 | intro X t a ha |
| 77 | obtain ⟨b, _, hba⟩ := ha |
| 78 | exact (SubgroupFunctor.factors_through_torsion_iff n a).mp ⟨b, hba⟩ |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.Subgroups.TorsionSubgroups |