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.IsogenyQuotient.Geometric.Points |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.Power |
| 3 | |
| 4 | /-! # Unramified Torsion Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.UnramifiedTorsionDetection.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Invertible torsion in a proper commutative group is unramified. |
| 11 | Its sections are detected by geometric points without any reducedness |
| 12 | or flatness hypothesis on the test scheme or on the torsion scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem unramified_ext_of_field_points {S : Scheme.{u}} {X Y : Over S} |
| 20 | [FormallyUnramified Y.hom] [LocallyOfFiniteType Y.hom] (f g : X ⟶ Y) |
| 21 | (h : ∀ (K : Type u) [Field K] (s : Spec (.of K) ⟶ S) |
| 22 | (x : Over.mk s ⟶ X), x ≫ f = x ≫ g) : f = g := by |
| 23 | have hopen : IsOpenImmersion (equalizer.ι f g).left := EtaleDetection.Construction.equalizer_openImmersion f g |
| 24 | have hsurj : Surjective (equalizer.ι f g).left := by |
| 25 | constructor |
| 26 | intro x |
| 27 | let T : Over S := Over.mk (X.left.fromSpecResidueField x ≫ X.hom) |
| 28 | let p : T ⟶ X := Over.homMk (X.left.fromSpecResidueField x) rfl |
| 29 | let l := equalizer.lift p (h (X.left.residueField x) T.hom p) |
| 30 | let x₀ : Spec (X.left.residueField x) := default |
| 31 | refine ⟨l.left x₀, ?_⟩ |
| 32 | change (l.left ≫ (equalizer.ι f g).left) x₀ = x |
| 33 | rw [← Over.comp_left, equalizer.lift_ι] |
| 34 | exact X.left.fromSpecResidueField_apply x x₀ |
| 35 | have : IsIso (equalizer.ι f g).left := |
| 36 | (isIso_iff_isOpenImmersion_and_surjective _).mpr ⟨hopen, hsurj⟩ |
| 37 | apply Over.OverMorphism.ext |
| 38 | apply (cancel_epi (equalizer.ι f g).left).mp |
| 39 | exact congrArg Over.Hom.left (equalizer.condition f g) |
| 40 | |
| 41 | theorem unramified_ext_of_geometric_points {S : Scheme.{u}} {X Y : Over S} |
| 42 | [FormallyUnramified Y.hom] [LocallyOfFiniteType Y.hom] (f g : X ⟶ Y) |
| 43 | (h : ∀ (K : Type u) [Field K] [IsAlgClosed K] (s : Spec (.of K) ⟶ S) |
| 44 | (x : Over.mk s ⟶ X), x ≫ f = x ≫ g) : f = g := |
| 45 | unramified_ext_of_field_points f g (Geometric.Points.Construction.field_points_eq_of_geometric_points f g h) |
| 46 | |
| 47 | theorem invertibleTorsion_section_eq_one_of_geometric_points |
| 48 | {S : Scheme.{u}} (G : Over S) [GrpObj G] [IsCommMonObj G] [IsProper G.hom] |
| 49 | (n : ℕ) (hn : ∀ s : S, IsUnit (n : S.presheaf.stalk s)) |
| 50 | {T : Over S} (z : T ⟶ G) (hz : z ^ n = 1) |
| 51 | (hgeo : ∀ (K : Type u) [Field K] [IsAlgClosed K] (s : Spec (.of K) ⟶ S) |
| 52 | (x : Over.mk s ⟶ T), x ≫ z = 1) : z = 1 := by |
| 53 | have : FormallyUnramified (TorsionQuotient.SubgroupFunctor.torsionScheme G n).hom := |
| 54 | TorsionQuotient.Power.PowerGeometry.torsion_formallyUnramified G n hn |
| 55 | have : IsFinite (TorsionQuotient.SubgroupFunctor.torsionScheme G n).hom := TorsionQuotient.Power.PowerGeometry.torsion_isFinite G n hn |
| 56 | let a := TorsionQuotient.SubgroupFunctor.torsionLift n z hz |
| 57 | let b := TorsionQuotient.SubgroupFunctor.torsionLift n (1 : T ⟶ G) (one_pow n) |
| 58 | have : Mono (TorsionQuotient.SubgroupFunctor.torsionι G n) := inferInstanceAs (Mono (equalizer.ι ((𝟙 G) ^ n) 1)) |
| 59 | have hab : a = b := by |
| 60 | apply unramified_ext_of_geometric_points |
| 61 | intro K _ _ s x |
| 62 | apply (cancel_mono (TorsionQuotient.SubgroupFunctor.torsionι G n)).mp |
| 63 | simp only [Category.assoc, a, b, TorsionQuotient.SubgroupFunctor.torsionLift_ι, MonObj.comp_one] |
| 64 | exact hgeo K s x |
| 65 | have he := congrArg (fun c => c ≫ TorsionQuotient.SubgroupFunctor.torsionι G n) hab |
| 66 | simpa only [a, b, TorsionQuotient.SubgroupFunctor.torsionLift_ι] using he |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.UnramifiedTorsionDetection.Construction |