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.FormalGeometry.Completion.OpenImmersionOverLift |
| 2 | import Mathlib.AlgebraicGeometry.AlgClosed.Basic |
| 3 | import Mathlib.AlgebraicGeometry.Birational.Dominant |
| 4 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 5 | |
| 6 | /-! # Dominant Open Group Points -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.DominantOpenGroupPoints |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A dense open subgroup contains every rational point: each translate |
| 13 | of its open image meets that image, and division supplies a lift. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory |
| 18 | open _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | namespace Construction |
| 22 | |
| 23 | universe u |
| 24 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 25 | {A B : Over (Spec (CommRingCat.of K))} [GrpObj A] [GrpObj B] |
| 26 | [LocallyOfFiniteType B.hom] |
| 27 | (f : A ⟶ B) [IsMonHom f] [IsOpenImmersion f.left] [IsDominant f.left] |
| 28 | |
| 29 | theorem dominantOpen_groupHom_point_surjective (b : 𝟙_ (Over (Spec (CommRingCat.of K))) ⟶ B) : |
| 30 | ∃ a : 𝟙_ (Over (Spec (CommRingCat.of K))) ⟶ A, a ≫ f = b := by |
| 31 | have : JacobsonSpace B.left := LocallyOfFiniteType.jacobsonSpace B.hom |
| 32 | let β : A ⟶ B := f ≫ (GrpObj.mulRight b).hom |
| 33 | have : IsOpenImmersion β.left := |
| 34 | inferInstanceAs (IsOpenImmersion (f.left ≫ (GrpObj.mulRight b).hom.left)) |
| 35 | have hβ : (Set.range β.left).Nonempty := |
| 36 | ⟨β.left ((MonObj.one (X := A)).left (IsLocalRing.closedPoint K)), ⟨_, rfl⟩⟩ |
| 37 | have hnonempty : (Set.range f.left ∩ Set.range β.left).Nonempty := by |
| 38 | simpa only [Set.inter_comm] using |
| 39 | f.left.denseRange.inter_open_nonempty _ β.left.isOpenEmbedding.isOpen_range hβ |
| 40 | obtain ⟨w, hw, hwc⟩ := nonempty_inter_closedPoints hnonempty |
| 41 | (f.left.isOpenEmbedding.isOpen_range.inter β.left.isOpenEmbedding.isOpen_range).isLocallyClosed |
| 42 | let p : 𝟙_ (Over (Spec (CommRingCat.of K))) ⟶ B := |
| 43 | Over.homMk (pointOfClosedPoint B.hom w hwc) (pointOfClosedPoint_comp B.hom w hwc) |
| 44 | have hp (z : Spec (CommRingCat.of K)) : p.left z = w := |
| 45 | pointOfClosedPoint_apply B.hom w hwc z |
| 46 | obtain ⟨a, ha⟩ := OpenImmersionOverLift.Construction.overOpenImmersion_hasLift f p (by |
| 47 | rintro _ ⟨z, rfl⟩ |
| 48 | rw [hp] |
| 49 | exact hw.1) |
| 50 | obtain ⟨c, hc⟩ := OpenImmersionOverLift.Construction.overOpenImmersion_hasLift β p (by |
| 51 | rintro _ ⟨z, rfl⟩ |
| 52 | rw [hp] |
| 53 | exact hw.2) |
| 54 | have hcb : (c ≫ f) * b = p := by |
| 55 | change c ≫ (f ≫ (𝟙 B * (toUnit B ≫ b))) = p at hc |
| 56 | simpa only [MonObj.comp_mul, Category.comp_id, comp_toUnit_assoc, |
| 57 | toUnit_unit, Category.id_comp] using hc |
| 58 | refine ⟨c⁻¹ * a, ?_⟩ |
| 59 | rw [MonObj.mul_comp, GrpObj.inv_comp, ha, ← hcb] |
| 60 | exact inv_mul_cancel_left (c ≫ f) b |
| 61 | |
| 62 | end Construction |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.DominantOpenGroupPoints |