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.IntersectionTheory.ProjectionFormula.Divisor.DivisorRestriction |
| 2 | |
| 3 | /-! # Fields -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Generic.Fields |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Functoriality of the actual generic-stalk maps, used to compare the |
| 10 | global and local normalization field identifications. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X Y Z : Scheme.{u}} [IsIntegral X] [IsIntegral Y] [IsIntegral Z] |
| 19 | |
| 20 | omit [IsIntegral Z] in |
| 21 | theorem genericFieldMap_congr {i j : X ⟶ Y} (hij : i = j) |
| 22 | (hi : i (genericPoint X) = genericPoint Y) |
| 23 | (hj : j (genericPoint X) = genericPoint Y) : |
| 24 | Cycles.Functoriality.FunctionFields.Construction.genericFieldMap i hi = Cycles.Functoriality.FunctionFields.Construction.genericFieldMap j hj := by |
| 25 | subst j |
| 26 | rfl |
| 27 | |
| 28 | theorem genericFieldMap_comp (i : X ⟶ Y) (j : Y ⟶ Z) |
| 29 | (hi : i (genericPoint X) = genericPoint Y) |
| 30 | (hj : j (genericPoint Y) = genericPoint Z) : |
| 31 | Cycles.Functoriality.FunctionFields.Construction.genericFieldMap (i ≫ j) ((congrArg j hi).trans hj) = |
| 32 | Cycles.Functoriality.FunctionFields.Construction.genericFieldMap j hj ≫ Cycles.Functoriality.FunctionFields.Construction.genericFieldMap i hi := by |
| 33 | simp only [Cycles.Functoriality.FunctionFields.Construction.genericFieldMap, TopCat.Presheaf.stalkCongr_hom, |
| 34 | Scheme.Hom.stalkMap_comp, Category.assoc] |
| 35 | rw [← j.stalkSpecializes_stalkMap_assoc (i (genericPoint X)) (genericPoint Y) |
| 36 | (Inseparable.of_eq hi).specializes] |
| 37 | simp only [← Category.assoc, TopCat.Presheaf.stalkSpecializes_comp] |
| 38 | |
| 39 | omit [IsIntegral Z] in |
| 40 | theorem genericFieldMap_germ_open (i : X ⟶ Y) |
| 41 | (hi : i (genericPoint X) = genericPoint Y) |
| 42 | (U : Y.Opens) [Nonempty U] [Nonempty (i ⁻¹ᵁ U)] : |
| 43 | Y.germToFunctionField U ≫ Cycles.Functoriality.FunctionFields.Construction.genericFieldMap i hi = |
| 44 | i.app U ≫ X.germToFunctionField (i ⁻¹ᵁ U) := by |
| 45 | simp only [Cycles.Functoriality.FunctionFields.Construction.genericFieldMap, TopCat.Presheaf.stalkCongr_hom, ← Category.assoc] |
| 46 | rw [TopCat.Presheaf.germ_stalkSpecializes] |
| 47 | exact i.germ_stalkMap U (genericPoint X) |
| 48 | (((genericPoint_spec X).mem_open_set_iff (i ⁻¹ᵁ U).isOpen).mpr |
| 49 | (by simpa using (show Nonempty (i ⁻¹ᵁ U) from inferInstance))) |
| 50 | |
| 51 | omit [IsIntegral Z] in |
| 52 | theorem genericFieldMap_germ_appLE (i : X ⟶ Y) |
| 53 | (hi : i (genericPoint X) = genericPoint Y) |
| 54 | (U : Y.Opens) (V : X.Opens) [Nonempty U] [Nonempty V] (hV : V ≤ i ⁻¹ᵁ U) : |
| 55 | Y.germToFunctionField U ≫ Cycles.Functoriality.FunctionFields.Construction.genericFieldMap i hi = |
| 56 | i.appLE U V hV ≫ X.germToFunctionField V := by |
| 57 | let : Nonempty (i ⁻¹ᵁ U) := by |
| 58 | obtain ⟨v⟩ := ‹Nonempty V› |
| 59 | exact ⟨⟨v.val, hV v.property⟩⟩ |
| 60 | rw [genericFieldMap_germ_open, Scheme.Hom.appLE, Category.assoc] |
| 61 | congr 1 |
| 62 | exact (X.presheaf.germ_res (homOfLE hV) (genericPoint X) |
| 63 | (((genericPoint_spec X).mem_open_set_iff V.isOpen).mpr |
| 64 | (by simpa using (show Nonempty V from inferInstance)))).symm |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Generic.Fields |