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.Quasi |
| 2 | import Mathlib.CategoryTheory.Monoidal.Cartesian.GrpLimits |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 4 | |
| 5 | /-! # Subgroup Preimage -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.SubgroupPreimage.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Pull back an actual finite subgroup along an isogeny as a group |
| 12 | scheme. Its cover geometry and bounded source torsion follow from the original maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | universe u |
| 18 | variable {S : Scheme.{u}} {A B J : Grp (Over S)} (f : A ⟶ B) (j : J ⟶ B) |
| 19 | |
| 20 | abbrev subgroupPreimage : Grp (Over S) := pullback f j |
| 21 | abbrev subgroupPreimageInclusion : subgroupPreimage f j ⟶ A := pullback.fst f j |
| 22 | abbrev subgroupPreimageProjection : subgroupPreimage f j ⟶ J := pullback.snd f j |
| 23 | |
| 24 | theorem subgroupPreimage_square : |
| 25 | (subgroupPreimageInclusion f j).hom.hom ≫ f.hom.hom = |
| 26 | (subgroupPreimageProjection f j).hom.hom ≫ j.hom.hom := |
| 27 | congrArg (fun t : subgroupPreimage f j ⟶ B => t.hom.hom) (pullback.condition (f := f) (g := j)) |
| 28 | |
| 29 | theorem subgroupPreimage_isPullback : |
| 30 | IsPullback (subgroupPreimageInclusion f j).hom.hom |
| 31 | (subgroupPreimageProjection f j).hom.hom f.hom.hom j.hom.hom := |
| 32 | (IsPullback.of_hasPullback f j).map (Grp.forget (Over S)) |
| 33 | |
| 34 | theorem subgroupPreimage_geometricPullback : |
| 35 | IsPullback (subgroupPreimageInclusion f j).hom.hom.left |
| 36 | (subgroupPreimageProjection f j).hom.hom.left f.hom.hom.left j.hom.hom.left := |
| 37 | (subgroupPreimage_isPullback f j).map (Over.forget S) |
| 38 | |
| 39 | instance subgroupPreimageInclusion_mono [Mono j.hom.hom] : |
| 40 | Mono (subgroupPreimageInclusion f j).hom.hom := |
| 41 | PullbackCone.mono_fst_of_is_pullback_of_mono (subgroupPreimage_isPullback f j).isLimit |
| 42 | |
| 43 | instance subgroupPreimageInclusion_closed [IsClosedImmersion j.hom.hom.left] : |
| 44 | IsClosedImmersion (subgroupPreimageInclusion f j).hom.hom.left := |
| 45 | MorphismProperty.of_isPullback (P := @IsClosedImmersion) |
| 46 | (subgroupPreimage_geometricPullback f j).flip inferInstance |
| 47 | |
| 48 | theorem subgroupPreimageProjection_cover |
| 49 | [IsFinite f.hom.hom.left] [Flat f.hom.hom.left] [LocallyOfFinitePresentation f.hom.hom.left] |
| 50 | [Surjective f.hom.hom.left] : |
| 51 | IsFinite (subgroupPreimageProjection f j).hom.hom.left ∧ |
| 52 | Flat (subgroupPreimageProjection f j).hom.hom.left ∧ |
| 53 | LocallyOfFinitePresentation (subgroupPreimageProjection f j).hom.hom.left ∧ |
| 54 | Surjective (subgroupPreimageProjection f j).hom.hom.left := by |
| 55 | have h := subgroupPreimage_geometricPullback f j |
| 56 | exact ⟨MorphismProperty.of_isPullback (P := @IsFinite) h inferInstance, |
| 57 | MorphismProperty.of_isPullback (P := @Flat) h inferInstance, |
| 58 | MorphismProperty.of_isPullback (P := @LocallyOfFinitePresentation) h inferInstance, |
| 59 | MorphismProperty.of_isPullback (P := @Surjective) h inferInstance⟩ |
| 60 | |
| 61 | variable (m n : ℕ) (hj : j.hom.hom ^ m = 1) |
| 62 | (hf : ∀ (T : Over S) (x : T ⟶ A.X), x ≫ f.hom.hom = 1 → x ^ n = 1) |
| 63 | |
| 64 | include hj hf in |
| 65 | theorem subgroupPreimage_killed : (subgroupPreimageInclusion f j).hom.hom ^ (m * n) = 1 := by |
| 66 | rw [pow_mul] |
| 67 | apply hf |
| 68 | rw [MonObj.pow_comp, subgroupPreimage_square, ← MonObj.comp_pow, hj, MonObj.comp_one] |
| 69 | |
| 70 | variable [IsCommMonObj A.X] |
| 71 | |
| 72 | def subgroupPreimageSourceTorsionMap : (subgroupPreimage f j).X ⟶ TorsionQuotient.SubgroupFunctor.torsionScheme A.X (m * n) := |
| 73 | TorsionQuotient.SubgroupFunctor.torsionLift (m * n) (subgroupPreimageInclusion f j).hom.hom |
| 74 | (subgroupPreimage_killed f j m n hj hf) |
| 75 | |
| 76 | omit [IsCommMonObj A.X] in |
| 77 | theorem subgroupPreimageSourceTorsionMap_inclusion : |
| 78 | subgroupPreimageSourceTorsionMap f j m n hj hf ≫ TorsionQuotient.SubgroupFunctor.torsionι A.X (m * n) = |
| 79 | (subgroupPreimageInclusion f j).hom.hom := TorsionQuotient.SubgroupFunctor.torsionLift_ι _ _ _ |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.SubgroupPreimage.Construction |