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.AbelianModuli.ReferenceFamily.EtaleTransitionDerivation |
| 2 | import Mathlib.RingTheory.RingHom.Etale |
| 3 | |
| 4 | /-! # Etale Hom Derivation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EtaleHomDerivation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Derivation restriction along a specified etale algebra map keeps |
| 13 | the original coefficient algebra structures and the literal map. -/ |
| 14 | |
| 15 | variable {k A B : Type*} [CommRing k] [CommRing A] [CommRing B] [Algebra k A] [Algebra k B] |
| 16 | |
| 17 | def etaleAlgHomDerivationLinear (q : A →ₐ[k] B) (hq : q.toRingHom.Etale) : |
| 18 | Derivation k A A →ₗ[k] Derivation k B B := by |
| 19 | let : Algebra A B := q.toRingHom.toAlgebra |
| 20 | let : IsScalarTower k A B := IsScalarTower.of_algebraMap_eq (fun c => (q.commutes c).symm) |
| 21 | have : Algebra.Etale A B := hq |
| 22 | exact EtaleTransitionDerivation.etaleTransitionDerivationLinear |
| 23 | |
| 24 | theorem etaleAlgHomDerivationLinear_map (q : A →ₐ[k] B) (hq : q.toRingHom.Etale) |
| 25 | (d : Derivation k A A) (a : A) : |
| 26 | etaleAlgHomDerivationLinear q hq d (q a) = q (d a) := by |
| 27 | let : Algebra A B := q.toRingHom.toAlgebra |
| 28 | let : IsScalarTower k A B := IsScalarTower.of_algebraMap_eq (fun c => (q.commutes c).symm) |
| 29 | have : Algebra.Etale A B := hq |
| 30 | exact EtaleTransitionDerivation.etaleTransitionDerivation_algebraMap d a |
| 31 | |
| 32 | theorem etaleAlgHomDerivationLinear_unique (q : A →ₐ[k] B) (hq : q.toRingHom.Etale) |
| 33 | (d : Derivation k A A) (e : Derivation k B B) (h : ∀ a, e (q a) = q (d a)) : |
| 34 | e = etaleAlgHomDerivationLinear q hq d := by |
| 35 | let : Algebra A B := q.toRingHom.toAlgebra |
| 36 | let : IsScalarTower k A B := IsScalarTower.of_algebraMap_eq (fun c => (q.commutes c).symm) |
| 37 | have : Algebra.Etale A B := hq |
| 38 | exact EtaleTransitionDerivation.etaleTransitionDerivation_unique d e h |
| 39 | |
| 40 | end |
| 41 | |
| 42 | /-! Etale derivation restriction respects identities and composition. -/ |
| 43 | |
| 44 | variable {k A B C : Type*} [CommRing k] [CommRing A] [CommRing B] [CommRing C] |
| 45 | [Algebra k A] [Algebra k B] [Algebra k C] |
| 46 | |
| 47 | theorem etaleAlgHomDerivationLinear_id (h : (AlgHom.id k A).toRingHom.Etale) : |
| 48 | etaleAlgHomDerivationLinear (AlgHom.id k A) h = LinearMap.id := by |
| 49 | apply LinearMap.ext |
| 50 | intro d |
| 51 | exact (etaleAlgHomDerivationLinear_unique (AlgHom.id k A) h d d (fun _ => rfl)).symm |
| 52 | |
| 53 | theorem etaleAlgHomDerivationLinear_comp (q : A →ₐ[k] B) (r : B →ₐ[k] C) |
| 54 | (hq : q.toRingHom.Etale) (hr : r.toRingHom.Etale) (hrq : (r.comp q).toRingHom.Etale) : |
| 55 | etaleAlgHomDerivationLinear (r.comp q) hrq = |
| 56 | (etaleAlgHomDerivationLinear r hr).comp (etaleAlgHomDerivationLinear q hq) := by |
| 57 | apply LinearMap.ext |
| 58 | intro d |
| 59 | apply Eq.symm |
| 60 | apply etaleAlgHomDerivationLinear_unique (r.comp q) hrq |
| 61 | intro a |
| 62 | change etaleAlgHomDerivationLinear r hr (etaleAlgHomDerivationLinear q hq d) (r (q a)) = r (q (d a)) |
| 63 | rw [etaleAlgHomDerivationLinear_map, etaleAlgHomDerivationLinear_map] |
| 64 | |
| 65 | theorem etaleAlgHomDerivationLinear_congr (q r : A →ₐ[k] B) |
| 66 | (hq : q.toRingHom.Etale) (hr : r.toRingHom.Etale) (h : q = r) : |
| 67 | etaleAlgHomDerivationLinear q hq = etaleAlgHomDerivationLinear r hr := by |
| 68 | subst r |
| 69 | rfl |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EtaleHomDerivation |