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.PointwiseFiberRigidity |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Field.GroupRigidity |
| 3 | import Mathlib.AlgebraicGeometry.ResidueField |
| 4 | |
| 5 | /-! # Point Group Detection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Field.PointGroupDetection.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Field base changes detect values on field-valued points. Combined |
| 12 | with function rigidity, vanishing on those points detects a pointed group-valued map. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false in |
| 21 | theorem overHom_fieldPoint_eq_of_field_baseChanges |
| 22 | {S : Scheme.{u}} {X Y : Over S} (f g : X ⟶ Y) |
| 23 | (h : ∀ (K : Type u) [Field K] (s : Spec (.of K) ⟶ S), |
| 24 | (Over.pullback s).map f = (Over.pullback s).map g) |
| 25 | {K : Type u} [Field K] (s : Spec (.of K) ⟶ S) (x : Over.mk s ⟶ X) : x ≫ f = x ≫ g := by |
| 26 | let l : Spec (.of K) ⟶ pullback X.hom s := |
| 27 | pullback.lift x.left (𝟙 _) (by rw [Category.id_comp]; exact Over.w x) |
| 28 | have H := congrArg (fun z => l ≫ z.left ≫ pullback.fst Y.hom s) (h K s) |
| 29 | apply Over.OverMorphism.ext |
| 30 | change x.left ≫ f.left = x.left ≫ g.left |
| 31 | simpa only [Over.pullback_map_left, ← Category.assoc, l, pullback.lift_fst] using H |
| 32 | |
| 33 | set_option backward.isDefEq.respectTransparency false in |
| 34 | theorem overHom_eq_one_of_fieldPoints |
| 35 | {S : Scheme.{u}} (X Y : Over S) [GrpObj X] [GrpObj Y] [UniversallyClosed X.hom] |
| 36 | (hΓ : ∀ V : S.Opens, IsIso (X.hom ∣_ V).appTop) |
| 37 | (f : X ⟶ Y) (hzero : η[X] ≫ f = η[Y]) |
| 38 | (hfield : ∀ (K : Type u) [Field K] (s : Spec (.of K) ⟶ S) (x : Over.mk s ⟶ X), x ≫ f = 1) : |
| 39 | f = 1 := by |
| 40 | have hpoint (x : X.left) : f.left x = f.left (η[X].left (X.hom x)) := by |
| 41 | let a := X.left.fromSpecResidueField x |
| 42 | let s := a ≫ X.hom |
| 43 | let a' : Over.mk s ⟶ X := Over.homMk a rfl |
| 44 | have h := congrArg Over.Hom.left (hfield (X.left.residueField x) s a') |
| 45 | have hp := congrArg (fun k : Spec (X.left.residueField x) ⟶ Y.left => |
| 46 | k (IsLocalRing.closedPoint (X.left.residueField x))) h |
| 47 | change f.left (a (IsLocalRing.closedPoint (X.left.residueField x))) = |
| 48 | η[Y].left (s (IsLocalRing.closedPoint (X.left.residueField x))) at hp |
| 49 | have hx : f.left x = η[Y].left (X.hom x) := by |
| 50 | simpa only [a, s, Scheme.Hom.comp_apply, |
| 51 | Scheme.fromSpecResidueField_apply] using hp |
| 52 | have hz := congrArg (fun k : S ⟶ Y.left => k (X.hom x)) (congrArg Over.Hom.left hzero) |
| 53 | exact hx.trans hz.symm |
| 54 | have hσ : η[X].left ≫ X.hom = 𝟙 S := Over.w η[X] |
| 55 | have h := PointwiseFiberRigidity.Construction.map_eq_of_pointwise_fiber_constancy X.hom hΓ η[X].left hσ f.left hpoint |
| 56 | apply Over.OverMorphism.ext |
| 57 | change f.left = X.hom ≫ η[Y].left |
| 58 | exact h.trans (congrArg (fun k => X.hom ≫ k) (congrArg Over.Hom.left hzero)) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Field.PointGroupDetection.Construction |