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.PELModuli.IntegralModel.Finite.PullbackTransport |
| 2 | |
| 3 | /-! # Maximal Finite Open -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.MaximalFiniteOpen |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every scheme morphism has a largest target open over which it is |
| 10 | finite. The finite locus is proved finite using target-locality. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 18 | |
| 19 | def maximalFiniteOpen : Y.Opens := ⨆ (U : Y.Opens) (_ : IsFinite (f ∣_ U)), U |
| 20 | |
| 21 | theorem mem_maximalFiniteOpen (y : Y) : |
| 22 | y ∈ maximalFiniteOpen f ↔ ∃ U : Y.Opens, y ∈ U ∧ IsFinite (f ∣_ U) := by |
| 23 | simp only [maximalFiniteOpen, TopologicalSpace.Opens.mem_iSup] |
| 24 | exact ⟨fun ⟨U, h, hy⟩ => ⟨U, hy, h⟩, fun ⟨U, hy, h⟩ => ⟨U, h, hy⟩⟩ |
| 25 | |
| 26 | theorem maximalFiniteOpen_restrict_isFinite : IsFinite (f ∣_ maximalFiniteOpen f) := by |
| 27 | apply IsZariskiLocalAtTarget.of_forall_exists_morphismRestrict (P := @IsFinite) |
| 28 | intro y |
| 29 | obtain ⟨U, hy, hU⟩ := (mem_maximalFiniteOpen f y.val).mp y.property |
| 30 | let := hU |
| 31 | let W := maximalFiniteOpen f |
| 32 | let V := W.ι ⁻¹ᵁ U |
| 33 | refine ⟨V, hy, ?_⟩ |
| 34 | let H := (isPullback_morphismRestrict (f ∣_ W) V).paste_vert (isPullback_morphismRestrict f W) |
| 35 | rw [← MorphismProperty.cancel_left_of_respectsIso (P := @IsFinite) H.isoPullback.inv, |
| 36 | H.isoPullback_inv_fst] |
| 37 | apply Finite.PullbackTransport.finite_pullback_fst_of_range_subset_open f U |
| 38 | rintro z ⟨t, rfl⟩ |
| 39 | exact t.property |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.MaximalFiniteOpen |