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.Resolution.Blowups.Retracted.GlobalCoefficientChart |
| 2 | |
| 3 | /-! # Chart -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual native hypersurface and coefficient-base maps of retained charts. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | theorem GlobalCoefficient.FamilyCharts.Construction.GlobalCoefficientFamilyChart.coefficient_isPullback |
| 14 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J H : X.IdealSheafData} |
| 15 | {C : H.subscheme.IdealSheafData} {b : ℕ} (T : GlobalCoefficient.FamilyCharts.Construction.GlobalCoefficientFamilyChart f J H C b) : |
| 16 | IsPullback (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (Ideal.span {T.normal})))) |
| 17 | T.coefficientMap T.map H.subschemeι := by |
| 18 | apply isPullback_of_isClosedImmersion _ _ _ _ T.coefficient_over.symm |
| 19 | rw [Scheme.IdealSheafData.ker_subschemeι] |
| 20 | exact T.hypersurface |
| 21 | |
| 22 | theorem GlobalCoefficient.FamilyCharts.Construction.GlobalCoefficientFamilyChart.coefficient_etale |
| 23 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J H : X.IdealSheafData} |
| 24 | {C : H.subscheme.IdealSheafData} {b : ℕ} (T : GlobalCoefficient.FamilyCharts.Construction.GlobalCoefficientFamilyChart f J H C b) : |
| 25 | Etale T.coefficientMap := |
| 26 | MorphismProperty.of_isPullback T.coefficient_isPullback T.etale |
| 27 | |
| 28 | attribute [instance] GlobalCoefficient.FamilyCharts.Construction.GlobalCoefficientFamilyChart.coefficient_etale |
| 29 | |
| 30 | def Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction.baseMap |
| 31 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J H : X.IdealSheafData} |
| 32 | {C : H.subscheme.IdealSheafData} {b : ℕ} {T : GlobalCoefficient.FamilyCharts.Construction.GlobalCoefficientFamilyChart f J H C b} |
| 33 | (A : Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction T) : Spec A.base ⟶ H.subscheme := |
| 34 | Spec.map (CommRingCat.ofHom A.retraction.toRingHom) ≫ T.coefficientMap |
| 35 | |
| 36 | theorem Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction.baseMap_etale |
| 37 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J H : X.IdealSheafData} |
| 38 | {C : H.subscheme.IdealSheafData} {b : ℕ} {T : GlobalCoefficient.FamilyCharts.Construction.GlobalCoefficientFamilyChart f J H C b} |
| 39 | (A : Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction T) : Etale A.baseMap := by |
| 40 | let : Etale (Spec.map (CommRingCat.ofHom A.retraction.toRingHom)) := |
| 41 | (HasRingHomProperty.Spec_iff (P := @Etale)).mpr (RingHom.Etale.of_bijective A.retraction.bijective) |
| 42 | unfold Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction.baseMap |
| 43 | infer_instance |
| 44 | |
| 45 | theorem Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction.baseMap_coefficient |
| 46 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J H : X.IdealSheafData} |
| 47 | {C : H.subscheme.IdealSheafData} {b : ℕ} {T : GlobalCoefficient.FamilyCharts.Construction.GlobalCoefficientFamilyChart f J H C b} |
| 48 | (A : Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction T) : |
| 49 | C.comap A.baseMap = Affine.QuotientKernel.Construction.affineQuotientKernel (T.coefficientIdeal.map A.retraction.toRingHom) := by |
| 50 | rw [Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction.baseMap, Scheme.IdealSheafData.comap_comp, T.coefficient_eq, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom] |
| 51 | |
| 52 | theorem Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction.baseMap_ground |
| 53 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J H : X.IdealSheafData} |
| 54 | {C : H.subscheme.IdealSheafData} {b : ℕ} {T : GlobalCoefficient.FamilyCharts.Construction.GlobalCoefficientFamilyChart f J H C b} |
| 55 | (A : Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction T) : |
| 56 | A.baseMap ≫ (H.subschemeι ≫ f) = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure A.base := by |
| 57 | have he : A.retraction.toRingHom.comp |
| 58 | ((Ideal.Quotient.mk (Ideal.span {T.normal})).comp (algebraMap ℂ T.ring)) = |
| 59 | algebraMap ℂ A.base := by |
| 60 | apply RingHom.ext |
| 61 | intro c |
| 62 | change A.retraction (Ideal.Quotient.mk (Ideal.span {T.normal}) (algebraMap ℂ T.ring c)) = _ |
| 63 | rw [IsScalarTower.algebraMap_apply ℂ A.base T.ring] |
| 64 | exact A.retraction.commutes (algebraMap ℂ A.base c) |
| 65 | calc |
| 66 | _ = Spec.map (CommRingCat.ofHom A.retraction.toRingHom) ≫ |
| 67 | T.coefficientMap ≫ H.subschemeι ≫ f := by simp only [Retracted.GlobalCoefficientChart.Construction.GlobalCoefficientFamilyRetraction.baseMap, Category.assoc] |
| 68 | _ = Spec.map (CommRingCat.ofHom A.retraction.toRingHom) ≫ |
| 69 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (Ideal.span {T.normal}))) ≫ T.map ≫ f := by |
| 70 | rw [← Category.assoc T.coefficientMap H.subschemeι f, T.coefficient_over, Category.assoc] |
| 71 | _ = _ := by |
| 72 | rw [T.ground, ComplexAffineDifferentialIdeal.Construction.complexSpecStructure, ← Spec.map_comp, ← Spec.map_comp] |
| 73 | exact congrArg (fun φ : ℂ →+* A.base => Spec.map (CommRingCat.ofHom φ)) he |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Resolution.Blowups |