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.HilbertScheme.Presentations.Grassmannian.Incidence |
| 2 | |
| 3 | /-! # Schur Cokernel -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.SchurCokernel.Grassmannian |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An invertible pivot block gives a concrete cokernel presentation by its Schur complement, over arbitrary coefficient rings. -/ |
| 10 | |
| 11 | universe u v w z t |
| 12 | |
| 13 | variable {R : Type u} [CommRing R] |
| 14 | variable {V : Type v} [AddCommGroup V] [Module R V] |
| 15 | variable {W : Type w} [AddCommGroup W] [Module R W] |
| 16 | variable {V' : Type z} [AddCommGroup V'] [Module R V'] |
| 17 | variable {W' : Type t} [AddCommGroup W'] [Module R W'] |
| 18 | |
| 19 | def schurComplement (A : V ≃ₗ[R] V') (B : W →ₗ[R] V') |
| 20 | (C : V →ₗ[R] W') (D : W →ₗ[R] W') : W →ₗ[R] W' := |
| 21 | D - C.comp (A.symm.toLinearMap.comp B) |
| 22 | |
| 23 | def schurProjection (A : V ≃ₗ[R] V') (C : V →ₗ[R] W') : V' × W' →ₗ[R] W' := |
| 24 | LinearMap.snd R V' W' - C.comp (A.symm.toLinearMap.comp (LinearMap.fst R V' W')) |
| 25 | |
| 26 | theorem schurProjection_apply (A : V ≃ₗ[R] V') (C : V →ₗ[R] W') (x : V' × W') : |
| 27 | schurProjection A C x = x.2 - C (A.symm x.1) := rfl |
| 28 | |
| 29 | theorem schurProjection_block (A : V ≃ₗ[R] V') (B : W →ₗ[R] V') |
| 30 | (C : V →ₗ[R] W') (D : W →ₗ[R] W') (x : V × W) : |
| 31 | schurProjection A C (Grassmannian.Incidence.blockLinearMap A.toLinearMap B C D x) = schurComplement A B C D x.2 := by |
| 32 | change C x.1 + D x.2 - C (A.symm (A x.1 + B x.2)) = D x.2 - C (A.symm (B x.2)) |
| 33 | rw [map_add, LinearEquiv.symm_apply_apply, map_add] |
| 34 | abel |
| 35 | |
| 36 | theorem schurProjection_surjective (A : V ≃ₗ[R] V') (C : V →ₗ[R] W') : |
| 37 | Function.Surjective (schurProjection A C) := by |
| 38 | intro w |
| 39 | exact ⟨(0, w), by simp [schurProjection_apply]⟩ |
| 40 | |
| 41 | theorem schurProjection_preimage_range (A : V ≃ₗ[R] V') (B : W →ₗ[R] V') |
| 42 | (C : V →ₗ[R] W') (D : W →ₗ[R] W') : |
| 43 | (schurComplement A B C D).range.comap (schurProjection A C) = |
| 44 | (Grassmannian.Incidence.blockLinearMap A.toLinearMap B C D).range := by |
| 45 | ext x |
| 46 | constructor |
| 47 | · rintro ⟨w, hw⟩ |
| 48 | refine ⟨(A.symm (x.1 - B w), w), ?_⟩ |
| 49 | apply Prod.ext |
| 50 | · change A (A.symm (x.1 - B w)) + B w = x.1 |
| 51 | rw [LinearEquiv.apply_symm_apply, sub_add_cancel] |
| 52 | · change C (A.symm (x.1 - B w)) + D w = x.2 |
| 53 | change D w - C (A.symm (B w)) = x.2 - C (A.symm x.1) at hw |
| 54 | rw [map_sub, map_sub] |
| 55 | calc |
| 56 | C (A.symm x.1) - C (A.symm (B w)) + D w = |
| 57 | (D w - C (A.symm (B w))) + C (A.symm x.1) := by abel |
| 58 | _ = x.2 := by rw [hw, sub_add_cancel] |
| 59 | · rintro ⟨y, rfl⟩ |
| 60 | exact ⟨y.2, (schurProjection_block A B C D y).symm⟩ |
| 61 | |
| 62 | def schurCokernelMap (A : V ≃ₗ[R] V') (B : W →ₗ[R] V') |
| 63 | (C : V →ₗ[R] W') (D : W →ₗ[R] W') : |
| 64 | V' × W' →ₗ[R] W' ⧸ (schurComplement A B C D).range := |
| 65 | (schurComplement A B C D).range.mkQ.comp (schurProjection A C) |
| 66 | |
| 67 | theorem schurCokernelMap_kernel (A : V ≃ₗ[R] V') (B : W →ₗ[R] V') |
| 68 | (C : V →ₗ[R] W') (D : W →ₗ[R] W') : |
| 69 | (schurCokernelMap A B C D).ker = (Grassmannian.Incidence.blockLinearMap A.toLinearMap B C D).range := by |
| 70 | rw [schurCokernelMap, LinearMap.ker_comp, Submodule.ker_mkQ] |
| 71 | exact schurProjection_preimage_range A B C D |
| 72 | |
| 73 | def schurCokernelEquiv (A : V ≃ₗ[R] V') (B : W →ₗ[R] V') |
| 74 | (C : V →ₗ[R] W') (D : W →ₗ[R] W') : |
| 75 | ((V' × W') ⧸ (Grassmannian.Incidence.blockLinearMap A.toLinearMap B C D).range) ≃ₗ[R] |
| 76 | W' ⧸ (schurComplement A B C D).range := |
| 77 | (Submodule.quotEquivOfEq _ _ (schurCokernelMap_kernel A B C D).symm).trans |
| 78 | ((schurCokernelMap A B C D).quotKerEquivOfSurjective |
| 79 | ((schurComplement A B C D).range.mkQ_surjective.comp (schurProjection_surjective A C))) |
| 80 | |
| 81 | theorem schur_zero_exact (A : V ≃ₗ[R] V') (B : W →ₗ[R] V') |
| 82 | (C : V →ₗ[R] W') (D : W →ₗ[R] W') (h : schurComplement A B C D = 0) : |
| 83 | Function.Exact (Grassmannian.Incidence.blockLinearMap A.toLinearMap B C D) (schurProjection A C) := by |
| 84 | apply LinearMap.exact_iff.mpr |
| 85 | have he := schurProjection_preimage_range A B C D |
| 86 | rw [h, LinearMap.range_zero] at he |
| 87 | exact he |
| 88 | |
| 89 | def schurZeroCokernelEquiv (A : V ≃ₗ[R] V') (B : W →ₗ[R] V') |
| 90 | (C : V →ₗ[R] W') (D : W →ₗ[R] W') (h : schurComplement A B C D = 0) : |
| 91 | ((V' × W') ⧸ (Grassmannian.Incidence.blockLinearMap A.toLinearMap B C D).range) ≃ₗ[R] W' := |
| 92 | (Submodule.quotEquivOfEq _ _ (LinearMap.exact_iff.mp (schur_zero_exact A B C D h)).symm).trans |
| 93 | ((schurProjection A C).quotKerEquivOfSurjective (schurProjection_surjective A C)) |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.SchurCokernel.Grassmannian |