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.Etale.Field |
| 2 | import Mathlib.RingTheory.Coalgebra.GroupLike |
| 3 | import Mathlib.LinearAlgebra.Dual.Lemmas |
| 4 | |
| 5 | /-! # Etale Coordinate Characters -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.EtaleCoordinateCharacters.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The number of coordinate characters of a finite etale Hopf algebra |
| 12 | is at most the number of its geometric points. The bound follows from |
| 13 | linear independence and the actual split-etale algebra equivalence. -/ |
| 14 | |
| 15 | universe u |
| 16 | variable (K R : Type u) [Field K] [IsAlgClosed K] [CommRing R] |
| 17 | [Algebra K R] [Module.Finite K R] [Algebra.Etale K R] |
| 18 | |
| 19 | theorem etale_finrank_le_card_algHom : Module.finrank K R ≤ Nat.card (R →ₐ[K] K) := by |
| 20 | classical |
| 21 | have : Finite (R →ₐ[K] K) := (linearIndependent_algHom_toLinearMap K R K).finite |
| 22 | have : IsArtinianRing R := isArtinian_of_tower K inferInstance |
| 23 | let := Fintype.ofFinite (PrimeSpectrum R) |
| 24 | let e := Algebra.FormallyEtale.equivPiOfIsSepClosed K R |
| 25 | let j : PrimeSpectrum R → (R →ₐ[K] K) := fun p => |
| 26 | (Pi.evalAlgHom K (fun _ : PrimeSpectrum R => K) p).comp e.toAlgHom |
| 27 | have hj : Function.Injective j := by |
| 28 | intro p q h |
| 29 | by_contra hpq |
| 30 | have hval := congrArg (fun f : R →ₐ[K] K => f (e.symm (Pi.single p 1))) h |
| 31 | change e (e.symm (Pi.single p 1)) p = e (e.symm (Pi.single p 1)) q at hval |
| 32 | rw [e.apply_symm_apply] at hval |
| 33 | simp [Ne.symm hpq] at hval |
| 34 | calc |
| 35 | Module.finrank K R = Nat.card (PrimeSpectrum R) := by |
| 36 | rw [e.toLinearEquiv.finrank_eq, Module.finrank_fintype_fun_eq_card, Nat.card_eq_fintype_card] |
| 37 | _ ≤ Nat.card (R →ₐ[K] K) := Nat.card_le_card_of_injective j hj |
| 38 | |
| 39 | variable [Coalgebra K R] |
| 40 | |
| 41 | theorem etale_coordinateCharacters_card_le_points : |
| 42 | Nat.card (GroupLike K R) ≤ Nat.card (R →ₐ[K] K) := by |
| 43 | have : Finite (GroupLike K R) := (linearIndep_groupLikeVal (R := K) (A := R)).finite |
| 44 | let := Fintype.ofFinite (GroupLike K R) |
| 45 | have h : Nat.card (GroupLike K R) ≤ Module.finrank K R := by |
| 46 | simpa only [Nat.card_eq_fintype_card] using |
| 47 | (linearIndep_groupLikeVal (R := K) (A := R)).fintype_card_le_finrank |
| 48 | exact h.trans (etale_finrank_le_card_algHom K R) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.EtaleCoordinateCharacters.Construction |