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.Normal.GysinRestriction |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.Gysin |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.GlobalSourceNaturality |
| 4 | |
| 5 | /-! # Gysin Enlargement -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Supported.GysinEnlargement.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original Gysin map with an arbitrary closed support inside |
| 12 | the immersion image commutes with enlargement to intersection support. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.GlobalSourceNaturality.Constructions.Construction OAI.AlgebraicGeometry.CycleClass.Thom.Normal.GysinLocalIso.Constructions.Support OAI.AlgebraicGeometry.CycleClass.Thom.Normal.GysinRestriction.Constructions |
| 17 | Intersection.Gysin.Constructions ImageIntersectionTo.Constructions.Normal Relative.MapDegreeSupport.Constructions |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p q : ℕ} (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion V p) |
| 23 | (W : Opens V.analyticSpace) (hW : (W : Set V.analyticSpace)ᶜ ⊆ Set.range Z.regularComplementInclusion) |
| 24 | {L : Type} (v : L → V.analyticSpace) (hv : IsOpen (Set.range v)ᶜ) |
| 25 | (hOW : (Set.range v)ᶜ ⊆ (W : Set V.analyticSpace)) |
| 26 | |
| 27 | include hOW in |
| 28 | theorem source_mapsTo : Set.MapsTo (𝟙 Z.regularAnalyticSpace) |
| 29 | (Z.regularComplementInclusion ⁻¹' (Set.range v)ᶜ) (Z.regularComplementInclusion ⁻¹' (W : Set V.analyticSpace)) := |
| 30 | fun _ hy => hOW hy |
| 31 | |
| 32 | include hW hOW in |
| 33 | theorem target_mapsTo : Set.MapsTo (𝟙 V.analyticSpace) |
| 34 | (Set.range Z.regularComplementInclusion ∩ Set.range v)ᶜ (W : Set V.analyticSpace) := by |
| 35 | intro y hy |
| 36 | by_contra hn |
| 37 | have hz := hW hn |
| 38 | have hv' : y ∈ Set.range v := by |
| 39 | by_contra hvn |
| 40 | exact hn (hOW hvn) |
| 41 | exact hy ⟨hz, hv'⟩ |
| 42 | |
| 43 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 44 | V.analyticSpace (Z.regularThomComplementOpen : Set V.analyticSpace)) (2 * p)) |
| 45 | (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2 * p) a = Z.regularThomClass) |
| 46 | |
| 47 | theorem globalGysinIso_enlargement : |
| 48 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 Z.regularAnalyticSpace) |
| 49 | (source_mapsTo Z W v hOW) (2 * q) ≫ (Intersection.Gysin.Constructions.intersectionGysinIso (q := q) Z a ha v hv).hom = |
| 50 | (Normal.GysinRestriction.Constructions.globalGysinIso Z W hW a ha q).hom ≫ |
| 51 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 V.analyticSpace) |
| 52 | (target_mapsTo Z W hW v hOW) (2 * (p + q)) := by |
| 53 | let O : Opens V.analyticSpace := ⟨(Set.range v)ᶜ, hv⟩ |
| 54 | have hle : O ≤ W := hOW |
| 55 | let t₂ := eqToIso (congrArg (fun n => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) V.analyticSpace |
| 56 | ((Z.regularThomComplementOpen ⊔ O : Opens V.analyticSpace) : Set V.analyticSpace) n) |
| 57 | (Nat.mul_add 2 p q).symm) ≪≫ |
| 58 | AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr V.analyticSpace (ImageIntersectionTo.Constructions.Normal.intersectionComplement_eq Z.regularComplementInclusion v) (2 * (p + q)) |
| 59 | have hn := Immersion.GlobalSourceNaturality.Constructions.Construction.regularSourceThomSupportedGlobalIso_support_naturality Z a ha hle (2 * q) |
| 60 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 Z.regularAnalyticSpace) |
| 61 | (source_mapsTo Z W v hOW) (2 * q) ≫ (Immersion.SupportedThomSource.Constructions.Construction.regularSourceThomSupportedGlobalIso Z a ha O (2 * q)).hom = |
| 62 | (Immersion.SupportedThomSource.Constructions.Construction.regularSourceThomSupportedGlobalIso Z a ha W (2 * q)).hom ≫ |
| 63 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 V.analyticSpace) |
| 64 | (A := ((Z.regularThomComplementOpen ⊔ O : Opens V.analyticSpace) : Set V.analyticSpace)) |
| 65 | (B := ((Z.regularThomComplementOpen ⊔ W : Opens V.analyticSpace) : Set V.analyticSpace)) |
| 66 | (fun _ hy => (sup_le_sup_left hle Z.regularThomComplementOpen) hy) (2 * p + 2 * q) at hn |
| 67 | have ht := Relative.MapDegreeSupport.Constructions.relativePairMap_degreeSupport (𝟙 V.analyticSpace) |
| 68 | (ImageIntersectionTo.Constructions.Normal.intersectionComplement_eq Z.regularComplementInclusion v) (Normal.GysinLocalIso.Constructions.Support.globalTargetComplement Z W hW) |
| 69 | (fun _ hy => (sup_le_sup_left hle Z.regularThomComplementOpen) hy) |
| 70 | (target_mapsTo Z W hW v hOW) (Nat.mul_add 2 p q).symm |
| 71 | have ht' := congrArg (fun f => (Immersion.SupportedThomSource.Constructions.Construction.regularSourceThomSupportedGlobalIso Z a ha W (2 * q)).hom ≫ f) ht |
| 72 | have h := (congrArg (fun f => f ≫ t₂.hom) hn).trans |
| 73 | (by simpa only [t₂, AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr, Iso.trans_hom, Category.assoc] using ht') |
| 74 | simpa only [t₂, O, Normal.GysinRestriction.Constructions.globalGysinIso, Intersection.Gysin.Constructions.intersectionGysinIso, |
| 75 | AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr, Iso.trans_hom, Category.assoc] using h |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.CycleClass.Thom.Supported.GysinEnlargement.Constructions |