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.Crystalline.Cohomology.DeRhamPullbackTo |
| 2 | |
| 3 | /-! # Open Section Geometric Pullback -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.OpenSectionGeometricPullback |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Pullback of native section algebras to an arbitrary smaller open subset. -/ |
| 10 | |
| 11 | namespace DeRhamPullback |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] |
| 18 | {X Y : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) |
| 19 | (U : Y.left.Opens) (V : X.left.Opens) (h : V ≤ f.left ⁻¹ᵁ U) |
| 20 | |
| 21 | def sectionPullbackLE : |
| 22 | letI := AlgebraicForms.AlgebraicDeRham.sectionAlgebra R Y U |
| 23 | letI := AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X V |
| 24 | Γ(Y.left, U) →ₐ[R] Γ(X.left, V) := |
| 25 | ((AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).map (homOfLE h).op).hom.comp (DeRhamPullbackTo.DeRhamPullback.sectionPullback f U) |
| 26 | |
| 27 | theorem sectionPullbackLE_toRingHom : (sectionPullbackLE f U V h).toRingHom = (f.left.appLE U V h).hom := rfl |
| 28 | |
| 29 | def formsPullbackLE (n : ℕ) : |
| 30 | (DeRhamGlobalId.DeRhamGlobal.formsPresheaf R Y n).obj (op U) ⟶ |
| 31 | (DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n).obj (op V) := |
| 32 | ModuleCat.ofHom (DeRhamGlobalId.DeRhamGlobal.formMap (CommAlgCat.ofHom (sectionPullbackLE f U V h)) n) |
| 33 | |
| 34 | theorem formsPullbackLE_eq (n : ℕ) : formsPullbackLE f U V h n = |
| 35 | (DeRhamPullbackTo.DeRhamPullback.formsPullback f n).app (op U) ≫ (DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X n).map (homOfLE h).op := by |
| 36 | apply ModuleCat.hom_ext |
| 37 | apply LinearMap.ext |
| 38 | intro ω |
| 39 | exact DeRhamGlobalId.DeRhamGlobal.formMap_comp (CommAlgCat.ofHom (DeRhamPullbackTo.DeRhamPullback.sectionPullback f U)) |
| 40 | ((AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).map (homOfLE h).op) n ω |
| 41 | |
| 42 | end DeRhamPullback |
| 43 | |
| 44 | /-! A commuting square of schemes induces a commuting square on sections of arbitrary compatible opens. -/ |
| 45 | |
| 46 | namespace SectionGeometricSquare |
| 47 | |
| 48 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 49 | |
| 50 | universe u |
| 51 | |
| 52 | theorem appLE_congr {X Y : Scheme.{u}} {f g : X ⟶ Y} (h : f = g) |
| 53 | (U : Y.Opens) (V : X.Opens) (hf : V ≤ f ⁻¹ᵁ U) (hg : V ≤ g ⁻¹ᵁ U) : |
| 54 | f.appLE U V hf = g.appLE U V hg := by |
| 55 | subst g |
| 56 | rfl |
| 57 | |
| 58 | theorem square {X₁ X₂ Y₁ Y₂ : Scheme.{u}} (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) |
| 59 | (f₁ : Y₁ ⟶ X₁) (f₂ : Y₂ ⟶ X₂) (h : f₁ ≫ u = v ≫ f₂) |
| 60 | (U : X₂.Opens) (V : X₁.Opens) (W : Y₂.Opens) (T : Y₁.Opens) |
| 61 | (hu : V ≤ u ⁻¹ᵁ U) (hv : T ≤ v ⁻¹ᵁ W) |
| 62 | (h₁ : T ≤ f₁ ⁻¹ᵁ V) (h₂ : W ≤ f₂ ⁻¹ᵁ U) : |
| 63 | u.appLE U V hu ≫ f₁.appLE V T h₁ = f₂.appLE U W h₂ ≫ v.appLE W T hv := |
| 64 | (Scheme.Hom.appLE_comp_appLE f₁ u U V T hu h₁).trans |
| 65 | ((appLE_congr h U T _ _).trans (Scheme.Hom.appLE_comp_appLE v f₂ U W T h₂ hv).symm) |
| 66 | |
| 67 | theorem preimage_le {X₁ X₂ Y₁ Y₂ : Scheme.{u}} (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) |
| 68 | (f₁ : Y₁ ⟶ X₁) (f₂ : Y₂ ⟶ X₂) (h : f₁ ≫ u = v ≫ f₂) |
| 69 | (U : X₂.Opens) (V : X₁.Opens) (hu : V ≤ u ⁻¹ᵁ U) : |
| 70 | f₁ ⁻¹ᵁ V ≤ v ⁻¹ᵁ (f₂ ⁻¹ᵁ U) := by |
| 71 | have he : f₁ ⁻¹ᵁ (u ⁻¹ᵁ U) = v ⁻¹ᵁ (f₂ ⁻¹ᵁ U) := |
| 72 | congrArg (fun g : Y₁ ⟶ X₂ => g ⁻¹ᵁ U) h |
| 73 | exact ((TopologicalSpace.Opens.map f₁.base).map (homOfLE hu)).le.trans he.le |
| 74 | |
| 75 | end SectionGeometricSquare |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.OpenSectionGeometricPullback |