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.Affine.SectionFunction |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation |
| 3 | |
| 4 | /-! # Base Restriction -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.CycleClass.Thom.Section.BaseRestriction.Constructions |
| 11 | |
| 12 | /-! Restricting the affine base and its actual section preserves the |
| 13 | original parent rational function. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Scheme.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 24 | (B C : V.carrier.Opens) (hCB : C ≤ B) |
| 25 | [Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)] |
| 26 | [Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ C)] |
| 27 | |
| 28 | local instance : Nonempty (D.inclusion ⁻¹ᵁ B) := by |
| 29 | obtain ⟨x⟩ := ‹Nonempty ((normalizationToAmbient V D.val).left ⁻¹ᵁ B)› |
| 30 | exact ⟨⟨Normalization.Scheme.Constructions.normalizationMap D.scheme x.val, x.property⟩⟩ |
| 31 | local instance : Nonempty (D.inclusion ⁻¹ᵁ C) := by |
| 32 | obtain ⟨x⟩ := ‹Nonempty ((normalizationToAmbient V D.val).left ⁻¹ᵁ C)› |
| 33 | exact ⟨⟨Normalization.Scheme.Constructions.normalizationMap D.scheme x.val, x.property⟩⟩ |
| 34 | |
| 35 | omit D [Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)] |
| 36 | [Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ C)] in |
| 37 | theorem topIso_sectionRestriction (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) : |
| 38 | C.topIso.hom ((V.carrier.homOfLE hCB).appTop s) = |
| 39 | V.carrier.presheaf.map (homOfLE hCB).op (B.topIso.hom s) := by |
| 40 | apply (ConcreteCategory.bijective_of_isIso C.topIso.inv).injective |
| 41 | have h := ConcreteCategory.congr_hom (Scheme.SectionEvaluation.Constructions.topIso_inv_restrict V.toOver hCB) (B.topIso.hom s) |
| 42 | change C.topIso.inv (V.carrier.presheaf.map (homOfLE hCB).op (B.topIso.hom s)) = |
| 43 | (V.carrier.homOfLE hCB).appTop (B.topIso.inv (B.topIso.hom s)) at h |
| 44 | simpa only [Iso.hom_inv_id_apply] using h.symm |
| 45 | |
| 46 | theorem parentSectionFunction_restrict (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) : |
| 47 | Affine.SectionFunction.Constructions.parentSectionFunction D C ((V.carrier.homOfLE hCB).appTop s) = Affine.SectionFunction.Constructions.parentSectionFunction D B s := by |
| 48 | unfold Affine.SectionFunction.Constructions.parentSectionFunction |
| 49 | rw [topIso_sectionRestriction B C hCB s] |
| 50 | have hn := ConcreteCategory.congr_hom (D.inclusion.naturality (homOfLE hCB).op) (B.topIso.hom s) |
| 51 | have hp : D.inclusion ⁻¹ᵁ C ≤ D.inclusion ⁻¹ᵁ B := fun _ hx => hCB hx |
| 52 | exact (congrArg (D.scheme.germToFunctionField (D.inclusion ⁻¹ᵁ C)) hn).trans |
| 53 | (RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative.germ_restrict hp (D.inclusion.app B (B.topIso.hom s))) |
| 54 | |
| 55 | end AlgebraicGeometry.CycleClass.Thom.Section.BaseRestriction.Constructions |
| 56 | |
| 57 | namespace AlgebraicGeometry.CycleClass.Thom.Section.BaseRestriction.Constructions.HeadDifference |
| 58 | |
| 59 | /-! An elementary head difference in the ambient open's section ring |
| 60 | is the same genuine tail-ideal difference in the global sections of |
| 61 | the smaller open scheme, as required by the vector homotopy. -/ |
| 62 | |
| 63 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 64 | |
| 65 | open OAI.AlgebraicGeometry.CycleClass.Thom.Section.BaseRestriction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen |
| 66 | |
| 67 | set_option backward.isDefEq.respectTransparency false |
| 68 | set_option backward.isDefEq.respectTransparency.types false |
| 69 | |
| 70 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (B C : V.carrier.Opens) (hCB : C ≤ B) |
| 71 | |
| 72 | abbrev restrictSection (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase C).left, ⊤) := |
| 73 | (V.carrier.homOfLE hCB).appTop s |
| 74 | |
| 75 | theorem globalSection_restrict (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) : |
| 76 | C.topIso.inv (V.carrier.presheaf.map (homOfLE hCB).op (B.topIso.hom s)) = |
| 77 | restrictSection V B C hCB s := by |
| 78 | apply (ConcreteCategory.bijective_of_isIso C.topIso.hom).injective |
| 79 | rw [Iso.inv_hom_id_apply, topIso_sectionRestriction B C hCB s] |
| 80 | |
| 81 | theorem head_difference_mem (r : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (rs : List Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) |
| 82 | (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase C).left, ⊤)) |
| 83 | (h : C.topIso.hom s - V.carrier.presheaf.map (homOfLE hCB).op (B.topIso.hom r) ∈ |
| 84 | Ideal.ofList ((rs.map B.topIso.hom).map (V.carrier.presheaf.map (homOfLE hCB).op))) : |
| 85 | s - restrictSection V B C hCB r ∈ Ideal.ofList (rs.map (restrictSection V B C hCB)) := by |
| 86 | have hd := Ideal.mem_map_of_mem C.topIso.inv.hom h |
| 87 | have htail : (((rs.map B.topIso.hom).map (V.carrier.presheaf.map (homOfLE hCB).op)).map C.topIso.inv) = |
| 88 | rs.map (restrictSection V B C hCB) := by |
| 89 | rw [List.map_map, List.map_map] |
| 90 | apply List.map_congr_left |
| 91 | intro a _ |
| 92 | exact globalSection_restrict V B C hCB a |
| 93 | have hval : C.topIso.inv (C.topIso.hom s - V.carrier.presheaf.map (homOfLE hCB).op (B.topIso.hom r)) = |
| 94 | s - restrictSection V B C hCB r := by |
| 95 | rw [map_sub, Iso.hom_inv_id_apply, globalSection_restrict] |
| 96 | rw [Ideal.map_ofList, htail, hval] at hd |
| 97 | exact hd |
| 98 | |
| 99 | end AlgebraicGeometry.CycleClass.Thom.Section.BaseRestriction.Constructions.HeadDifference |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI |