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.Quotients.FiniteDescent.ProductBaseAxes |
| 2 | import Mathlib.AlgebraicGeometry.PullbackCarrier |
| 3 | |
| 4 | /-! # Product Base Opens -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductBaseOpens |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Affine rectangles and the open sets on the two axes commute with |
| 11 | the actual product base-change maps. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace Construction.ProductBaseChangeOpens |
| 20 | |
| 21 | variable {X Y S X' Y' T : Scheme.{u}} |
| 22 | variable (f : X ⟶ S) (g : Y ⟶ S) (f' : X' ⟶ T) (g' : Y' ⟶ T) |
| 23 | variable (p : X' ⟶ X) (q : Y' ⟶ Y) (t : T ⟶ S) |
| 24 | variable (hp : IsPullback p f' f t) (hq : IsPullback q g' g t) |
| 25 | |
| 26 | theorem rectangle (U : X.Opens) (V : Y.Opens) : |
| 27 | ProductBaseLift.Construction.ProductBaseChangeSquare.map f g f' g' p q t hp hq ⁻¹ᵁ |
| 28 | (pullback.fst f g ⁻¹ᵁ U ⊓ pullback.snd f g ⁻¹ᵁ V) = |
| 29 | pullback.fst f' g' ⁻¹ᵁ (p ⁻¹ᵁ U) ⊓ pullback.snd f' g' ⁻¹ᵁ (q ⁻¹ᵁ V) := by |
| 30 | have he₁ : ProductBaseLift.Construction.ProductBaseChangeSquare.map f g f' g' p q t hp hq ≫ pullback.fst f g = |
| 31 | pullback.fst f' g' ≫ p := by |
| 32 | exact pullback.lift_fst _ _ _ |
| 33 | have he₂ : ProductBaseLift.Construction.ProductBaseChangeSquare.map f g f' g' p q t hp hq ≫ pullback.snd f g = |
| 34 | pullback.snd f' g' ≫ q := by |
| 35 | exact pullback.lift_snd _ _ _ |
| 36 | change (ProductBaseLift.Construction.ProductBaseChangeSquare.map f g f' g' p q t hp hq ≫ pullback.fst f g) ⁻¹ᵁ U ⊓ |
| 37 | (ProductBaseLift.Construction.ProductBaseChangeSquare.map f g f' g' p q t hp hq ≫ pullback.snd f g) ⁻¹ᵁ V = _ |
| 38 | rw [he₁, he₂] |
| 39 | rfl |
| 40 | |
| 41 | omit hp hq in |
| 42 | theorem left (s : S ⟶ Y) (hs : s ≫ g = 𝟙 _) (U : X.Opens) (V : Y.Opens) |
| 43 | (hV : ⊤ ≤ s ⁻¹ᵁ V) : U ≤ ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g s hs ⁻¹ᵁ |
| 44 | (pullback.fst f g ⁻¹ᵁ U ⊓ pullback.snd f g ⁻¹ᵁ V) := by |
| 45 | have he₁ : ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g s hs ≫ pullback.fst f g = 𝟙 X := |
| 46 | pullback.lift_fst _ _ _ |
| 47 | have he₂ : ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g s hs ≫ pullback.snd f g = f ≫ s := |
| 48 | pullback.lift_snd _ _ _ |
| 49 | change U ≤ (ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g s hs ≫ pullback.fst f g) ⁻¹ᵁ U ⊓ |
| 50 | (ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g s hs ≫ pullback.snd f g) ⁻¹ᵁ V |
| 51 | rw [he₁, he₂] |
| 52 | intro x hx |
| 53 | exact ⟨hx, hV (show f x ∈ (⊤ : S.Opens) from trivial)⟩ |
| 54 | |
| 55 | omit hp hq in |
| 56 | theorem right (s : S ⟶ X) (hs : s ≫ f = 𝟙 _) (U : X.Opens) (V : Y.Opens) |
| 57 | (hU : ⊤ ≤ s ⁻¹ᵁ U) : V ≤ ProductBaseAxes.Construction.ProductBaseChangeAxes.right f g s hs ⁻¹ᵁ |
| 58 | (pullback.fst f g ⁻¹ᵁ U ⊓ pullback.snd f g ⁻¹ᵁ V) := by |
| 59 | have he₁ : ProductBaseAxes.Construction.ProductBaseChangeAxes.right f g s hs ≫ pullback.fst f g = g ≫ s := |
| 60 | pullback.lift_fst _ _ _ |
| 61 | have he₂ : ProductBaseAxes.Construction.ProductBaseChangeAxes.right f g s hs ≫ pullback.snd f g = 𝟙 Y := |
| 62 | pullback.lift_snd _ _ _ |
| 63 | change V ≤ (ProductBaseAxes.Construction.ProductBaseChangeAxes.right f g s hs ≫ pullback.fst f g) ⁻¹ᵁ U ⊓ |
| 64 | (ProductBaseAxes.Construction.ProductBaseChangeAxes.right f g s hs ≫ pullback.snd f g) ⁻¹ᵁ V |
| 65 | rw [he₁, he₂] |
| 66 | intro y hy |
| 67 | exact ⟨hU (show g y ∈ (⊤ : S.Opens) from trivial), hy⟩ |
| 68 | |
| 69 | end Construction.ProductBaseChangeOpens |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductBaseOpens |