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.Section.CupPrincipalLocal |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Section.CupRestriction |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.OpenSupportDetection |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.BoundedAffineNormalizationGraph |
| 5 | |
| 6 | /-! # Cup Principal Detection -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Section.CupPrincipalDetection.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Local bounded normalization formulas determine the two canonical |
| 13 | classes on every analytic open whose support points avoid the actual |
| 14 | exceptional boundary. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Section.CupPrincipalLocal.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.CupRestriction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.Cup.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.Section.Principal.Constructions.Class |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.ClosedSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.OpenSupportDetection.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalZero.Constructions.BoundaryUnion |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.BoundedAffineNormalizationGraph.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraph.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | |
| 26 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 27 | (B : V.carrier.Opens) (hB : B ≤ Normalization.AmbientMap.Constructions.ambientOpen V D.val) |
| 28 | [Nonempty B] [Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)] [IsAffine (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left] |
| 29 | (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (hs : Affine.SectionFunction.Constructions.parentSectionFunction D B s ≠ 0) |
| 30 | (U : Opens V.analyticSpace) |
| 31 | (hU : (U : Set V.analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B))) |
| 32 | (hgood : ∀ x : U, V.analyticUnderlying x.val ∈ ClosedSupport.Constructions.sectionClosedSupport D B s → |
| 33 | x.val ∈ Normalization.PrincipalZero.Constructions.BoundaryUnion.commonOpen V D.val (Affine.SectionFunction.Constructions.parentSectionFunction D B s) hs) |
| 34 | |
| 35 | local instance : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier) |
| 36 | local instance : Smooth V.toOver.hom := inferInstanceAs (Smooth V.structureMap) |
| 37 | local instance : AlgebraicGeometry.IsNoetherian V.toOver.left := inferInstanceAs (AlgebraicGeometry.IsNoetherian V.carrier) |
| 38 | |
| 39 | local notation "F" => OAI.AlgebraicGeometry.CycleClass.Thom.Section.ClosedSupport.Constructions.sectionClosedSupport D B s |
| 40 | local notation "q" => OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.dimensionCodimension V D.val + 1 |
| 41 | local notation "I" => Subtype (fun x : U => V.analyticUnderlying (Subtype.val x) ∈ F) |
| 42 | |
| 43 | include hB hgood in |
| 44 | theorem sectionCupClass_eq_principal_on_retained_open : |
| 45 | Cup.Constructions.Class.sectionCupClass D B s U hU = Principal.Constructions.Class.sectionPrincipalClass D B s hs U := by |
| 46 | classical |
| 47 | have hA : IsAffineOpen B := inferInstanceAs (IsAffine (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left) |
| 48 | let : IsAffine (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineSource D B).left := Normalization.GoodSmoothMap.Constructions.AffineOpen.affineSource_affine D B hA |
| 49 | have hlocal : ∀ x : I, ∃ (P : Opens V.analyticSpace) (hPU : P ≤ U), |
| 50 | x.val.val ∈ P ∧ Cup.Constructions.Class.sectionCupClass D B s P (fun _ hz => hU (hPU hz)) = Principal.Constructions.Class.sectionPrincipalClass D B s hs P := by |
| 51 | intro x |
| 52 | obtain ⟨y, hy⟩ := hU x.val.property |
| 53 | obtain ⟨d, f, U₀, K, hf, hclosed, hy₀, _, hK, _, hb⟩ := |
| 54 | BoundedAffineNormalizationGraph.Constructions.exists_bounded_affine_normalization_graph D B hB hA y |
| 55 | let : IsClosedImmersion (Affine.SchemeGraph.Constructions.globalGraphSchemeMap (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineMap D B) f).left := hclosed |
| 56 | let P := U ⊓ U₀ ⊓ Normalization.PrincipalZero.Constructions.BoundaryUnion.commonOpen V D.val (Affine.SectionFunction.Constructions.parentSectionFunction D B s) hs |
| 57 | have hPU : P ≤ U := fun _ hz => hz.1.1 |
| 58 | refine ⟨P, hPU, ⟨⟨x.val.property, hy ▸ hy₀⟩, hgood x.val x.property⟩, ?_⟩ |
| 59 | exact CupPrincipalLocal.Constructions.sectionCupClass_eq_principal_bounded D B hB s hs P (fun _ hz => hU (hPU hz)) |
| 60 | (fun _ hz => hz.2) d f hf K hK (fun y hyP => hb y hyP.1.2) |
| 61 | choose P hPU hxP hEq using hlocal |
| 62 | apply Scheme.OpenSupportDetection.Constructions.relativeClass_eq_of_support_neighborhoods V.toOver F q |
| 63 | (ClosedSupport.Constructions.sectionClosedSupport_dimension D B s hs) U P hPU hxP |
| 64 | intro x |
| 65 | exact (CupRestriction.Constructions.sectionCupClass_restrict D B s U (P x) (hPU x) hU (fun _ hz => hU (hPU x hz))).trans |
| 66 | ((hEq x).trans (Principal.Constructions.Class.sectionPrincipalClass_restrict D B s hs U (P x) (hPU x)).symm) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.CycleClass.Thom.Section.CupPrincipalDetection.Constructions |