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.Product.SupportTo |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.ComponentDimension |
| 3 | |
| 4 | /-! # Support Codimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportCodimension.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Codimensions of genuine reduced product supports add, with dimensions |
| 11 | measured in the actual containing components even for disconnected schemes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportScheme.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportTo.Constructions.Dimension OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportTo.Constructions.PresentationMap |
| 16 | Open.ComponentDimension.Constructions Scheme.ProductDimension.Constructions Scheme.ProductIntegral.Constructions |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | local instance (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) : LocallyOfFiniteType X.toOver.hom := |
| 22 | inferInstanceAs (LocallyOfFiniteType X.structureMap) |
| 23 | |
| 24 | local instance (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : IsIntegral V.toOver.left := |
| 25 | inferInstanceAs (IsIntegral V.carrier) |
| 26 | |
| 27 | theorem support_dimension_le_component (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 28 | (A : IrreducibleCloseds X.carrier) : |
| 29 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension A X.structureMap ≤ |
| 30 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (X.componentVariety (X.supportComponent A)).structureMap := by |
| 31 | let C := X.supportComponent A |
| 32 | let W := X.componentSupportPreimage C A (X.support_subset_component A) |
| 33 | have h := X.componentSupportImage_transcendenceDimension C W |
| 34 | have he : X.componentSupportImage C W = A := X.componentSupportImage_preimage C A _ |
| 35 | rw [he] at h |
| 36 | exact h.trans_le (Foundations.Scheme.SupportDimension.supportTranscendenceDimension_le W (X.componentVariety C).structureMap) |
| 37 | |
| 38 | variable (X Y Z : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 39 | (πX : Z.toOver ⟶ X.toOver) (πY : Z.toOver ⟶ Y.toOver) |
| 40 | (hprod : IsLimit (BinaryFan.mk πX πY)) |
| 41 | (A : IrreducibleCloseds X.carrier) (B : IrreducibleCloseds Y.carrier) |
| 42 | |
| 43 | theorem product_support_component_dimension : |
| 44 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (Z.componentVariety (Z.supportComponent |
| 45 | (SupportScheme.Constructions.productIrreducibleSupport X.toOver Y.toOver A B Z.toOver πX πY hprod))).structureMap = |
| 46 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (X.componentVariety (X.supportComponent A)).structureMap + |
| 47 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (Y.componentVariety (Y.supportComponent B)).structureMap := by |
| 48 | let C := X.supportComponent A |
| 49 | let D := Y.supportComponent B |
| 50 | let U := (X.componentVariety C).toOver |
| 51 | let V := (Y.componentVariety D).toOver |
| 52 | let i : U ⟶ X.toOver := Over.homMk (X.componentInclusion C) (X.componentInclusion_over C) |
| 53 | let j : V ⟶ Y.toOver := Over.homMk (Y.componentInclusion D) (Y.componentInclusion_over D) |
| 54 | let : IsIntegral U.left := inferInstanceAs (IsIntegral (X.componentVariety C).carrier) |
| 55 | let : IsIntegral V.left := inferInstanceAs (IsIntegral (Y.componentVariety D).carrier) |
| 56 | let : LocallyOfFiniteType U.hom := inferInstanceAs (LocallyOfFiniteType (X.componentVariety C).structureMap) |
| 57 | let : LocallyOfFiniteType V.hom := inferInstanceAs (LocallyOfFiniteType (Y.componentVariety D).structureMap) |
| 58 | let : IsOpenImmersion i.left := inferInstanceAs (IsOpenImmersion (X.componentInclusion C)) |
| 59 | let : IsOpenImmersion j.left := inferInstanceAs (IsOpenImmersion (Y.componentInclusion D)) |
| 60 | let := Scheme.ProductIntegral.Constructions.schemeProduct_isIntegral U V |
| 61 | let m := SupportTo.Constructions.PresentationMap.productPresentationMap X.toOver Y.toOver Z.toOver πX πY hprod U V i j |
| 62 | have hS : (SupportScheme.Constructions.productIrreducibleSupport X.toOver Y.toOver A B Z.toOver πX πY hprod : Set Z.toOver.left) ⊆ |
| 63 | Set.range m := by |
| 64 | rw [SupportScheme.Constructions.productIrreducibleSupport_coe, SupportTo.Constructions.PresentationMap.productPresentationMap_range] |
| 65 | change πX.left ⁻¹' (A : Set X.carrier) ∩ πY.left ⁻¹' (B : Set Y.carrier) ⊆ |
| 66 | πX.left ⁻¹' Set.range (X.componentInclusion C) ∩ πY.left ⁻¹' Set.range (Y.componentInclusion D) |
| 67 | rw [X.componentInclusion_range C, Y.componentInclusion_range D] |
| 68 | exact Set.inter_subset_inter (Set.preimage_mono (X.support_subset_component A)) |
| 69 | (Set.preimage_mono (Y.support_subset_component B)) |
| 70 | have h := Open.ComponentDimension.Constructions.component_dimension_of_open_integral_neighborhood Z |
| 71 | (SupportScheme.Constructions.productIrreducibleSupport X.toOver Y.toOver A B Z.toOver πX πY hprod) m hS |
| 72 | have hb : m ≫ Z.structureMap = pullback.fst U.hom V.hom ≫ U.hom := |
| 73 | SupportTo.Constructions.PresentationMap.productPresentationMap_base X.toOver Y.toOver Z.toOver πX πY hprod U V i j |
| 74 | rw [hb] at h |
| 75 | exact h.trans (Scheme.ProductDimension.Constructions.schemeProduct_dimension U V) |
| 76 | |
| 77 | theorem productIrreducibleSupport_codimension : |
| 78 | Z.supportCodimension (SupportScheme.Constructions.productIrreducibleSupport X.toOver Y.toOver A B Z.toOver πX πY hprod) = |
| 79 | X.supportCodimension A + Y.supportCodimension B := by |
| 80 | unfold Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.supportCodimension |
| 81 | rw [product_support_component_dimension X Y Z πX πY hprod A B] |
| 82 | have hd := SupportTo.Constructions.Dimension.productIrreducibleSupport_dimension X.toOver Y.toOver A B Z.toOver πX πY hprod |
| 83 | change Foundations.Scheme.SupportDimension.supportTranscendenceDimension |
| 84 | (SupportScheme.Constructions.productIrreducibleSupport X.toOver Y.toOver A B Z.toOver πX πY hprod) Z.structureMap = |
| 85 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension A X.structureMap + Foundations.Scheme.SupportDimension.supportTranscendenceDimension B Y.structureMap at hd |
| 86 | rw [hd] |
| 87 | have ha := support_dimension_le_component X A |
| 88 | have hb := support_dimension_le_component Y B |
| 89 | omega |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportCodimension.Constructions |