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.AbelianModuli.HilbertConstruction.ParameterLevelPointComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.TransportComposition |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.Comparisons |
| 4 | |
| 5 | /-! # Parameter Pullback Level Coherence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native parameter-pullback comparison is the usual composition |
| 12 | comparison followed by equality of structural maps. It therefore preserves |
| 13 | the original ordered full level for every parameter morphism. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable {S V : Scheme.{u}} {g N : ℕ} (A : Abelian.Schemes.AbelianScheme g S) |
| 20 | |
| 21 | theorem Abelian.Schemes.AbelianScheme.pullbackCongrIso_hom_fst (b c : V ⟶ S) (h : b = c) : |
| 22 | (A.pullbackCongrIso b c h).hom.left ≫ pullback.fst A.scheme.hom c = pullback.fst A.scheme.hom b := by |
| 23 | cases h |
| 24 | exact Category.id_comp _ |
| 25 | |
| 26 | variable {U T : Over S} (f : U ⟶ T) |
| 27 | |
| 28 | theorem Abelian.Schemes.AbelianScheme.parameterPullbackIso_symm_eq : |
| 29 | (A.parameterPullbackIso f).symm = (A.pullbackCompIso T.hom f.left).symm ≪≫ |
| 30 | A.pullbackCongrIso (f.left ≫ T.hom) U.hom f.w := by |
| 31 | let q := (A.pullbackCompIso T.hom f.left).symm ≪≫ |
| 32 | A.pullbackCongrIso (f.left ≫ T.hom) U.hom f.w |
| 33 | have he : (A.parameterPullbackIso f).inv.left ≫ pullback.fst A.scheme.hom U.hom = |
| 34 | pullback.fst (A.pullback T.hom).scheme.hom f.left ≫ pullback.fst A.scheme.hom T.hom := |
| 35 | ParameterLevelPointComparison.singleParameterBaseChangeIso_inv_original_fst f A.scheme |
| 36 | have hq : q.hom.left ≫ pullback.fst A.scheme.hom U.hom = |
| 37 | pullback.fst (A.pullback T.hom).scheme.hom f.left ≫ pullback.fst A.scheme.hom T.hom := by |
| 38 | change ((A.pullbackCompIso T.hom f.left).inv.left ≫ |
| 39 | (A.pullbackCongrIso (f.left ≫ T.hom) U.hom f.w).hom.left) ≫ pullback.fst A.scheme.hom U.hom = _ |
| 40 | erw [Category.assoc, A.pullbackCongrIso_hom_fst, A.pullbackCompIso_inv_left_fst] |
| 41 | apply Iso.ext |
| 42 | apply Over.OverMorphism.ext |
| 43 | apply pullback.hom_ext |
| 44 | · exact he.trans hq.symm |
| 45 | · exact (A.parameterPullbackIso f).inv.w.trans q.hom.w.symm |
| 46 | |
| 47 | theorem Abelian.Schemes.AbelianScheme.FullLevel.transport_parameterPullback (l : A.FullLevel N) : |
| 48 | ((l.pullback T.hom).pullback f.left).transport (A.parameterPullbackIso f).symm = l.pullback U.hom := by |
| 49 | have hh : ∀ (e : ((A.pullback T.hom).pullback f.left).scheme ≅ (A.pullback U.hom).scheme) |
| 50 | [IsMonHom e.hom], |
| 51 | e = (A.pullbackCompIso T.hom f.left).symm ≪≫ |
| 52 | A.pullbackCongrIso (f.left ≫ T.hom) U.hom f.w → |
| 53 | ((l.pullback T.hom).pullback f.left).transport e = l.pullback U.hom := by |
| 54 | intro e _ he |
| 55 | subst e |
| 56 | rw [← Abelian.Schemes.AbelianScheme.FullLevel.transport_trans, Abelian.Schemes.AbelianScheme.FullLevel.transport_pullbackComp, |
| 57 | Abelian.Schemes.AbelianScheme.FullLevel.transport_pullbackCongr] |
| 58 | exact hh _ (A.parameterPullbackIso_symm_eq f) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |