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.FormalGeometry.Completion.Proper.ProductOpen |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.Tube |
| 3 | |
| 4 | /-! # Product Rigidity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.ProductRigidity.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: local rigidity for a proper integral geometric factor |
| 12 | |
| 13 | If one fiber of a map from X × Y lies in an affine target open, properness |
| 14 | gives a base neighborhood with the same property. The proved calculation |
| 15 | of global functions then makes the map factor through that neighborhood. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable {K : Type u} [Field K] [IsAlgClosed K] {X Y Z : Scheme.{u}} |
| 26 | (p : X ⟶ Spec (CommRingCat.of K)) [IsIntegral X] [IsProper p] |
| 27 | (q : Y ⟶ Spec (CommRingCat.of K)) |
| 28 | (e : Spec (CommRingCat.of K) ⟶ X) (he : e ≫ p = 𝟙 _) |
| 29 | |
| 30 | /-- A fiber whose image lies in an affine open has a base neighborhood on which the map |
| 31 | is independent of the proper factor. -/ |
| 32 | theorem properProduct_rigidity_neighborhood (f : pullback p q ⟶ Z) |
| 33 | (y : Y) (V : Z.Opens) (hV : IsAffineOpen V) |
| 34 | (hy : ∀ t : (pullback p q : Scheme.{u}), pullback.snd p q t = y → f t ∈ V) : |
| 35 | ∃ U : Y.Opens, y ∈ U ∧ IsAffineOpen U ∧ |
| 36 | ProductOpen.Construction.properProductOpenMap p q U ≫ f = |
| 37 | pullback.snd p (U.ι ≫ q) ≫ U.ι ≫ AffineBaseChange.Construction.properProductSection p q e he ≫ f := by |
| 38 | let B := Tube.Construction.properTubeOpen (pullback.snd p q) f V |
| 39 | have hyB : y ∈ B := Tube.Construction.mem_properTubeOpen (pullback.snd p q) f V y hy |
| 40 | obtain ⟨_, ⟨U₀, hU, rfl⟩, hyU, hUB⟩ := |
| 41 | Y.isBasis_affineOpens.exists_subset_of_mem_open hyB B.isOpen |
| 42 | let U : Y.Opens := U₀ |
| 43 | have : IsAffine U.toScheme := hU |
| 44 | have : IsAffine V.toScheme := hV |
| 45 | let g := ProductOpen.Construction.properProductOpenMap p q U ≫ f |
| 46 | have hg : Set.range g ⊆ Set.range V.ι := by |
| 47 | rintro _ ⟨t, rfl⟩ |
| 48 | rw [Scheme.Opens.range_ι] |
| 49 | apply Tube.Construction.properTubeOpen_preimage_le (pullback.snd p q) f V |
| 50 | change pullback.snd p q (ProductOpen.Construction.properProductOpenMap p q U t) ∈ B |
| 51 | rw [← Scheme.Hom.comp_apply, ProductOpen.Construction.properProductOpenMap_snd, Scheme.Hom.comp_apply] |
| 52 | exact hUB (pullback.snd p (U.ι ≫ q) t).property |
| 53 | let gV : pullback p (U.ι ≫ q) ⟶ V.toScheme := IsOpenImmersion.lift V.ι g hg |
| 54 | have hgV : gV ≫ V.ι = g := IsOpenImmersion.lift_fac V.ι g hg |
| 55 | have hc := congrArg (fun k => k ≫ V.ι) |
| 56 | (AffineBaseChange.Construction.properIntegral_product_to_affine p (U.ι ≫ q) e he gV) |
| 57 | simp only [Category.assoc, hgV] at hc |
| 58 | refine ⟨U, hyU, hU, ?_⟩ |
| 59 | change g = _ |
| 60 | rw [hc] |
| 61 | change pullback.snd p (U.ι ≫ q) ≫ |
| 62 | AffineBaseChange.Construction.properProductSection p (U.ι ≫ q) e he ≫ ProductOpen.Construction.properProductOpenMap p q U ≫ f = _ |
| 63 | rw [← Category.assoc (AffineBaseChange.Construction.properProductSection p (U.ι ≫ q) e he), |
| 64 | ProductOpen.Construction.properProductSection_open, Category.assoc] |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.ProductRigidity.Construction |