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.ProductConstancy |
| 2 | |
| 3 | /-! # Product Axis -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.ProductAxis.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Completion: the first product axis is the actual fiber at a section |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {S : Scheme.{u}} (A B : Over S) (b : S ⟶ B.left) (hb : b ≫ B.hom = 𝟙 _) |
| 21 | |
| 22 | /-- The first product axis determined by the section of the second factor. -/ |
| 23 | def properProductFirstAxisOver : A ⟶ ProductConstancy.Construction.properProductOver A B := |
| 24 | Over.homMk (pullback.lift (𝟙 A.left) (A.hom ≫ b) (by simp [Category.assoc, hb])) (by |
| 25 | simp [ProductConstancy.Construction.properProductOver, Category.assoc, hb]) |
| 26 | |
| 27 | @[reassoc (attr := simp)] |
| 28 | theorem properProductFirstAxis_fst : (properProductFirstAxisOver A B b hb).left ≫ |
| 29 | pullback.fst A.hom B.hom = 𝟙 A.left := pullback.lift_fst _ _ _ |
| 30 | |
| 31 | @[reassoc (attr := simp)] |
| 32 | theorem properProductFirstAxis_snd : (properProductFirstAxisOver A B b hb).left ≫ |
| 33 | pullback.snd A.hom B.hom = A.hom ≫ b := pullback.lift_snd _ _ _ |
| 34 | |
| 35 | /-- The axis is the fiber product above the section of the second factor. -/ |
| 36 | theorem properProductFirstAxis_isPullback : |
| 37 | IsPullback (properProductFirstAxisOver A B b hb).left A.hom |
| 38 | (pullback.snd A.hom B.hom) b := by |
| 39 | apply IsPullback.of_right (h₁₂ := pullback.fst A.hom B.hom) |
| 40 | (v₁₃ := A.hom) (h₂₂ := B.hom) |
| 41 | _ (properProductFirstAxis_snd A B b hb) (IsPullback.of_hasPullback A.hom B.hom) |
| 42 | rw [properProductFirstAxis_fst, hb] |
| 43 | exact IsPullback.of_id_fst |
| 44 | |
| 45 | /-- The image of the axis is exactly the fiber over the image of the section. -/ |
| 46 | theorem properProductFirstAxis_range : |
| 47 | Set.range (properProductFirstAxisOver A B b hb).left = |
| 48 | (pullback.snd A.hom B.hom) ⁻¹' Set.range b := by |
| 49 | let h := properProductFirstAxis_isPullback A B b hb |
| 50 | rw [← h.isoPullback_hom_fst, Scheme.Hom.comp_base, TopCat.coe_comp, |
| 51 | Set.range_comp, h.isoPullback.hom.surjective.range_eq, Set.image_univ, |
| 52 | Scheme.Pullback.range_fst] |
| 53 | rfl |
| 54 | |
| 55 | variable {K : Type u} [Field K] (A B Z : Over (Spec (CommRingCat.of K))) |
| 56 | (e : Spec (CommRingCat.of K) ⟶ A.left) (he : e ≫ A.hom = 𝟙 _) |
| 57 | (b : Spec (CommRingCat.of K) ⟶ B.left) (hb : b ≫ B.hom = 𝟙 _) |
| 58 | |
| 59 | /-- Equality along the actual first axis makes the constancy locus nonempty. -/ |
| 60 | theorem properProductConstancySet_nonempty_of_firstAxis |
| 61 | (f : ProductConstancy.Construction.properProductOver A B ⟶ Z) |
| 62 | (h : properProductFirstAxisOver A B b hb ≫ f = |
| 63 | properProductFirstAxisOver A B b hb ≫ ProductConstancy.Construction.properProductConstantMap A B Z e he f) : |
| 64 | (ProductConstancy.Construction.properProductConstancySet A B Z e he f).Nonempty := by |
| 65 | let x : Spec (CommRingCat.of K) := Nonempty.some inferInstance |
| 66 | refine ⟨b x, (ProductConstancy.Construction.mem_properProductConstancySet A B Z e he f (b x)).mpr ?_⟩ |
| 67 | intro t ht |
| 68 | have ht' : t ∈ Set.range (properProductFirstAxisOver A B b hb).left := by |
| 69 | rw [properProductFirstAxis_range] |
| 70 | exact ⟨x, ht.symm⟩ |
| 71 | obtain ⟨a, rfl⟩ := ht' |
| 72 | refine ⟨(equalizer.lift (properProductFirstAxisOver A B b hb) h).left a, ?_⟩ |
| 73 | exact congrArg (fun k : A ⟶ ProductConstancy.Construction.properProductOver A B => k.left a) |
| 74 | (equalizer.lift_ι (properProductFirstAxisOver A B b hb) h) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.ProductAxis.Construction |