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.UniversalModelSection |
| 2 | |
| 3 | /-! # Classified Section Pullback -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Pull back the universal section along an arbitrary classifying |
| 10 | morphism, using the actual Cartesian comparison of the two families. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 16 | |
| 17 | universe u |
| 18 | variable {X S : Scheme.{u}} [IsAffine S] {π : X ⟶ S} {M : X.Modules} |
| 19 | (D : Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation π M) |
| 20 | |
| 21 | theorem Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation.sectionPointEquiv_top_congr {Y T : Scheme.{u}} [IsAffine T] |
| 22 | (f f' : Y ⟶ X) (hf : f = f') (ρ : Y ⟶ T) (g : T ⟶ S) |
| 23 | (hp : IsPullback f ρ π g) (hp' : IsPullback f' ρ π g) |
| 24 | (s : Γ((Scheme.Modules.pullback f).obj M, ⊤)) : |
| 25 | D.sectionPointEquiv f' ρ g hp' (((Scheme.Modules.pullbackCongr hf).hom.app M).app ⊤ s) = |
| 26 | D.sectionPointEquiv f ρ g hp s := by |
| 27 | subst f' |
| 28 | rfl |
| 29 | |
| 30 | theorem Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation.sectionPointEquiv_base_congr_left {Y T : Scheme.{u}} [IsAffine T] |
| 31 | (f : Y ⟶ X) (ρ : Y ⟶ T) (g g' : T ⟶ S) (hg : g = g') |
| 32 | (hp : IsPullback f ρ π g) (hp' : IsPullback f ρ π g') |
| 33 | (s : Γ((Scheme.Modules.pullback f).obj M, ⊤)) : |
| 34 | (D.sectionPointEquiv f ρ g' hp' s).left = (D.sectionPointEquiv f ρ g hp s).left := by |
| 35 | subst g' |
| 36 | rfl |
| 37 | |
| 38 | variable {Y T : Scheme.{u}} (f : Y ⟶ X) (ρ : Y ⟶ T) (g : T ⟶ S) |
| 39 | (hp : IsPullback f ρ π g) (p : Over.mk g ⟶ D.scheme) |
| 40 | |
| 41 | def Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation.classifierFamilyMap : Y ⟶ D.universalFamily := |
| 42 | pullback.lift f (ρ ≫ p.left) (by rw [Category.assoc, p.w]; exact hp.w) |
| 43 | |
| 44 | theorem Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation.classifierFamilyMap_fst : D.classifierFamilyMap f ρ g hp p ≫ pullback.fst π D.scheme.hom = f := |
| 45 | pullback.lift_fst _ _ _ |
| 46 | |
| 47 | theorem Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation.classifierFamilyMap_snd : D.classifierFamilyMap f ρ g hp p ≫ pullback.snd π D.scheme.hom = ρ ≫ p.left := |
| 48 | pullback.lift_snd _ _ _ |
| 49 | |
| 50 | theorem Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation.classifierFamilyMap_isPullback : |
| 51 | IsPullback (D.classifierFamilyMap f ρ g hp p) ρ (pullback.snd π D.scheme.hom) p.left := by |
| 52 | refine IsPullback.of_right (t := IsPullback.of_hasPullback π D.scheme.hom) ?_ |
| 53 | (D.classifierFamilyMap_snd f ρ g hp p) |
| 54 | rw [D.classifierFamilyMap_fst, p.w] |
| 55 | exact hp |
| 56 | |
| 57 | def Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation.classifiedSectionPullback : Γ((Scheme.Modules.pullback f).obj M, ⊤) := |
| 58 | (((Scheme.Modules.pullbackCongr (D.classifierFamilyMap_fst f ρ g hp p)).hom.app M).app ⊤) |
| 59 | (GlobalSectionComposition.Construction.globalSectionCompositePullback (pullback.fst π D.scheme.hom) |
| 60 | (D.classifierFamilyMap f ρ g hp p) M D.universalSection) |
| 61 | |
| 62 | theorem Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation.classifiedSectionPullback_classifies [IsAffine T] : |
| 63 | D.sectionPointEquiv f ρ g hp (D.classifiedSectionPullback f ρ g hp p) = p := by |
| 64 | let j := D.classifierFamilyMap f ρ g hp p |
| 65 | have hf := D.classifierFamilyMap_fst f ρ g hp p |
| 66 | have hj := D.classifierFamilyMap_snd f ρ g hp p |
| 67 | have ho := (D.classifierFamilyMap_isPullback f ρ g hp p).paste_horiz |
| 68 | (IsPullback.of_hasPullback π D.scheme.hom) |
| 69 | have hp' : IsPullback f ρ π (p.left ≫ D.scheme.hom) := by rw [p.w]; exact hp |
| 70 | have hc := D.universalSection_pullback_classifies j ρ p.left hj ho |
| 71 | have ht := D.sectionPointEquiv_top_congr (j ≫ pullback.fst π D.scheme.hom) f hf ρ |
| 72 | (p.left ≫ D.scheme.hom) ho hp' |
| 73 | (GlobalSectionComposition.Construction.globalSectionCompositePullback (pullback.fst π D.scheme.hom) j M D.universalSection) |
| 74 | have hb := D.sectionPointEquiv_base_congr_left f ρ (p.left ≫ D.scheme.hom) g p.w hp' hp |
| 75 | (D.classifiedSectionPullback f ρ g hp p) |
| 76 | apply Over.OverMorphism.ext |
| 77 | exact hb.trans ((congrArg Over.Hom.left ht).trans (congrArg Over.Hom.left hc)) |
| 78 | |
| 79 | theorem Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation.classifiedSectionPullback_recovers [IsAffine T] |
| 80 | (s : (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf ρ ((Scheme.Modules.pullback f).obj M)).obj (op ⊤)) : |
| 81 | D.classifiedSectionPullback f ρ g hp (D.sectionPointEquiv f ρ g hp s) = s := |
| 82 | (D.sectionPointEquiv f ρ g hp).injective |
| 83 | (D.classifiedSectionPullback_classifies f ρ g hp (D.sectionPointEquiv f ρ g hp s)) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.FormalGeometry.Completion |