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.Quotients.FiniteDescent.AffineNeighborhoodTrivial |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProductFrames |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.GroupIrreducibleOf |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SchemeSmooth |
| 5 | |
| 6 | /-! # Cube Product Lift -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.CubeProductLift |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! The actual cube line bundle becomes trivial after replacing its first |
| 15 | two factors by pointed projective modifications. -/ |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProductFrames.Construction.CubeProductCoordinates |
| 21 | |
| 22 | variable {K : Type} [Field K] [IsAlgClosed K] |
| 23 | (A : Over (Spec (.of K))) [GrpObj A] [IsCommMonObj A] |
| 24 | [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 25 | {B C : Scheme} (b : B ⟶ Spec (.of K)) (c : C ⟶ Spec (.of K)) |
| 26 | [IsProper b] [IsProper c] [GeometricallyIntegral b] [GeometricallyIntegral c] |
| 27 | (DB : Quotients.FiniteDescent.AffineSectionOf.Construction.AffineSectionCover.Data B) (DC : Quotients.FiniteDescent.AffineSectionOf.Construction.AffineSectionCover.Data C) |
| 28 | (u : B ⟶ A.left) (hu : u ≫ A.hom = b) (v : C ⟶ A.left) (hv : v ≫ A.hom = c) |
| 29 | (sb : Spec (.of K) ⟶ B) (hsb : sb ≫ b = 𝟙 _) (hub : sb ≫ u = Quotients.FiniteDescent.CubeProductFrames.Construction.CubeProductCoordinates.origin A) |
| 30 | (sc : Spec (.of K) ⟶ C) (hsc : sc ≫ c = 𝟙 _) (hvc : sc ≫ v = Quotients.FiniteDescent.CubeProductFrames.Construction.CubeProductCoordinates.origin A) |
| 31 | |
| 32 | include DB DC hsb hsc hub hvc |
| 33 | |
| 34 | theorem modifiedCube_trivial (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) : |
| 35 | Nonempty ((Quotients.FiniteDescent.CubeProductFrames.Construction.CubeProductCoordinates.cubeBundle A b c u hu v hv L).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.total A b c)) := by |
| 36 | classical |
| 37 | have : IsReduced A.left := Quotients.FiniteDescent.SchemeSmooth.Construction.SchemeSmoothReduced.reduced_of_smooth_field A.hom |
| 38 | have : IrreducibleSpace A.left := Quotients.FiniteDescent.GroupIrreducibleOf.Construction.GroupIrreducible.irreducibleSpace_of_connected_group A |
| 39 | have : IsIntegral A.left := isIntegral_of_irreducibleSpace_of_isReduced A.left |
| 40 | have : IsLocallyNoetherian A.left := LocallyOfFiniteType.isLocallyNoetherian A.hom |
| 41 | let eb := (Fintype.equivFin DB.I).symm |
| 42 | let ec := (Fintype.equivFin DC.I).symm |
| 43 | let U : Fin (Fintype.card DB.I) → B.Opens := fun i => AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (DB.sectionHom (eb i)) |
| 44 | let V : Fin (Fintype.card DC.I) → C.Opens := fun i => AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (DC.sectionHom (ec i)) |
| 45 | have hcU : iSup U = ⊤ := by |
| 46 | apply top_unique |
| 47 | intro x _ |
| 48 | obtain ⟨i, hi⟩ := DB.covers x |
| 49 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨eb.symm i, by simpa only [U, eb.apply_symm_apply] using hi⟩ |
| 50 | have hcV : iSup V = ⊤ := by |
| 51 | apply top_unique |
| 52 | intro x _ |
| 53 | obtain ⟨i, hi⟩ := DC.covers x |
| 54 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨ec.symm i, by simpa only [V, ec.apply_symm_apply] using hi⟩ |
| 55 | obtain ⟨ib, hib⟩ := DB.covers (sb (IsLocalRing.closedPoint K)) |
| 56 | obtain ⟨ic, hic⟩ := DC.covers (sc (IsLocalRing.closedPoint K)) |
| 57 | have hbi : ⊤ ≤ Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.familyPoint A b sb hsb ⁻¹ᵁ |
| 58 | (pullback.fst b A.hom ⁻¹ᵁ U (eb.symm ib)) := by |
| 59 | intro x _ |
| 60 | change (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.familyPoint A b sb hsb ≫ pullback.fst b A.hom) x ∈ U (eb.symm ib) |
| 61 | rw [Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.familyPoint, pullback.lift_fst] |
| 62 | change sb (A.hom x) ∈ U (eb.symm ib) |
| 63 | rw [Subsingleton.elim (A.hom x) (IsLocalRing.closedPoint K)] |
| 64 | simpa only [U, eb.apply_symm_apply] using hib |
| 65 | have hci : ⊤ ≤ Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.familyPoint A c sc hsc ⁻¹ᵁ |
| 66 | (pullback.fst c A.hom ⁻¹ᵁ V (ec.symm ic)) := by |
| 67 | intro x _ |
| 68 | change (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.familyPoint A c sc hsc ≫ pullback.fst c A.hom) x ∈ V (ec.symm ic) |
| 69 | rw [Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.familyPoint, pullback.lift_fst] |
| 70 | change sc (A.hom x) ∈ V (ec.symm ic) |
| 71 | rw [Subsingleton.elim (A.hom x) (IsLocalRing.closedPoint K)] |
| 72 | simpa only [V, ec.apply_symm_apply] using hic |
| 73 | obtain ⟨ex⟩ := Quotients.FiniteDescent.CubeProductFrames.Construction.CubeProductCoordinates.left_frame A b c u hu v hv L sc hsc hvc |
| 74 | obtain ⟨ey⟩ := Quotients.FiniteDescent.CubeProductFrames.Construction.CubeProductCoordinates.right_frame A b c u hu v hv L sb hsb hub |
| 75 | obtain ⟨ez⟩ := Quotients.FiniteDescent.CubeProductFrames.Construction.CubeProductCoordinates.origin_frame A b c u hu v hv L |
| 76 | apply Quotients.FiniteDescent.AffineNeighborhoodTrivial.Construction.AffineNeighborhoodSeesaw.trivial b c DB DC |
| 77 | (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.rightBase A c) (pullback.fst b A.hom) (pullback.fst c A.hom) |
| 78 | A.hom (IsPullback.of_hasPullback b A.hom) (IsPullback.of_hasPullback c A.hom) |
| 79 | U V (fun i => DB.affine (eb i)) (fun i => DC.affine (ec i)) hcU hcV |
| 80 | (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.familyPoint A b sb hsb) (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.familyPoint_over A b sb hsb) |
| 81 | (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.familyPoint A c sc hsc) (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.familyPoint_over A c sc hsc) |
| 82 | (eb.symm ib) hbi (ec.symm ic) hci (Quotients.FiniteDescent.CubeProductFrames.Construction.CubeProductCoordinates.cubeBundle A b c u hu v hv L) ex ey |
| 83 | (Quotients.FiniteDescent.CubeProductFrames.Construction.CubeProductCoordinates.origin A) (Quotients.FiniteDescent.CubeProductFrames.Construction.CubeProductCoordinates.origin_over A) ez |
| 84 | intro x |
| 85 | obtain ⟨W, hW, hpoints⟩ := Quotients.FiniteDescent.GroupIrreducibleOf.Construction.GroupIrreducible.exists_affineOpen_of_finite A |
| 86 | {x, Quotients.FiniteDescent.RationalPoint.Construction.RationalPointResidue.point (Quotients.FiniteDescent.CubeProductFrames.Construction.CubeProductCoordinates.origin A)} (Set.toFinite _) |
| 87 | exact ⟨W, hW, hpoints (by simp), hpoints (by simp)⟩ |
| 88 | |
| 89 | end |
| 90 | |
| 91 | /-! Pulling the modified cube identity back along its actual three |
| 92 | coordinate maps. -/ |
| 93 | |
| 94 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 95 | open scoped _root_.CategoryTheory.MonObj |
| 96 | |
| 97 | open OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProductFrames.Construction.CubeProductCoordinates |
| 98 | |
| 99 | variable {K : Type} [Field K] |
| 100 | (A : Over (Spec (.of K))) [GrpObj A] [IsCommMonObj A] |
| 101 | {B C : Scheme} (b : B ⟶ Spec (.of K)) (c : C ⟶ Spec (.of K)) |
| 102 | {T : Over (Spec (.of K))} |
| 103 | |
| 104 | omit [GrpObj A] [IsCommMonObj A] in |
| 105 | def cubeProductLift (f : T ⟶ Over.mk b) (g : T ⟶ Over.mk c) (h : T ⟶ A) : |
| 106 | T ⟶ Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.ambient A b c := |
| 107 | Over.homMk |
| 108 | (pullback.lift (pullback.lift f.left h.left (f.w.trans h.w.symm)) |
| 109 | (pullback.lift g.left h.left (g.w.trans h.w.symm)) (by |
| 110 | simp only [Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.leftBase, Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.rightBase, pullback.lift_snd])) (by |
| 111 | change (_ ≫ pullback.fst (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.rightBase A c) ≫ Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) ≫ A.hom = _ |
| 112 | simp only [pullback.lift_fst_assoc, Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.leftBase, pullback.lift_snd] |
| 113 | exact h.w) |
| 114 | |
| 115 | omit [GrpObj A] [IsCommMonObj A] in |
| 116 | theorem cubeProductLift_first (f : T ⟶ Over.mk b) (g : T ⟶ Over.mk c) (h : T ⟶ A) |
| 117 | (u : B ⟶ A.left) (hu : u ≫ A.hom = b) : |
| 118 | cubeProductLift A b c f g h ≫ Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.first A b c u hu = f ≫ Over.homMk u hu := by |
| 119 | apply Over.OverMorphism.ext |
| 120 | change _ ≫ (pullback.fst (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.rightBase A c) ≫ pullback.fst b A.hom ≫ u) = _ |
| 121 | simp only [cubeProductLift, Over.homMk_left, pullback.lift_fst_assoc] |
| 122 | rfl |
| 123 | |
| 124 | omit [GrpObj A] [IsCommMonObj A] in |
| 125 | theorem cubeProductLift_second (f : T ⟶ Over.mk b) (g : T ⟶ Over.mk c) (h : T ⟶ A) |
| 126 | (v : C ⟶ A.left) (hv : v ≫ A.hom = c) : |
| 127 | cubeProductLift A b c f g h ≫ Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.second A b c v hv = g ≫ Over.homMk v hv := by |
| 128 | apply Over.OverMorphism.ext |
| 129 | change _ ≫ (pullback.snd (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.rightBase A c) ≫ pullback.fst c A.hom ≫ v) = _ |
| 130 | simp only [cubeProductLift, Over.homMk_left, pullback.lift_snd_assoc, pullback.lift_fst_assoc] |
| 131 | rfl |
| 132 | |
| 133 | omit [GrpObj A] [IsCommMonObj A] in |
| 134 | theorem cubeProductLift_third (f : T ⟶ Over.mk b) (g : T ⟶ Over.mk c) (h : T ⟶ A) : |
| 135 | cubeProductLift A b c f g h ≫ Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.third A b c = h := by |
| 136 | apply Over.OverMorphism.ext |
| 137 | change _ ≫ (pullback.fst (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.rightBase A c) ≫ pullback.snd b A.hom) = _ |
| 138 | simp only [cubeProductLift, Over.homMk_left, pullback.lift_fst_assoc, pullback.lift_snd] |
| 139 | |
| 140 | omit [IsCommMonObj A] in |
| 141 | theorem cube_eq_one_of_modifiedCube_trivial |
| 142 | (u : B ⟶ A.left) (hu : u ≫ A.hom = b) (v : C ⟶ A.left) (hv : v ≫ A.hom = c) |
| 143 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) |
| 144 | (he : Nonempty ((Quotients.FiniteDescent.CubeProductFrames.Construction.CubeProductCoordinates.cubeBundle A b c u hu v hv L).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.total A b c))) |
| 145 | (f : T ⟶ Over.mk b) (g : T ⟶ Over.mk c) (h : T ⟶ A) : |
| 146 | Quotients.FiniteDescent.CubePicardValue.Construction.CubePicardClass.cube A L (f ≫ Over.homMk u hu) (g ≫ Over.homMk v hv) h = 1 := by |
| 147 | have hz := Quotients.FiniteDescent.CubePicardFaces.Construction.CubePicardClass.eq_one_of_bundle_trivial A L |
| 148 | (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.first A b c u hu) (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.second A b c v hv) (Quotients.FiniteDescent.CubeProductBase.Construction.CubeProductCoordinates.third A b c) he |
| 149 | have hp := congrArg (Quotients.FiniteDescent.PicardPullbackId.Construction.PicardPullback.map (cubeProductLift A b c f g h).left) hz |
| 150 | rw [Quotients.FiniteDescent.CubePicardValue.Construction.CubePicardClass.pullback, map_one, cubeProductLift_first, |
| 151 | cubeProductLift_second, cubeProductLift_third] at hp |
| 152 | exact hp |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.CubeProductLift |