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.DivisorClass.Chern.FramesFrame |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Basic |
| 3 | |
| 4 | /-! # Tensor Frames -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.TensorFrames.Projective |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Rank-one tensor frames and their genuine transition units. -/ |
| 11 | |
| 12 | open OAI.AlgebraicGeometry.DivisorClass.Chern.FramesFrame.Construction |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | variable {R M N : Type*} [CommRing R] |
| 16 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 17 | |
| 18 | /-- The local frame of a tensor product is the product of the two coordinates. -/ |
| 19 | def tensorFrame (e : M ≃ₗ[R] R) (f : N ≃ₗ[R] R) : M ⊗[R] N ≃ₗ[R] R := |
| 20 | (TensorProduct.congr e f).trans (TensorProduct.lid R R) |
| 21 | |
| 22 | @[simp] theorem tensorFrame_tmul (e : M ≃ₗ[R] R) (f : N ≃ₗ[R] R) (x : M) (y : N) : |
| 23 | tensorFrame e f (x ⊗ₜ[R] y) = e x * f y := by |
| 24 | simp [tensorFrame] |
| 25 | |
| 26 | theorem tensorFrame_symm_one (e : M ≃ₗ[R] R) (f : N ≃ₗ[R] R) : |
| 27 | (tensorFrame e f).symm 1 = e.symm 1 ⊗ₜ[R] f.symm 1 := by |
| 28 | apply (tensorFrame e f).injective |
| 29 | simp |
| 30 | |
| 31 | /-- Changing the two local frames multiplies their transition units. -/ |
| 32 | theorem tensorFrame_transition (e e' : M ≃ₗ[R] R) (f f' : N ≃ₗ[R] R) : |
| 33 | DivisorClass.Chern.FramesFrame.Construction.frameTransitionUnit (tensorFrame e f) (tensorFrame e' f') = |
| 34 | DivisorClass.Chern.FramesFrame.Construction.frameTransitionUnit e e' * DivisorClass.Chern.FramesFrame.Construction.frameTransitionUnit f f' := by |
| 35 | apply Units.ext |
| 36 | change tensorFrame e f ((tensorFrame e' f').symm 1) = |
| 37 | e (e'.symm 1) * f (f'.symm 1) |
| 38 | rw [tensorFrame_symm_one, tensorFrame_tmul] |
| 39 | |
| 40 | /-- Multiplication of transition units only requires the coordinate formula |
| 41 | on pure tensors, so it also applies after sheafification. -/ |
| 42 | theorem frameTransitionUnit_of_product_coordinates |
| 43 | {T : Type*} [AddCommGroup T] [Module R T] |
| 44 | (E F : T ≃ₗ[R] R) (e e' : M ≃ₗ[R] R) (f f' : N ≃ₗ[R] R) |
| 45 | (t : M → N → T) |
| 46 | (hE : ∀ m n, E (t m n) = e m * f n) |
| 47 | (hF : ∀ m n, F (t m n) = e' m * f' n) : |
| 48 | DivisorClass.Chern.FramesFrame.Construction.frameTransitionUnit E F = DivisorClass.Chern.FramesFrame.Construction.frameTransitionUnit e e' * DivisorClass.Chern.FramesFrame.Construction.frameTransitionUnit f f' := by |
| 49 | have ht : t (e'.symm 1) (f'.symm 1) = F.symm 1 := by |
| 50 | apply F.injective |
| 51 | rw [hF, e'.apply_symm_apply, f'.apply_symm_apply, one_mul, F.apply_symm_apply] |
| 52 | apply Units.ext |
| 53 | change E (F.symm 1) = e (e'.symm 1) * f (f'.symm 1) |
| 54 | rw [← ht, hE] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.SheafCohomology.TensorFrames.Projective |