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.HodgeConjecture.HeckeCycles.FieldPointDescent |
| 2 | |
| 3 | /-! # Algebra Field Test -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlgebraFieldTest.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A field embedding over the Witt fraction field preserves the |
| 10 | canonical arithmetic test map. The corresponding change of test is |
| 11 | constructed with the actual field embedding as its underlying map. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {K L L' : Type} [Field K] [Field L] [Field L'] |
| 16 | [Algebra K L] [Algebra K L'] {S : Scheme} |
| 17 | (b : Spec (.of K) ⟶ S) (σ : L →ₐ[K] L') |
| 18 | |
| 19 | theorem base_eq : Spec.map (CommRingCat.ofHom σ.toRingHom) ≫ |
| 20 | (Spec.map (CommRingCat.ofHom (algebraMap K L)) ≫ b) = |
| 21 | Spec.map (CommRingCat.ofHom (algebraMap K L')) ≫ b := by |
| 22 | have h : Spec.map (CommRingCat.ofHom σ.toRingHom) ≫ |
| 23 | Spec.map (CommRingCat.ofHom (algebraMap K L)) = Spec.map (CommRingCat.ofHom (algebraMap K L')) := by |
| 24 | rw [← Spec.map_comp] |
| 25 | exact congrArg (fun f : K →+* L' => Spec.map (CommRingCat.ofHom f)) (RingHom.ext σ.commutes) |
| 26 | exact (Category.assoc _ _ _).symm.trans (congrArg (· ≫ b) h) |
| 27 | |
| 28 | def testIso : Over.mk (Spec.map (CommRingCat.ofHom (algebraMap K L')) ≫ b) ≅ |
| 29 | Over.mk (Spec.map (CommRingCat.ofHom σ.toRingHom) ≫ |
| 30 | (Spec.map (CommRingCat.ofHom (algebraMap K L)) ≫ b)) := |
| 31 | Over.isoMk (Iso.refl _) ((Category.id_comp _).trans (base_eq b σ)) |
| 32 | |
| 33 | def map : Over.mk (Spec.map (CommRingCat.ofHom (algebraMap K L')) ≫ b) ⟶ |
| 34 | Over.mk (Spec.map (CommRingCat.ofHom (algebraMap K L)) ≫ b) := |
| 35 | Over.homMk (Spec.map (CommRingCat.ofHom σ.toRingHom)) (base_eq b σ) |
| 36 | |
| 37 | theorem map_eq : CM.map b σ = (testIso b σ).hom ≫ |
| 38 | FieldPointDescent.CM.testMap σ.toRingHom (Spec.map (CommRingCat.ofHom (algebraMap K L)) ≫ b) := by |
| 39 | apply Over.OverMorphism.ext |
| 40 | exact (Category.id_comp (Spec.map (CommRingCat.ofHom σ.toRingHom))).symm |
| 41 | |
| 42 | instance map_epi : Epi (CM.map b σ) := by |
| 43 | rw [map_eq] |
| 44 | infer_instance |
| 45 | |
| 46 | theorem source_square : CM.map b σ ≫ FieldPointDescent.CM.testMap (algebraMap K L) b = |
| 47 | FieldPointDescent.CM.testMap (algebraMap K L') b := by |
| 48 | apply Over.OverMorphism.ext |
| 49 | change Spec.map (CommRingCat.ofHom σ.toRingHom) ≫ Spec.map (CommRingCat.ofHom (algebraMap K L)) = _ |
| 50 | rw [← Spec.map_comp] |
| 51 | exact congrArg (fun f : K →+* L' => Spec.map (CommRingCat.ofHom f)) (RingHom.ext σ.commutes) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlgebraFieldTest.CM |