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.SchemeCycle.PreimageSupport |
| 2 | |
| 3 | /-! # Product Cycle Square -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Open.ProductCycleSquare.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The supported cycle-class comparison holds on every actual open |
| 10 | product chart of a morphism. All inputs describe scheme geometry and |
| 11 | support dimensions; the cohomological square is proved here. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions |
| 15 | |
| 16 | theorem openProductSupport_preimage {E X U P : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 17 | (f : E ⟶ X) (i : U ⟶ X) (j : P ⟶ E) (π : P ⟶ U) (hsq : j ≫ f = π ≫ i) |
| 18 | (B : IrreducibleCloseds X.left) (C : IrreducibleCloseds E.left) |
| 19 | (A : IrreducibleCloseds U.left) (D : IrreducibleCloseds P.left) |
| 20 | (hC : (C : Set E.left) = f.left ⁻¹' (B : Set X.left)) |
| 21 | (hA : (A : Set U.left) = i.left ⁻¹' (B : Set X.left)) |
| 22 | (hD : (D : Set P.left) = j.left ⁻¹' (C : Set E.left)) : |
| 23 | (D : Set P.left) = π.left ⁻¹' (A : Set U.left) := by |
| 24 | rw [hD, hC, hA] |
| 25 | ext z |
| 26 | change f.left (j.left z) ∈ (B : Set X.left) ↔ i.left (π.left z) ∈ (B : Set X.left) |
| 27 | have he := congrArg (fun k : P ⟶ X => k.left z) hsq |
| 28 | exact congrArg (fun x => x ∈ (B : Set X.left)) he |>.to_iff |
| 29 | |
| 30 | variable {E X U P : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 31 | [IsIntegral E.left] [Smooth E.hom] [AlgebraicGeometry.IsNoetherian E.left] |
| 32 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints E)] |
| 33 | [IsIntegral X.left] [Smooth X.hom] [AlgebraicGeometry.IsNoetherian X.left] |
| 34 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 35 | [IsIntegral U.left] [Smooth U.hom] [AlgebraicGeometry.IsNoetherian U.left] |
| 36 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints U)] |
| 37 | [IsIntegral P.left] [Smooth P.hom] [AlgebraicGeometry.IsNoetherian P.left] |
| 38 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints P)] |
| 39 | (f : E ⟶ X) (i : U ⟶ X) [IsOpenImmersion i.left] |
| 40 | (j : P ⟶ E) [IsOpenImmersion j.left] (F : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 41 | [IsIntegral F.left] [Smooth F.hom] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints F)] |
| 42 | (πF : P ⟶ F) (π : P ⟶ U) (hprod : IsLimit (BinaryFan.mk πF π)) |
| 43 | (hsq : j ≫ f = π ≫ i) |
| 44 | (B : IrreducibleCloseds X.left) (C : IrreducibleCloseds E.left) |
| 45 | (A : IrreducibleCloseds U.left) (D : IrreducibleCloseds P.left) |
| 46 | (hC : (C : Set E.left) = f.left ⁻¹' (B : Set X.left)) |
| 47 | (hA : (A : Set U.left) = i.left ⁻¹' (B : Set X.left)) |
| 48 | (hD : (D : Set P.left) = j.left ⁻¹' (C : Set E.left)) |
| 49 | |
| 50 | include hprod hsq hA in |
| 51 | theorem schemeSupportedCycleClass_on_open_product (p : ℕ) |
| 52 | (hp : Foundations.Scheme.SupportDimension.supportTranscendenceDimension B X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 53 | (hc : Foundations.Scheme.SupportDimension.supportTranscendenceDimension C E.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension E.hom) |
| 54 | (ha : Foundations.Scheme.SupportDimension.supportTranscendenceDimension A U.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension U.hom) |
| 55 | (hd : Foundations.Scheme.SupportDimension.supportTranscendenceDimension D P.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension P.hom) : |
| 56 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map j) |
| 57 | (SchemeCycle.PreimageSupport.BundleCycles.schemeSupportPreimage_mapsTo j C D hD) (2 * p) |
| 58 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 59 | (SchemeCycle.PreimageSupport.BundleCycles.schemeSupportPreimage_mapsTo f B C hC) (2 * p) (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass X B p hp)) = |
| 60 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map j) |
| 61 | (SchemeCycle.PreimageSupport.BundleCycles.schemeSupportPreimage_mapsTo j C D hD) (2 * p) (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass E C p hc) := by |
| 62 | let : Nonempty (SupportRestriction.BundleCycles.openSupportPullback i.left B) := |
| 63 | (SupportRestriction.BundleCycles.openSupportPullback_nonempty_iff i.left B).mpr (hA ▸ A.isIrreducible.nonempty) |
| 64 | let : Nonempty (SupportRestriction.BundleCycles.openSupportPullback j.left C) := |
| 65 | (SupportRestriction.BundleCycles.openSupportPullback_nonempty_iff j.left C).mpr (hD ▸ D.isIrreducible.nonempty) |
| 66 | have hDP := openProductSupport_preimage f i j π hsq B C A D hC hA hD |
| 67 | have hf := SchemeCycle.PreimageSupport.BundleCycles.schemeSupportPreimage_mapsTo f B C hC |
| 68 | have hi := SchemeCycle.PreimageSupport.BundleCycles.schemeSupportPreimage_mapsTo i B A hA |
| 69 | have hj := SchemeCycle.PreimageSupport.BundleCycles.schemeSupportPreimage_mapsTo j C D hD |
| 70 | have hπ := SchemeCycle.PreimageSupport.BundleCycles.schemeSupportPreimage_mapsTo π A D hDP |
| 71 | have hmap : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map j ≫ ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f = |
| 72 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map π ≫ ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i := by |
| 73 | rw [← Functor.map_comp, hsq, Functor.map_comp] |
| 74 | have h₁ := ConcreteCategory.congr_hom |
| 75 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map j) |
| 76 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) hj hf (2 * p)) (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass X B p hp) |
| 77 | have hm := ConcreteCategory.congr_hom |
| 78 | (CycleClass.Thom.ThomOpenRestriction.Constructions.pairMap_congr hmap (hf.comp hj) (hi.comp hπ) (2 * p)) |
| 79 | (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass X B p hp) |
| 80 | have h₂ := ConcreteCategory.congr_hom |
| 81 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map π) |
| 82 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i) hπ hi (2 * p)) (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass X B p hp) |
| 83 | have h₃ := congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 84 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map π) hπ (2 * p)) |
| 85 | (SchemeCycle.PreimageSupport.BundleCycles.schemeSupportedCycleClass_open_of_support i B A hA p hp ha) |
| 86 | have h₄ := SchemeCycle.PreimageSupport.BundleCycles.schemeSupportedCycleClass_projection_of_support F U P πF π hprod A D hDP p ha hd |
| 87 | have h₅ := SchemeCycle.PreimageSupport.BundleCycles.schemeSupportedCycleClass_open_of_support j C D hD p hc hd |
| 88 | exact h₁.trans (hm.trans (h₂.symm.trans (h₃.trans (h₄.trans h₅.symm)))) |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.ProductCycleSquare.BundleCycles |