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.Quotients.FiniteDescent.GenericLift |
| 2 | |
| 3 | /-! # Birational Generic -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.BirationalGeneric.Construction.BirationalGenericLift |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An isomorphism above a dense open gives a dense lift of the generic point. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem dominant_of_comp_open {X Y Z : Scheme.{u}} (g : Y ⟶ X) (i : X ⟶ Z) |
| 16 | [IsOpenImmersion i] [IsDominant (g ≫ i)] : IsDominant g := by |
| 17 | constructor |
| 18 | apply i.isOpenEmbedding.isEmbedding.isInducing.dense_iff.mpr |
| 19 | intro x |
| 20 | rw [← Set.range_comp] |
| 21 | exact (g ≫ i).denseRange (i x) |
| 22 | |
| 23 | theorem dominant_generic (Y : Scheme.{u}) [IsIntegral Y] : |
| 24 | IsDominant (Y.fromSpecStalk (genericPoint Y)) := by |
| 25 | constructor |
| 26 | rw [denseRange_iff_closure_range] |
| 27 | apply Set.eq_univ_of_univ_subset |
| 28 | rw [← (genericPoint_spec Y).def] |
| 29 | apply closure_mono |
| 30 | rw [Set.singleton_subset_iff] |
| 31 | exact ⟨IsLocalRing.closedPoint _, Scheme.fromSpecStalk_closedPoint⟩ |
| 32 | |
| 33 | theorem dominant_generic_open {Y : Scheme.{u}} [IsIntegral Y] |
| 34 | (U : Y.Opens) [Nonempty U] : |
| 35 | IsDominant (U.fromSpecStalkOfMem (genericPoint Y) (GenericLift.Construction.GenericLiftRestriction.generic_mem U)) := by |
| 36 | have : IsDominant (U.fromSpecStalkOfMem (genericPoint Y) |
| 37 | (GenericLift.Construction.GenericLiftRestriction.generic_mem U) ≫ U.ι) := by |
| 38 | rw [Scheme.Opens.fromSpecStalkOfMem_ι] |
| 39 | exact dominant_generic Y |
| 40 | exact dominant_of_comp_open _ U.ι |
| 41 | |
| 42 | variable {X Y : Scheme.{u}} [IsIntegral X] [IsIntegral Y] |
| 43 | variable (f : X ⟶ Y) (U : Y.Opens) [Nonempty U] [IsIso (f ∣_ U)] |
| 44 | |
| 45 | def lift : Spec Y.functionField ⟶ X := |
| 46 | U.fromSpecStalkOfMem (genericPoint Y) (GenericLift.Construction.GenericLiftRestriction.generic_mem U) ≫ |
| 47 | inv (f ∣_ U) ≫ (f ⁻¹ᵁ U).ι |
| 48 | |
| 49 | omit [IsIntegral X] in |
| 50 | theorem lift_comp : lift f U ≫ f = Y.fromSpecStalk (genericPoint Y) := by |
| 51 | dsimp only [lift] |
| 52 | rw [Category.assoc, Category.assoc, ← morphismRestrict_ι, |
| 53 | IsIso.inv_hom_id_assoc, Scheme.Opens.fromSpecStalkOfMem_ι] |
| 54 | |
| 55 | theorem isDominant_lift : IsDominant (lift f U) := by |
| 56 | have : Nonempty (f ⁻¹ᵁ U).toScheme := |
| 57 | ⟨inv (f ∣_ U) (Classical.choice ‹Nonempty U›)⟩ |
| 58 | have : IsDominant (f ⁻¹ᵁ U).ι := |
| 59 | AlgebraicGeometry.Opens.isDominant_ι |
| 60 | ((f ⁻¹ᵁ U).isOpen.dense (by simpa using ‹Nonempty (f ⁻¹ᵁ U).toScheme›)) |
| 61 | have := dominant_generic_open U |
| 62 | dsimp only [lift] |
| 63 | infer_instance |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.BirationalGeneric.Construction.BirationalGenericLift |