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.Normalization.PrincipalBoundary |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.OpenSupportClosure |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Integral.MapDimension |
| 4 | |
| 5 | /-! # Image -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationDivisor.Image |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every actual prime divisor on the smooth normalization defines its |
| 12 | actual reduced ambient image in precisely the ThomClass principal-divisor degree. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | namespace Constructions |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientTopology.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalBoundary.Constructions |
| 22 | SchemeDivisor.Purity.Constructions Scheme.RegularSupport.Constructions |
| 23 | |
| 24 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (W : IrreducibleCloseds V.carrier) |
| 25 | |
| 26 | local instance : AlgebraicGeometry.IsNoetherian V.carrier := Foundations.Scheme.ClosedProjective.isNoetherian_of_isProper_toSpec V.structureMap |
| 27 | local instance : Smooth (Normalization.AmbientMap.Constructions.smoothNormalizationOver V W).hom := Normalization.AmbientMap.Constructions.smoothNormalization_smooth V W |
| 28 | local instance : IsFinite (Normalization.AmbientMap.Constructions.smoothNormalizationToAmbient V W).left := Normalization.AmbientMap.Constructions.smoothNormalization_finite V W |
| 29 | local instance : QuasiCompact (ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeInclusion V.toOver (Normalization.AmbientMap.Constructions.ambientOpen V W)).left := |
| 30 | inferInstanceAs (QuasiCompact (Normalization.AmbientMap.Constructions.ambientOpen V W).ι) |
| 31 | |
| 32 | /-- The original finite image in the ambient open, followed by its actual |
| 33 | reduced closure in the given projective variety. -/ |
| 34 | def imageSupport (z : {x : (Normalization.AmbientMap.Constructions.smoothNormalizationOver V W).left // Order.coheight x = 1}) : |
| 35 | IrreducibleCloseds V.carrier := |
| 36 | Scheme.OpenSupportClosure.Constructions.closureSupport |
| 37 | (ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeInclusion V.toOver (Normalization.AmbientMap.Constructions.ambientOpen V W)) |
| 38 | (Scheme.ProperSupport.Constructions.imageSupport (Normalization.AmbientMap.Constructions.smoothNormalizationToAmbient V W) |
| 39 | (SchemeDivisor.Purity.Constructions.primeSupport (Normalization.AmbientMap.Constructions.smoothNormalizationOver V W) z)) |
| 40 | |
| 41 | theorem imageSupport_dimension (z : {x : (Normalization.AmbientMap.Constructions.smoothNormalizationOver V W).left // Order.coheight x = 1}) : |
| 42 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (imageSupport V W z) V.structureMap + 1 = |
| 43 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W V.structureMap := by |
| 44 | have hc := Scheme.OpenSupportClosure.Constructions.closureSupport_dimension |
| 45 | (ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeInclusion V.toOver (Normalization.AmbientMap.Constructions.ambientOpen V W)) |
| 46 | (Scheme.ProperSupport.Constructions.imageSupport (Normalization.AmbientMap.Constructions.smoothNormalizationToAmbient V W) |
| 47 | (SchemeDivisor.Purity.Constructions.primeSupport (Normalization.AmbientMap.Constructions.smoothNormalizationOver V W) z)) |
| 48 | have hf := Integral.MapDimension.Constructions.finite_support_dimension (Normalization.AmbientMap.Constructions.smoothNormalizationToAmbient V W) |
| 49 | (SchemeDivisor.Purity.Constructions.primeSupport (Normalization.AmbientMap.Constructions.smoothNormalizationOver V W) z) |
| 50 | have hs := SchemeDivisor.Purity.Constructions.primeRegularDimension_add_one (Normalization.AmbientMap.Constructions.smoothNormalizationOver V W) z |
| 51 | rw [Scheme.RegularSupport.Constructions.regularDimension_eq] at hs |
| 52 | rw [← Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension, |
| 53 | Normalization.AmbientTopology.Constructions.smoothNormalization_dimension] at hs |
| 54 | exact (congrArg (fun d => d + 1) (hc.trans hf)).trans hs |
| 55 | |
| 56 | theorem imageSupport_codimension (z : {x : (Normalization.AmbientMap.Constructions.smoothNormalizationOver V W).left // Order.coheight x = 1}) : |
| 57 | Geometric.DimensionCycles.dimensionCodimension V (imageSupport V W z) = Geometric.DimensionCycles.dimensionCodimension V W + 1 := by |
| 58 | have hz := imageSupport_dimension V W z |
| 59 | have hi := Geometric.DimensionCycles.supportDimension_add_dimensionCodimension V (imageSupport V W z) |
| 60 | have hw := Geometric.DimensionCycles.supportDimension_add_dimensionCodimension V W |
| 61 | omega |
| 62 | |
| 63 | /-- The genuine image support, in its proved ambient principal-divisor codimension. -/ |
| 64 | def imageCycleSupport (z : {x : (Normalization.AmbientMap.Constructions.smoothNormalizationOver V W).left // Order.coheight x = 1}) : |
| 65 | Geometric.DimensionCycles.DimensionCycleSupport V (Geometric.DimensionCycles.dimensionCodimension V W + 1) := |
| 66 | ⟨imageSupport V W z, imageSupport_codimension V W z⟩ |
| 67 | |
| 68 | theorem imageSupport_genericPoint (z : {x : (Normalization.AmbientMap.Constructions.smoothNormalizationOver V W).left // Order.coheight x = 1}) : |
| 69 | irreducibleSetEquivPoints (imageSupport V W z) = (Normalization.PrincipalBoundary.Constructions.fullAmbientMap V W).left z.val := by |
| 70 | have hc := Scheme.OpenSupportClosure.Constructions.closureSupport_genericPoint |
| 71 | (ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeInclusion V.toOver (Normalization.AmbientMap.Constructions.ambientOpen V W)) |
| 72 | (Scheme.ProperSupport.Constructions.imageSupport (Normalization.AmbientMap.Constructions.smoothNormalizationToAmbient V W) |
| 73 | (SchemeDivisor.Purity.Constructions.primeSupport (Normalization.AmbientMap.Constructions.smoothNormalizationOver V W) z)) |
| 74 | have hf := Scheme.ProperSupport.Constructions.imageSupport_genericPoint (Normalization.AmbientMap.Constructions.smoothNormalizationToAmbient V W) |
| 75 | (SchemeDivisor.Purity.Constructions.primeSupport (Normalization.AmbientMap.Constructions.smoothNormalizationOver V W) z) |
| 76 | rw [hf] at hc |
| 77 | change irreducibleSetEquivPoints |
| 78 | (Scheme.OpenSupportClosure.Constructions.closureSupport (ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeInclusion V.toOver (Normalization.AmbientMap.Constructions.ambientOpen V W)) |
| 79 | (Scheme.ProperSupport.Constructions.imageSupport (Normalization.AmbientMap.Constructions.smoothNormalizationToAmbient V W) |
| 80 | (SchemeDivisor.Purity.Constructions.primeSupport (Normalization.AmbientMap.Constructions.smoothNormalizationOver V W) z))) = |
| 81 | (ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeInclusion V.toOver (Normalization.AmbientMap.Constructions.ambientOpen V W)).left ((Normalization.AmbientMap.Constructions.smoothNormalizationToAmbient V W).left z.val) |
| 82 | simpa only [SchemeDivisor.Purity.Constructions.primeSupport, OrderIso.apply_symm_apply] using hc |
| 83 | |
| 84 | /-- The residue degree is unchanged by reinserting the actual ambient open. -/ |
| 85 | theorem image_residueDegree (z : {x : (Normalization.AmbientMap.Constructions.smoothNormalizationOver V W).left // Order.coheight x = 1}) : |
| 86 | (Normalization.AmbientMap.Constructions.smoothNormalizationToAmbient V W).left.residueDegree z.val = |
| 87 | (Normalization.PrincipalBoundary.Constructions.fullAmbientMap V W).left.residueDegree z.val := |
| 88 | (ProperImage.ResidueDegree.Constructions.Construction.residueDegree_post_immersion (Normalization.AmbientMap.Constructions.smoothNormalizationToAmbient V W).left |
| 89 | (ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeInclusion V.toOver (Normalization.AmbientMap.Constructions.ambientOpen V W)).left z.val).symm |
| 90 | |
| 91 | end Constructions |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationDivisor.Image |