Metamath Proof Explorer


Theorem letsr

Description: The "less than or equal to" relationship on the extended reals is a toset. (Contributed by FL, 2-Aug-2009) (Revised by Mario Carneiro, 3-Sep-2015)

Ref Expression
Assertion letsr ⊢ ≤ ∈ TosetRel

Proof

Step Hyp Ref Expression
1 lerel ⊢ Rel ⁡ ≤
2 lerelxr ⊢ ≤ ⊆ ℝ * × ℝ *
3 2 brel ⊢ x ≤ y → x ∈ ℝ * ∧ y ∈ ℝ *
4 3 adantr ⊢ x ≤ y ∧ y ≤ z → x ∈ ℝ * ∧ y ∈ ℝ *
5 4 simpld ⊢ x ≤ y ∧ y ≤ z → x ∈ ℝ *
6 4 simprd ⊢ x ≤ y ∧ y ≤ z → y ∈ ℝ *
7 2 brel ⊢ y ≤ z → y ∈ ℝ * ∧ z ∈ ℝ *
8 7 simprd ⊢ y ≤ z → z ∈ ℝ *
9 8 adantl ⊢ x ≤ y ∧ y ≤ z → z ∈ ℝ *
10 5 6 9 3jca ⊢ x ≤ y ∧ y ≤ z → x ∈ ℝ * ∧ y ∈ ℝ * ∧ z ∈ ℝ *
11 xrletr ⊢ x ∈ ℝ * ∧ y ∈ ℝ * ∧ z ∈ ℝ * → x ≤ y ∧ y ≤ z → x ≤ z
12 10 11 mpcom ⊢ x ≤ y ∧ y ≤ z → x ≤ z
13 12 ax-gen ⊢ ∀ z x ≤ y ∧ y ≤ z → x ≤ z
14 13 gen2 ⊢ ∀ x ∀ y ∀ z x ≤ y ∧ y ≤ z → x ≤ z
15 cotr ⊢ ≤ ∘ ≤ ⊆ ≤ ↔ ∀ x ∀ y ∀ z x ≤ y ∧ y ≤ z → x ≤ z
16 14 15 mpbir ⊢ ≤ ∘ ≤ ⊆ ≤
17 asymref ⊢ ≤ ∩ ≤ -1 = I ↾ ⋃ ⋃ ≤ ↔ ∀ x ∈ ⋃ ⋃ ≤ ∀ y x ≤ y ∧ y ≤ x ↔ x = y
18 simpr ⊢ x ∈ ℝ * ∧ x ≤ y ∧ y ≤ x → x ≤ y ∧ y ≤ x
19 2 brel ⊢ y ≤ x → y ∈ ℝ * ∧ x ∈ ℝ *
20 19 simpld ⊢ y ≤ x → y ∈ ℝ *
21 20 adantl ⊢ x ≤ y ∧ y ≤ x → y ∈ ℝ *
22 xrletri3 ⊢ x ∈ ℝ * ∧ y ∈ ℝ * → x = y ↔ x ≤ y ∧ y ≤ x
23 21 22 sylan2 ⊢ x ∈ ℝ * ∧ x ≤ y ∧ y ≤ x → x = y ↔ x ≤ y ∧ y ≤ x
24 18 23 mpbird ⊢ x ∈ ℝ * ∧ x ≤ y ∧ y ≤ x → x = y
25 24 ex ⊢ x ∈ ℝ * → x ≤ y ∧ y ≤ x → x = y
26 xrleid ⊢ x ∈ ℝ * → x ≤ x
27 26 26 jca ⊢ x ∈ ℝ * → x ≤ x ∧ x ≤ x
28 breq2 ⊢ x = y → x ≤ x ↔ x ≤ y
29 breq1 ⊢ x = y → x ≤ x ↔ y ≤ x
30 28 29 anbi12d ⊢ x = y → x ≤ x ∧ x ≤ x ↔ x ≤ y ∧ y ≤ x
31 27 30 syl5ibcom ⊢ x ∈ ℝ * → x = y → x ≤ y ∧ y ≤ x
32 25 31 impbid ⊢ x ∈ ℝ * → x ≤ y ∧ y ≤ x ↔ x = y
33 32 alrimiv ⊢ x ∈ ℝ * → ∀ y x ≤ y ∧ y ≤ x ↔ x = y
34 lefld ⊢ ℝ * = ⋃ ⋃ ≤
35 34 eqcomi ⊢ ⋃ ⋃ ≤ = ℝ *
36 33 35 eleq2s ⊢ x ∈ ⋃ ⋃ ≤ → ∀ y x ≤ y ∧ y ≤ x ↔ x = y
37 17 36 mprgbir ⊢ ≤ ∩ ≤ -1 = I ↾ ⋃ ⋃ ≤
38 xrex ⊢ ℝ * ∈ V
39 38 38 xpex ⊢ ℝ * × ℝ * ∈ V
40 39 2 ssexi ⊢ ≤ ∈ V
41 isps ⊢ ≤ ∈ V → ≤ ∈ PosetRel ↔ Rel ⁡ ≤ ∧ ≤ ∘ ≤ ⊆ ≤ ∧ ≤ ∩ ≤ -1 = I ↾ ⋃ ⋃ ≤
42 40 41 ax-mp ⊢ ≤ ∈ PosetRel ↔ Rel ⁡ ≤ ∧ ≤ ∘ ≤ ⊆ ≤ ∧ ≤ ∩ ≤ -1 = I ↾ ⋃ ⋃ ≤
43 1 16 37 42 mpbir3an ⊢ ≤ ∈ PosetRel
44 xrletri ⊢ x ∈ ℝ * ∧ y ∈ ℝ * → x ≤ y ∨ y ≤ x
45 44 rgen2 ⊢ ∀ x ∈ ℝ * ∀ y ∈ ℝ * x ≤ y ∨ y ≤ x
46 qfto ⊢ ℝ * × ℝ * ⊆ ≤ ∪ ≤ -1 ↔ ∀ x ∈ ℝ * ∀ y ∈ ℝ * x ≤ y ∨ y ≤ x
47 45 46 mpbir ⊢ ℝ * × ℝ * ⊆ ≤ ∪ ≤ -1
48 ledm ⊢ ℝ * = dom ⁡ ≤
49 48 istsr ⊢ ≤ ∈ TosetRel ↔ ≤ ∈ PosetRel ∧ ℝ * × ℝ * ⊆ ≤ ∪ ≤ -1
50 43 47 49 mpbir2an ⊢ ≤ ∈ TosetRel