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.CycleClass.Thom.Composed |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.Gysin |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.GlobalSourceNaturality |
| 4 | |
| 5 | /-! # Composed Enlargement -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ComposedEnlargement.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The genuine Gysin map takes an inner Thom class with enlarged |
| 12 | support to the composite Thom class with the corresponding enlarged |
| 13 | intersection support. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.GlobalSourceNaturality.Constructions.Construction OAI.AlgebraicGeometry.CycleClass.Thom.Open.ClosedImmersionComposition.Constructions.ComplexManifold OAI.AlgebraicGeometry.CycleClass.Thom.Open.ClosedImmersionComposition.Constructions |
| 18 | ComposedSupport.Constructions Composed.Constructions.ThomClass Intersection.Gysin.Constructions ImageIntersectionTo.Constructions.Normal |
| 19 | Relative.MapDegreeSupport.Constructions |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p q : ℕ} (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion V p) |
| 25 | (C : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion (Open.ClosedImmersionComposition.Constructions.ComplexManifold.sourceManifold Z) q) |
| 26 | {L : Type} (v : L → V.analyticSpace) |
| 27 | (hCv : Set.range (Open.ClosedImmersionComposition.Constructions.compose Z C).regularComplementInclusion ⊆ Set.range v) |
| 28 | |
| 29 | include hCv |
| 30 | |
| 31 | theorem sourceEnlargement_mapsTo : Set.MapsTo (𝟙 Z.regularAnalyticSpace) |
| 32 | (Z.regularComplementInclusion ⁻¹' (Set.range v)ᶜ) (Set.range C.regularComplementInclusion)ᶜ := by |
| 33 | intro x hx hC |
| 34 | obtain ⟨z, hz⟩ := hC |
| 35 | exact hx (hCv ⟨z, congrArg Z.regularComplementInclusion hz⟩) |
| 36 | |
| 37 | theorem targetEnlargement_mapsTo : Set.MapsTo (𝟙 V.analyticSpace) |
| 38 | (Set.range Z.regularComplementInclusion ∩ Set.range v)ᶜ |
| 39 | (Set.range (Open.ClosedImmersionComposition.Constructions.compose Z C).regularComplementInclusion)ᶜ := by |
| 40 | intro x hx hD |
| 41 | obtain ⟨z, hz⟩ := hD |
| 42 | exact hx ⟨⟨C.regularComplementInclusion z, hz⟩, hCv ⟨z, hz⟩⟩ |
| 43 | |
| 44 | variable (hv : IsOpen (Set.range v)ᶜ) |
| 45 | (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 46 | V.analyticSpace (Z.regularThomComplementOpen : Set V.analyticSpace)) (2 * p)) |
| 47 | (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2 * p) a = Z.regularThomClass) |
| 48 | |
| 49 | theorem composedGysin_enlargement : |
| 50 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 Z.regularAnalyticSpace) |
| 51 | (sourceEnlargement_mapsTo Z C v hCv) (2 * q) ≫ |
| 52 | (Intersection.Gysin.Constructions.intersectionGysinIso (q := q) Z a ha v hv).hom = |
| 53 | (ComposedSupport.Constructions.composedThomGysinIso Z C a ha).hom ≫ |
| 54 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 V.analyticSpace) |
| 55 | (targetEnlargement_mapsTo Z C v hCv) (2 * (p + q)) := by |
| 56 | let O : Opens V.analyticSpace := ⟨(Set.range v)ᶜ, hv⟩ |
| 57 | let W := ComposedSupport.Constructions.composedComplement Z C |
| 58 | have hOW : O ≤ W := fun _ hx hD => hx (hCv hD) |
| 59 | let s₁ := AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr Z.regularAnalyticSpace (ComposedSupport.Constructions.composedSourceComplement Z C) (2 * q) |
| 60 | let s₂ := Iso.refl (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Z.regularAnalyticSpace |
| 61 | (Z.regularComplementInclusion ⁻¹' (Set.range v)ᶜ) (2 * q)) |
| 62 | let t₁ := eqToIso (congrArg (fun n => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) V.analyticSpace |
| 63 | ((Z.regularThomComplementOpen ⊔ W : Opens V.analyticSpace) : Set V.analyticSpace) n) |
| 64 | (Nat.mul_add 2 p q).symm) ≪≫ |
| 65 | AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr V.analyticSpace (ComposedSupport.Constructions.composedTargetComplement Z C) (2 * (p + q)) |
| 66 | let t₂ := eqToIso (congrArg (fun n => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) V.analyticSpace |
| 67 | ((Z.regularThomComplementOpen ⊔ O : Opens V.analyticSpace) : Set V.analyticSpace) n) |
| 68 | (Nat.mul_add 2 p q).symm) ≪≫ |
| 69 | AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr V.analyticSpace (ImageIntersectionTo.Constructions.Normal.intersectionComplement_eq Z.regularComplementInclusion v) |
| 70 | (2 * (p + q)) |
| 71 | have hs := HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions.relativePairMap_supportEquality (𝟙 Z.regularAnalyticSpace) |
| 72 | (rfl : Z.regularComplementInclusion ⁻¹' (O : Set V.analyticSpace) = _) |
| 73 | (ComposedSupport.Constructions.composedSourceComplement Z C) (fun _ hx => hOW hx) (sourceEnlargement_mapsTo Z C v hCv) (2 * q) |
| 74 | have ht := Relative.MapDegreeSupport.Constructions.relativePairMap_degreeSupport (𝟙 V.analyticSpace) |
| 75 | (ImageIntersectionTo.Constructions.Normal.intersectionComplement_eq Z.regularComplementInclusion v) (ComposedSupport.Constructions.composedTargetComplement Z C) |
| 76 | (fun _ hx => (sup_le_sup_left hOW Z.regularThomComplementOpen) hx) |
| 77 | (targetEnlargement_mapsTo Z C v hCv) (Nat.mul_add 2 p q).symm |
| 78 | have hn := Immersion.GlobalSourceNaturality.Constructions.Construction.regularSourceThomSupportedGlobalIso_support_naturality Z a ha hOW (2 * q) |
| 79 | have h := Immersion.SupportedSourceNaturality.Constructions.Construction.sourceTargetIso_naturality s₁ s₂ |
| 80 | (Immersion.SupportedThomSource.Constructions.Construction.regularSourceThomSupportedGlobalIso Z a ha W (2 * q)) |
| 81 | (Immersion.SupportedThomSource.Constructions.Construction.regularSourceThomSupportedGlobalIso Z a ha O (2 * q)) t₁ t₂ _ _ _ _ hs hn ht |
| 82 | simpa only [s₁, s₂, t₁, t₂, O, W, Intersection.Gysin.Constructions.intersectionGysinIso, ComposedSupport.Constructions.composedThomGysinIso, |
| 83 | AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr, Iso.trans_hom, Iso.symm_hom, Iso.refl_hom, Iso.refl_inv, |
| 84 | Category.id_comp, Category.comp_id, Category.assoc] using h |
| 85 | |
| 86 | theorem intersectionGysin_enlarged_innerThom : |
| 87 | (Intersection.Gysin.Constructions.intersectionGysinIso (q := q) Z a ha v hv).hom |
| 88 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 Z.regularAnalyticSpace) |
| 89 | (sourceEnlargement_mapsTo Z C v hCv) (2 * q) C.regularThomClass) = |
| 90 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 V.analyticSpace) |
| 91 | (targetEnlargement_mapsTo Z C v hCv) (2 * (p + q)) (Open.ClosedImmersionComposition.Constructions.compose Z C).regularThomClass := by |
| 92 | have h := ConcreteCategory.congr_hom (composedGysin_enlargement Z C v hCv hv a ha) C.regularThomClass |
| 93 | simpa only [ConcreteCategory.comp_apply, Composed.Constructions.ThomClass.composedThomGysinIso_innerThom] using h |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.CycleClass.Thom.ComposedEnlargement.Constructions |