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.Section.BoundaryRemoval |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.OpenRegularMap |
| 3 | |
| 4 | /-! # Section Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Section.SectionRestriction.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual relative boundary-removal isomorphism is the literal |
| 11 | presheaf restriction to the retained ambient analytic neighborhood. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Section.BoundaryRemoval.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.ClosedSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.OpenRegularMap.Constructions |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 22 | (B : V.carrier.Opens) [Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)] |
| 23 | (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (hs : Affine.SectionFunction.Constructions.parentSectionFunction D B s ≠ 0) (U : Opens V.analyticSpace) |
| 24 | |
| 25 | local notation "F" => OAI.AlgebraicGeometry.CycleClass.Thom.Section.ClosedSupport.Constructions.sectionClosedSupport D B s |
| 26 | local notation "E" => OAI.AlgebraicGeometry.CycleClass.Thom.Section.BoundaryRemoval.Constructions.sectionExceptional D B s hs |
| 27 | local notation "T" => TopCat.of V.analyticSpace |
| 28 | local notation "O" => (V.analyticUnderlying ⁻¹' (F : Set V.carrier))ᶜ |
| 29 | |
| 30 | def retainedNeighborhood : Opens V.analyticSpace := U ⊓ ProperImage.CompactProjection.Constructions.Construction.algebraicComplementOpen V E |
| 31 | |
| 32 | def retainedSwapHomeomorph : retainedNeighborhood D B s hs U ≃ₜ |
| 33 | ({x : U | V.analyticUnderlying x.val ∈ E}ᶜ : Set U) where |
| 34 | toFun x := ⟨⟨x.val, x.property.1⟩, x.property.2⟩ |
| 35 | invFun x := ⟨x.val.val, ⟨x.val.property, x.property⟩⟩ |
| 36 | left_inv _ := rfl |
| 37 | right_inv _ := rfl |
| 38 | continuous_toFun := (continuous_subtype_val.subtype_mk _).subtype_mk _ |
| 39 | continuous_invFun := (continuous_subtype_val.comp continuous_subtype_val).subtype_mk _ |
| 40 | |
| 41 | def retainedSwapMap : TopCat.of (retainedNeighborhood D B s hs U) ⟶ |
| 42 | TopCat.of ({x : U | V.analyticUnderlying x.val ∈ E}ᶜ : Set U) := |
| 43 | TopCat.ofHom ⟨retainedSwapHomeomorph D B s hs U, (retainedSwapHomeomorph D B s hs U).continuous⟩ |
| 44 | |
| 45 | theorem retainedSwap_mapsTo : Set.MapsTo (retainedSwapMap D B s hs U) |
| 46 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := T) O (retainedNeighborhood D B s hs U)) |
| 47 | (Geometric.RelativeCochainTriple.Cohomology.relativeTripleSubspace (TopCat.of U) {x : U | V.analyticUnderlying x.val ∈ E}ᶜ |
| 48 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := T) O U)) := fun _ hx => hx |
| 49 | |
| 50 | def retainedSwapCohomologyIso (n : ℕ) := AlgebraicTopology.Duality.Poincare.ImmersionLocalPurity.relativePairHomeomorphCohomologyIso (ModuleCat.of ℚ ℚ) |
| 51 | (X := TopCat.of (retainedNeighborhood D B s hs U)) |
| 52 | (Y := TopCat.of ({x : U | V.analyticUnderlying x.val ∈ E}ᶜ : Set U)) |
| 53 | (retainedSwapHomeomorph D B s hs U) |
| 54 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := T) O (retainedNeighborhood D B s hs U)) |
| 55 | (Geometric.RelativeCochainTriple.Cohomology.relativeTripleSubspace (TopCat.of U) {x : U | V.analyticUnderlying x.val ∈ E}ᶜ |
| 56 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := T) O U)) (fun _ => Iff.rfl) n |
| 57 | |
| 58 | theorem retainedRestriction_factor (n : ℕ) : |
| 59 | Geometric.RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 60 | {x : U | V.analyticUnderlying x.val ∈ E}ᶜ (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := T) O U) n ≫ |
| 61 | (retainedSwapCohomologyIso D B s hs U n).hom = |
| 62 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheaf (ModuleCat.of ℚ ℚ) T O n).map |
| 63 | (homOfLE (show retainedNeighborhood D B s hs U ≤ U from inf_le_left)).op := by |
| 64 | have hh : (retainedSwapCohomologyIso D B s hs U n).hom = |
| 65 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (retainedSwapMap D B s hs U) |
| 66 | (retainedSwap_mapsTo D B s hs U) n := rfl |
| 67 | rw [hh] |
| 68 | exact Cycle.OpenRegularMap.Constructions.triple_pairMap (X := TopCat.of U) (Y := TopCat.of (retainedNeighborhood D B s hs U)) |
| 69 | ({x : U | V.analyticUnderlying x.val ∈ E}ᶜ : Set U) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := T) O U) |
| 70 | (retainedSwapMap D B s hs U) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := T) O (retainedNeighborhood D B s hs U)) |
| 71 | (retainedSwap_mapsTo D B s hs U) n |
| 72 | |
| 73 | theorem retainedRestriction_injective : |
| 74 | Function.Injective ((AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheaf (ModuleCat.of ℚ ℚ) T O (2 * (Geometric.DimensionCycles.dimensionCodimension V D.val + 1))).map |
| 75 | (homOfLE (show retainedNeighborhood D B s hs U ≤ U from inf_le_left)).op) := by |
| 76 | let : IsIso (Geometric.RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 77 | {x : U | V.analyticUnderlying x.val ∈ E}ᶜ (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := T) O U) |
| 78 | (2 * (Geometric.DimensionCycles.dimensionCodimension V D.val + 1))) := BoundaryRemoval.Constructions.section_relativeRestriction_isIso D B s hs U |
| 79 | have : IsIso ((AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheaf (ModuleCat.of ℚ ℚ) T O (2 * (Geometric.DimensionCycles.dimensionCodimension V D.val + 1))).map |
| 80 | (homOfLE (show retainedNeighborhood D B s hs U ≤ U from inf_le_left)).op) := by |
| 81 | rw [← retainedRestriction_factor] |
| 82 | infer_instance |
| 83 | exact (ModuleCat.mono_iff_injective _).mp inferInstance |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.CycleClass.Thom.Section.SectionRestriction.Constructions |