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.FiniteCoefficientEqualities |
| 2 | |
| 3 | /-! # Base Change Map Equality -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.BaseChangeMapEquality.Abelian |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Exact comparison of base-changed morphism equations with the coefficient family diagram. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | theorem over_baseChange_map_eq_iff |
| 14 | {S S' : Scheme} (q : S' ⟶ S) {A B : Over S} (a b : A ⟶ B) : |
| 15 | (Over.pullback q).map a = (Over.pullback q).map b ↔ |
| 16 | pullback.snd q A.hom ≫ a.left = pullback.snd q A.hom ≫ b.left := by |
| 17 | constructor |
| 18 | · intro h |
| 19 | have h' := congrArg (fun u : (Over.pullback q).obj A ⟶ (Over.pullback q).obj B => |
| 20 | u.left ≫ pullback.fst B.hom q) h |
| 21 | simp only [Over.pullback_map_left, pullback.lift_fst] at h' |
| 22 | have h'' := congrArg (fun u => (pullbackSymmetry q A.hom).hom ≫ u) h' |
| 23 | simpa only [← Category.assoc, pullbackSymmetry_hom_comp_fst] using h'' |
| 24 | · intro h |
| 25 | have h' := congrArg (fun u => (pullbackSymmetry A.hom q).hom ≫ u) h |
| 26 | simp only [← Category.assoc, pullbackSymmetry_hom_comp_snd] at h' |
| 27 | apply Over.OverMorphism.ext |
| 28 | apply pullback.hom_ext |
| 29 | · simpa only [Over.pullback_map_left, pullback.lift_fst] using h' |
| 30 | · simp only [Over.pullback_map_left, pullback.lift_snd] |
| 31 | |
| 32 | theorem over_morphism_equality_descends_to_finite_coefficients |
| 33 | (R B : Type) [CommRing R] [CommRing B] [Algebra R B] |
| 34 | {X Y : Over (Spec (CommRingCat.of R))} [QuasiCompact X.hom] [LocallyOfFiniteType Y.hom] |
| 35 | (a b : X ⟶ Y) |
| 36 | (h : (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R B)))).map a = |
| 37 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R B)))).map b) : |
| 38 | ∃ s : (Finset B)ᵒᵖ, |
| 39 | (Over.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).map a = |
| 40 | (Over.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).map b := by |
| 41 | obtain ⟨s, hs⟩ := FiniteCoefficientEqualities.Abelian.family_morphism_equality_descends_to_finite_coefficients R B X.hom Y.hom |
| 42 | a.left b.left a.w b.w ((over_baseChange_map_eq_iff _ a b).mp h) |
| 43 | refine ⟨s, (over_baseChange_map_eq_iff _ a b).mpr ?_⟩ |
| 44 | exact hs |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.ArithmeticGeometry.Descent.CMVariety.BaseChangeMapEquality.Abelian |