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.Affine.PrincipalSchemeOrder |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.GenericFieldComposition |
| 3 | |
| 4 | /-! # Function Order Transport -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Affine.FunctionOrderTransport.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual affine rational functions commute with generic-stalk maps. |
| 11 | Ring isomorphisms therefore preserve their original scheme orders. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PrincipalSchemeOrder.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.GenericFieldComposition.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.RationalOrderTransport.Constructions |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u |
| 21 | variable (R S : Type u) [CommRing R] [CommRing S] [IsDomain R] [IsDomain S] |
| 22 | |
| 23 | local instance (A : Type u) [CommRing A] [IsDomain A] : Nonempty (⊤ : (Spec (.of A)).Opens) := |
| 24 | ⟨⟨genericPoint (Spec (.of A)), Opens.mem_top _⟩⟩ |
| 25 | |
| 26 | theorem genericFieldMap_affineFunction (f : R →+* S) |
| 27 | (hη : (Spec.map (CommRingCat.ofHom f)) (genericPoint (Spec (.of S))) = genericPoint (Spec (.of R))) (a : R) : |
| 28 | RationalOrderTransport.Constructions.genericFieldMap (Spec.map (CommRingCat.ofHom f)) hη (PrincipalSchemeOrder.Constructions.affineFunction R a) = PrincipalSchemeOrder.Constructions.affineFunction S (f a) := by |
| 29 | have h := GenericFieldComposition.Constructions.genericFieldMap_germ_appLE (Spec.map (CommRingCat.ofHom f)) hη ⊤ ⊤ (by simp) |
| 30 | have hg := ConcreteCategory.congr_hom h ((Scheme.ΓSpecIso (.of R)).inv a) |
| 31 | have he := ConcreteCategory.congr_hom (Scheme.ΓSpecIso_inv_naturality (CommRingCat.ofHom f)) a |
| 32 | exact hg.trans (congrArg ((Spec (.of S)).germToFunctionField ⊤) he.symm) |
| 33 | |
| 34 | variable [IsNoetherianRing R] [IsNoetherianRing S] |
| 35 | |
| 36 | theorem ord_affineFunction_equiv (e : R ≃+* S) (a : R) (q : Spec (.of S)) : |
| 37 | (Spec (.of S)).ord (PrincipalSchemeOrder.Constructions.affineFunction S (e a)) q = |
| 38 | (Spec (.of R)).ord (PrincipalSchemeOrder.Constructions.affineFunction R a) ((Spec.map e.toCommRingCatIso.hom) q) := by |
| 39 | let i := Spec.map e.toCommRingCatIso.hom |
| 40 | have he := genericFieldMap_affineFunction R S e.toRingHom (genericPoint_eq_of_isOpenImmersion i) a |
| 41 | exact (congrArg (fun g => (Spec (.of S)).ord g q) he).symm.trans |
| 42 | (RationalOrderTransport.Constructions.ord_openImmersion i (PrincipalSchemeOrder.Constructions.affineFunction R a) q) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.CycleClass.Thom.Affine.FunctionOrderTransport.Constructions |