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.Comparison.Betti.Laurent.SectorCochainProduct |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.SupportedCochainContraction |
| 3 | |
| 4 | /-! # Sector Proper Support Contraction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.SectorProperSupportContraction.Dolbeault |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A simultaneous contraction of every proper Laurent support, with its fixed holomorphic coefficients. -/ |
| 11 | |
| 12 | open OAI.AlgebraicGeometry.Comparison.Betti.SupportedCochainContraction.Cech |
| 13 | |
| 14 | variable {ι : Type} [Fintype ι] [DecidableEq ι] |
| 15 | |
| 16 | local instance supportCochains_addZeroClass (V : Type) [AddCommGroup V] |
| 17 | (J : Finset ι) (q : ℕ) : AddZeroClass (SupportedCochains.Cech.supportedCechCochains V J q) := by |
| 18 | infer_instance |
| 19 | |
| 20 | local instance properSupportCoefficients_addCommGroup (J : Finset ι) (d : ℤ) : |
| 21 | AddCommGroup ↥(HomogeneousSectorSingle.Dolbeault.homogeneousSectorCoefficients J d) := Submodule.addCommGroup _ |
| 22 | |
| 23 | local instance properSupportCochains_addCommGroup (d : ℤ) (q : ℕ) (J : Finset ι) : |
| 24 | AddCommGroup (Laurent.SectorCochainProduct.Dolbeault.homogeneousSectorSupportedCochains d q J) := AddSubgroup.toAddCommGroup _ |
| 25 | |
| 26 | omit [DecidableEq ι] in |
| 27 | theorem properSupport_exists_index (J : Finset ι) (hJ : J ≠ Finset.univ) : ∃ i, i ∉ J := by |
| 28 | by_contra h |
| 29 | apply hJ |
| 30 | apply Finset.ext |
| 31 | intro i |
| 32 | constructor |
| 33 | · intro _ |
| 34 | exact Finset.mem_univ i |
| 35 | · intro _ |
| 36 | by_contra hi |
| 37 | exact h ⟨i, hi⟩ |
| 38 | |
| 39 | def properSupportAnchor (J : Finset ι) (hJ : J ≠ Finset.univ) : ι := |
| 40 | Classical.choose (properSupport_exists_index J hJ) |
| 41 | |
| 42 | omit [DecidableEq ι] in |
| 43 | theorem properSupportAnchor_not_mem (J : Finset ι) (hJ : J ≠ Finset.univ) : |
| 44 | properSupportAnchor J hJ ∉ J := Classical.choose_spec (properSupport_exists_index J hJ) |
| 45 | |
| 46 | def sectorProperSupportPrimitive (d : ℤ) (q : ℕ) |
| 47 | (z : ∀ J : Finset ι, Laurent.SectorCochainProduct.Dolbeault.homogeneousSectorSupportedCochains d (q + 1) J) : |
| 48 | ∀ J : Finset ι, Laurent.SectorCochainProduct.Dolbeault.homogeneousSectorSupportedCochains d q J := fun J => |
| 49 | if hJ : J = Finset.univ then 0 else |
| 50 | SupportedCochainContraction.Cech.supportedCechContraction J (properSupportAnchor J hJ) (properSupportAnchor_not_mem J hJ) q (z J) |
| 51 | |
| 52 | def sectorFullSupportPart (d : ℤ) (q : ℕ) |
| 53 | (z : ∀ J : Finset ι, Laurent.SectorCochainProduct.Dolbeault.homogeneousSectorSupportedCochains d q J) : |
| 54 | ∀ J : Finset ι, Laurent.SectorCochainProduct.Dolbeault.homogeneousSectorSupportedCochains d q J := fun J => |
| 55 | if J = Finset.univ then z J else 0 |
| 56 | |
| 57 | theorem sectorProperSupportPrimitive_homotopy (d : ℤ) (q : ℕ) |
| 58 | (z : ∀ J : Finset ι, Laurent.SectorCochainProduct.Dolbeault.homogeneousSectorSupportedCochains d (q + 1) J) (J : Finset ι) : |
| 59 | SupportedCochains.Cech.supportedCechDifferential J q (sectorProperSupportPrimitive d q z J) + |
| 60 | sectorProperSupportPrimitive d (q + 1) |
| 61 | (fun K => SupportedCochains.Cech.supportedCechDifferential K (q + 1) (z K)) J = |
| 62 | z J - sectorFullSupportPart d (q + 1) z J := by |
| 63 | by_cases hJ : J = Finset.univ |
| 64 | · simp only [sectorProperSupportPrimitive, sectorFullSupportPart, dite_eq_left hJ, ite_eq_left hJ, |
| 65 | map_zero, add_zero, sub_self] |
| 66 | · simp only [sectorProperSupportPrimitive, sectorFullSupportPart, dite_eq_right hJ, ite_eq_right hJ, sub_zero] |
| 67 | exact SupportedCochainContraction.Cech.supportedCechContraction_homotopy J (properSupportAnchor J hJ) |
| 68 | (properSupportAnchor_not_mem J hJ) q (z J) |
| 69 | |
| 70 | theorem sectorProperSupportPrimitive_cycle (d : ℤ) (q : ℕ) |
| 71 | (z : ∀ J : Finset ι, Laurent.SectorCochainProduct.Dolbeault.homogeneousSectorSupportedCochains d (q + 1) J) |
| 72 | (hz : ∀ J, SupportedCochains.Cech.supportedCechDifferential J (q + 1) (z J) = 0) (J : Finset ι) : |
| 73 | SupportedCochains.Cech.supportedCechDifferential J q (sectorProperSupportPrimitive d q z J) + |
| 74 | sectorFullSupportPart d (q + 1) z J = z J := by |
| 75 | by_cases hJ : J = Finset.univ |
| 76 | · simp only [sectorProperSupportPrimitive, sectorFullSupportPart, dite_eq_left hJ, ite_eq_left hJ, |
| 77 | map_zero, zero_add] |
| 78 | · simpa only [sectorProperSupportPrimitive, sectorFullSupportPart, dite_eq_right hJ, ite_eq_right hJ, |
| 79 | add_zero] using (SupportedCochainContraction.Cech.supportedCechContraction_cycle |
| 80 | (V := ↥(HomogeneousSectorSingle.Dolbeault.homogeneousSectorCoefficients J d)) J (properSupportAnchor J hJ) |
| 81 | (properSupportAnchor_not_mem J hJ) q (z J) (hz J)) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.Comparison.Betti.SectorProperSupportContraction.Dolbeault |