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.RingTheory.Ideal.Cotangent |
| 2 | import Mathlib.RingTheory.Ideal.Maps |
| 3 | |
| 4 | /-! # Cotangent Algebra Equiv -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.CotangentAlgebraEquiv.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual ideal cotangent modules transport through algebra equivalences. -/ |
| 11 | |
| 12 | variable {k R S : Type*} [CommRing k] [CommRing R] [CommRing S] [Algebra k R] [Algebra k S] |
| 13 | |
| 14 | def idealCotangentAlgEquiv (e : R ≃ₐ[k] S) (I : Ideal R) (J : Ideal S) (h : I.map e.toRingHom = J) : |
| 15 | I.Cotangent ≃ₗ[k] J.Cotangent := by |
| 16 | have hf : I ≤ J.comap e.toRingHom := (Ideal.map_le_iff_le_comap).mp h.le |
| 17 | have hg : J ≤ I.comap e.symm.toRingHom := by |
| 18 | intro x hx |
| 19 | have hm : e.symm x ∈ (I.map e.toRingHom).comap e.toRingHom := by |
| 20 | change e (e.symm x) ∈ I.map e.toRingHom |
| 21 | rwa [e.apply_symm_apply, h] |
| 22 | rw [Ideal.comap_map_of_bijective e.toRingHom e.bijective] at hm |
| 23 | exact hm |
| 24 | refine { |
| 25 | __ := Ideal.mapCotangent I J e.toAlgHom hf |
| 26 | invFun := Ideal.mapCotangent J I e.symm.toAlgHom hg |
| 27 | left_inv := ?_ |
| 28 | right_inv := ?_ } |
| 29 | · intro x |
| 30 | obtain ⟨x, rfl⟩ := I.toCotangent_surjective x |
| 31 | change I.toCotangent ⟨e.symm (e x.val), hg (hf x.property)⟩ = I.toCotangent x |
| 32 | apply congrArg I.toCotangent |
| 33 | exact Subtype.ext (e.symm_apply_apply x.val) |
| 34 | · intro x |
| 35 | obtain ⟨x, rfl⟩ := J.toCotangent_surjective x |
| 36 | change J.toCotangent ⟨e (e.symm x.val), hf (hg x.property)⟩ = J.toCotangent x |
| 37 | apply congrArg J.toCotangent |
| 38 | exact Subtype.ext (e.apply_symm_apply x.val) |
| 39 | |
| 40 | theorem idealCotangentAlgEquiv_toCotangent (e : R ≃ₐ[k] S) (I : Ideal R) (J : Ideal S) |
| 41 | (h : I.map e.toRingHom = J) (x : I) : |
| 42 | idealCotangentAlgEquiv e I J h (I.toCotangent x) = |
| 43 | J.toCotangent ⟨e x.val, h ▸ Ideal.mem_map_of_mem e.toRingHom x.property⟩ := rfl |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.Resolution.Blowups.CotangentAlgebraEquiv.Construction |