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.Divisors.LineBundles.RationalDivisorRestriction |
| 2 | |
| 3 | /-! # Generic Field Composition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.GenericFieldComposition.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: functoriality of actual generic-stalk maps |
| 11 | |
| 12 | These identities follow from stalk specialization and actual germ maps. |
| 13 | They compare the geometric normalization maps with their local algebra. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 17 | |
| 18 | universe u |
| 19 | variable {X Y Z : Scheme.{u}} [IsIntegral X] [IsIntegral Y] [IsIntegral Z] |
| 20 | |
| 21 | omit [IsIntegral Z] in |
| 22 | theorem genericFieldMap_congr {i j : X ⟶ Y} (hij : i = j) |
| 23 | (hi : i (genericPoint X) = genericPoint Y) (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) (hj : j (genericPoint Y) = genericPoint Z) : |
| 30 | Cycles.Functoriality.FunctionFields.Construction.genericFieldMap (i ≫ j) ((congrArg j hi).trans hj) = |
| 31 | Cycles.Functoriality.FunctionFields.Construction.genericFieldMap j hj ≫ Cycles.Functoriality.FunctionFields.Construction.genericFieldMap i hi := by |
| 32 | simp only [Cycles.Functoriality.FunctionFields.Construction.genericFieldMap, TopCat.Presheaf.stalkCongr_hom, |
| 33 | Scheme.Hom.stalkMap_comp, Category.assoc] |
| 34 | rw [← j.stalkSpecializes_stalkMap_assoc (i (genericPoint X)) (genericPoint Y) |
| 35 | (Inseparable.of_eq hi).specializes] |
| 36 | have hc := Z.presheaf.stalkSpecializes_comp |
| 37 | ((Inseparable.of_eq hi).specializes.map j.continuous) (Inseparable.of_eq hj).specializes |
| 38 | exact congrArg (fun k : Z.presheaf.stalk (genericPoint Z) ⟶ |
| 39 | Z.presheaf.stalk (j (i (genericPoint X))) => |
| 40 | k ≫ j.stalkMap (i (genericPoint X)) ≫ i.stalkMap (genericPoint X)) hc.symm |
| 41 | |
| 42 | omit [IsIntegral Z] in |
| 43 | theorem genericFieldMap_germ_appLE (i : X ⟶ Y) |
| 44 | (hi : i (genericPoint X) = genericPoint Y) |
| 45 | (U : Y.Opens) (V : X.Opens) [Nonempty U] [Nonempty V] (hV : V ≤ i ⁻¹ᵁ U) : |
| 46 | Y.germToFunctionField U ≫ Cycles.Functoriality.FunctionFields.Construction.genericFieldMap i hi = |
| 47 | i.appLE U V hV ≫ X.germToFunctionField V := by |
| 48 | let : Nonempty (i ⁻¹ᵁ U) := by |
| 49 | obtain ⟨v⟩ := ‹Nonempty V› |
| 50 | exact ⟨⟨v.val, hV v.property⟩⟩ |
| 51 | rw [Deformation.FunctionField.BundleCycles.genericFieldMap_germOn, Scheme.Hom.appLE, Category.assoc] |
| 52 | congr 1 |
| 53 | exact (X.presheaf.germ_res (homOfLE hV) (genericPoint X) |
| 54 | (((genericPoint_spec X).mem_open_set_iff V.isOpen).mpr |
| 55 | (by simpa using (show Nonempty V from inferInstance)))).symm |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Divisors.LineBundles.GenericFieldComposition.BundleCycles |