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.AbelianModuli.ReferenceFamily.Family.MappedCoverCompatibility |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IndexedOverIsoGluing |
| 3 | |
| 4 | /-! # Cover Isomorphism Gluing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Family.CoverIsomorphismGluing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Isomorphisms on the actual original affine cover glue after |
| 11 | base change when their two squares on each actual intersection commute. |
| 12 | Coverage is checked on both resulting scheme families. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem isoSquare_inverse {C : Type*} [Category C] {A B P Q : C} |
| 17 | (e : A ≅ B) (f : P ≅ Q) (i : A ⟶ P) (j : B ⟶ Q) |
| 18 | (h : i ≫ f.hom = e.hom ≫ j) : j ≫ f.inv = e.inv ≫ i := by |
| 19 | apply (cancel_mono f.hom).mp |
| 20 | simp only [Category.assoc, f.inv_hom_id, Category.comp_id] |
| 21 | rw [h, ← Category.assoc, e.inv_hom_id, Category.id_comp] |
| 22 | |
| 23 | variable (R : Type) [CommRing R] (X : Over (Spec (.of R))) [IsSeparated X.hom] |
| 24 | (U : X.left.AffineOpenCover) {S : Scheme} (F G : Over (Spec (.of R)) ⥤ Over S) |
| 25 | |
| 26 | attribute [local implicit_reducible] AffineCoverIntersections.familyCoverAffineOpen AffineCoverIntersections.familyCoverPairAffineOpen Affine.OpenDiagram.familyAffineOpenDiagram |
| 27 | |
| 28 | structure FamilyCoverIsomorphisms where |
| 29 | chart : ∀ i : U.I₀, |
| 30 | F.obj ((Affine.OpenDiagram.familyAffineOpenDiagram X).obj (AffineCoverIntersections.familyCoverAffineOpen R X U i)) ≅ |
| 31 | G.obj ((Affine.OpenDiagram.familyAffineOpenDiagram X).obj (AffineCoverIntersections.familyCoverAffineOpen R X U i)) |
| 32 | pair : ∀ i j : U.I₀, |
| 33 | F.obj ((Affine.OpenDiagram.familyAffineOpenDiagram X).obj (AffineCoverIntersections.familyCoverPairAffineOpen R X U i j)) ≅ |
| 34 | G.obj ((Affine.OpenDiagram.familyAffineOpenDiagram X).obj (AffineCoverIntersections.familyCoverPairAffineOpen R X U i j)) |
| 35 | left_square : ∀ i j : U.I₀, |
| 36 | F.map (Affine.OpenDiagram.familyOpenMap X (show (AffineCoverIntersections.familyCoverPairAffineOpen R X U i j).1 ≤ |
| 37 | (AffineCoverIntersections.familyCoverAffineOpen R X U i).1 from inf_le_left)) ≫ (chart i).hom = |
| 38 | (pair i j).hom ≫ G.map (Affine.OpenDiagram.familyOpenMap X (show (AffineCoverIntersections.familyCoverPairAffineOpen R X U i j).1 ≤ |
| 39 | (AffineCoverIntersections.familyCoverAffineOpen R X U i).1 from inf_le_left)) |
| 40 | right_square : ∀ i j : U.I₀, |
| 41 | F.map (Affine.OpenDiagram.familyOpenMap X (show (AffineCoverIntersections.familyCoverPairAffineOpen R X U i j).1 ≤ |
| 42 | (AffineCoverIntersections.familyCoverAffineOpen R X U j).1 from inf_le_right)) ≫ (chart j).hom = |
| 43 | (pair i j).hom ≫ G.map (Affine.OpenDiagram.familyOpenMap X (show (AffineCoverIntersections.familyCoverPairAffineOpen R X U i j).1 ≤ |
| 44 | (AffineCoverIntersections.familyCoverAffineOpen R X U j).1 from inf_le_right)) |
| 45 | |
| 46 | namespace FamilyCoverIsomorphisms |
| 47 | |
| 48 | variable {R X U F G} (D : FamilyCoverIsomorphisms R X U F G) |
| 49 | |
| 50 | def symm : FamilyCoverIsomorphisms R X U G F where |
| 51 | chart i := (D.chart i).symm |
| 52 | pair i j := (D.pair i j).symm |
| 53 | left_square i j := isoSquare_inverse (D.pair i j) (D.chart i) _ _ (D.left_square i j) |
| 54 | right_square i j := isoSquare_inverse (D.pair i j) (D.chart j) _ _ (D.right_square i j) |
| 55 | |
| 56 | theorem forward_compatible [PreservesLimitsOfShape WalkingCospan F] (i j : U.I₀) : |
| 57 | pullback.fst (F.map (HilbertConstruction.Open.ParameterPoints.openParameterInclusion X (AffineCoverIntersections.familyCoverAffineOpen R X U i).1)).left |
| 58 | (F.map (HilbertConstruction.Open.ParameterPoints.openParameterInclusion X (AffineCoverIntersections.familyCoverAffineOpen R X U j).1)).left ≫ |
| 59 | ((D.chart i).hom ≫ G.map (HilbertConstruction.Open.ParameterPoints.openParameterInclusion X (AffineCoverIntersections.familyCoverAffineOpen R X U i).1)).left = |
| 60 | pullback.snd _ _ ≫ |
| 61 | ((D.chart j).hom ≫ G.map (HilbertConstruction.Open.ParameterPoints.openParameterInclusion X (AffineCoverIntersections.familyCoverAffineOpen R X U j).1)).left := by |
| 62 | apply MappedCoverCompatibility.familyMappedCover_compatible R X U F (G.obj X) |
| 63 | (fun i => (D.chart i).hom ≫ G.map (HilbertConstruction.Open.ParameterPoints.openParameterInclusion X (AffineCoverIntersections.familyCoverAffineOpen R X U i).1)) |
| 64 | intro l m |
| 65 | rw [← Category.assoc, D.left_square, Category.assoc, ← G.map_comp, Affine.OpenDiagram.familyOpenMap_inclusion, |
| 66 | ← Category.assoc, D.right_square, Category.assoc, ← G.map_comp, Affine.OpenDiagram.familyOpenMap_inclusion] |
| 67 | |
| 68 | def glue [PreservesLimitsOfShape WalkingCospan F] [PreservesLimitsOfShape WalkingCospan G] |
| 69 | [∀ i : U.I₀, IsOpenImmersion (F.map (HilbertConstruction.Open.ParameterPoints.openParameterInclusion X (AffineCoverIntersections.familyCoverAffineOpen R X U i).1)).left] |
| 70 | [∀ i : U.I₀, IsOpenImmersion (G.map (HilbertConstruction.Open.ParameterPoints.openParameterInclusion X (AffineCoverIntersections.familyCoverAffineOpen R X U i).1)).left] |
| 71 | (hF : ∀ x : (F.obj X).left, ∃ i : U.I₀, |
| 72 | x ∈ (F.map (HilbertConstruction.Open.ParameterPoints.openParameterInclusion X (AffineCoverIntersections.familyCoverAffineOpen R X U i).1)).left.opensRange) |
| 73 | (hG : ∀ x : (G.obj X).left, ∃ i : U.I₀, |
| 74 | x ∈ (G.map (HilbertConstruction.Open.ParameterPoints.openParameterInclusion X (AffineCoverIntersections.familyCoverAffineOpen R X U i).1)).left.opensRange) : |
| 75 | F.obj X ≅ G.obj X := |
| 76 | IndexedOverIsoGluing.glueIndexedOverIso (F.obj X) (G.obj X) |
| 77 | (fun i => F.obj ((Affine.OpenDiagram.familyAffineOpenDiagram X).obj (AffineCoverIntersections.familyCoverAffineOpen R X U i))) |
| 78 | (fun i => G.obj ((Affine.OpenDiagram.familyAffineOpenDiagram X).obj (AffineCoverIntersections.familyCoverAffineOpen R X U i))) |
| 79 | (fun i => F.map (HilbertConstruction.Open.ParameterPoints.openParameterInclusion X (AffineCoverIntersections.familyCoverAffineOpen R X U i).1)) |
| 80 | (fun i => G.map (HilbertConstruction.Open.ParameterPoints.openParameterInclusion X (AffineCoverIntersections.familyCoverAffineOpen R X U i).1)) |
| 81 | hF hG D.chart D.forward_compatible D.symm.forward_compatible |
| 82 | |
| 83 | end FamilyCoverIsomorphisms |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Family.CoverIsomorphismGluing |