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.Scheme.SupportSectionCup |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeNormalization.SectionGerm |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.RegularDivisor |
| 4 | |
| 5 | /-! # Support Section -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SupportSection.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The full principal divisor of a section on an arbitrary integral support lies in its actual intersection with the section zero set. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionBasicOpen.Constructions |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 21 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 22 | (W : IrreducibleCloseds X.left) (s : Γ(X.left, ⊤)) |
| 23 | |
| 24 | local instance supportSectionGeometryTop : Nonempty (⊤ : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).Opens) := |
| 25 | ⟨⟨genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W), Opens.mem_top _⟩⟩ |
| 26 | |
| 27 | def schemeSupportSectionClosed : Closeds X.left := |
| 28 | ⟨(W : Set X.left) ∩ (X.left.basicOpen s : Set X.left)ᶜ, |
| 29 | W.isClosed.inter (X.left.basicOpen s).isOpen.isClosed_compl⟩ |
| 30 | |
| 31 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 32 | theorem schemeSupportSectionClosed_analytic : |
| 33 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying ⁻¹' (schemeSupportSectionClosed X W s : Set X.left) = |
| 34 | SupportSectionCup.BundleCycles.schemeSupportSectionIntersection X W s := by |
| 35 | ext x |
| 36 | rw [SupportSectionCup.BundleCycles.schemeSupportSectionIntersection, Set.mem_inter_iff, CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion_range, CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_range] |
| 37 | change (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ (W : Set X.left) ∧ |
| 38 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∉ X.left.basicOpen s) ↔ _ |
| 39 | rw [CycleClass.Thom.GlobalSectionBasicOpen.Constructions.underlying_mem_basicOpen_iff] |
| 40 | simp only [not_not, Set.mem_preimage, Set.mem_ofPred_eq] |
| 41 | |
| 42 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 43 | theorem schemePrincipalSectionPoint_mem (x : X.left) |
| 44 | (hx : Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor W |
| 45 | ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).germToFunctionField ⊤ ((CycleClass.Geometric.GenericPoint.reducedSupportι W).appTop s)) x ≠ 0) : |
| 46 | x ∈ schemeSupportSectionClosed X W s := by |
| 47 | have hw : x ∈ (W : Set X.left) := by |
| 48 | by_contra h |
| 49 | exact hx (Open.PrincipalRestriction.BundleCycles.schemePrincipalPointDivisor_off_support W _ x h) |
| 50 | have hr : x ∈ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι W) := by rw [CycleClass.Geometric.GenericPoint.range_reducedSupportι]; exact hw |
| 51 | obtain ⟨z, rfl⟩ := hr |
| 52 | refine ⟨hw, ?_⟩ |
| 53 | intro hz |
| 54 | have hpre := Scheme.preimage_basicOpen_top (CycleClass.Geometric.GenericPoint.reducedSupportι W) s |
| 55 | have hzb : z ∈ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).basicOpen ((CycleClass.Geometric.GenericPoint.reducedSupportι W).appTop s) := |
| 56 | (congrArg (fun U : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).Opens => z ∈ U) hpre).mp hz |
| 57 | have h0 := RegularDivisor.BundleCycles.regularFunctionDivisor_eq_zero_of_isUnit_germ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) |
| 58 | ((CycleClass.Geometric.GenericPoint.reducedSupportι W).appTop s) z |
| 59 | (((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).mem_basicOpen _ z (Opens.mem_top _)).mp hzb) |
| 60 | exact hx ((Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor_at_support W _ z).trans |
| 61 | ((congrArg (fun n : ℤ => (n : ℚ)) h0).trans Int.cast_zero)) |
| 62 | |
| 63 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 64 | theorem schemeGradedPrincipalSection_supported (d : ℕ) (z : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint X.hom d) |
| 65 | (hz : Graded.GlobalSpecialization.BundleCycles.schemeGradedPrincipalDivisor X.hom d W |
| 66 | ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).germToFunctionField ⊤ ((CycleClass.Geometric.GenericPoint.reducedSupportι W).appTop s)) z ≠ 0) : |
| 67 | Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X (irreducibleSetEquivPoints.symm z.val)) ⊆ SupportSectionCup.BundleCycles.schemeSupportSectionIntersection X W s := by |
| 68 | have hp : (irreducibleSetEquivPoints.symm z.val : Set X.left) ⊆ schemeSupportSectionClosed X W s := |
| 69 | closure_minimal (Set.singleton_subset_iff.mpr (schemePrincipalSectionPoint_mem X W s z.val hz)) |
| 70 | (schemeSupportSectionClosed X W s).isClosed |
| 71 | intro y hy |
| 72 | rw [CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion_range] at hy |
| 73 | exact (Set.ext_iff.mp (schemeSupportSectionClosed_analytic X W s) y).mp (hp hy) |
| 74 | |
| 75 | variable (hs : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).germToFunctionField ⊤ ((CycleClass.Geometric.GenericPoint.reducedSupportι W).appTop s) ≠ 0) |
| 76 | |
| 77 | include hs in |
| 78 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 79 | theorem schemeSupportSection_generic_mem_basicOpen : |
| 80 | irreducibleSetEquivPoints W ∈ X.left.basicOpen s := by |
| 81 | rw [← CycleClass.Geometric.GenericPoint.reducedSupport_genericPoint_eq W] |
| 82 | change genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) ∈ (CycleClass.Geometric.GenericPoint.reducedSupportι W) ⁻¹ᵁ X.left.basicOpen s |
| 83 | rw [Scheme.preimage_basicOpen_top, (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).mem_basicOpen _ _ (Opens.mem_top _)] |
| 84 | exact isUnit_iff_ne_zero.mpr hs |
| 85 | |
| 86 | include hs in |
| 87 | omit [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 88 | theorem schemeSupportSectionClosed_codimension (p : ℕ) |
| 89 | (hp : Foundations.Scheme.SupportDimension.supportTranscendenceDimension W X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 90 | (A : IrreducibleCloseds X.left) (hA : (A : Set X.left) ⊆ schemeSupportSectionClosed X W s) : |
| 91 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension A X.hom + (p + 1) ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom := by |
| 92 | have hle : A ≤ W := fun _ hx => (hA hx).1 |
| 93 | have hne : A ≠ W := by |
| 94 | intro he |
| 95 | subst A |
| 96 | exact (hA (W.isIrreducible.isGenericPoint_genericPoint W.isClosed).mem).2 |
| 97 | (schemeSupportSection_generic_mem_basicOpen X W s hs) |
| 98 | have hlt := Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_lt_of_lt A W X.hom (lt_of_le_of_ne hle hne) |
| 99 | omega |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SupportSection.BundleCycles |