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.FormalGeometry.Completion.RepresentedSubfunctor |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.MonomorphismPullbackCriterion |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Basic |
| 4 | |
| 5 | /-! # Represented Subfunctor Charts -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.RepresentedSubfunctorCharts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Represented subfunctors recover their local charts by actual |
| 12 | Cartesian squares. Properties local on the target descend from them. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u v |
| 21 | section Category |
| 22 | |
| 23 | variable {C : Type u} [Category.{v} C] {S T M : C} (P : Subfunctor (yoneda.obj S)) |
| 24 | [P.toFunctor.IsRepresentable] (a : T ⟶ S) (m : M ⟶ T) |
| 25 | (h : ∀ (Z : C) (j : Z ⟶ T), (j ≫ a) ∈ P.obj (op Z) ↔ ∃ z : Z ⟶ M, z ≫ m = j) |
| 26 | |
| 27 | def representedSubfunctorChartMap : M ⟶ (RepresentedSubfunctor.Construction.representedSubfunctorFamily P).left := |
| 28 | P.toFunctor.representableBy.homEquiv.symm ⟨m ≫ a, (h M m).mpr ⟨𝟙 M, Category.id_comp m⟩⟩ |
| 29 | |
| 30 | theorem representedSubfunctorChartMap_comp : |
| 31 | representedSubfunctorChartMap P a m h ≫ (RepresentedSubfunctor.Construction.representedSubfunctorFamily P).hom = m ≫ a := |
| 32 | (RepresentedSubfunctor.Construction.representedSubfunctor_value P (representedSubfunctorChartMap P a m h)).symm.trans |
| 33 | (congrArg Subtype.val (P.toFunctor.representableBy.homEquiv.apply_symm_apply |
| 34 | ⟨m ≫ a, (h M m).mpr ⟨𝟙 M, Category.id_comp m⟩⟩)) |
| 35 | |
| 36 | theorem representedSubfunctorChart_isPullback [Mono m] : |
| 37 | IsPullback (representedSubfunctorChartMap P a m h) m (RepresentedSubfunctor.Construction.representedSubfunctorFamily P).hom a := by |
| 38 | apply MonomorphismPullbackCriterion.Construction.monoSquare_isPullback _ _ _ _ (representedSubfunctorChartMap_comp P a m h) |
| 39 | intro Z x j hxj |
| 40 | have hx := (P.toFunctor.representableBy.homEquiv x).property |
| 41 | rw [RepresentedSubfunctor.Construction.representedSubfunctor_value, hxj] at hx |
| 42 | exact (h Z j).mp hx |
| 43 | |
| 44 | end Category |
| 45 | |
| 46 | theorem representedSubfunctor_localProperty {S : Scheme.{u}} |
| 47 | (P : Subfunctor (yoneda.obj S)) [P.toFunctor.IsRepresentable] |
| 48 | (U : S.OpenCover.{u}) (M : ∀ i, Over (U.X i)) [∀ i, Mono (M i).hom] |
| 49 | (h : ∀ i (Z : Scheme.{u}) (j : Z ⟶ U.X i), |
| 50 | (j ≫ U.f i) ∈ P.obj (op Z) ↔ ∃ z : Z ⟶ (M i).left, z ≫ (M i).hom = j) |
| 51 | (Q : MorphismProperty Scheme.{u}) [IsZariskiLocalAtTarget Q] |
| 52 | (hQ : ∀ i, Q (M i).hom) : Q (RepresentedSubfunctor.Construction.representedSubfunctorFamily P).hom := by |
| 53 | apply IsZariskiLocalAtTarget.of_openCover U |
| 54 | intro i |
| 55 | let hp := representedSubfunctorChart_isPullback P (U.f i) (M i).hom (h i) |
| 56 | let e : Arrow.mk (M i).hom ≅ Arrow.mk (U.pullbackHom (RepresentedSubfunctor.Construction.representedSubfunctorFamily P).hom i) := |
| 57 | Arrow.isoMk hp.isoPullback (Iso.refl _) (by |
| 58 | change hp.isoPullback.hom ≫ pullback.snd (RepresentedSubfunctor.Construction.representedSubfunctorFamily P).hom (U.f i) = |
| 59 | (M i).hom ≫ 𝟙 (U.X i) |
| 60 | exact hp.isoPullback_hom_snd.trans (Category.comp_id (M i).hom).symm) |
| 61 | exact (Q.arrow_mk_iso_iff e).mp (hQ i) |
| 62 | |
| 63 | end Construction |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.RepresentedSubfunctorCharts |