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.Divisors.LineBundles.Scheme.IdealEquationFrame |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ModuleHomOfBasis |
| 3 | |
| 4 | /-! # Equation Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Cartier.EquationComparison.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Proportional local regular equations define an actual |
| 11 | isomorphism between the corresponding ideal sheaves. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | |
| 15 | variable {X Z Z' : Scheme.{0}} (i : Z ⟶ X) (j : Z' ⟶ X) |
| 16 | (B : Set X.Opens) (hB : Opens.IsBasis B) |
| 17 | (t u : ∀ U : B, Γ(X, U.1)) (ht : ∀ U, IsRegular (t U)) (hu : ∀ U, IsRegular (u U)) |
| 18 | (hkt : ∀ U, RingHom.ker (i.app U.1).hom = Ideal.span {t U}) |
| 19 | (hku : ∀ U, RingHom.ker (j.app U.1).hom = Ideal.span {u U}) |
| 20 | (hc : ∀ (U V : B) (h : U.1 ≤ V.1), |
| 21 | t U * X.presheaf.map (homOfLE h).op (u V) = u U * X.presheaf.map (homOfLE h).op (t V)) |
| 22 | |
| 23 | def cartierEquationComparisonFrame (U : B) : |
| 24 | Γ(LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule i, U.1) ≃ₗ[Γ(X, U.1)] Γ(LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule j, U.1) := |
| 25 | (LineBundles.Scheme.IdealEquationFrame.BundleCycles.schemeIdealEquationFrame i U.1 (t U) (ht U) (hkt U)).trans |
| 26 | (LineBundles.Scheme.IdealEquationFrame.BundleCycles.schemeIdealEquationFrame j U.1 (u U) (hu U) (hku U)).symm |
| 27 | |
| 28 | theorem cartierEquationComparisonFrame_image (U : B) (m : Γ(LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule i, U.1)) : |
| 29 | LineBundles.Scheme.IdealModule.BundleCycles.schemeIdealModuleSectionLinear j U.1 (cartierEquationComparisonFrame i j B t u ht hu hkt hku U m) = |
| 30 | LineBundles.Scheme.IdealEquationFrame.BundleCycles.schemeIdealEquationFrame i U.1 (t U) (ht U) (hkt U) m * u U := by |
| 31 | rw [LineBundles.Scheme.IdealEquationFrame.BundleCycles.schemeIdealEquationFrame_image j U.1 (u U) (hu U) (hku U)] |
| 32 | exact congrArg (fun r => r * u U) |
| 33 | ((LineBundles.Scheme.IdealEquationFrame.BundleCycles.schemeIdealEquationFrame j U.1 (u U) (hu U) (hku U)).apply_symm_apply _) |
| 34 | |
| 35 | include hc in |
| 36 | theorem cartierEquationComparisonFrame_restrict (U V : B) (h : U.1 ≤ V.1) |
| 37 | (m : Γ(LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule i, V.1)) : |
| 38 | cartierEquationComparisonFrame i j B t u ht hu hkt hku U |
| 39 | ((LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule i).presheaf.map (homOfLE h).op m) = |
| 40 | (LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule j).presheaf.map (homOfLE h).op |
| 41 | (cartierEquationComparisonFrame i j B t u ht hu hkt hku V m) := by |
| 42 | apply LineBundles.Scheme.IdealModule.BundleCycles.schemeIdealModuleSectionLinear_injective j U.1 |
| 43 | rw [cartierEquationComparisonFrame_image, LineBundles.Scheme.IdealEquationFrame.BundleCycles.schemeIdealModuleSectionLinear_restrict, |
| 44 | cartierEquationComparisonFrame_image, map_mul] |
| 45 | apply (ht U).left |
| 46 | have hFrame := LineBundles.Scheme.IdealEquationFrame.BundleCycles.schemeIdealEquationFrame_restrict i U.1 V.1 h (t U) (t V) (ht U) (ht V) |
| 47 | (hkt U) (hkt V) m |
| 48 | let a := LineBundles.Scheme.IdealEquationFrame.BundleCycles.schemeIdealEquationFrame i U.1 (t U) (ht U) (hkt U) |
| 49 | ((LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule i).presheaf.map (homOfLE h).op m) |
| 50 | let b := X.presheaf.map (homOfLE h).op (LineBundles.Scheme.IdealEquationFrame.BundleCycles.schemeIdealEquationFrame i V.1 (t V) (ht V) (hkt V) m) |
| 51 | change t U * (a * u U) = t U * (b * X.presheaf.map (homOfLE h).op (u V)) |
| 52 | calc |
| 53 | t U * (a * u U) = (a * t U) * u U := by ring |
| 54 | _ = (b * X.presheaf.map (homOfLE h).op (t V)) * u U := congrArg (fun r => r * u U) hFrame |
| 55 | _ = b * (u U * X.presheaf.map (homOfLE h).op (t V)) := by ring |
| 56 | _ = b * (t U * X.presheaf.map (homOfLE h).op (u V)) := congrArg (fun r => b * r) (hc U V h).symm |
| 57 | _ = t U * (b * X.presheaf.map (homOfLE h).op (u V)) := by ring |
| 58 | |
| 59 | def cartierEquationComparisonHom : LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule i ⟶ LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule j := |
| 60 | LineBundles.Scheme.ModuleHomOfBasis.BundleCycles.schemeModuleHomOfBasis (LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule i) (LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule j) B hB |
| 61 | (fun U => (cartierEquationComparisonFrame i j B t u ht hu hkt hku U).toLinearMap) |
| 62 | (cartierEquationComparisonFrame_restrict i j B t u ht hu hkt hku hc) |
| 63 | |
| 64 | theorem cartierEquationComparisonHom_isIso : IsIso (cartierEquationComparisonHom i j B hB t u ht hu hkt hku hc) := |
| 65 | LineBundles.Scheme.ModuleHomOfBasis.BundleCycles.schemeModuleHomOfBasis_isIso (LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule i) (LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule j) B hB |
| 66 | (fun U => (cartierEquationComparisonFrame i j B t u ht hu hkt hku U).toLinearMap) |
| 67 | (cartierEquationComparisonFrame_restrict i j B t u ht hu hkt hku hc) |
| 68 | (fun U => (cartierEquationComparisonFrame i j B t u ht hu hkt hku U).bijective) |
| 69 | |
| 70 | def cartierEquationComparisonIso : LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule i ≅ LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule j := by |
| 71 | let : IsIso (cartierEquationComparisonHom i j B hB t u ht hu hkt hku hc) := |
| 72 | cartierEquationComparisonHom_isIso i j B hB t u ht hu hkt hku hc |
| 73 | exact asIso (cartierEquationComparisonHom i j B hB t u ht hu hkt hku hc) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Cartier.EquationComparison.BundleCycles |