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.DivisorClass.Chern.CodimensionOneDetection |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Support |
| 3 | |
| 4 | /-! # Finite Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.FiniteDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # ChernClass: only finitely many divisor neighborhoods are needed for detection |
| 12 | |
| 13 | Codimension-one points outside the reference open form the actual finite |
| 14 | set already proved algebraically. Restriction to neighborhoods of just those |
| 15 | points detects the whole relative class; the reference-open restriction is |
| 16 | zero by the actual support condition. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | set_option backward.defeqAttrib.useBackward true |
| 24 | |
| 25 | namespace AlgebraicLineBundle |
| 26 | |
| 27 | variable {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (L : Line.Bundles.AlgebraicLineBundle X) [IsIntegral X.carrier] |
| 28 | |
| 29 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) |
| 30 | local notation "O" => OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen |
| 31 | |
| 32 | /-- The actual codimension-one points outside the chosen reference open. -/ |
| 33 | abbrev _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.ReferenceDivisorPoint := |
| 34 | {z : X.carrier // Order.coheight z = 1 ∧ z ∉ L.rationalReferenceOpen} |
| 35 | |
| 36 | instance _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.referenceDivisorPoint_finite : Finite L.ReferenceDivisorPoint := by |
| 37 | let : Nonempty L.rationalReferenceOpen := ⟨⟨genericPoint X.carrier, L.mem_trivializingOpen _⟩⟩ |
| 38 | exact (Support.Construction.finite_codimension_one_complement X.carrier L.rationalReferenceOpen).to_subtype |
| 39 | |
| 40 | /-- Every original relative class restricts to zero on the reference open. -/ |
| 41 | theorem _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.relativeClass_reference_restriction_zero |
| 42 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (O : Set T) 2) : |
| 43 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) O 2 a = 0 := by |
| 44 | apply (ModuleCat.mono_iff_injective (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T O O 2)).mp inferInstance |
| 45 | apply CycleClass.Geometric.SupportedGerms.Cycles.supportedCohomologySection_ext_on_support (ModuleCat.of ℚ ℚ) T O O 2 |
| 46 | intro x hx hnot |
| 47 | exact (hnot hx).elim |
| 48 | |
| 49 | /-- Actual relative classes are determined by finitely many algebraic |
| 50 | neighborhood restrictions, one at each reference divisor point. -/ |
| 51 | theorem _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.relativeClass_eq_of_finite_divisor_restrictions |
| 52 | (U : L.ReferenceDivisorPoint → X.carrier.Opens) (hU : ∀ z, z.val ∈ U z) |
| 53 | (a b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (O : Set T) 2) |
| 54 | (hab : ∀ z, CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) |
| 55 | (Line.Bundles.AlgebraicLineBundle.analyticOpen X (U z)) 2 a = |
| 56 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) |
| 57 | (Line.Bundles.AlgebraicLineBundle.analyticOpen X (U z)) 2 b) : a = b := by |
| 58 | classical |
| 59 | let V (z : {z : X.carrier // Order.coheight z = 1}) : X.carrier.Opens := |
| 60 | if hz : z.val ∈ L.rationalReferenceOpen then L.rationalReferenceOpen |
| 61 | else U ⟨z.val, z.property, hz⟩ |
| 62 | have hV (z : {z : X.carrier // Order.coheight z = 1}) : z.val ∈ V z := by |
| 63 | dsimp only [V] |
| 64 | split_ifs with hz |
| 65 | · exact hz |
| 66 | · exact hU ⟨z.val, z.property, hz⟩ |
| 67 | apply L.relativeClass_eq_of_codimensionOne_restrictions V hV a b |
| 68 | intro z |
| 69 | by_cases hz : z.val ∈ L.rationalReferenceOpen |
| 70 | · have he : V z = L.rationalReferenceOpen := dite_eq_left hz |
| 71 | rw [he, L.relativeClass_reference_restriction_zero a, L.relativeClass_reference_restriction_zero b] |
| 72 | · have he : V z = U ⟨z.val, z.property, hz⟩ := dite_eq_right hz |
| 73 | rw [he] |
| 74 | exact hab ⟨z.val, z.property, hz⟩ |
| 75 | |
| 76 | /-- The finite family of actual restrictions is injective. -/ |
| 77 | theorem _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.finite_divisor_restriction_injective |
| 78 | (U : L.ReferenceDivisorPoint → X.carrier.Opens) (hU : ∀ z, z.val ∈ U z) : |
| 79 | Function.Injective (fun a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (O : Set T) 2 => |
| 80 | fun z : L.ReferenceDivisorPoint => |
| 81 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) |
| 82 | (Line.Bundles.AlgebraicLineBundle.analyticOpen X (U z)) 2 a) := by |
| 83 | intro a b hab |
| 84 | exact L.relativeClass_eq_of_finite_divisor_restrictions U hU a b (congrFun hab) |
| 85 | |
| 86 | end AlgebraicLineBundle |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.DivisorClass.Chern.FiniteDetection |