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.Scheme.RationalDivisorNeighborhood |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RationalBoundary |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Isolation |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.PrimeNeighborhood |
| 5 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.DivisorSmooth |
| 6 | |
| 7 | /-! # Principal Divisor Comparison -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.PrincipalDivisorComparison |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The genuine rational-function boundary equals the finite sum of canonical |
| 14 | supported divisor classes, with the actual scheme orders, on arbitrary |
| 15 | metrizable smooth integral complex schemes of finite type. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | set_option backward.defeqAttrib.useBackward true |
| 22 | |
| 23 | namespace Constructions |
| 24 | |
| 25 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RationalBoundary.Constructions.Restriction |
| 26 | RationalBoundary.Constructions.Unit RationalDivisorNeighborhood.Constructions RationalRegularNormal.Constructions |
| 27 | FiniteDivisorDetection.Constructions SupportedPrincipalDivisor.Constructions SchemeDivisor.Isolation.Constructions |
| 28 | PrimeNeighborhood.Constructions RegularSupport.Constructions SchemeDivisor.Purity.Constructions HodgeConjecture.DegreeTwo.DivisorSmooth.Constructions |
| 29 | |
| 30 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 31 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 32 | {g : X.left.functionField} (D : RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative X.left g) (hg : g ≠ 0) |
| 33 | |
| 34 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 35 | local notation "O" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions.analyticOpen X D.domain |
| 36 | |
| 37 | include hg in |
| 38 | theorem principalDivisor_comparison_neighborhood_nonzero |
| 39 | (z : FiniteDivisorDetection.Constructions.ComplementDivisorPoint X D.domain) (hm : X.left.ord g z.val ≠ 0) : |
| 40 | ∃ W : X.left.Opens, z.val ∈ W ∧ |
| 41 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) (SectionEvaluation.Constructions.analyticOpen X W) 2 |
| 42 | (RationalBoundary.Constructions.Restriction.rationalGlobalBoundary X D) = |
| 43 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) (SectionEvaluation.Constructions.analyticOpen X W) 2 |
| 44 | (SupportedPrincipalDivisor.Constructions.principalDivisorSupportedClass X D.domain g) := by |
| 45 | let z' : {x : X.left // Order.coheight x = 1} := ⟨z.val, z.property.1⟩ |
| 46 | obtain ⟨U, hU, hzU, hUi, p, v, hp, he⟩ := |
| 47 | HodgeConjecture.DegreeTwo.DivisorEquations.Constructions.smooth_rationalFunction_local_equation X.hom z.val z.property.1 |
| 48 | (SchemeDivisor.Isolation.Constructions.complementDivisorIsolatingOpen X D.domain z) |
| 49 | (SchemeDivisor.Isolation.Constructions.complementDivisorPoint_mem_isolatingOpen X D.domain z) g hg |
| 50 | let : Nonempty U := ⟨⟨z.val, hzU⟩⟩ |
| 51 | obtain ⟨b, hb, hsm⟩ := HodgeConjecture.DegreeTwo.DivisorSmooth.Constructions.smooth_uniformizer_section_neighborhood X.hom U hU z.val hzU z.property.1 p hp |
| 52 | obtain ⟨c, hc, hsupp⟩ := PrimeNeighborhood.Constructions.section_uniformizer_primeSupport_neighborhood X z' U hU hzU p hp |
| 53 | have hbc : IsUnit (X.left.presheaf.germ U z.val hzU (b * c)) := by |
| 54 | rw [map_mul] |
| 55 | exact hb.mul hc |
| 56 | obtain ⟨W, hzW, hWU, hW⟩ := PrimeNeighborhood.Constructions.exists_prime_regular_neighborhood X z' U hU hzU (b * c) hbc |
| 57 | have hgood : ∀ y : SectionEvaluation.Constructions.analyticOpen X W, |
| 58 | y.val ∈ RegularSupport.Constructions.regularAmbientOpen X (SchemeDivisor.Purity.Constructions.primeSupport X z') ∧ |
| 59 | SectionEvaluation.Constructions.sectionEvaluationOn X U b ⟨y.val, hWU y.property⟩ ≠ 0 ∧ |
| 60 | SectionEvaluation.Constructions.sectionEvaluationOn X U c ⟨y.val, hWU y.property⟩ ≠ 0 := by |
| 61 | intro y |
| 62 | have hy := hW y |
| 63 | refine ⟨hy.1, ?_⟩ |
| 64 | have hn := hy.2 |
| 65 | rw [SectionEvaluation.Constructions.sectionEvaluationOn_mul] at hn |
| 66 | exact mul_ne_zero_iff.mp hn |
| 67 | have hp0 : p ≠ 0 := by |
| 68 | intro h |
| 69 | apply hp.ne_zero |
| 70 | rw [h, map_zero] |
| 71 | have hlocal := RationalDivisorNeighborhood.Constructions.rationalGlobalBoundary_eq_supportedCycle_on_neighborhood D z' |
| 72 | (SupportedPrincipalDivisor.Constructions.complementDivisorSupport_complement X D.domain z) U hU p b c hp0 v |
| 73 | (X.left.ord g z.val) hm he hsm hsupp W hWU hgood |
| 74 | refine ⟨W, hzW, ?_⟩ |
| 75 | rw [SchemeDivisor.Isolation.Constructions.principalDivisorSupportedClass_restrict_isolated X D.domain g z W (hWU.trans hUi)] |
| 76 | rw [map_zsmul] at hlocal |
| 77 | exact hlocal.trans (Int.cast_smul_eq_zsmul ℚ (X.left.ord g z.val) _).symm |
| 78 | |
| 79 | include hg in |
| 80 | theorem principalDivisor_comparison_neighborhood_zero |
| 81 | (z : FiniteDivisorDetection.Constructions.ComplementDivisorPoint X D.domain) (hm : X.left.ord g z.val = 0) : |
| 82 | ∃ W : X.left.Opens, z.val ∈ W ∧ |
| 83 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) (SectionEvaluation.Constructions.analyticOpen X W) 2 |
| 84 | (RationalBoundary.Constructions.Restriction.rationalGlobalBoundary X D) = |
| 85 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) (SectionEvaluation.Constructions.analyticOpen X W) 2 |
| 86 | (SupportedPrincipalDivisor.Constructions.principalDivisorSupportedClass X D.domain g) := by |
| 87 | obtain ⟨W, _, hzW, hWi, hzero⟩ := RationalBoundary.Constructions.Unit.rationalGlobalBoundary_local_zero_of_order_zero X D |
| 88 | z.val z.property.1 (SchemeDivisor.Isolation.Constructions.complementDivisorIsolatingOpen X D.domain z) |
| 89 | (SchemeDivisor.Isolation.Constructions.complementDivisorPoint_mem_isolatingOpen X D.domain z) hg hm |
| 90 | refine ⟨W, hzW, ?_⟩ |
| 91 | rw [SchemeDivisor.Isolation.Constructions.principalDivisorSupportedClass_restrict_isolated X D.domain g z W hWi, |
| 92 | hm, Int.cast_zero, zero_smul] |
| 93 | exact hzero |
| 94 | |
| 95 | include hg in |
| 96 | theorem rationalGlobalBoundary_eq_principalDivisorSupportedClass : |
| 97 | RationalBoundary.Constructions.Restriction.rationalGlobalBoundary X D = SupportedPrincipalDivisor.Constructions.principalDivisorSupportedClass X D.domain g := by |
| 98 | classical |
| 99 | have h (z : FiniteDivisorDetection.Constructions.ComplementDivisorPoint X D.domain) : ∃ W : X.left.Opens, z.val ∈ W ∧ |
| 100 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) (SectionEvaluation.Constructions.analyticOpen X W) 2 |
| 101 | (RationalBoundary.Constructions.Restriction.rationalGlobalBoundary X D) = |
| 102 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) (SectionEvaluation.Constructions.analyticOpen X W) 2 |
| 103 | (SupportedPrincipalDivisor.Constructions.principalDivisorSupportedClass X D.domain g) := by |
| 104 | by_cases hm : X.left.ord g z.val = 0 |
| 105 | · exact principalDivisor_comparison_neighborhood_zero X D hg z hm |
| 106 | · exact principalDivisor_comparison_neighborhood_nonzero X D hg z hm |
| 107 | choose W hW he using h |
| 108 | exact FiniteDivisorDetection.Constructions.relativeClass_eq_of_finite_divisor_restrictions X D.domain W hW _ _ he |
| 109 | |
| 110 | include hg in |
| 111 | theorem principalDivisorSupportedClass_absolute_zero : |
| 112 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) T (O : Set T) 2 |
| 113 | (SupportedPrincipalDivisor.Constructions.principalDivisorSupportedClass X D.domain g) = 0 := by |
| 114 | rw [← rationalGlobalBoundary_eq_principalDivisorSupportedClass X D hg] |
| 115 | exact RationalBoundary.Constructions.Restriction.rationalGlobalBoundary_absolute_zero X D |
| 116 | |
| 117 | end Constructions |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.PrincipalDivisorComparison |