import PL1.LatticeDefinitions import Mathlib.Analysis.Normed.Lp.lpSpace import Mathlib.Analysis.RCLike.Basic import Mathlib.MeasureTheory.Function.LpSpace.Basic import Mathlib.MeasureTheory.Measure.Lebesgue.Basic import Mathlib.MeasureTheory.VectorMeasure.Variation.Basic import Mathlib.MeasureTheory.Integral.Bochner.Basic import Mathlib.Topology.Algebra.Module.ContinuousLinearMap.Idempotent import Mathlib.LinearAlgebra.FiniteDimensional.Defs /-! # Definitions for Theorems A and B of the updated PL1 paper All function and sequence spaces are standard Mathlib Lp/lp spaces. No abstract placeholder substitutes for the actual interval L1, continuous dual, range, or bounded inverse. RNP is given its vector-measure definition, not replaced by a single representability test or the Schur property. -/ noncomputable section universe u v w open Filter MeasureTheory Module open scoped Topology ENNReal namespace PL1 /-- Lebesgue measure restricted to [0,1]. Outside values are ignored modulo a.e. equality. Mathlib's a.e.-strongly-measurable Lp construction also accommodates completed-measure representatives. -/ def intervalMeasure : Measure ℝ := volume.restrict (Set.Icc (0 : ℝ) 1) /-- Genuine interval L1 with its integral norm. -/ abbrev IntervalL1 (π•œ : Type*) [RCLike π•œ] := Lp π•œ 1 intervalMeasure /-- Standard scalar square-summable sequence space over β„•. -/ abbrev Ell2 (π•œ : Type*) [RCLike π•œ] := lp (fun _ : β„• => π•œ) 2 /-- Standard scalar absolutely summable sequence space over β„•. -/ abbrev Ell1 (π•œ : Type*) [RCLike π•œ] := lp (fun _ : β„• => π•œ) 1 /-- Updated bound claimed in both main theorems; no optimality is asserted. -/ def projectionBound : ℝ := 4 + 3 * Real.sqrt 2 /-- The same normed additive group with its scalar action restricted to ℝ. This makes every use of the underlying real space explicit. -/ abbrev UnderlyingReal (π•œ : Type*) [RCLike π•œ] (E : Type*) [NormedAddCommGroup E] [NormedSpace π•œ E] := RestrictScalars ℝ π•œ E /-- Register scalar restriction on the explicit type alias. This uses the original norm and restricts only the scalar action. -/ instance underlyingRealNormedSpace (π•œ : Type*) [RCLike π•œ] (E : Type*) [NormedAddCommGroup E] [NormedSpace π•œ E] : NormedSpace ℝ (UnderlyingReal π•œ E) := NormedSpace.restrictScalars ℝ π•œ E section WeakConvergence variable (π•œ : Type*) [RCLike π•œ] variable (E : Type*) [NormedAddCommGroup E] [NormedSpace π•œ E] /-- Weak convergence tested against the entire continuous dual over π•œ. -/ def WeaklyConverges (x : β„• β†’ E) (a : E) : Prop := βˆ€ Ο† : E β†’L[π•œ] π•œ, Tendsto (fun n => Ο† (x n)) atTop (𝓝 (Ο† a)) /-- Weak sequential convergence implies convergence in the given norm. -/ def HasSchurProperty : Prop := βˆ€ (x : β„• β†’ E) (a : E), WeaklyConverges π•œ E x a β†’ Tendsto x atTop (𝓝 a) variable {π•œ E} variable {F : Type*} [NormedAddCommGroup F] [NormedSpace π•œ F] /-- Dunford–Pettis OPERATOR, or completely continuous operator. The all-convergent-sequences formulation is equivalent to the weak-null formulation in the paper, by subtracting the limit. -/ def IsDunfordPettis (T : E β†’L[π•œ] F) : Prop := βˆ€ (x : β„• β†’ E) (a : E), WeaklyConverges π•œ E x a β†’ Tendsto (fun n => T (x n)) atTop (𝓝 (T a)) /-- Boundedness is already contained in the continuous-linear-map type. -/ def IsProjection (P : E β†’L[π•œ] E) : Prop := P.comp P = P end WeakConvergence /-- An isomorphic copy is a closed subspace and a bounded linear equivalence onto it with bounded inverse. An injective continuous linear map alone would not express this condition. -/ def ContainsIsomorphicCopy (π•œ : Type*) [RCLike π•œ] (D : Type*) [NormedAddCommGroup D] [NormedSpace π•œ D] (E : Type*) [NormedAddCommGroup E] [NormedSpace π•œ E] : Prop := βˆƒ V : Submodule π•œ E, IsClosed (V : Set E) ∧ Nonempty (D ≃L[π•œ] V) /-- The standard vector-measure Radon–Nikodym property. For EVERY finite measure space and EVERY countably additive vector measure of finite total variation vanishing on measure-zero measurable sets, there is a Bochner-integrable density giving its value on every measurable set. The source measurable spaces range over Type v; this universe is independent of the target space's universe. It is explicit in statement inspection. The property uses the underlying real scalar action, as does Bochner integration; the same definition applies to the underlying real space of a complex space. -/ def HasRadonNikodymProperty (E : Type u) [NormedAddCommGroup E] [NormedSpace ℝ E] : Prop := βˆ€ (Ξ© : Type v) (mΞ© : MeasurableSpace Ξ©), letI := mΞ© βˆ€ ΞΌ : Measure Ξ©, ΞΌ Set.univ < ∞ β†’ βˆ€ Ξ½ : VectorMeasure Ξ© E, Ξ½.variation Set.univ < ∞ β†’ (βˆ€ A : Set Ξ©, MeasurableSet A β†’ ΞΌ A = 0 β†’ Ξ½ A = 0) β†’ βˆƒ g : Ξ© β†’ E, Integrable g ΞΌ ∧ βˆ€ A : Set Ξ©, MeasurableSet A β†’ Ξ½ A = ∫ x in A, g x βˆ‚ΞΌ end PL1