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.Comparison.Betti.TensorPointTopology |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemeAffineCover |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointClosedMap |
| 4 | |
| 5 | /-! # Scheme Product Topology -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.SchemeProductTopology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Analytic topology of actual scheme products |
| 13 | |
| 14 | The inverse of the pair of scheme projections is continuous on each pair |
| 15 | of affine charts by the tensor-product evaluation calculation. The charts |
| 16 | are actual open embeddings, so this proves continuity on the whole product. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 20 | open scoped TensorProduct |
| 21 | |
| 22 | variable (X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 23 | |
| 24 | def productScheme : Over Foundations.Scheme.ProjectiveSpace.complexBase := |
| 25 | Over.mk (pullback.snd X.hom Y.hom ≫ Y.hom) |
| 26 | |
| 27 | def productLeft : productScheme X Y ⟶ X := |
| 28 | Over.homMk (pullback.fst X.hom Y.hom) pullback.condition |
| 29 | |
| 30 | def productRight : productScheme X Y ⟶ Y := |
| 31 | Over.homMk (pullback.snd X.hom Y.hom) rfl |
| 32 | |
| 33 | def productLift {T : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : T ⟶ X) (g : T ⟶ Y) : |
| 34 | T ⟶ productScheme X Y := |
| 35 | Over.homMk (pullback.lift f.left g.left ((Over.w f).trans (Over.w g).symm)) (by |
| 36 | change (pullback.lift _ _ _) ≫ (pullback.snd X.hom Y.hom ≫ Y.hom) = T.hom |
| 37 | rw [← Category.assoc, pullback.lift_snd, Over.w g]) |
| 38 | |
| 39 | @[simp] |
| 40 | theorem productLift_left {T : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : T ⟶ X) (g : T ⟶ Y) : |
| 41 | productLift X Y f g ≫ productLeft X Y = f := by |
| 42 | apply Over.OverMorphism.ext |
| 43 | exact pullback.lift_fst _ _ _ |
| 44 | |
| 45 | @[simp] |
| 46 | theorem productLift_right {T : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : T ⟶ X) (g : T ⟶ Y) : |
| 47 | productLift X Y f g ≫ productRight X Y = g := by |
| 48 | apply Over.OverMorphism.ext |
| 49 | exact pullback.lift_snd _ _ _ |
| 50 | |
| 51 | theorem product_hom_ext {T : Over Foundations.Scheme.ProjectiveSpace.complexBase} {f g : T ⟶ productScheme X Y} |
| 52 | (h₁ : f ≫ productLeft X Y = g ≫ productLeft X Y) |
| 53 | (h₂ : f ≫ productRight X Y = g ≫ productRight X Y) : f = g := by |
| 54 | apply Over.OverMorphism.ext |
| 55 | apply pullback.hom_ext |
| 56 | · exact congrArg (fun a => a.left) h₁ |
| 57 | · exact congrArg (fun a => a.left) h₂ |
| 58 | |
| 59 | def productPoint (p : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X × ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) : |
| 60 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (productScheme X Y) := productLift X Y p.1 p.2 |
| 61 | |
| 62 | variable {X Y} |
| 63 | |
| 64 | def tensorToProduct (A B : CommAlgCat ℂ) (f : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) |
| 65 | (g : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (A ⊗[ℂ] B) ⟶ productScheme X Y := |
| 66 | productLift X Y |
| 67 | (Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A (A ⊗[ℂ] B) Algebra.TensorProduct.includeLeft ≫ f) |
| 68 | (Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ B (A ⊗[ℂ] B) Algebra.TensorProduct.includeRight ≫ g) |
| 69 | |
| 70 | theorem productPoint_affineTest (A B : CommAlgCat ℂ) (f : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) |
| 71 | (g : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) (p : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A × Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) : |
| 72 | productPoint X Y (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A f p.1, ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B g p.2) = |
| 73 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ (A ⊗[ℂ] B)) (tensorToProduct A B f g) |
| 74 | (TensorPointTopology.tensorPoint A B p) := by |
| 75 | apply product_hom_ext X Y |
| 76 | · change productLift X Y _ _ ≫ productLeft X Y = |
| 77 | (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv _ _ ≫ productLift X Y _ _) ≫ productLeft X Y |
| 78 | rw [productLift_left, Category.assoc, productLift_left, ← Category.assoc, |
| 79 | ← ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv_comap] |
| 80 | change ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv A p.1 ≫ f = |
| 81 | ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv A ((TensorPointTopology.tensorPoint A B p).comp Algebra.TensorProduct.includeLeft) ≫ f |
| 82 | congr 1 |
| 83 | exact congrArg (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv A) |
| 84 | (Algebra.TensorProduct.lift_comp_includeLeft p.1 p.2 (fun _ _ => Commute.all _ _)).symm |
| 85 | · change productLift X Y _ _ ≫ productRight X Y = |
| 86 | (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv _ _ ≫ productLift X Y _ _) ≫ productRight X Y |
| 87 | rw [productLift_right, Category.assoc, productLift_right, ← Category.assoc, |
| 88 | ← ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv_comap] |
| 89 | change ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv B p.2 ≫ g = |
| 90 | ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv B ((TensorPointTopology.tensorPoint A B p).comp Algebra.TensorProduct.includeRight) ≫ g |
| 91 | congr 1 |
| 92 | exact congrArg (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv B) |
| 93 | (Algebra.TensorProduct.lift_comp_includeRight' p.1 p.2 (fun _ _ => Commute.all _ _)).symm |
| 94 | |
| 95 | theorem productPoint_affineTest_continuous (A B : CommAlgCat ℂ) |
| 96 | (f : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) (g : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) : |
| 97 | Continuous (fun p : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A × Foundations.Scheme.AffineComplexPoints.affineComplexPoints B => |
| 98 | productPoint X Y (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A f p.1, ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B g p.2)) := |
| 99 | ((ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_affinePointMap (CommAlgCat.of ℂ (A ⊗[ℂ] B)) (tensorToProduct A B f g)).comp |
| 100 | (TensorPointTopology.tensorPoint_continuous A B)).congr (fun p => (productPoint_affineTest A B f g p).symm) |
| 101 | |
| 102 | variable (X Y) |
| 103 | |
| 104 | theorem productPoint_continuous : Continuous (productPoint X Y) := by |
| 105 | rw [continuous_iff_continuousAt] |
| 106 | rintro ⟨x, y⟩ |
| 107 | obtain ⟨U, hU, a, ha⟩ := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.exists_affineOpenPoint_lift X x |
| 108 | obtain ⟨V, hV, b, hb⟩ := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.exists_affineOpenPoint_lift Y y |
| 109 | let e := Prod.map (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap X U hU) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap Y V hV) |
| 110 | have he : Topology.IsOpenEmbedding e := |
| 111 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_affineOpenPointMap X U hU).prodMap |
| 112 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_affineOpenPointMap Y V hV) |
| 113 | have hc : Continuous (productPoint X Y ∘ e) := |
| 114 | productPoint_affineTest_continuous (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra Y V) |
| 115 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X U hU) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap Y V hV) |
| 116 | have h := he.continuousAt_iff.mp (hc.continuousAt (x := (a, b))) |
| 117 | simpa only [e, Prod.map_apply, ha, hb] using h |
| 118 | |
| 119 | def productPointsHomeomorph : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (productScheme X Y) ≃ₜ |
| 120 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X × ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y where |
| 121 | toFun p := (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (productLeft X Y) p, ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (productRight X Y) p) |
| 122 | invFun := productPoint X Y |
| 123 | left_inv _p := product_hom_ext X Y (productLift_left X Y _ _) (productLift_right X Y _ _) |
| 124 | right_inv _p := Prod.ext (productLift_left X Y _ _) (productLift_right X Y _ _) |
| 125 | continuous_toFun := (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_map (productLeft X Y)).prodMk (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_map (productRight X Y)) |
| 126 | continuous_invFun := productPoint_continuous X Y |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.AlgebraicGeometry.Comparison.Betti.SchemeProductTopology |