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.HilbertConstruction.Residue.Matrix |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BasisSplitCoordinate |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Linear.MapBlocks |
| 4 | |
| 5 | /-! # Gaussian Step -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.GaussianStep.LocalSectionLifting |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A nonzero residue differential has an invertible summand that can be cancelled. -/ |
| 12 | |
| 13 | variable {R M N ι κ : Type*} [CommRing R] |
| 14 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 15 | [Fintype ι] [Fintype κ] |
| 16 | (bM : Module.Basis ι R M) (bN : Module.Basis κ R N) (f : M →ₗ[R] N) (i : ι) (j : κ) |
| 17 | |
| 18 | def basisBlockDifferential : (({l : ι // l ≠ i} → R) × R) →ₗ[R] |
| 19 | (({l : κ // l ≠ j} → R) × R) := |
| 20 | (BasisSplitCoordinate.LocalSectionLifting.basisSplitCoordinate bN j).toLinearMap.comp |
| 21 | (f.comp (BasisSplitCoordinate.LocalSectionLifting.basisSplitCoordinate bM i).symm.toLinearMap) |
| 22 | |
| 23 | theorem basisBlockDifferential_scalar (r : R) : |
| 24 | (basisBlockDifferential bM bN f i j (0, r)).2 = r * bN.repr (f (bM i)) j := by |
| 25 | change (BasisSplitCoordinate.LocalSectionLifting.basisSplitCoordinate bN j (f ((BasisSplitCoordinate.LocalSectionLifting.basisSplitCoordinate bM i).symm (0, r)))).2 = _ |
| 26 | rw [BasisSplitCoordinate.LocalSectionLifting.basisSplitCoordinate_symm_scalar, BasisSplitCoordinate.LocalSectionLifting.basisSplitCoordinate_scalar, map_smul, map_smul] |
| 27 | rfl |
| 28 | |
| 29 | theorem basisBlockDifferential_eq_blocks (h : IsUnit (bN.repr (f (bM i)) j)) : |
| 30 | basisBlockDifferential bM bN f i j = |
| 31 | ComplexGaussian.LocalSectionLifting.blockDifferential (Linear.MapBlocks.LocalSectionLifting.linearMapBlock00 (basisBlockDifferential bM bN f i j)) |
| 32 | (Linear.MapBlocks.LocalSectionLifting.linearMapBlock01 (basisBlockDifferential bM bN f i j)) |
| 33 | (Linear.MapBlocks.LocalSectionLifting.linearMapBlock10 (basisBlockDifferential bM bN f i j)) |
| 34 | (LinearEquiv.smulOfUnit h.unit : R ≃ₗ[R] R) := by |
| 35 | apply Linear.MapBlocks.LocalSectionLifting.linearMap_eq_blocks |
| 36 | intro r |
| 37 | rw [basisBlockDifferential_scalar] |
| 38 | change r * bN.repr (f (bM i)) j = (h.unit : R) * r |
| 39 | rw [h.unit_spec, mul_comm] |
| 40 | |
| 41 | theorem exists_gaussian_step_of_unit_coefficient (h : IsUnit (bN.repr (f (bM i)) j)) : |
| 42 | ∃ (eM : (({l : ι // l ≠ i} → R) × R) ≃ₗ[R] M) |
| 43 | (eN : N ≃ₗ[R] (({l : κ // l ≠ j} → R) × R)) |
| 44 | (f' : ({l : ι // l ≠ i} → R) →ₗ[R] ({l : κ // l ≠ j} → R)) |
| 45 | (d : R ≃ₗ[R] R), |
| 46 | ∀ x, eN (f (eM x)) = (f' x.1, d x.2) := by |
| 47 | let F := basisBlockDifferential bM bN f i j |
| 48 | let a := Linear.MapBlocks.LocalSectionLifting.linearMapBlock00 F |
| 49 | let b := Linear.MapBlocks.LocalSectionLifting.linearMapBlock01 F |
| 50 | let c := Linear.MapBlocks.LocalSectionLifting.linearMapBlock10 F |
| 51 | let d : R ≃ₗ[R] R := LinearEquiv.smulOfUnit h.unit |
| 52 | let eM := (ComplexGaussian.LocalSectionLifting.blockSourceShear c d).trans (BasisSplitCoordinate.LocalSectionLifting.basisSplitCoordinate bM i).symm |
| 53 | let eN := (BasisSplitCoordinate.LocalSectionLifting.basisSplitCoordinate bN j).trans (ComplexGaussian.LocalSectionLifting.blockTargetShear b d) |
| 54 | refine ⟨eM, eN, ComplexGaussian.LocalSectionLifting.schurDifferential a b c d, d, ?_⟩ |
| 55 | intro x |
| 56 | change ComplexGaussian.LocalSectionLifting.blockTargetShear b d (F (ComplexGaussian.LocalSectionLifting.blockSourceShear c d x)) = _ |
| 57 | have hF : F = ComplexGaussian.LocalSectionLifting.blockDifferential a b c d := basisBlockDifferential_eq_blocks bM bN f i j h |
| 58 | rw [hF] |
| 59 | exact ComplexGaussian.LocalSectionLifting.blockDifferential_normal_form a b c d x |
| 60 | |
| 61 | include bM bN in |
| 62 | theorem exists_gaussian_step_of_residue_ne_zero [IsLocalRing R] |
| 63 | (hf : f.baseChange (IsLocalRing.ResidueField R) ≠ 0) : |
| 64 | ∃ (i : ι) (j : κ) |
| 65 | (eM : (({l : ι // l ≠ i} → R) × R) ≃ₗ[R] M) |
| 66 | (eN : N ≃ₗ[R] (({l : κ // l ≠ j} → R) × R)) |
| 67 | (f' : ({l : ι // l ≠ i} → R) →ₗ[R] ({l : κ // l ≠ j} → R)) |
| 68 | (d : R ≃ₗ[R] R), |
| 69 | ∀ x, eN (f (eM x)) = (f' x.1, d x.2) := by |
| 70 | obtain ⟨i, j, hij⟩ := Residue.Matrix.LocalSectionLifting.exists_unit_matrix_coefficient_of_residue_ne_zero bM bN f hf |
| 71 | exact ⟨i, j, exists_gaussian_step_of_unit_coefficient bM bN f i j hij⟩ |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.GaussianStep.LocalSectionLifting |