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.ClosedSupport |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalZero |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.OpenSupportRemoval |
| 4 | |
| 5 | /-! # Boundary Removal -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Section.BoundaryRemoval.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The part of the normalization boundary inside the section support |
| 12 | has strictly larger codimension. Removing it preserves the actual |
| 13 | relative cohomology in the cycle-section degree. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalZero.Constructions.BoundaryUnion OAI.AlgebraicGeometry.CycleClass.Thom.Section.ClosedSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.OpenSupportRemoval.Constructions |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 24 | (B : V.carrier.Opens) [Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)] |
| 25 | (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (hs : Affine.SectionFunction.Constructions.parentSectionFunction D B s ≠ 0) |
| 26 | |
| 27 | local instance : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier) |
| 28 | local instance : Smooth V.toOver.hom := inferInstanceAs (Smooth V.structureMap) |
| 29 | local instance : AlgebraicGeometry.IsNoetherian V.toOver.left := inferInstanceAs (AlgebraicGeometry.IsNoetherian V.carrier) |
| 30 | |
| 31 | def sectionExceptional : Closeds V.carrier := |
| 32 | Normalization.PrincipalZero.Constructions.BoundaryUnion.commonBoundary V D.val (Affine.SectionFunction.Constructions.parentSectionFunction D B s) hs ⊓ ClosedSupport.Constructions.sectionClosedSupport D B s |
| 33 | |
| 34 | theorem sectionExceptional_dimension (Z : IrreducibleCloseds V.carrier) |
| 35 | (hZ : (Z : Set V.carrier) ⊆ sectionExceptional D B s hs) : |
| 36 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z V.structureMap + (Geometric.DimensionCycles.dimensionCodimension V D.val + 2) ≤ |
| 37 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension V.structureMap := by |
| 38 | have hc := Normalization.PrincipalZero.Constructions.BoundaryUnion.commonBoundary_codimension V D.val (Affine.SectionFunction.Constructions.parentSectionFunction D B s) hs Z (fun _ hz => (hZ hz).1) |
| 39 | have hd := Geometric.DimensionCycles.supportDimension_add_dimensionCodimension V Z |
| 40 | omega |
| 41 | |
| 42 | theorem sectionExceptional_complement_mapsTo (U : Opens V.analyticSpace) : |
| 43 | {x : U | V.analyticUnderlying x.val ∈ ClosedSupport.Constructions.sectionClosedSupport D B s}ᶜ ⊆ |
| 44 | {x : U | V.analyticUnderlying x.val ∈ sectionExceptional D B s hs}ᶜ := |
| 45 | fun _ hx he => hx he.2 |
| 46 | |
| 47 | theorem section_relativeRestriction_isIso (U : Opens V.analyticSpace) : |
| 48 | IsIso (Geometric.RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 49 | {x : U | V.analyticUnderlying x.val ∈ sectionExceptional D B s hs}ᶜ |
| 50 | {x : U | V.analyticUnderlying x.val ∈ ClosedSupport.Constructions.sectionClosedSupport D B s}ᶜ |
| 51 | (2 * (Geometric.DimensionCycles.dimensionCodimension V D.val + 1))) := |
| 52 | Scheme.OpenSupportRemoval.Constructions.open_relativeRestriction_isIso V.toOver (sectionExceptional D B s hs) (Geometric.DimensionCycles.dimensionCodimension V D.val + 2) |
| 53 | (sectionExceptional_dimension D B s hs) U _ (sectionExceptional_complement_mapsTo D B s hs U) |
| 54 | (2 * (Geometric.DimensionCycles.dimensionCodimension V D.val + 1)) (by omega) |
| 55 | |
| 56 | theorem section_relativeRestriction_injective (U : Opens V.analyticSpace) : |
| 57 | Function.Injective (Geometric.RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 58 | {x : U | V.analyticUnderlying x.val ∈ sectionExceptional D B s hs}ᶜ |
| 59 | {x : U | V.analyticUnderlying x.val ∈ ClosedSupport.Constructions.sectionClosedSupport D B s}ᶜ |
| 60 | (2 * (Geometric.DimensionCycles.dimensionCodimension V D.val + 1))) := by |
| 61 | let := section_relativeRestriction_isIso D B s hs U |
| 62 | exact (ModuleCat.mono_iff_injective _).mp inferInstance |
| 63 | |
| 64 | theorem retained_supportPoint_good (x : V.analyticSpace) |
| 65 | (hx : V.analyticUnderlying x ∈ ClosedSupport.Constructions.sectionClosedSupport D B s) |
| 66 | (he : V.analyticUnderlying x ∉ sectionExceptional D B s hs) : |
| 67 | x ∈ Normalization.PrincipalZero.Constructions.BoundaryUnion.commonOpen V D.val (Affine.SectionFunction.Constructions.parentSectionFunction D B s) hs := |
| 68 | fun hbad => he ⟨hbad, hx⟩ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.CycleClass.Thom.Section.BoundaryRemoval.Constructions |