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.Resolution.Blowups.Mixed.CoordinateBoundaryFamily |
| 2 | |
| 3 | /-! # Coordinate Boundary Model -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Mixed.CoordinateBoundaryModel.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Full coordinate boundary models for a center meeting some old components transversely. -/ |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | variable {σ k S : Type u} {ι : Type v} [DecidableEq σ] [Fintype σ] [Field k] [CommRing S] |
| 14 | [Algebra (MvPolynomial σ k) S] [Algebra.Etale (MvPolynomial σ k) S] |
| 15 | [Algebra k S] [IsScalarTower k (MvPolynomial σ k) S] |
| 16 | |
| 17 | attribute [local instance] Relative.DifferentialBlowup.Construction.blowupRelativeBaseAlgebra Blowup.Overlap.Construction.blowupOverlapBaseAlgebra |
| 18 | |
| 19 | /-- A coordinate-compatible center preserves the whole coordinate |
| 20 | boundary, including components outside the center coordinate set, on |
| 21 | the actual common open chart of any original denominator. -/ |
| 22 | def mixedCoordinateBoundaryModel (C : Finset σ) |
| 23 | (a : Blowups.Etale.CoefficientStep.Construction.etaleCoordinateIdeal (K := k) (S := S) C) (e : ι ↪ σ) (i : C) : |
| 24 | Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k (Coordinate.BlowupOverlap.Construction.coordinateBlowupOverlap C a i) (Option ι) |
| 25 | (fun j => Blowup.ChartOverlap.Construction.blowupChartOverlapLeft _ a (Blowups.Etale.CoefficientStep.Construction.etaleCoordinateElement C i) |
| 26 | (CoordinateBoundaryFamily.Construction.mixedCoordinateBoundaryFamily C a e j)) := by |
| 27 | let u := Blowup.ChartOverlap.Construction.blowupChartOverlapLeft _ a (Blowups.Etale.CoefficientStep.Construction.etaleCoordinateElement C i) |
| 28 | (ExceptionalIdeal.Construction.blowupChartRatio _ a (Blowups.Etale.CoefficientStep.Construction.etaleCoordinateElement C i)) |
| 29 | let v := Blowup.ChartOverlap.Construction.blowupChartOverlapRight _ a (Blowups.Etale.CoefficientStep.Construction.etaleCoordinateElement C i) |
| 30 | (ExceptionalIdeal.Construction.blowupChartRatio _ (Blowups.Etale.CoefficientStep.Construction.etaleCoordinateElement C i) a) |
| 31 | refine { indices := σ |
| 32 | finite := inferInstance |
| 33 | decidableEq := inferInstance |
| 34 | map := Coordinate.BlowupOverlap.Construction.coordinateBlowupOverlapMap C a i |
| 35 | etale := Coordinate.BlowupOverlap.Construction.coordinateBlowupOverlapMap_etale C a i |
| 36 | ground := Coordinate.BlowupOverlap.Construction.coordinateBlowupOverlapMap_ground C a i |
| 37 | coordinate := Boundary.BlowupCoordinateLabels.Construction.blownBoundaryCoordinate e i.val |
| 38 | distinct := Boundary.BlowupCoordinateLabels.Construction.blownBoundaryCoordinate_distinct e i.val |
| 39 | multiplier := fun j => match j with | none => v | some l => if e l ∈ C then u else 1 |
| 40 | multiplierUnit := ?_ |
| 41 | equation := ?_ } |
| 42 | · intro j |
| 43 | cases j with |
| 44 | | none => exact Blowup.OverlapTransitions.Construction.blowupChartOverlapRight_ratio_isUnit _ a (Blowups.Etale.CoefficientStep.Construction.etaleCoordinateElement C i) |
| 45 | | some j => |
| 46 | by_cases hj : e j ∈ C |
| 47 | · simpa only [ite_eq_left hj] using Blowup.OverlapTransitions.Construction.blowupChartOverlapLeft_ratio_isUnit _ a (Blowups.Etale.CoefficientStep.Construction.etaleCoordinateElement C i) |
| 48 | · simp only [ite_eq_right hj, isUnit_one] |
| 49 | · intro j |
| 50 | cases j with |
| 51 | | none => exact Coordinate.BlowupOverlap.Construction.coordinateBlowupOverlap_exceptional C a i |
| 52 | | some j => |
| 53 | by_cases hj : e j ∈ C |
| 54 | · simp only [CoordinateBoundaryFamily.Construction.mixedCoordinateBoundaryFamily, dite_eq_left hj, ite_eq_left hj, Boundary.BlowupCoordinateLabels.Construction.blownBoundaryCoordinate] |
| 55 | by_cases hji : e j = i.val |
| 56 | · simpa only [ite_eq_left hji] using |
| 57 | Coordinate.BlowupOverlap.Construction.coordinateBlowupOverlap_boundary C a i ⟨e j, hj⟩ |
| 58 | · simpa only [ite_eq_right hji] using |
| 59 | Coordinate.BlowupOverlap.Construction.coordinateBlowupOverlap_boundary C a i ⟨e j, hj⟩ |
| 60 | · have hji : e j ≠ i.val := fun h => hj (h ▸ i.property) |
| 61 | simp only [CoordinateBoundaryFamily.Construction.mixedCoordinateBoundaryFamily, dite_eq_right hj, ite_eq_right hj, |
| 62 | Boundary.BlowupCoordinateLabels.Construction.blownBoundaryCoordinate, ite_eq_right hji] |
| 63 | rw [one_mul (Coordinate.BlowupOverlap.Construction.coordinateBlowupOverlapMap C a i (MvPolynomial.X (e j)))] |
| 64 | exact Coordinate.OverlapOutsideBoundary.Construction.coordinateBlowupOverlap_outside_boundary C a i (e j) hj |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Resolution.Blowups.Mixed.CoordinateBoundaryModel.Construction |