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.ArithmeticGeometry.OrdinaryLocus.Openness.ConstantProductCube |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ConstantProductCubicalFaces |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ConstantSectionCoverPoint |
| 4 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.TrivialityFromBaseChange |
| 5 | |
| 6 | /-! # Pointed Constant Product Cube -/ |
| 7 | |
| 8 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.PointedConstantProductCube.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The cubical defect vanishes after pullback to any two pointed projective factors over the group. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open CartesianMonoidalCategory MonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | theorem pointed_constantProduct_cube_trivial |
| 19 | {K : Type} [Field K] [IsAlgClosed K] |
| 20 | (A B G : Over (Spec (.of K))) [GrpObj G] [IsCommMonObj G] |
| 21 | [IsProper A.hom] [IsProper B.hom] [IsProper G.hom] |
| 22 | [GeometricallyIntegral A.hom] [GeometricallyIntegral B.hom] [IsIntegral G.left] |
| 23 | (DA : AlgebraicGeometry.Quotients.FiniteDescent.AffineSectionOf.Construction.AffineSectionCover.Data A.left) (DB : AlgebraicGeometry.Quotients.FiniteDescent.AffineSectionOf.Construction.AffineSectionCover.Data B.left) |
| 24 | (a : A ⟶ G) (b : B ⟶ G) |
| 25 | (sA : 𝟙_ (Over (Spec (.of K))) ⟶ A) (ha : sA ≫ a = η[G]) |
| 26 | (sB : 𝟙_ (Over (Spec (.of K))) ⟶ B) (hb : sB ≫ b = η[G]) (l : PicardEq.Construction.Picard G.left) : |
| 27 | Nonempty ((ConstantProductCubicalFaces.Construction.constantProductCubicalBundle A B G a b l).sheaf ≅ |
| 28 | LineBundle.Construction.structureSheafModule (ConstantProductCoordinates.Construction.constantProduct A B G).left) := by |
| 29 | have : IsIntegral A.left := GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 30 | have : IsIntegral B.left := GeometricallyIntegral.isIntegral_of_subsingleton B.hom |
| 31 | have : IsLocallyNoetherian G.left := LocallyOfFiniteType.isLocallyNoetherian G.hom |
| 32 | have : A.left.IsSeparated := by constructor; rw [← terminal.comp_from A.hom]; infer_instance |
| 33 | have : B.left.IsSeparated := by constructor; rw [← terminal.comp_from B.hom]; infer_instance |
| 34 | have : IsProper (A ⊗ G).hom := inferInstanceAs (IsProper (pullback.fst A.hom G.hom ≫ A.hom)) |
| 35 | have : IsProper (B ⊗ G).hom := inferInstanceAs (IsProper (pullback.fst B.hom G.hom ≫ B.hom)) |
| 36 | have : (A ⊗ G).left.IsSeparated := by constructor; rw [← terminal.comp_from (A ⊗ G).hom]; infer_instance |
| 37 | have : (B ⊗ G).left.IsSeparated := by constructor; rw [← terminal.comp_from (B ⊗ G).hom]; infer_instance |
| 38 | let f := ConstantProductCoordinates.Construction.constantLeftBase A G |
| 39 | let g := ConstantProductCoordinates.Construction.constantRightBase B G |
| 40 | let p := (fst A G).left |
| 41 | let q := (fst B G).left |
| 42 | let hp := IsPullback.of_hasPullback A.hom G.hom |
| 43 | let hq := IsPullback.of_hasPullback B.hom G.hom |
| 44 | have : IsProper f := inferInstanceAs (IsProper (pullback.snd A.hom G.hom)) |
| 45 | have : IsProper g := inferInstanceAs (IsProper (pullback.snd B.hom G.hom)) |
| 46 | have : Flat f := inferInstanceAs (Flat (pullback.snd A.hom G.hom)) |
| 47 | have : Flat g := inferInstanceAs (Flat (pullback.snd B.hom G.hom)) |
| 48 | have : GeometricallyIntegral f := inferInstanceAs (GeometricallyIntegral (pullback.snd A.hom G.hom)) |
| 49 | have : GeometricallyIntegral g := inferInstanceAs (GeometricallyIntegral (pullback.snd B.hom G.hom)) |
| 50 | let sX := (ConstantProductCoordinates.Construction.constantFamilySection A G sA).left |
| 51 | let sY := (ConstantProductCoordinates.Construction.constantFamilySection B G sB).left |
| 52 | have hsX : sX ≫ f = 𝟙 _ := congrArg Over.Hom.left (ConstantProductCoordinates.Construction.constantFamilySection_base A G sA) |
| 53 | have hsY : sY ≫ g = 𝟙 _ := congrArg Over.Hom.left (ConstantProductCoordinates.Construction.constantFamilySection_base B G sB) |
| 54 | let L := ConstantProductCubicalFaces.Construction.constantProductCubicalBundle A B G a b l |
| 55 | obtain ⟨eX⟩ := ConstantProductCubicalFaces.Construction.constantProductCubicalBundle_left_trivial A B G a b l sB hb |
| 56 | obtain ⟨eY⟩ := ConstantProductCubicalFaces.Construction.constantProductCubicalBundle_right_trivial A B G a b l sA ha |
| 57 | obtain ⟨i₀, hi₀⟩ := ConstantSectionCoverPoint.Construction.exists_constantSection_cover_index A G DA sA |
| 58 | obtain ⟨j₀, hj₀⟩ := ConstantSectionCoverPoint.Construction.exists_constantSection_cover_index B G DB sB |
| 59 | let π := ConstantProductCoordinates.Construction.constantProductProjection A B G |
| 60 | let u := (η[G]).left |
| 61 | have hu : u ≫ G.hom = 𝟙 _ := Over.w η[G] |
| 62 | have : IsClosedImmersion (u ≫ G.hom) := hu.symm ▸ (inferInstance : IsClosedImmersion (𝟙 _)) |
| 63 | have : IsClosedImmersion u := IsClosedImmersion.of_comp u G.hom |
| 64 | let j := (ConstantProductPointFiber.Construction.constantProductPointFiber A B G η[G]).left |
| 65 | have hj : IsPullback j (A ⊗ B).hom π u := ConstantProductPointFiber.Construction.constantProductPointFiberMap_isPullback A B G η[G] |
| 66 | obtain ⟨ej⟩ := ConstantProductCubicalFaces.Construction.constantProductCubicalBundle_unit_trivial A B G a b l |
| 67 | let eu := CartesianTrivializationComparison.Construction.cartesianTrivialization_to_native j π (A ⊗ B).hom u hj L.sheaf ej |
| 68 | let x := IsLocalRing.closedPoint K |
| 69 | let e₀ := TrivialityFromBaseChange.Construction.lineBundleFiberTrivialization_of_baseChange π u L.sheaf x eu |
| 70 | exact ConstantProductCube.Construction.constantProduct_lineBundle_trivial A.hom B.hom f g p q G.hom hp hq DA DB |
| 71 | sX hsX sY hsY i₀ hi₀ j₀ hj₀ L.sheaf L.isLineBundle eX eY (u x) ⟨e₀⟩ |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.PointedConstantProductCube.Construction |