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.CycleClass.Thom.RationalOrderTransport |
| 2 | |
| 3 | /-! # Generic Field Composition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.GenericFieldComposition.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # ThomClass: 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 | open OAI.AlgebraicGeometry.CycleClass.Thom.RationalOrderTransport.Constructions |
| 19 | |
| 20 | universe u |
| 21 | variable {X Y Z : Scheme.{u}} [IsIntegral X] [IsIntegral Y] [IsIntegral Z] |
| 22 | |
| 23 | omit [IsIntegral Z] in |
| 24 | theorem genericFieldMap_congr {i j : X ⟶ Y} (hij : i = j) |
| 25 | (hi : i (genericPoint X) = genericPoint Y) (hj : j (genericPoint X) = genericPoint Y) : |
| 26 | RationalOrderTransport.Constructions.genericFieldMap i hi = RationalOrderTransport.Constructions.genericFieldMap j hj := by |
| 27 | subst j |
| 28 | rfl |
| 29 | |
| 30 | theorem genericFieldMap_comp (i : X ⟶ Y) (j : Y ⟶ Z) |
| 31 | (hi : i (genericPoint X) = genericPoint Y) (hj : j (genericPoint Y) = genericPoint Z) : |
| 32 | RationalOrderTransport.Constructions.genericFieldMap (i ≫ j) ((congrArg j hi).trans hj) = |
| 33 | RationalOrderTransport.Constructions.genericFieldMap j hj ≫ RationalOrderTransport.Constructions.genericFieldMap i hi := by |
| 34 | simp only [RationalOrderTransport.Constructions.genericFieldMap, TopCat.Presheaf.stalkCongr_hom, |
| 35 | Scheme.Hom.stalkMap_comp, Category.assoc] |
| 36 | rw [← j.stalkSpecializes_stalkMap_assoc (i (genericPoint X)) (genericPoint Y) |
| 37 | (Inseparable.of_eq hi).specializes] |
| 38 | have hc := Z.presheaf.stalkSpecializes_comp |
| 39 | ((Inseparable.of_eq hi).specializes.map j.continuous) (Inseparable.of_eq hj).specializes |
| 40 | exact congrArg (fun k : Z.presheaf.stalk (genericPoint Z) ⟶ |
| 41 | Z.presheaf.stalk (j (i (genericPoint X))) => |
| 42 | k ≫ j.stalkMap (i (genericPoint X)) ≫ i.stalkMap (genericPoint X)) hc.symm |
| 43 | |
| 44 | omit [IsIntegral X] [IsIntegral Y] [IsIntegral Z] in |
| 45 | /-- Generic-stalk pullback agrees with pullback on every nonempty open. -/ |
| 46 | theorem genericFieldMap_germOn {A B : Scheme.{u}} [IsIntegral A] [IsIntegral B] |
| 47 | (i : A ⟶ B) (hη : i (genericPoint A) = genericPoint B) |
| 48 | (U : B.Opens) [Nonempty U] [Nonempty (i ⁻¹ᵁ U)] : |
| 49 | B.germToFunctionField U ≫ RationalOrderTransport.Constructions.genericFieldMap i hη = |
| 50 | i.app U ≫ A.germToFunctionField (i ⁻¹ᵁ U) := by |
| 51 | simp only [RationalOrderTransport.Constructions.genericFieldMap, TopCat.Presheaf.stalkCongr_hom, ← Category.assoc] |
| 52 | have hx : genericPoint A ∈ i ⁻¹ᵁ U := |
| 53 | (genericPoint_spec A).mem_open_set_iff (i ⁻¹ᵁ U).isOpen |>.mpr |
| 54 | (by simpa using (show Nonempty (i ⁻¹ᵁ U) from inferInstance)) |
| 55 | have h := B.presheaf.germ_stalkSpecializes |
| 56 | (show genericPoint B ∈ U from hη ▸ hx) (Inseparable.of_eq hη).specializes |
| 57 | exact (congrArg |
| 58 | (fun k : Γ(B, U) ⟶ B.presheaf.stalk (i (genericPoint A)) => k ≫ i.stalkMap (genericPoint A)) h).trans |
| 59 | (i.germ_stalkMap U (genericPoint A) hx) |
| 60 | |
| 61 | omit [IsIntegral Z] in |
| 62 | theorem genericFieldMap_germ_appLE (i : X ⟶ Y) |
| 63 | (hi : i (genericPoint X) = genericPoint Y) |
| 64 | (U : Y.Opens) (V : X.Opens) [Nonempty U] [Nonempty V] (hV : V ≤ i ⁻¹ᵁ U) : |
| 65 | Y.germToFunctionField U ≫ RationalOrderTransport.Constructions.genericFieldMap i hi = |
| 66 | i.appLE U V hV ≫ X.germToFunctionField V := by |
| 67 | let : Nonempty (i ⁻¹ᵁ U) := by |
| 68 | obtain ⟨v⟩ := ‹Nonempty V› |
| 69 | exact ⟨⟨v.val, hV v.property⟩⟩ |
| 70 | rw [genericFieldMap_germOn, Scheme.Hom.appLE, Category.assoc] |
| 71 | congr 1 |
| 72 | exact (X.presheaf.germ_res (homOfLE hV) (genericPoint X) |
| 73 | (((genericPoint_spec X).mem_open_set_iff V.isOpen).mpr |
| 74 | (by simpa using (show Nonempty V from inferInstance)))).symm |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.CycleClass.Thom.GenericFieldComposition.Constructions |