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.ArithmeticGeometry.Descent.CMVariety.FiniteCoefficientFst |
| 2 | |
| 3 | /-! # Over Endomorphism -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.OverEndomorphism.Abelian |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Reconcile the coefficient-family pullback with the literal pullback used |
| 11 | by abelian schemes. Actual endomorphisms then descend as morphisms in the |
| 12 | over category, with an exact comparison to the original endomorphism. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open scoped Classical |
| 17 | |
| 18 | theorem iso_conjugate_commuting_square |
| 19 | {C : Type*} [Category* C] {X X' Y Y' : C} |
| 20 | (e : X ≅ X') (d : Y ≅ Y') (q : X' ⟶ Y') (k : X ⟶ X) (u : Y' ⟶ Y') |
| 21 | (h : q ≫ u = (e.inv ≫ k ≫ e.hom) ≫ q) : |
| 22 | (e.hom ≫ q ≫ d.inv) ≫ (d.hom ≫ u ≫ d.inv) = k ≫ (e.hom ≫ q ≫ d.inv) := by |
| 23 | simp only [Category.assoc, d.inv_hom_id_assoc] |
| 24 | rw [← Category.assoc q u d.inv, h] |
| 25 | simp only [Category.assoc, e.hom_inv_id_assoc] |
| 26 | |
| 27 | variable (R B : Type) [CommRing R] [CommRing B] [Algebra R B] |
| 28 | |
| 29 | def standardCoefficientProjection |
| 30 | (A : Over (Spec (CommRingCat.of R))) (s : (Finset B)ᵒᵖ) : |
| 31 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R B)))).obj A).left ⟶ |
| 32 | ((Over.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).obj A).left := |
| 33 | (pullbackSymmetry A.hom (Spec.map (CommRingCat.ofHom (algebraMap R B)))).hom ≫ |
| 34 | (FiniteCoefficientFst.Abelian.finiteCoefficientFamilyCone R B A.hom).π.app s ≫ |
| 35 | (pullbackSymmetry A.hom (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).inv |
| 36 | |
| 37 | theorem standardCoefficientProjection_fst |
| 38 | (A : Over (Spec (CommRingCat.of R))) (s : (Finset B)ᵒᵖ) : |
| 39 | standardCoefficientProjection R B A s ≫ |
| 40 | pullback.fst A.hom (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop) = |
| 41 | pullback.fst A.hom (Spec.map (CommRingCat.ofHom (algebraMap R B))) := by |
| 42 | let p := Spec.map (CommRingCat.ofHom (algebraMap R B)) |
| 43 | let q : pullback p A.hom ⟶ pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop) A.hom := |
| 44 | (FiniteCoefficientFst.Abelian.finiteCoefficientFamilyCone R B A.hom).π.app s |
| 45 | have hq : q ≫ pullback.snd (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop) A.hom = pullback.snd p A.hom := |
| 46 | FiniteCoefficientFst.Abelian.finiteCoefficientFamilyCone_structure R B A.hom s |
| 47 | change ((pullbackSymmetry A.hom p).hom ≫ q ≫ |
| 48 | (pullbackSymmetry A.hom (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).inv) ≫ _ = _ |
| 49 | rw [Category.assoc, Category.assoc, pullbackSymmetry_inv_comp_fst, |
| 50 | hq, pullbackSymmetry_hom_comp_snd] |
| 51 | |
| 52 | theorem standardCoefficientProjection_snd |
| 53 | (A : Over (Spec (CommRingCat.of R))) (s : (Finset B)ᵒᵖ) : |
| 54 | standardCoefficientProjection R B A s ≫ |
| 55 | pullback.snd A.hom (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop) = |
| 56 | pullback.snd A.hom (Spec.map (CommRingCat.ofHom (algebraMap R B))) ≫ |
| 57 | Spec.map (CommRingCat.ofHom (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R B s.unop).val.toRingHom) := by |
| 58 | let p := Spec.map (CommRingCat.ofHom (algebraMap R B)) |
| 59 | let q : pullback p A.hom ⟶ pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop) A.hom := |
| 60 | (FiniteCoefficientFst.Abelian.finiteCoefficientFamilyCone R B A.hom).π.app s |
| 61 | have hq : q ≫ pullback.fst (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop) A.hom = pullback.fst p A.hom ≫ |
| 62 | Spec.map (CommRingCat.ofHom (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R B s.unop).val.toRingHom) := |
| 63 | FiniteCoefficientFst.Abelian.finiteCoefficientFamilyCone_fst R B A.hom s |
| 64 | change ((pullbackSymmetry A.hom p).hom ≫ q ≫ |
| 65 | (pullbackSymmetry A.hom (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).inv) ≫ _ = _ |
| 66 | rw [Category.assoc, Category.assoc, pullbackSymmetry_inv_comp_snd, |
| 67 | hq, ← Category.assoc, pullbackSymmetry_hom_comp_fst] |
| 68 | |
| 69 | theorem over_endomorphism_descends_to_finite_coefficients |
| 70 | (A : Over (Spec (CommRingCat.of R))) |
| 71 | [QuasiCompact A.hom] [QuasiSeparated A.hom] [LocallyOfFinitePresentation A.hom] |
| 72 | (k : (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R B)))).obj A ⟶ |
| 73 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R B)))).obj A) : |
| 74 | ∃ (s : (Finset B)ᵒᵖ) |
| 75 | (a : (Over.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).obj A ⟶ |
| 76 | (Over.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).obj A), |
| 77 | standardCoefficientProjection R B A s ≫ a.left = |
| 78 | k.left ≫ standardCoefficientProjection R B A s := by |
| 79 | let p := Spec.map (CommRingCat.ofHom (algebraMap R B)) |
| 80 | let e := pullbackSymmetry A.hom p |
| 81 | let k' : pullback A.hom p ⟶ pullback A.hom p := k.left |
| 82 | have hkw : k' ≫ pullback.snd A.hom p = pullback.snd A.hom p := k.w |
| 83 | let u := e.inv ≫ k' ≫ e.hom |
| 84 | have hu : u ≫ pullback.fst p A.hom = pullback.fst p A.hom := by |
| 85 | dsimp only [u, e] |
| 86 | rw [Category.assoc, Category.assoc, pullbackSymmetry_hom_comp_fst, |
| 87 | hkw, pullbackSymmetry_inv_comp_snd] |
| 88 | obtain ⟨s, a, ha, heq⟩ := FiniteCoefficientFst.Abelian.scheme_endomorphism_descends_to_finite_coefficients R B A.hom u hu |
| 89 | let d := pullbackSymmetry A.hom (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop) |
| 90 | have hw : (d.hom ≫ a ≫ d.inv) ≫ pullback.snd A.hom (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop) = |
| 91 | pullback.snd A.hom (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop) := by |
| 92 | dsimp only [d] |
| 93 | rw [Category.assoc, Category.assoc, pullbackSymmetry_inv_comp_snd, |
| 94 | ha, pullbackSymmetry_hom_comp_fst] |
| 95 | let a' : (Over.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).obj A ⟶ |
| 96 | (Over.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).obj A := |
| 97 | Over.homMk (d.hom ≫ a ≫ d.inv) hw |
| 98 | refine ⟨s, a', ?_⟩ |
| 99 | exact iso_conjugate_commuting_square e d ((FiniteCoefficientFst.Abelian.finiteCoefficientFamilyCone R B A.hom).π.app s) k' a heq |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.ArithmeticGeometry.Descent.CMVariety.OverEndomorphism.Abelian |