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.Divisors.LineBundles.Global.SectionAffineSpaceCharts |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Global.GraphNormalCone |
| 3 | |
| 4 | /-! # Affine Space Charts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Graph.AffineSpaceCharts.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! # LineBundleCycles: affine-space bundle charts for the actual graph conormal projection -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (f : X.toOver ⟶ Y.toOver) |
| 17 | |
| 18 | theorem graphConormalProjection_support : |
| 19 | Conormal.SupportCover.BundleCycles.globalConormalToSupport (OpenAmbient.BundleCycles.graph f).ker ≫ inv (OpenAmbient.BundleCycles.graph f).toImage = Global.GraphNormalCone.BundleCycles.graphConormalProjection f := by |
| 20 | have h : (OpenAmbient.BundleCycles.graph f).imageι ≫ OpenAmbient.BundleCycles.graphFirstProjection f = inv (OpenAmbient.BundleCycles.graph f).toImage := by |
| 21 | apply (cancel_epi (OpenAmbient.BundleCycles.graph f).toImage).mp |
| 22 | rw [← Category.assoc, Scheme.Hom.toImage_imageι, OpenAmbient.BundleCycles.graph_firstProjection, IsIso.hom_inv_id] |
| 23 | change _ = Conormal.DiagramGluing.BundleCycles.globalConormalSpectrumProjection (OpenAmbient.BundleCycles.graph f).ker ≫ OpenAmbient.BundleCycles.graphFirstProjection f |
| 24 | rw [← Conormal.SupportCover.BundleCycles.globalConormalToSupport_toBase, Category.assoc, h] |
| 25 | |
| 26 | theorem graphConormal_exists_affineSpaceChart (x : X.carrier) : |
| 27 | ∃ (B : CommRingCat.{0}) (i : Spec B ⟶ X.carrier) (ι : Type) (_ : Finite ι) |
| 28 | (j : AffineSpace ι (Spec B) ⟶ Conormal.DiagramGluing.BundleCycles.globalConormalSpectrum (OpenAmbient.BundleCycles.graph f).ker), |
| 29 | IsOpenImmersion i ∧ IsOpenImmersion j ∧ x ∈ Set.range i ∧ |
| 30 | IsPullback (AffineSpace ι (Spec B) ↘ Spec B) j i (Global.GraphNormalCone.BundleCycles.graphConormalProjection f) := by |
| 31 | obtain ⟨B, i, ι, hι, j, hi, hj, hx, hsq⟩ := Global.SectionAffineSpaceCharts.BundleCycles.globalSection_exists_affineSpaceChart |
| 32 | (OpenAmbient.BundleCycles.graphFirstProjection f) (OpenAmbient.BundleCycles.graph f) (OpenAmbient.BundleCycles.graph_firstProjection f) ((OpenAmbient.BundleCycles.graph f).toImage x) |
| 33 | let i' := i ≫ inv (OpenAmbient.BundleCycles.graph f).toImage |
| 34 | have hi' : IsOpenImmersion i' := @IsOpenImmersion.comp _ _ _ i (inv (OpenAmbient.BundleCycles.graph f).toImage) |
| 35 | hi inferInstance |
| 36 | refine ⟨B, i', ι, hι, j, hi', hj, ?_, ?_⟩ |
| 37 | · obtain ⟨z, hz⟩ := hx |
| 38 | refine ⟨z, ?_⟩ |
| 39 | have h := congrArg (fun g => g x) (IsIso.hom_inv_id (OpenAmbient.BundleCycles.graph f).toImage) |
| 40 | exact (congrArg (inv (OpenAmbient.BundleCycles.graph f).toImage) hz).trans h |
| 41 | · apply hsq.of_iso (.refl _) (.refl _) (.refl _) (asIso (OpenAmbient.BundleCycles.graph f).toImage).symm |
| 42 | · simp only [Iso.refl_hom, Category.comp_id, Category.id_comp] |
| 43 | · simp only [Iso.refl_hom, Category.comp_id, Category.id_comp] |
| 44 | · exact (Category.id_comp i').symm |
| 45 | · exact (graphConormalProjection_support f).trans (Category.id_comp _).symm |
| 46 | |
| 47 | end |
| 48 | |
| 49 | /-! # LineBundleCycles: actual affine-space charts for the graph normal-cone projection -/ |
| 50 | |
| 51 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 52 | |
| 53 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (f : X.toOver ⟶ Y.toOver) |
| 54 | |
| 55 | theorem graphNormalConeEquiv_inv_toSource : |
| 56 | (Global.GraphNormalCone.BundleCycles.graphNormalConeEquiv f).inv ≫ (Global.SpecialFiber.BundleCycles.globalSpecialFiberProjection (OpenAmbient.BundleCycles.graph f).ker ≫ OpenAmbient.BundleCycles.graphFirstProjection f) = |
| 57 | Global.GraphNormalCone.BundleCycles.graphConormalProjection f := by |
| 58 | apply (cancel_epi (Global.GraphNormalCone.BundleCycles.graphNormalConeEquiv f).hom).mp |
| 59 | rw [← Category.assoc, Iso.hom_inv_id, Category.id_comp, Global.GraphNormalCone.BundleCycles.graphNormalConeEquiv_toSource] |
| 60 | |
| 61 | theorem graphNormalCone_exists_affineSpaceChart (x : X.carrier) : |
| 62 | ∃ (B : CommRingCat.{0}) (i : Spec B ⟶ X.carrier) (ι : Type) (_ : Finite ι) |
| 63 | (j : AffineSpace ι (Spec B) ⟶ Global.SpecialFiber.BundleCycles.globalSpecialFiber (OpenAmbient.BundleCycles.graph f).ker), |
| 64 | IsOpenImmersion i ∧ IsOpenImmersion j ∧ x ∈ Set.range i ∧ |
| 65 | IsPullback (AffineSpace ι (Spec B) ↘ Spec B) j i |
| 66 | (Global.SpecialFiber.BundleCycles.globalSpecialFiberProjection (OpenAmbient.BundleCycles.graph f).ker ≫ OpenAmbient.BundleCycles.graphFirstProjection f) := by |
| 67 | obtain ⟨B, i, ι, hι, j, hi, hj, hx, hsq⟩ := graphConormal_exists_affineSpaceChart f x |
| 68 | let j' := j ≫ (Global.GraphNormalCone.BundleCycles.graphNormalConeEquiv f).inv |
| 69 | have hj' : IsOpenImmersion j' := @IsOpenImmersion.comp _ _ _ j (Global.GraphNormalCone.BundleCycles.graphNormalConeEquiv f).inv hj inferInstance |
| 70 | refine ⟨B, i, ι, hι, j', hi, hj', hx, ?_⟩ |
| 71 | apply hsq.of_iso (.refl _) (.refl _) (Global.GraphNormalCone.BundleCycles.graphNormalConeEquiv f).symm (.refl _) |
| 72 | · simp only [Iso.refl_hom, Category.comp_id, Category.id_comp] |
| 73 | · exact (Category.id_comp j').symm |
| 74 | · simp only [Iso.refl_hom, Category.comp_id, Category.id_comp] |
| 75 | · exact (Category.comp_id _).trans (graphNormalConeEquiv_inv_toSource f).symm |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Graph.AffineSpaceCharts.BundleCycles |