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 Mathlib.AlgebraicGeometry.Restrict |
| 2 | |
| 3 | /-! # Commuting Open Maps -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.CommutingOpenMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restricting a commuting triangle to the same target open gives |
| 10 | an actual map of the two inverse-image open schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {X Y Z : Scheme} (f : X ⟶ Y) (p : Y ⟶ Z) (q : X ⟶ Z) |
| 15 | (h : f ≫ p = q) (U : Z.Opens) |
| 16 | |
| 17 | include h in |
| 18 | theorem commutingOpenMap_preimage : q ⁻¹ᵁ U = f ⁻¹ᵁ (p ⁻¹ᵁ U) := by |
| 19 | rw [← h, Scheme.Hom.comp_preimage] |
| 20 | |
| 21 | def commutingOpenMap : (q ⁻¹ᵁ U).toScheme ⟶ (p ⁻¹ᵁ U).toScheme := |
| 22 | f.resLE (p ⁻¹ᵁ U) (q ⁻¹ᵁ U) (commutingOpenMap_preimage f p q h U).le |
| 23 | |
| 24 | theorem commutingOpenMap_ι : commutingOpenMap f p q h U ≫ (p ⁻¹ᵁ U).ι = (q ⁻¹ᵁ U).ι ≫ f := |
| 25 | Scheme.Hom.resLE_comp_ι _ _ |
| 26 | |
| 27 | theorem commutingOpenMap_projection : commutingOpenMap f p q h U ≫ p ∣_ U = q ∣_ U := by |
| 28 | apply (cancel_mono U.ι).mp |
| 29 | rw [Category.assoc, morphismRestrict_ι, ← Category.assoc, commutingOpenMap_ι, |
| 30 | Category.assoc, h, morphismRestrict_ι] |
| 31 | |
| 32 | theorem commutingOpenMap_isPullback : |
| 33 | IsPullback (commutingOpenMap f p q h U) (q ⁻¹ᵁ U).ι (p ⁻¹ᵁ U).ι f := by |
| 34 | have he := commutingOpenMap_preimage f p q h U |
| 35 | have H (V : X.Opens) (he : V = f ⁻¹ᵁ (p ⁻¹ᵁ U)) : |
| 36 | IsPullback (f.resLE (p ⁻¹ᵁ U) V he.le) V.ι (p ⁻¹ᵁ U).ι f := by |
| 37 | subst V |
| 38 | simpa only [Scheme.Hom.resLE_eq_morphismRestrict] using isPullback_morphismRestrict f (p ⁻¹ᵁ U) |
| 39 | exact H _ he |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.RepresentationTheory.Theta.Geometric.CommutingOpenMaps |