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.Field.PointGroupDetection |
| 2 | |
| 3 | /-! # Field Point Detection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Geometric.FieldPointDetection.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Equality after geometric base change determines the value of a |
| 10 | map on every field-valued point, by faithfully flat scalar extension. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false in |
| 17 | theorem overHom_fieldPoint_eq_of_baseChange |
| 18 | {S : Scheme.{u}} {X Y : Over S} (f g : X ⟶ Y) |
| 19 | {K : Type u} [Field K] (s : Spec (.of K) ⟶ S) |
| 20 | (h : (Over.pullback s).map f = (Over.pullback s).map g) (x : Over.mk s ⟶ X) : x ≫ f = x ≫ g := by |
| 21 | let l : Spec (.of K) ⟶ pullback X.hom s := |
| 22 | pullback.lift x.left (𝟙 _) (by rw [Category.id_comp]; exact Over.w x) |
| 23 | have H := congrArg (fun z => l ≫ z.left ≫ pullback.fst Y.hom s) h |
| 24 | apply Over.OverMorphism.ext |
| 25 | change x.left ≫ f.left = x.left ≫ g.left |
| 26 | simpa only [Over.pullback_map_left, ← Category.assoc, l, pullback.lift_fst] using H |
| 27 | |
| 28 | set_option backward.isDefEq.respectTransparency false in |
| 29 | theorem overHom_fieldPoint_eq_of_geometric_baseChanges |
| 30 | {S : Scheme.{u}} {X Y : Over S} (f g : X ⟶ Y) |
| 31 | (h : ∀ (K : Type u) [Field K] [IsAlgClosed K] (s : Spec (.of K) ⟶ S), |
| 32 | (Over.pullback s).map f = (Over.pullback s).map g) |
| 33 | {K : Type u} [Field K] (s : Spec (.of K) ⟶ S) (x : Over.mk s ⟶ X) : x ≫ f = x ≫ g := by |
| 34 | let a := Spec.map (CommRingCat.ofHom (algebraMap K (AlgebraicClosure K))) |
| 35 | have : Flat a := inferInstanceAs |
| 36 | (Flat (Spec.map (CommRingCat.ofHom (algebraMap K (AlgebraicClosure K))))) |
| 37 | have : Surjective a := ⟨Function.surjective_to_subsingleton _⟩ |
| 38 | have : QuasiCompact a := inferInstanceAs |
| 39 | (QuasiCompact (Spec.map (CommRingCat.ofHom (algebraMap K (AlgebraicClosure K))))) |
| 40 | let z : Over.mk (a ≫ s) ⟶ Over.mk s := Over.homMk a rfl |
| 41 | have : Epi z.left := inferInstanceAs (Epi a) |
| 42 | have : Epi z := Over.epi_of_epi_left z |
| 43 | apply (cancel_epi z).mp |
| 44 | simpa only [Category.assoc] using |
| 45 | overHom_fieldPoint_eq_of_baseChange f g (a ≫ s) (h (AlgebraicClosure K) (a ≫ s)) (z ≫ x) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Geometric.FieldPointDetection.Construction |