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.SectionEvaluation |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.RationalFunctionBoundary |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.DivisorWinding |
| 4 | |
| 5 | /-! # Rational Unit Evaluation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RationalUnitEvaluation.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Evaluate an actual rational-function local power identity on the common |
| 12 | unit domain, including negative exponents and its forced nonzero parameter. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.RationalFunctionBoundary.Constructions.Principal OAI.AlgebraicGeometry.CycleClass.Thom.RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.DivisorWinding.Constructions |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] |
| 23 | {g : X.left.functionField} (D : RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative X.left g) |
| 24 | |
| 25 | def referenceLocus (U : X.left.Opens) : Set (SectionEvaluation.Constructions.analyticOpen X U) := |
| 26 | {y | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying y.val ∈ D.domain} |
| 27 | |
| 28 | def referenceLocusIntersectionMap (U : X.left.Opens) : |
| 29 | C(referenceLocus X D U, SectionEvaluation.Constructions.analyticOpen X (U ⊓ D.domain)) := |
| 30 | ⟨fun y => ⟨y.val.val, y.val.property, y.property⟩, |
| 31 | (continuous_subtype_val.comp continuous_subtype_val).subtype_mk _⟩ |
| 32 | |
| 33 | def referenceUnitOnIntersection (U : X.left.Opens) : Γ(X.left, U ⊓ D.domain)ˣ := |
| 34 | Units.map (X.left.presheaf.map (homOfLE inf_le_right).op).hom.toMonoidHom D.unit |
| 35 | |
| 36 | def referenceEquation (U : X.left.Opens) : C(referenceLocus X D U, ℂ) := |
| 37 | (SectionEvaluation.Constructions.sectionEvaluationOn X (U ⊓ D.domain) (referenceUnitOnIntersection X D U)).comp |
| 38 | (referenceLocusIntersectionMap X D U) |
| 39 | |
| 40 | theorem referenceEquation_ne_zero (U : X.left.Opens) (y : referenceLocus X D U) : |
| 41 | referenceEquation X D U y ≠ 0 := |
| 42 | SectionEvaluation.Constructions.sectionEvaluationOn_unit_ne_zero X (U ⊓ D.domain) (referenceUnitOnIntersection X D U) _ |
| 43 | |
| 44 | variable (U : X.left.Opens) [Nonempty U] |
| 45 | (p : Γ(X.left, U)) (v : Γ(X.left, U)ˣ) (m : ℤ) |
| 46 | (he : g = X.left.germToFunctionField U v * (X.left.germToFunctionField U p) ^ m) |
| 47 | |
| 48 | include he |
| 49 | |
| 50 | theorem referenceEquation_power (y : referenceLocus X D U) |
| 51 | (hp : SectionEvaluation.Constructions.sectionEvaluationOn X U p y.val ≠ 0) : |
| 52 | referenceEquation X D U y = SectionEvaluation.Constructions.sectionEvaluationOn X U (v : Γ(X.left, U)) y.val * |
| 53 | (SectionEvaluation.Constructions.sectionEvaluationOn X U p y.val) ^ m := by |
| 54 | let W := U ⊓ D.domain |
| 55 | let z : SectionEvaluation.Constructions.analyticOpen X W := referenceLocusIntersectionMap X D U y |
| 56 | let : Nonempty W := ⟨⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying z.val, z.property⟩⟩ |
| 57 | let t : Γ(X.left, W)ˣ := referenceUnitOnIntersection X D U |
| 58 | let q : Γ(X.left, W) := X.left.presheaf.map (homOfLE inf_le_left).op p |
| 59 | let w : Γ(X.left, W) := X.left.presheaf.map (homOfLE inf_le_left).op (v : Γ(X.left, U)) |
| 60 | have hfield : X.left.germToFunctionField W t = |
| 61 | X.left.germToFunctionField W w * (X.left.germToFunctionField W q) ^ m := by |
| 62 | change X.left.germToFunctionField W (X.left.presheaf.map (homOfLE inf_le_right).op (D.unit : Γ(X.left, D.domain))) = |
| 63 | X.left.germToFunctionField W (X.left.presheaf.map (homOfLE inf_le_left).op (v : Γ(X.left, U))) * |
| 64 | (X.left.germToFunctionField W (X.left.presheaf.map (homOfLE inf_le_left).op p)) ^ m |
| 65 | rw [RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative.germ_restrict, RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative.germ_restrict, RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative.germ_restrict, D.represents] |
| 66 | exact he |
| 67 | have hp' : SectionEvaluation.Constructions.sectionEvaluationHom X W z q ≠ 0 := by |
| 68 | change SectionEvaluation.Constructions.sectionEvaluationOn X W (X.left.presheaf.map (homOfLE inf_le_left).op p) z ≠ 0 |
| 69 | rw [SectionEvaluation.Constructions.sectionEvaluationOn_restrict] |
| 70 | exact hp |
| 71 | have h := HodgeConjecture.DegreeTwo.DivisorWinding.Constructions.evaluate_integer_power_relation (X.left.germToFunctionField W).hom |
| 72 | (X.left.germToFunctionField_injective W) (SectionEvaluation.Constructions.sectionEvaluationHom X W z) |
| 73 | t w q m hfield hp' |
| 74 | change referenceEquation X D U y = |
| 75 | SectionEvaluation.Constructions.sectionEvaluationOn X W (X.left.presheaf.map (homOfLE inf_le_left).op (v : Γ(X.left, U))) z * |
| 76 | (SectionEvaluation.Constructions.sectionEvaluationOn X W (X.left.presheaf.map (homOfLE inf_le_left).op p) z) ^ m at h |
| 77 | rw [SectionEvaluation.Constructions.sectionEvaluationOn_restrict, SectionEvaluation.Constructions.sectionEvaluationOn_restrict] at h |
| 78 | exact h |
| 79 | |
| 80 | theorem referenceParameter_ne_zero (hp : p ≠ 0) (hm : m ≠ 0) (y : referenceLocus X D U) : |
| 81 | SectionEvaluation.Constructions.sectionEvaluationOn X U p y.val ≠ 0 := by |
| 82 | let W := U ⊓ D.domain |
| 83 | let z : SectionEvaluation.Constructions.analyticOpen X W := referenceLocusIntersectionMap X D U y |
| 84 | let : Nonempty W := ⟨⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying z.val, z.property⟩⟩ |
| 85 | let t : Γ(X.left, W)ˣ := referenceUnitOnIntersection X D U |
| 86 | let q : Γ(X.left, W) := X.left.presheaf.map (homOfLE inf_le_left).op p |
| 87 | let w : Γ(X.left, W)ˣ := Units.map |
| 88 | (X.left.presheaf.map (homOfLE inf_le_left).op).hom.toMonoidHom v |
| 89 | have hfield : X.left.germToFunctionField W t = |
| 90 | X.left.germToFunctionField W w * (X.left.germToFunctionField W q) ^ m := by |
| 91 | change X.left.germToFunctionField W (X.left.presheaf.map (homOfLE inf_le_right).op (D.unit : Γ(X.left, D.domain))) = |
| 92 | X.left.germToFunctionField W (X.left.presheaf.map (homOfLE inf_le_left).op (v : Γ(X.left, U))) * |
| 93 | (X.left.germToFunctionField W (X.left.presheaf.map (homOfLE inf_le_left).op p)) ^ m |
| 94 | rw [RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative.germ_restrict, RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative.germ_restrict, RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative.germ_restrict, D.represents] |
| 95 | exact he |
| 96 | have hpW : X.left.germToFunctionField W q ≠ 0 := by |
| 97 | change X.left.germToFunctionField W (X.left.presheaf.map (homOfLE inf_le_left).op p) ≠ 0 |
| 98 | rw [RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative.germ_restrict] |
| 99 | exact (map_ne_zero_iff _ (X.left.germToFunctionField_injective U)).mpr hp |
| 100 | have h := HodgeConjecture.DegreeTwo.DivisorWinding.Constructions.integer_power_parameter_nonzero (X.left.germToFunctionField W).hom |
| 101 | (X.left.germToFunctionField_injective W) (SectionEvaluation.Constructions.sectionEvaluationHom X W z) |
| 102 | t w q m hm hpW hfield (t.isUnit.map _).ne_zero (w.isUnit.map _).ne_zero |
| 103 | change SectionEvaluation.Constructions.sectionEvaluationOn X W (X.left.presheaf.map (homOfLE inf_le_left).op p) z ≠ 0 at h |
| 104 | rw [SectionEvaluation.Constructions.sectionEvaluationOn_restrict] at h |
| 105 | exact h |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RationalUnitEvaluation.Constructions |