Buckets:
| import OAI.Algebra.OrderedStates.RationalCone | |
| import Lean.Elab.Tactic.Omega | |
| import Mathlib.Algebra.Group.Hom.Defs | |
| import Mathlib.Algebra.Group.Prod | |
| import Mathlib.Algebra.Group.Submonoid.Basic | |
| import Mathlib.Algebra.Order.Group.Defs | |
| import Mathlib.Algebra.Order.Monoid.Defs | |
| import Mathlib.Algebra.Order.Monoid.Unbundled.Pow | |
| import Mathlib.Basic.Real.Basic | |
| import Mathlib.Order.Antisymmetrization | |
| import Mathlib.Tactic.Abel | |
| namespace OAI | |
| noncomputable section | |
| /-! Catalytic orders, ordered group completion, and normalized semigroup states. -/ | |
| namespace Kaplansky | |
| section | |
| variable {S : Type*} [AddCommMonoid S] [PartialOrder S] [IsOrderedAddMonoid S] | |
| /-- An order compression of successive multiples iterates without any | |
| cancellation assumption. -/ | |
| theorem nsmul_compression_iterate (u : S) (m : ℕ) | |
| (h : (m+1) • u ≤ m • u) : ∀ k : ℕ, (m+k) • u ≤ m • u := by | |
| intro k | |
| induction k with | |
| | zero => simp | |
| | succ k ih => | |
| calc | |
| (m+(k+1)) • u = (m+k) • u + u := by simp only [← Nat.add_assoc, add_nsmul, one_nsmul] | |
| _ ≤ m • u + u := add_le_add ih le_rfl | |
| _ = (m+1) • u := by simp only [add_nsmul, one_nsmul] | |
| _ ≤ m • u := h | |
| /-- The ordered-semigroup arithmetic used in MR Theorem 2.3: if a larger | |
| multiple of the unit is below a smaller one, some positive multiple is | |
| properly infinite in the semigroup sense. No Cuntz correspondence is assumed. -/ | |
| theorem nsmul_compression_doubles (u : S) (hu : 0 ≤ u) {m n : ℕ} | |
| (hmn : m < n) (h : n • u ≤ m • u) : | |
| ∃ k : ℕ, 0 < k ∧ (2*k) • u ≤ k • u := by | |
| have hstep : (m+1) • u ≤ m • u := | |
| (nsmul_le_nsmul_left hu (by omega)).trans h | |
| by_cases hm : m = 0 | |
| · subst m | |
| have hu0 : u ≤ 0 := by simpa only [Nat.zero_add, one_nsmul, zero_nsmul] using hstep | |
| refine ⟨1,by omega,?_⟩ | |
| simpa only [Nat.mul_one, two_nsmul, one_nsmul, add_zero] using add_le_add le_rfl hu0 | |
| · refine ⟨m,by omega,?_⟩ | |
| simpa [Nat.two_mul] using nsmul_compression_iterate u m hstep m | |
| /-- Absence of a properly infinite positive multiple makes the ordinary | |
| natural multiples of the unit order-reflecting. This is the first | |
| semigroup step toward quasitrace existence, not that existence theorem. -/ | |
| theorem nsmul_unit_order_iff (u : S) (hu : 0 ≤ u) | |
| (hfinite : ∀ k : ℕ, 0 < k → ¬ (2*k) • u ≤ k • u) (m n : ℕ) : | |
| m • u ≤ n • u ↔ m ≤ n := by | |
| constructor | |
| · intro h | |
| by_contra hmn | |
| obtain ⟨k,hk,hk'⟩ := nsmul_compression_doubles u hu (by omega : n < m) h | |
| exact hfinite k hk hk' | |
| · exact nsmul_le_nsmul_left hu | |
| /-- The ordinary cyclic additive submonoid generated by the order unit. -/ | |
| def unitCyclicMonoid (u : S) : AddSubmonoid S where | |
| carrier := Set.range (fun n : ℕ => n • u) | |
| zero_mem' := ⟨0,zero_nsmul u⟩ | |
| add_mem' := by | |
| rintro a b ⟨m,rfl⟩ ⟨n,rfl⟩ | |
| exact ⟨m+n,add_nsmul u m n⟩ | |
| def cyclicIndex (u : S) (v : unitCyclicMonoid u) : ℕ := v.property.choose | |
| omit [PartialOrder S] [IsOrderedAddMonoid S] in | |
| theorem cyclicIndex_spec (u : S) (v : unitCyclicMonoid u) : | |
| cyclicIndex u v • u = v.val := v.property.choose_spec | |
| theorem unit_nsmul_injective (u : S) (hu : 0 ≤ u) | |
| (hf : ∀ k : ℕ, 0 < k → ¬ (2*k) • u ≤ k • u) : | |
| Function.Injective (fun n : ℕ => n • u) := by | |
| intro m n h | |
| apply Nat.le_antisymm | |
| · exact (nsmul_unit_order_iff u hu hf m n).mp h.le | |
| · exact (nsmul_unit_order_iff u hu hf n m).mp h.symm.le | |
| def cyclicUnitState (u : S) (hu : 0 ≤ u) | |
| (hf : ∀ k : ℕ, 0 < k → ¬ (2*k) • u ≤ k • u) : unitCyclicMonoid u →+ ℝ where | |
| toFun v := (cyclicIndex u v : ℝ) | |
| map_zero' := by | |
| have hz : cyclicIndex u 0 = 0 := unit_nsmul_injective u hu hf | |
| (by simpa using cyclicIndex_spec u 0) | |
| simp [hz] | |
| map_add' a b := by | |
| have he : cyclicIndex u (a+b) = cyclicIndex u a + cyclicIndex u b := by | |
| apply unit_nsmul_injective u hu hf | |
| change cyclicIndex u (a+b) • u = (cyclicIndex u a + cyclicIndex u b) • u | |
| rw [cyclicIndex_spec, add_nsmul, cyclicIndex_spec, cyclicIndex_spec] | |
| rfl | |
| simp [he] | |
| theorem cyclicUnitState_nsmul (u : S) (hu : 0 ≤ u) | |
| (hf : ∀ k : ℕ, 0 < k → ¬ (2*k) • u ≤ k • u) (n : ℕ) : | |
| cyclicUnitState u hu hf ⟨n • u,⟨n,rfl⟩⟩ = (n : ℝ) := by | |
| change (cyclicIndex u ⟨n • u,⟨n,rfl⟩⟩ : ℝ) = n | |
| exact congrArg Nat.cast (unit_nsmul_injective u hu hf (cyclicIndex_spec u _)) | |
| theorem cyclicUnitState_monotone (u : S) (hu : 0 ≤ u) | |
| (hf : ∀ k : ℕ, 0 < k → ¬ (2*k) • u ≤ k • u) : | |
| Monotone (cyclicUnitState u hu hf) := by | |
| intro a b hab | |
| change (cyclicIndex u a : ℝ) ≤ (cyclicIndex u b : ℝ) | |
| apply Nat.cast_le.mpr | |
| apply (nsmul_unit_order_iff u hu hf _ _).mp | |
| rw [cyclicIndex_spec, cyclicIndex_spec] | |
| exact hab | |
| end | |
| section | |
| variable {S : Type*} [AddCommMonoid S] [PartialOrder S] [IsOrderedAddMonoid S] | |
| /-- A common summand can be retained while a comparison is iterated. | |
| There is no cancellation assumption on the monoid. -/ | |
| theorem catalytic_nsmul_le {a b c : S} (h : a + c ≤ b + c) (k : ℕ) : | |
| k • a + c ≤ k • b + c := by | |
| induction k with | |
| | zero => simp | |
| | succ k ih => | |
| calc | |
| (k+1) • a + c = a + (k • a + c) := by simp only [add_nsmul, one_nsmul]; ac_rfl | |
| _ ≤ a + (k • b + c) := add_le_add le_rfl ih | |
| _ = k • b + (a + c) := by ac_rfl | |
| _ ≤ k • b + (b + c) := add_le_add le_rfl h | |
| _ = (k+1) • b + c := by simp only [add_nsmul, one_nsmul, add_assoc] | |
| /-- A bounded nonnegative common summand cannot hide a compression of | |
| unit multiples when every positive multiple fails to be properly infinite. -/ | |
| theorem catalytic_unit_order_iff (u : S) (hu : 0 ≤ u) | |
| (hf : ∀ k : ℕ, 0 < k → ¬ (2*k) • u ≤ k • u) | |
| {c : S} (hc : 0 ≤ c) (hcu : ∃ N : ℕ, c ≤ N • u) (m n : ℕ) : | |
| m • u + c ≤ n • u + c ↔ m ≤ n := by | |
| constructor | |
| · intro h | |
| obtain ⟨N, hN⟩ := hcu | |
| have hi := catalytic_nsmul_le h (N+1) | |
| have hcomp : ((N+1)*m) • u ≤ ((N+1)*n+N) • u := by | |
| calc | |
| ((N+1)*m) • u ≤ ((N+1)*m) • u + c := le_add_of_nonneg_right hc | |
| _ ≤ ((N+1)*n) • u + c := by simpa only [← mul_nsmul, Nat.mul_comm] using hi | |
| _ ≤ ((N+1)*n) • u + N • u := add_le_add le_rfl hN | |
| _ = ((N+1)*n+N) • u := (add_nsmul _ _ _).symm | |
| have hn := (nsmul_unit_order_iff u hu hf _ _).mp hcomp | |
| by_contra hmn | |
| have hmn' : n+1 ≤ m := by omega | |
| have hmul := Nat.mul_le_mul_left (N+1) hmn' | |
| simp only [Nat.mul_add, Nat.mul_one] at hmul | |
| omega | |
| · intro h | |
| exact add_le_add (nsmul_le_nsmul_left hu h) le_rfl | |
| /-- Stabilization by an arbitrary common summand preserves the natural | |
| order on the unit if every element is nonnegative and bounded by a unit multiple. -/ | |
| theorem stabilized_unit_order_iff (u : S) (hu : 0 ≤ u) | |
| (hf : ∀ k : ℕ, 0 < k → ¬ (2*k) • u ≤ k • u) | |
| (hpos : ∀ c : S, 0 ≤ c) (hbound : ∀ c : S, ∃ N : ℕ, c ≤ N • u) | |
| (m n : ℕ) : | |
| (∃ c : S, m • u + c ≤ n • u + c) ↔ m ≤ n := by | |
| constructor | |
| · rintro ⟨c, hc⟩ | |
| exact (catalytic_unit_order_iff u hu hf (hpos c) (hbound c) m n).mp hc | |
| · intro h | |
| exact ⟨0, by simpa using nsmul_le_nsmul_left hu h⟩ | |
| end | |
| section | |
| variable (S : Type*) [AddCommMonoid S] [PartialOrder S] [IsOrderedAddMonoid S] | |
| /-- Formal differences, before identifying order-equivalent pairs. -/ | |
| def SemigroupDifference := S × S | |
| instance : AddCommMonoid (SemigroupDifference S) := | |
| inferInstanceAs (AddCommMonoid (S × S)) | |
| variable {S} | |
| /-- The stabilizing summand records the cancellation which is unavailable | |
| in the original monoid. -/ | |
| def SemigroupDifference.Rel (a b : SemigroupDifference S) : Prop := | |
| ∃ c : S, a.1 + b.2 + c ≤ b.1 + a.2 + c | |
| omit [IsOrderedAddMonoid S] in | |
| theorem SemigroupDifference.rel_refl (a : SemigroupDifference S) : Rel a a := ⟨0, le_rfl⟩ | |
| theorem SemigroupDifference.rel_trans {a b c : SemigroupDifference S} | |
| (hab : Rel a b) (hbc : Rel b c) : Rel a c := by | |
| obtain ⟨x, hx⟩ := hab | |
| obtain ⟨y, hy⟩ := hbc | |
| refine ⟨x+y+b.1+b.2, ?_⟩ | |
| convert add_le_add hx hy using 1 <;> ac_rfl | |
| instance : Preorder (SemigroupDifference S) where | |
| le := SemigroupDifference.Rel | |
| le_refl := SemigroupDifference.rel_refl | |
| le_trans _ _ _ := SemigroupDifference.rel_trans | |
| theorem SemigroupDifference.add_le_add {a b c d : SemigroupDifference S} | |
| (hab : a ≤ b) (hcd : c ≤ d) : a+c ≤ b+d := by | |
| obtain ⟨x, hx⟩ := hab | |
| obtain ⟨y, hy⟩ := hcd | |
| refine ⟨x+y, ?_⟩ | |
| change (a.1+c.1)+(b.2+d.2)+(x+y) ≤ (b.1+d.1)+(a.2+c.2)+(x+y) | |
| convert _root_.add_le_add hx hy using 1 <;> ac_rfl | |
| def SemigroupDifference.flip (a : SemigroupDifference S) : SemigroupDifference S := (a.2,a.1) | |
| theorem SemigroupDifference.flip_le_flip {a b : SemigroupDifference S} (h : a ≤ b) : | |
| flip b ≤ flip a := by | |
| obtain ⟨x, hx⟩ := h | |
| refine ⟨x, ?_⟩ | |
| change b.2+a.1+x ≤ a.2+b.1+x | |
| simpa only [add_comm] using hx | |
| /-- Ordered group completion: order-equivalent differences are identified. | |
| This need not embed the original noncancellative monoid injectively. -/ | |
| abbrev SemigroupOrderedGroup (S : Type*) [AddCommMonoid S] [PartialOrder S] | |
| [IsOrderedAddMonoid S] := Antisymmetrization (SemigroupDifference S) (· ≤ ·) | |
| def semigroupDifferenceClass (a : SemigroupDifference S) : SemigroupOrderedGroup S := | |
| toAntisymmetrization (· ≤ ·) a | |
| theorem semigroupDifferenceClass_le (a b : SemigroupDifference S) : | |
| semigroupDifferenceClass a ≤ semigroupDifferenceClass b ↔ | |
| ∃ c : S, a.1+b.2+c ≤ b.1+a.2+c := | |
| toAntisymmetrization_le_toAntisymmetrization_iff | |
| instance : Zero (SemigroupOrderedGroup S) := ⟨semigroupDifferenceClass 0⟩ | |
| instance : Add (SemigroupOrderedGroup S) where | |
| add := Quotient.map₂ (· + ·) (fun _ _ ha _ _ hb => | |
| ⟨SemigroupDifference.add_le_add ha.1 hb.1, | |
| SemigroupDifference.add_le_add ha.2 hb.2⟩) | |
| instance : Neg (SemigroupOrderedGroup S) where | |
| neg := Quotient.map SemigroupDifference.flip (fun _ _ h => | |
| ⟨SemigroupDifference.flip_le_flip h.2, SemigroupDifference.flip_le_flip h.1⟩) | |
| @[simp] theorem semigroupDifferenceClass_add (a b : SemigroupDifference S) : | |
| semigroupDifferenceClass (a+b) = semigroupDifferenceClass a + semigroupDifferenceClass b := rfl | |
| @[simp] theorem semigroupDifferenceClass_zero : | |
| semigroupDifferenceClass (0 : SemigroupDifference S) = 0 := rfl | |
| @[simp] theorem semigroupDifferenceClass_flip (a : SemigroupDifference S) : | |
| semigroupDifferenceClass a.flip = -semigroupDifferenceClass a := rfl | |
| instance : AddCommGroup (SemigroupOrderedGroup S) where | |
| add_assoc a b c := by | |
| induction a using Quotient.inductionOn with | h a => | |
| induction b using Quotient.inductionOn with | h b => | |
| induction c using Quotient.inductionOn with | h c => | |
| exact congrArg semigroupDifferenceClass (add_assoc a b c) | |
| zero_add a := by | |
| induction a using Quotient.inductionOn with | h a => | |
| exact congrArg semigroupDifferenceClass (zero_add a) | |
| add_zero a := by | |
| induction a using Quotient.inductionOn with | h a => | |
| exact congrArg semigroupDifferenceClass (add_zero a) | |
| add_comm a b := by | |
| induction a using Quotient.inductionOn with | h a => | |
| induction b using Quotient.inductionOn with | h b => | |
| exact congrArg semigroupDifferenceClass (add_comm a b) | |
| neg_add_cancel a := by | |
| induction a using Quotient.inductionOn with | h a => | |
| apply Quotient.sound | |
| constructor | |
| · refine ⟨0, ?_⟩ | |
| change a.2+a.1+0+0 ≤ 0+(a.1+a.2)+0 | |
| simp [add_comm] | |
| · refine ⟨0, ?_⟩ | |
| change 0+(a.1+a.2)+0 ≤ a.2+a.1+0+0 | |
| simp [add_comm] | |
| nsmul := nsmulRec | |
| zsmul := zsmulRec | |
| instance : IsOrderedAddMonoid (SemigroupOrderedGroup S) where | |
| add_le_add_left a b h c := by | |
| induction a using Quotient.inductionOn with | h a => | |
| induction b using Quotient.inductionOn with | h b => | |
| induction c using Quotient.inductionOn with | h c => | |
| exact (semigroupDifferenceClass_le _ _).mpr | |
| (SemigroupDifference.add_le_add ((semigroupDifferenceClass_le _ _).mp h) (le_refl c)) | |
| /-- The actual additive map from the monoid into its ordered completion. -/ | |
| def semigroupToOrderedGroup : S →+ SemigroupOrderedGroup S where | |
| toFun a := semigroupDifferenceClass (a,0) | |
| map_zero' := rfl | |
| map_add' a b := by | |
| change semigroupDifferenceClass (a+b,0) = semigroupDifferenceClass ((a,0)+(b,0)) | |
| congr 1 | |
| exact Prod.ext rfl (zero_add 0).symm | |
| theorem semigroupToOrderedGroup_le_iff (a b : S) : | |
| semigroupToOrderedGroup a ≤ semigroupToOrderedGroup b ↔ ∃ c : S, a+c ≤ b+c := by | |
| change semigroupDifferenceClass (a,0) ≤ semigroupDifferenceClass (b,0) ↔ _ | |
| simpa only [add_zero] using semigroupDifferenceClass_le (a,0) (b,0) | |
| theorem semigroupToOrderedGroup_monotone : Monotone (semigroupToOrderedGroup (S := S)) := by | |
| intro a b hab | |
| exact (semigroupToOrderedGroup_le_iff a b).mpr ⟨0, by simpa using hab⟩ | |
| end | |
| section | |
| variable {S : Type*} [AddCommMonoid S] [PartialOrder S] [IsOrderedAddMonoid S] | |
| theorem semigroupDifferenceClass_eq_sub (a b : S) : | |
| semigroupDifferenceClass (a,b) = semigroupToOrderedGroup a - semigroupToOrderedGroup b := by | |
| change semigroupDifferenceClass (a,b) = semigroupDifferenceClass ((a,0)+(0,b)) | |
| congr 1 | |
| exact Prod.ext (add_zero a).symm (zero_add b).symm | |
| theorem semigroupOrderedGroup_exists_difference (x : SemigroupOrderedGroup S) : | |
| ∃ a b : S, x = semigroupToOrderedGroup a - semigroupToOrderedGroup b := by | |
| induction x using Quotient.inductionOn with | h x => | |
| exact ⟨x.1,x.2,semigroupDifferenceClass_eq_sub _ _⟩ | |
| /-- The image of the unit remains order-reflecting on all natural multiples, | |
| including after passage to the ordered group quotient. -/ | |
| theorem semigroupOrderedGroup_unit_order (u : S) | |
| (hf : ∀ k : ℕ, 0 < k → ¬ (2*k) • u ≤ k • u) | |
| (hpos : ∀ c : S, 0 ≤ c) (hbound : ∀ c : S, ∃ N : ℕ, c ≤ N • u) | |
| (m n : ℕ) : | |
| m • semigroupToOrderedGroup u ≤ n • semigroupToOrderedGroup u ↔ m ≤ n := by | |
| rw [← map_nsmul, ← map_nsmul, semigroupToOrderedGroup_le_iff] | |
| exact stabilized_unit_order_iff u (hpos u) hf hpos hbound m n | |
| theorem semigroupOrderedGroup_unit_nonneg (u : S) (hu : 0 ≤ u) : | |
| 0 ≤ semigroupToOrderedGroup u := by | |
| simpa using semigroupToOrderedGroup_monotone hu | |
| theorem semigroupOrderedGroup_unit_ne_zero (u : S) | |
| (hf : ∀ k : ℕ, 0 < k → ¬ (2*k) • u ≤ k • u) | |
| (hpos : ∀ c : S, 0 ≤ c) (hbound : ∀ c : S, ∃ N : ℕ, c ≤ N • u) : | |
| semigroupToOrderedGroup u ≠ 0 := by | |
| intro he | |
| have h := semigroupOrderedGroup_unit_order u hf hpos hbound 1 0 | |
| simp [he] at h | |
| /-- The original order-unit bound becomes a two-sided bound on every | |
| element of the ordered group. No finite generation is needed. -/ | |
| theorem semigroupOrderedGroup_order_unit (u : S) | |
| (hpos : ∀ c : S, 0 ≤ c) (hbound : ∀ c : S, ∃ N : ℕ, c ≤ N • u) | |
| (x : SemigroupOrderedGroup S) : | |
| ∃ N : ℕ, -(N • semigroupToOrderedGroup u) ≤ x ∧ | |
| x ≤ N • semigroupToOrderedGroup u := by | |
| obtain ⟨a,b,rfl⟩ := semigroupOrderedGroup_exists_difference x | |
| obtain ⟨m,hm⟩ := hbound a | |
| obtain ⟨n,hn⟩ := hbound b | |
| have ha := semigroupToOrderedGroup_monotone hm | |
| have hb := semigroupToOrderedGroup_monotone hn | |
| rw [map_nsmul] at ha hb | |
| have hza := semigroupOrderedGroup_unit_nonneg a (hpos a) | |
| have hzb := semigroupOrderedGroup_unit_nonneg b (hpos b) | |
| have hu := semigroupOrderedGroup_unit_nonneg u (hpos u) | |
| refine ⟨m+n, ?_, ?_⟩ | |
| · have hb' : semigroupToOrderedGroup b ≤ (m+n) • semigroupToOrderedGroup u := | |
| hb.trans (nsmul_le_nsmul_left hu (Nat.le_add_left n m)) | |
| exact (neg_le_neg hb').trans (neg_le_sub_iff_le_add.mpr (by simpa using hza)) | |
| · have ha' : semigroupToOrderedGroup a ≤ (m+n) • semigroupToOrderedGroup u := | |
| ha.trans (nsmul_le_nsmul_left hu (Nat.le_add_right m n)) | |
| exact (sub_le_self _ hzb).trans ha' | |
| variable {G : Type*} [AddCommGroup G] [PartialOrder G] [IsOrderedAddMonoid G] | |
| theorem semigroupDifference_value_mono (f : S →+ G) (hf : Monotone f) | |
| {a b : SemigroupDifference S} (h : a ≤ b) : | |
| f a.1 - f a.2 ≤ f b.1 - f b.2 := by | |
| obtain ⟨c,hc⟩ := h | |
| have hh := hf hc | |
| simp only [map_add] at hh | |
| have hh' := (add_le_add_iff_right (f c)).mp hh | |
| exact sub_le_sub_iff.mpr hh' | |
| /-- Every monotone additive map to an ordered group descends to the | |
| ordered completion. This constructs the map; it does not postulate a state. -/ | |
| def semigroupOrderedGroupLift (f : S →+ G) (hf : Monotone f) : SemigroupOrderedGroup S →+ G where | |
| toFun := Quotient.lift (fun a : SemigroupDifference S => f a.1-f a.2) | |
| (fun _ _ h => le_antisymm (semigroupDifference_value_mono f hf h.1) | |
| (semigroupDifference_value_mono f hf h.2)) | |
| map_zero' := by change f 0-f 0=0; simp | |
| map_add' a b := by | |
| induction a using Quotient.inductionOn with | h a => | |
| induction b using Quotient.inductionOn with | h b => | |
| change f (a.1+b.1)-f (a.2+b.2) = (f a.1-f a.2)+(f b.1-f b.2) | |
| simp only [map_add] | |
| abel | |
| @[simp] theorem semigroupOrderedGroupLift_apply (f : S →+ G) (hf : Monotone f) (a b : S) : | |
| semigroupOrderedGroupLift f hf (semigroupDifferenceClass (a,b)) = f a-f b := rfl | |
| @[simp] theorem semigroupOrderedGroupLift_unit (f : S →+ G) (hf : Monotone f) (a : S) : | |
| semigroupOrderedGroupLift f hf (semigroupToOrderedGroup a) = f a := by | |
| change f a-f 0=f a | |
| simp | |
| theorem semigroupOrderedGroupLift_monotone (f : S →+ G) (hf : Monotone f) : | |
| Monotone (semigroupOrderedGroupLift f hf) := by | |
| intro a b hab | |
| induction a using Quotient.inductionOn with | h a => | |
| induction b using Quotient.inductionOn with | h b => | |
| exact semigroupDifference_value_mono f hf ((semigroupDifferenceClass_le _ _).mp hab) | |
| theorem semigroup_state_iff_orderedGroup_state (u : S) : | |
| (∃ f : S →+ ℝ, Monotone f ∧ f u = 1) ↔ | |
| ∃ g : SemigroupOrderedGroup S →+ ℝ, Monotone g ∧ g (semigroupToOrderedGroup u) = 1 := by | |
| constructor | |
| · rintro ⟨f,hf,hu⟩ | |
| exact ⟨semigroupOrderedGroupLift f hf,semigroupOrderedGroupLift_monotone f hf,by simpa⟩ | |
| · rintro ⟨g,hg,hu⟩ | |
| exact ⟨g.comp semigroupToOrderedGroup,hg.comp semigroupToOrderedGroup_monotone,hu⟩ | |
| end | |
| variable {S : Type*} [AddCommMonoid S] [PartialOrder S] [IsOrderedAddMonoid S] | |
| /-- State construction on a positive ordered commutative monoid with an | |
| order unit and no properly infinite positive unit multiple. Cancellation | |
| and unperforation are not hypotheses. This is an abstract semigroup theorem, | |
| not yet a quasitrace on an algebra. -/ | |
| theorem positive_orderUnit_normalized_state (u : S) | |
| (hpos : ∀ c : S, 0 ≤ c) (hbound : ∀ c : S, ∃ N : ℕ, c ≤ N • u) | |
| (hf : ∀ k : ℕ, 0 < k → ¬ (2*k) • u ≤ k • u) : | |
| ∃ f : S →+ ℝ, Monotone f ∧ f u = 1 := by | |
| apply (semigroup_state_iff_orderedGroup_state u).mpr | |
| apply orderedGroup_normalized_state (semigroupToOrderedGroup u) | |
| (semigroupOrderedGroup_unit_nonneg u (hpos u)) | |
| · intro n hn h | |
| have h' : n • semigroupToOrderedGroup u ≤ 0 • semigroupToOrderedGroup u := by simpa using h | |
| have hle := (semigroupOrderedGroup_unit_order u hf hpos hbound n 0).mp h' | |
| omega | |
| · intro x | |
| obtain ⟨N,hl,_⟩ := semigroupOrderedGroup_order_unit u hpos hbound x | |
| exact ⟨N,hl⟩ | |
| omit [PartialOrder S] [IsOrderedAddMonoid S] in | |
| /-- Every normalized state has the prescribed cyclic values. -/ | |
| theorem normalized_semigroup_state_nsmul (u : S) (f : S →+ ℝ) (hu : f u = 1) (n : ℕ) : | |
| f (n • u) = (n : ℝ) := by simp [hu] | |
| omit [IsOrderedAddMonoid S] in | |
| /-- Conversely a normalized monotone state rules out every properly | |
| infinite positive multiple. -/ | |
| theorem normalized_semigroup_state_no_compression (u : S) (f : S →+ ℝ) | |
| (hm : Monotone f) (hu : f u = 1) : | |
| ∀ k : ℕ, 0 < k → ¬ (2*k) • u ≤ k • u := by | |
| intro k hk h | |
| have h' := hm h | |
| rw [normalized_semigroup_state_nsmul u f hu, | |
| normalized_semigroup_state_nsmul u f hu] at h' | |
| have hn : 2*k ≤ k := by exact_mod_cast h' | |
| omega | |
| /-- Exact abstract state criterion. Applying it to a C*-algebra still | |
| requires its actual positive ordered Cuntz semigroup and the analytic | |
| dimension-function/quasitrace correspondence. -/ | |
| theorem positive_orderUnit_state_iff (u : S) | |
| (hpos : ∀ c : S, 0 ≤ c) (hbound : ∀ c : S, ∃ N : ℕ, c ≤ N • u) : | |
| (∃ f : S →+ ℝ, Monotone f ∧ f u = 1) ↔ | |
| ∀ k : ℕ, 0 < k → ¬ (2*k) • u ≤ k • u := by | |
| constructor | |
| · rintro ⟨f,hm,hu⟩ | |
| exact normalized_semigroup_state_no_compression u f hm hu | |
| · exact positive_orderUnit_normalized_state u hpos hbound | |
| /-- The constructed full state extends the already verified initial | |
| cyclic state. This explicitly closes the abstract extension step. -/ | |
| theorem positive_orderUnit_state_extends_cyclic (u : S) | |
| (hpos : ∀ c : S, 0 ≤ c) (hbound : ∀ c : S, ∃ N : ℕ, c ≤ N • u) | |
| (hf : ∀ k : ℕ, 0 < k → ¬ (2*k) • u ≤ k • u) : | |
| ∃ f : S →+ ℝ, Monotone f ∧ f u = 1 ∧ | |
| ∀ v : unitCyclicMonoid u, f v = cyclicUnitState u (hpos u) hf v := by | |
| obtain ⟨f,hm,hu⟩ := positive_orderUnit_normalized_state u hpos hbound hf | |
| refine ⟨f,hm,hu,?_⟩ | |
| intro v | |
| obtain ⟨n,hn⟩ := v.property | |
| have hv : v = ⟨n • u,⟨n,rfl⟩⟩ := Subtype.ext hn.symm | |
| rw [hv,cyclicUnitState_nsmul] | |
| exact normalized_semigroup_state_nsmul u f hu n | |
| end Kaplansky | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 21.5 kB
- Xet hash:
- 3f40eced1950023759abfd71f56b52bb40437372611da856c287611e2c3b5114
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.