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.CoverUnitBaseChange |
| 2 | |
| 3 | /-! # Relation Cover -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.RelationCover |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Relation-invariant affine covers away from one coefficient become |
| 10 | actual invariant covers whenever that coefficient becomes a unit. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | theorem baseChange_point_avoids_unit {R R' : Type} [CommRing R] [CommRing R'] |
| 15 | (φ : R →+* R') (r : R) (hr : IsUnit (φ r)) (X : Over (Spec (.of R))) |
| 16 | (x : ((Over.pullback (Spec.map (CommRingCat.ofHom φ))).obj X).left) : |
| 17 | r ∉ (X.hom (pullback.fst X.hom (Spec.map (CommRingCat.ofHom φ)) x)).asIdeal := by |
| 18 | let b := Spec.map (CommRingCat.ofHom φ) |
| 19 | intro h |
| 20 | have he : X.hom (pullback.fst X.hom b x) = b (pullback.snd X.hom b x) := |
| 21 | congrArg (fun f : ((Over.pullback b).obj X).left ⟶ Spec (.of R) => f x) pullback.condition |
| 22 | have h' : φ r ∈ (pullback.snd X.hom b x).asIdeal := |
| 23 | (congrArg (fun p : Spec (.of R) => r ∈ p.asIdeal) he).mp h |
| 24 | exact (pullback.snd X.hom b x).isPrime.ne_top |
| 25 | ((pullback.snd X.hom b x).asIdeal.eq_top_of_isUnit_mem h' hr) |
| 26 | |
| 27 | theorem relation_affine_cover_baseChange_of_unit |
| 28 | {R R' : Type} [CommRing R] [CommRing R'] {I : Type} |
| 29 | (X Z : Over (Spec (.of R))) (a b : Z ⟶ X) (V : I → X.left.Opens) (r : R) |
| 30 | (hV : ∀ i, IsAffineOpen (V i)) |
| 31 | (hcover : ∀ x : X.left, r ∉ (X.hom x).asIdeal → ∃ i, x ∈ V i) |
| 32 | (hInv : ∀ i (z : Z.left), r ∉ (Z.hom z).asIdeal → (a.left z ∈ V i ↔ b.left z ∈ V i)) |
| 33 | (φ : R →+* R') (hunit : IsUnit (φ r)) : |
| 34 | let c := Spec.map (CommRingCat.ofHom φ) |
| 35 | let q := pullback.fst X.hom c |
| 36 | (∀ i, IsAffineOpen (q ⁻¹ᵁ V i)) ∧ (⨆ i, q ⁻¹ᵁ V i) = ⊤ ∧ |
| 37 | (∀ i, ((Over.pullback c).map a).left ⁻¹ᵁ (q ⁻¹ᵁ V i) = |
| 38 | ((Over.pullback c).map b).left ⁻¹ᵁ (q ⁻¹ᵁ V i)) := by |
| 39 | let c := Spec.map (CommRingCat.ofHom φ) |
| 40 | let q := pullback.fst X.hom c |
| 41 | let qZ := pullback.fst Z.hom c |
| 42 | have : IsAffineHom q := MorphismProperty.of_isPullback |
| 43 | (IsPullback.of_hasPullback X.hom c).flip (inferInstanceAs (IsAffineHom c)) |
| 44 | refine ⟨fun i => (hV i).preimage q, ?_, ?_⟩ |
| 45 | · apply top_le_iff.mp |
| 46 | intro x _ |
| 47 | obtain ⟨i, hi⟩ := hcover (q x) (baseChange_point_avoids_unit φ r hunit X x) |
| 48 | exact Opens.mem_iSup.mpr ⟨i, hi⟩ |
| 49 | · intro i |
| 50 | ext z |
| 51 | have hm (f : Z ⟶ X) : q (((Over.pullback c).map f).left z) = f.left (qZ z) := |
| 52 | congrArg (fun f : ((Over.pullback c).obj Z).left ⟶ X.left => f z) (pullback.lift_fst _ _ _) |
| 53 | change q (((Over.pullback c).map a).left z) ∈ V i ↔ q (((Over.pullback c).map b).left z) ∈ V i |
| 54 | rw [hm a, hm b] |
| 55 | exact hInv i (qZ z) (baseChange_point_avoids_unit φ r hunit Z z) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.RelationCover |