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.Finite.DivisorDetection |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.SupportedDivisorSum |
| 3 | |
| 4 | /-! # Principal Divisor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Supported.PrincipalDivisor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual finite sum of divisor cycle classes, with coefficients given |
| 11 | by the scheme's order function and support in an algebraic open complement. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open OAI.AlgebraicGeometry.DivisorClass.Chern.SupportedDivisorSum.AlgebraicLineBundle |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | namespace Constructions |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.Finite.DivisorDetection.Constructions |
| 23 | |
| 24 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral X.carrier] |
| 25 | (R : X.carrier.Opens) |
| 26 | |
| 27 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) |
| 28 | local notation "O" => OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X R |
| 29 | local notation "V" => OAI.AlgebraicGeometry.DivisorClass.Chern.SupportedDivisorSum.Construction.integralPresentationVariety X |
| 30 | |
| 31 | /-- The same point closure, with the established dimension grading. -/ |
| 32 | def complementDivisorSupport (z : (Finite.DivisorDetection.Constructions.ComplementDivisorPoint X R)) : Geometric.DimensionCycles.DimensionCycleSupport V 1 := |
| 33 | DivisorClass.Chern.Component.Construction.integralSupportToVariety V 1 (DivisorClass.Chern.Geometric.Construction.pointDivisorSupport X ⟨z.val, z.property.1⟩) |
| 34 | |
| 35 | theorem complementDivisorSupport_injective : Function.Injective (complementDivisorSupport X R) := by |
| 36 | intro z w h |
| 37 | apply Subtype.ext |
| 38 | apply irreducibleSetEquivPoints.symm.injective |
| 39 | exact congrArg (fun Z : Geometric.DimensionCycles.DimensionCycleSupport V 1 => Z.val) h |
| 40 | |
| 41 | /-- Its actual complex support misses the reference open. -/ |
| 42 | theorem complementDivisorSupport_complement (z : (Finite.DivisorDetection.Constructions.ComplementDivisorPoint X R)) : |
| 43 | (O : Set T) ⊆ (Set.range (complementDivisorSupport X R z).analyticInclusion)ᶜ := by |
| 44 | intro x hx hZ |
| 45 | rw [(complementDivisorSupport X R z).range_analyticInclusion] at hZ |
| 46 | have hs : closure ({z.val} : Set X.carrier) ⊆ (R : Set X.carrier)ᶜ := |
| 47 | closure_minimal (Set.singleton_subset_iff.mpr z.property.2) R.isOpen.isClosed_compl |
| 48 | exact hs hZ hx |
| 49 | |
| 50 | /-- The original supported cycle class, enlarged to the actual reference support. -/ |
| 51 | def complementDivisorSupportedClass (z : (Finite.DivisorDetection.Constructions.ComplementDivisorPoint X R)) : |
| 52 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (O : Set T) 2 := |
| 53 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 T) |
| 54 | (complementDivisorSupport_complement X R z) 2 (complementDivisorSupport X R z).rationalSupportedCycleClass |
| 55 | |
| 56 | /-- Forgetting the enlarged support recovers the original absolute Thom cycle class. -/ |
| 57 | theorem complementDivisorSupportedClass_absolute (z : (Finite.DivisorDetection.Constructions.ComplementDivisorPoint X R)) : |
| 58 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) T (O : Set T) 2 |
| 59 | (complementDivisorSupportedClass X R z) = (complementDivisorSupport X R z).rationalCycleClass := by |
| 60 | have h := ConcreteCategory.congr_hom |
| 61 | (Geometric.RelativeCohomologyExtensionNaturality.Cohomology.relativeCohomologyInclusion_naturality (ModuleCat.of ℚ ℚ) (𝟙 T) |
| 62 | (complementDivisorSupport_complement X R z) 2) (complementDivisorSupport X R z).rationalSupportedCycleClass |
| 63 | rw [AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback_id, Category.comp_id] at h |
| 64 | exact h |
| 65 | |
| 66 | variable [Nonempty R] |
| 67 | local instance : Fintype (Finite.DivisorDetection.Constructions.ComplementDivisorPoint X R) := Fintype.ofFinite _ |
| 68 | |
| 69 | variable (g : X.carrier.functionField) |
| 70 | |
| 71 | /-- Sum the genuine supported cycle classes with their original algebraic orders. -/ |
| 72 | def principalDivisorSupportedClass : |
| 73 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (O : Set T) 2 := |
| 74 | ∑ z : (Finite.DivisorDetection.Constructions.ComplementDivisorPoint X R), (X.carrier.ord g z.val : ℚ) • complementDivisorSupportedClass X R z |
| 75 | |
| 76 | /-- The same finite divisor in the existing integral-variety cycle interface. -/ |
| 77 | def principalDivisorCycle : Geometric.DimensionCycles.RationalDimensionCycle V 1 := |
| 78 | ∑ z : (Finite.DivisorDetection.Constructions.ComplementDivisorPoint X R), |
| 79 | Finsupp.single (complementDivisorSupport X R z) (X.carrier.ord g z.val : ℚ) |
| 80 | |
| 81 | /-- The supported sum forgets to the previously defined Thom cycle-class |
| 82 | map applied to the same finite actual divisor. -/ |
| 83 | theorem principalDivisorSupportedClass_absolute : |
| 84 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) T (O : Set T) 2 (principalDivisorSupportedClass X R g) = |
| 85 | (V).rationalCycleClass 1 (principalDivisorCycle X R g) := by |
| 86 | unfold principalDivisorSupportedClass principalDivisorCycle |
| 87 | rw [map_sum, map_sum] |
| 88 | apply Finset.sum_congr rfl |
| 89 | intro z _ |
| 90 | rw [map_smul, complementDivisorSupportedClass_absolute X R, Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.rationalCycleClass_single] |
| 91 | |
| 92 | /-- Every support coefficient is exactly its previously defined algebraic order. -/ |
| 93 | theorem principalDivisorCycle_apply (z : (Finite.DivisorDetection.Constructions.ComplementDivisorPoint X R)) : |
| 94 | principalDivisorCycle X R g (complementDivisorSupport X R z) = (X.carrier.ord g z.val : ℚ) := by |
| 95 | classical |
| 96 | unfold principalDivisorCycle |
| 97 | rw [Finsupp.finsetSum_apply] |
| 98 | rw [Finset.sum_eq_single z] |
| 99 | · exact Finsupp.single_eq_same |
| 100 | · intro w _ hw |
| 101 | exact Finsupp.single_eq_of_ne (fun h => hw (complementDivisorSupport_injective X R h.symm)) |
| 102 | · simp |
| 103 | |
| 104 | end Constructions |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.CycleClass.Thom.Supported.PrincipalDivisor |