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.PointedAffineCover |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AbelianGeometric |
| 5 | |
| 6 | /-! # Projective Cube -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCube |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The cube bundle is trivial when the first two factors admit affine |
| 13 | section covers, with the proper smooth group retained as the third factor. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace Construction.ProjectiveCubeTriviality |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.Quotients.FiniteDescent.CubeProductFrames.Construction.CubeProductCoordinates |
| 25 | |
| 26 | variable {K : Type u} [Field K] [IsAlgClosed K] (A : Over (Spec (.of K))) |
| 27 | variable [GrpObj A] [IsCommMonObj A] [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 28 | variable {B C : Scheme.{u}} (b : B ⟶ Spec (.of K)) (c : C ⟶ Spec (.of K)) |
| 29 | variable [IsProper b] [IsProper c] [GeometricallyIntegral b] [GeometricallyIntegral c] |
| 30 | variable (DB : AffineSectionOf.Construction.AffineSectionCover.Data B) (DC : AffineSectionOf.Construction.AffineSectionCover.Data C) |
| 31 | variable (u : B ⟶ A.left) (hu : u ≫ A.hom = b) (v : C ⟶ A.left) (hv : v ≫ A.hom = c) |
| 32 | variable (sB : Spec (.of K) ⟶ B) (hsB : sB ≫ b = 𝟙 _) (hB : sB ≫ u = CubeProductFrames.Construction.CubeProductCoordinates.origin A) |
| 33 | variable (sC : Spec (.of K) ⟶ C) (hsC : sC ≫ c = 𝟙 _) (hC : sC ≫ v = CubeProductFrames.Construction.CubeProductCoordinates.origin A) |
| 34 | variable (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) |
| 35 | |
| 36 | include DB DC hsB hB hsC hC |
| 37 | |
| 38 | theorem trivial : Nonempty ((CubeProductFrames.Construction.CubeProductCoordinates.cubeBundle A b c u hu v hv L).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (CubeProductBase.Construction.CubeProductCoordinates.total A b c)) := by |
| 39 | have : GeometricallyIntegral A.hom := AbelianGeometric.Construction.AbelianGeometricIntegral.geometricallyIntegral A |
| 40 | have : IsIntegral A.left := GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 41 | have : IsLocallyNoetherian A.left := LocallyOfFiniteType.isLocallyNoetherian A.hom |
| 42 | have : IsIntegral B := GeometricallyIntegral.isIntegral_of_subsingleton b |
| 43 | have : IsIntegral C := GeometricallyIntegral.isIntegral_of_subsingleton c |
| 44 | have : CompactSpace B := QuasiCompact.compactSpace_of_compactSpace b |
| 45 | have : CompactSpace C := QuasiCompact.compactSpace_of_compactSpace c |
| 46 | let U := PointedAffineCover.Construction.PointedFiniteAffineCover.ofIntegral sB |
| 47 | let V := PointedAffineCover.Construction.PointedFiniteAffineCover.ofIntegral sC |
| 48 | let : Fintype U.I := U.fintype |
| 49 | let : LinearOrder U.I := U.linearOrder |
| 50 | let : Fintype V.I := V.fintype |
| 51 | let : LinearOrder V.I := V.linearOrder |
| 52 | have hi : ⊤ ≤ CubeProductBase.Construction.CubeProductCoordinates.familyPoint A b sB hsB ⁻¹ᵁ |
| 53 | (pullback.fst b A.hom ⁻¹ᵁ U.opens U.distinguished) := by |
| 54 | change ⊤ ≤ (CubeProductBase.Construction.CubeProductCoordinates.familyPoint A b sB hsB ≫ pullback.fst b A.hom) ⁻¹ᵁ U.opens U.distinguished |
| 55 | rw [CubeProductBase.Construction.CubeProductCoordinates.familyPoint, pullback.lift_fst] |
| 56 | exact fun x _ => U.point_in (show A.hom x ∈ (⊤ : (Spec (.of K)).Opens) from True.intro) |
| 57 | have hj : ⊤ ≤ CubeProductBase.Construction.CubeProductCoordinates.familyPoint A c sC hsC ⁻¹ᵁ |
| 58 | (pullback.fst c A.hom ⁻¹ᵁ V.opens V.distinguished) := by |
| 59 | change ⊤ ≤ (CubeProductBase.Construction.CubeProductCoordinates.familyPoint A c sC hsC ≫ pullback.fst c A.hom) ⁻¹ᵁ V.opens V.distinguished |
| 60 | rw [CubeProductBase.Construction.CubeProductCoordinates.familyPoint, pullback.lift_fst] |
| 61 | exact fun x _ => V.point_in (show A.hom x ∈ (⊤ : (Spec (.of K)).Opens) from True.intro) |
| 62 | have hN (x : A.left) : ∃ W : A.left.Opens, IsAffineOpen W ∧ x ∈ W ∧ |
| 63 | RationalPoint.Construction.RationalPointResidue.point (CubeProductFrames.Construction.CubeProductCoordinates.origin A) ∈ W := by |
| 64 | obtain ⟨W, hW, hsub⟩ := GroupIrreducibleOf.Construction.GroupIrreducible.exists_affineOpen_of_finite A |
| 65 | {x, RationalPoint.Construction.RationalPointResidue.point (CubeProductFrames.Construction.CubeProductCoordinates.origin A)} ((Set.finite_singleton _).insert x) |
| 66 | exact ⟨W, hW, hsub (by simp), hsub (by simp)⟩ |
| 67 | exact AffineNeighborhoodTrivial.Construction.AffineNeighborhoodSeesaw.trivial b c DB DC (CubeProductBase.Construction.CubeProductCoordinates.leftBase A b) (CubeProductBase.Construction.CubeProductCoordinates.rightBase A c) |
| 68 | (pullback.fst b A.hom) (pullback.fst c A.hom) A.hom |
| 69 | (IsPullback.of_hasPullback b A.hom) (IsPullback.of_hasPullback c A.hom) |
| 70 | U.opens V.opens U.affine V.affine U.covers V.covers |
| 71 | (CubeProductBase.Construction.CubeProductCoordinates.familyPoint A b sB hsB) (CubeProductBase.Construction.CubeProductCoordinates.familyPoint_over A b sB hsB) |
| 72 | (CubeProductBase.Construction.CubeProductCoordinates.familyPoint A c sC hsC) (CubeProductBase.Construction.CubeProductCoordinates.familyPoint_over A c sC hsC) |
| 73 | U.distinguished hi V.distinguished hj (CubeProductFrames.Construction.CubeProductCoordinates.cubeBundle A b c u hu v hv L) |
| 74 | (CubeProductFrames.Construction.CubeProductCoordinates.left_frame A b c u hu v hv L sC hsC hC).some |
| 75 | (CubeProductFrames.Construction.CubeProductCoordinates.right_frame A b c u hu v hv L sB hsB hB).some |
| 76 | (CubeProductFrames.Construction.CubeProductCoordinates.origin A) (CubeProductFrames.Construction.CubeProductCoordinates.origin_over A) (CubeProductFrames.Construction.CubeProductCoordinates.origin_frame A b c u hu v hv L).some hN |
| 77 | |
| 78 | theorem class_eq_one : CubePicardValue.Construction.CubePicardClass.cube A L |
| 79 | (CubeProductBase.Construction.CubeProductCoordinates.first A b c u hu) (CubeProductBase.Construction.CubeProductCoordinates.second A b c v hv) (CubeProductBase.Construction.CubeProductCoordinates.third A b c) = 1 := |
| 80 | CubePicardFaces.Construction.CubePicardClass.eq_one_of_bundle_trivial A L _ _ _ (trivial A b c DB DC u hu v hv sB hsB hB sC hsC hC L) |
| 81 | |
| 82 | end Construction.ProjectiveCubeTriviality |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCube |