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.HilbertScheme.Presentations.Hilbert.ClosedAmbientRange |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.ProjectivePresentation |
| 3 | |
| 4 | /-! # Ambient Projective Presentation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Projective presentations and the actual family subschemes are |
| 11 | compatible with inclusion in a closed ambient scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {X Y : Over S} (j : X ⟶ Y) [IsClosedImmersion j.left] |
| 17 | |
| 18 | section |
| 19 | |
| 20 | def Has.Core.ProjectivePresentation.precompose (B : Has.Core.ProjectivePresentation Y) : Has.Core.ProjectivePresentation X where |
| 21 | dimension := B.dimension |
| 22 | embedding := j.left ≫ B.embedding |
| 23 | closed := @IsClosedImmersion.comp _ _ _ _ _ inferInstance B.closed |
| 24 | over_base := (Category.assoc _ _ _).trans |
| 25 | ((congrArg (fun f => j.left ≫ f) B.over_base).trans j.w) |
| 26 | |
| 27 | def Has.Core.ProjectivePresentation.closedAmbientEmbedding (B : Has.Core.ProjectivePresentation X) : |
| 28 | X ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S B.dimension := |
| 29 | Over.homMk B.embedding B.over_base |
| 30 | |
| 31 | instance Has.Core.ProjectivePresentation.closedAmbientEmbedding_closed (B : Has.Core.ProjectivePresentation X) : |
| 32 | IsClosedImmersion B.closedAmbientEmbedding.left := B.closed |
| 33 | |
| 34 | theorem Has.Core.ProjectivePresentation.canonical_precompose (B : Has.Core.ProjectivePresentation X) : |
| 35 | (Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation S B.dimension).precompose B.closedAmbientEmbedding = B := by |
| 36 | cases B |
| 37 | congr 1 |
| 38 | |
| 39 | end |
| 40 | |
| 41 | namespace Closed.AmbientProjectivePresentation.Hilbert |
| 42 | |
| 43 | variable {T : Over S} (F : Hilbert.Functor.Family X T) |
| 44 | |
| 45 | def closedAmbientSubschemeIso : F.val.subscheme ≅ (Hilbert.ClosedAmbientMap.pushforwardFamily j F).val.subscheme := by |
| 46 | let f : F.val.subscheme ⟶ Hilbert.Functor.ambient Y T := F.val.subschemeι ≫ Hilbert.ClosedAmbientMap.ambientEmbedding j T |
| 47 | let : IsClosedImmersion f := inferInstance |
| 48 | let e := asIso f.toImage |
| 49 | exact e |
| 50 | |
| 51 | @[reassoc] theorem closedAmbientSubschemeIso_hom_inclusion : |
| 52 | (closedAmbientSubschemeIso j F).hom ≫ (Hilbert.ClosedAmbientMap.pushforwardFamily j F).val.subschemeι = |
| 53 | F.val.subschemeι ≫ Hilbert.ClosedAmbientMap.ambientEmbedding j T := |
| 54 | Scheme.Hom.toImage_imageι _ |
| 55 | |
| 56 | theorem closedAmbientSubschemeIso_hom_projection : |
| 57 | (closedAmbientSubschemeIso j F).hom ≫ Hilbert.Functor.familyProjection Y (Hilbert.ClosedAmbientMap.pushforwardFamily j F).val = |
| 58 | Hilbert.Functor.familyProjection X F.val := by |
| 59 | change (closedAmbientSubschemeIso j F).hom ≫ |
| 60 | ((Hilbert.ClosedAmbientMap.pushforwardFamily j F).val.subschemeι ≫ Hilbert.Functor.ambientProjection Y T) = _ |
| 61 | rw [← Category.assoc, closedAmbientSubschemeIso_hom_inclusion, Hilbert.ClosedAmbientMap.ambientEmbedding_familyProjection] |
| 62 | |
| 63 | omit [IsClosedImmersion j.left] in |
| 64 | @[reassoc] theorem ambientEmbedding_second (T : Over S) : |
| 65 | Hilbert.ClosedAmbientMap.ambientEmbedding j T ≫ (prod.snd : T ⨯ Y ⟶ Y).left = |
| 66 | (prod.snd : T ⨯ X ⟶ X).left ≫ j.left := by |
| 67 | change (prod.map (𝟙 T) j).left ≫ (prod.snd : T ⨯ Y ⟶ Y).left = _ |
| 68 | rw [← Over.comp_left, prod.map_snd] |
| 69 | rfl |
| 70 | |
| 71 | theorem closedAmbientSubschemeIso_hom_projective (B : Has.Core.ProjectivePresentation Y) : |
| 72 | (closedAmbientSubschemeIso j F).hom ≫ (Hilbert.ClosedAmbientMap.pushforwardFamily j F).val.subschemeι ≫ |
| 73 | (prod.snd : T ⨯ Y ⟶ Y).left ≫ B.embedding = |
| 74 | F.val.subschemeι ≫ (prod.snd : T ⨯ X ⟶ X).left ≫ (B.precompose j).embedding := by |
| 75 | rw [closedAmbientSubschemeIso_hom_inclusion_assoc, ambientEmbedding_second_assoc] |
| 76 | rfl |
| 77 | |
| 78 | end Closed.AmbientProjectivePresentation.Hilbert |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations |