/- Copyright 2026 The Formal Conjectures Authors. The statement is adapted from FormalConjectures.Millennium.Poincare, based on Junyan Xu’s formalization in Mathlib.Geometry.Manifold.PoincareConjecture. Copyright (c) 2024 Junyan Xu. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. This file was modified. -/ import Mathlib.Geometry.Manifold.PoincareConjecture import OAI.Yamabe.ExoticSphere universe u namespace OAI.Geometry.SmoothPoincare open scoped Manifold ContDiff ContinuousMap local notation "ℝ^" n:65 => EuclideanSpace ℝ (Fin n) local macro:max "𝕊" noWs n:superscript(term) : term => `(Metric.sphere (0 : EuclideanSpace ℝ (Fin ($(⟨n.raw[0]⟩) + 1))) 1) /-- Every Hausdorff smooth manifold of dimension `n` homotopy equivalent to the standard sphere is diffeomorphic to it. -/ def SmoothConjectureFor (n : ℕ) : Prop := ∀ (M : Type u) [TopologicalSpace M] [T2Space M] [ChartedSpace (ℝ^n) M] [IsManifold (𝓡 n) ∞ M], M ≃ₕ 𝕊ⁿ → Nonempty (M ≃ₘ⟮𝓡 n, 𝓡 n⟯ 𝕊ⁿ) variable {M : Type} [TopologicalSpace M] [ChartedSpace (ℝ^4) M] /-- Pull back the charts along `ULift.down`, preserving the coordinate changes. -/ noncomputable local instance : ChartedSpace (ℝ^4) (ULift.{u} M) where atlas := Homeomorph.ulift.transOpenPartialHomeomorph '' atlas (ℝ^4) M chartAt x := Homeomorph.ulift.transOpenPartialHomeomorph (chartAt (ℝ^4) x.down) mem_chart_source x := mem_chart_source (ℝ^4) x.down chart_mem_atlas x := ⟨_, chart_mem_atlas (ℝ^4) x.down, rfl⟩ variable [IsManifold (𝓡 4) ∞ M] local instance : IsManifold (𝓡 4) ∞ (ULift.{u} M) where compatible := by rintro _ _ ⟨e, he, rfl⟩ ⟨f, hf, rfl⟩ change e.symm.trans f ∈ contDiffGroupoid ∞ (𝓡 4) exact (contDiffGroupoid ∞ (𝓡 4)).compatible he hf /-- In the lifted charts both directions of `Equiv.ulift` have the same coordinate expression as the identity of the original manifold. -/ private noncomputable def liftDiffeomorph : ULift.{u} M ≃ₘ⟮𝓡 4, 𝓡 4⟯ M where toEquiv := Equiv.ulift contMDiff_toFun x := by refine contMDiffAt_iff.mpr ⟨Homeomorph.ulift.continuous.continuousAt, ?_⟩ exact (contMDiffAt_iff.mp (contMDiffAt_id (I := 𝓡 4) (n := ∞) (x := x.down))).2 contMDiff_invFun x := by refine contMDiffAt_iff.mpr ⟨Homeomorph.ulift.symm.continuous.continuousAt, ?_⟩ exact (contMDiffAt_iff.mp (contMDiffAt_id (I := 𝓡 4) (n := ∞) (x := x))).2 /-- The smooth Poincaré conjecture fails in dimension four. -/ theorem smooth_dimension_four_false : ¬ SmoothConjectureFor.{u} 4 := by intro h obtain ⟨M, t, c, hm, ⟨e⟩, hd⟩ := Yamabe.exotic_four_sphere_exists -- The filling lives in Type, while the conjecture quantifies over Type u. let f := liftDiffeomorph.{u} (M := M) let g := f.toHomeomorph.trans e have : T2Space (ULift.{u} M) := g.symm.t2Space obtain ⟨d⟩ := h (ULift.{u} M) g.toHomotopyEquiv exact hd ⟨f.symm.trans d⟩ end OAI.Geometry.SmoothPoincare