ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  lttrsr GIF version

Theorem lttrsr 7001
Description: Signed real 'less than' is a transitive relation. (Contributed by Jim Kingdon, 4-Jan-2019.)
Assertion
Ref Expression
lttrsr ((𝑓R𝑔RR) → ((𝑓 <R 𝑔𝑔 <R ) → 𝑓 <R ))
Distinct variable group:   𝑓,𝑔,

Proof of Theorem lttrsr
Dummy variables 𝑟 𝑠 𝑡 𝑥 𝑦 𝑧 𝑤 𝑣 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-nr 6966 . 2 R = ((P × P) / ~R )
2 breq1 3796 . . . 4 ([⟨𝑥, 𝑦⟩] ~R = 𝑓 → ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R𝑓 <R [⟨𝑧, 𝑤⟩] ~R ))
32anbi1d 453 . . 3 ([⟨𝑥, 𝑦⟩] ~R = 𝑓 → (([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ∧ [⟨𝑧, 𝑤⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ) ↔ (𝑓 <R [⟨𝑧, 𝑤⟩] ~R ∧ [⟨𝑧, 𝑤⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R )))
4 breq1 3796 . . 3 ([⟨𝑥, 𝑦⟩] ~R = 𝑓 → ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R𝑓 <R [⟨𝑣, 𝑢⟩] ~R ))
53, 4imbi12d 232 . 2 ([⟨𝑥, 𝑦⟩] ~R = 𝑓 → ((([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ∧ [⟨𝑧, 𝑤⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ) → [⟨𝑥, 𝑦⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ) ↔ ((𝑓 <R [⟨𝑧, 𝑤⟩] ~R ∧ [⟨𝑧, 𝑤⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ) → 𝑓 <R [⟨𝑣, 𝑢⟩] ~R )))
6 breq2 3797 . . . 4 ([⟨𝑧, 𝑤⟩] ~R = 𝑔 → (𝑓 <R [⟨𝑧, 𝑤⟩] ~R𝑓 <R 𝑔))
7 breq1 3796 . . . 4 ([⟨𝑧, 𝑤⟩] ~R = 𝑔 → ([⟨𝑧, 𝑤⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R𝑔 <R [⟨𝑣, 𝑢⟩] ~R ))
86, 7anbi12d 457 . . 3 ([⟨𝑧, 𝑤⟩] ~R = 𝑔 → ((𝑓 <R [⟨𝑧, 𝑤⟩] ~R ∧ [⟨𝑧, 𝑤⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ) ↔ (𝑓 <R 𝑔𝑔 <R [⟨𝑣, 𝑢⟩] ~R )))
98imbi1d 229 . 2 ([⟨𝑧, 𝑤⟩] ~R = 𝑔 → (((𝑓 <R [⟨𝑧, 𝑤⟩] ~R ∧ [⟨𝑧, 𝑤⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ) → 𝑓 <R [⟨𝑣, 𝑢⟩] ~R ) ↔ ((𝑓 <R 𝑔𝑔 <R [⟨𝑣, 𝑢⟩] ~R ) → 𝑓 <R [⟨𝑣, 𝑢⟩] ~R )))
10 breq2 3797 . . . 4 ([⟨𝑣, 𝑢⟩] ~R = → (𝑔 <R [⟨𝑣, 𝑢⟩] ~R𝑔 <R ))
1110anbi2d 452 . . 3 ([⟨𝑣, 𝑢⟩] ~R = → ((𝑓 <R 𝑔𝑔 <R [⟨𝑣, 𝑢⟩] ~R ) ↔ (𝑓 <R 𝑔𝑔 <R )))
12 breq2 3797 . . 3 ([⟨𝑣, 𝑢⟩] ~R = → (𝑓 <R [⟨𝑣, 𝑢⟩] ~R𝑓 <R ))
1311, 12imbi12d 232 . 2 ([⟨𝑣, 𝑢⟩] ~R = → (((𝑓 <R 𝑔𝑔 <R [⟨𝑣, 𝑢⟩] ~R ) → 𝑓 <R [⟨𝑣, 𝑢⟩] ~R ) ↔ ((𝑓 <R 𝑔𝑔 <R ) → 𝑓 <R )))
14 ltsrprg 6986 . . . . . 6 (((𝑥P𝑦P) ∧ (𝑧P𝑤P)) → ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ↔ (𝑥 +P 𝑤)<P (𝑦 +P 𝑧)))
15143adant3 959 . . . . 5 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ↔ (𝑥 +P 𝑤)<P (𝑦 +P 𝑧)))
16 ltaprg 6871 . . . . . . . 8 ((𝑟P𝑠P𝑡P) → (𝑟<P 𝑠 ↔ (𝑡 +P 𝑟)<P (𝑡 +P 𝑠)))
1716adantl 271 . . . . . . 7 ((((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) ∧ (𝑟P𝑠P𝑡P)) → (𝑟<P 𝑠 ↔ (𝑡 +P 𝑟)<P (𝑡 +P 𝑠)))
18 simp1l 963 . . . . . . . 8 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → 𝑥P)
19 simp2r 966 . . . . . . . 8 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → 𝑤P)
20 addclpr 6789 . . . . . . . 8 ((𝑥P𝑤P) → (𝑥 +P 𝑤) ∈ P)
2118, 19, 20syl2anc 403 . . . . . . 7 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → (𝑥 +P 𝑤) ∈ P)
22 simp1r 964 . . . . . . . 8 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → 𝑦P)
23 simp2l 965 . . . . . . . 8 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → 𝑧P)
24 addclpr 6789 . . . . . . . 8 ((𝑦P𝑧P) → (𝑦 +P 𝑧) ∈ P)
2522, 23, 24syl2anc 403 . . . . . . 7 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → (𝑦 +P 𝑧) ∈ P)
26 simp3r 968 . . . . . . 7 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → 𝑢P)
27 addcomprg 6830 . . . . . . . 8 ((𝑟P𝑠P) → (𝑟 +P 𝑠) = (𝑠 +P 𝑟))
2827adantl 271 . . . . . . 7 ((((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) ∧ (𝑟P𝑠P)) → (𝑟 +P 𝑠) = (𝑠 +P 𝑟))
2917, 21, 25, 26, 28caovord2d 5701 . . . . . 6 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ((𝑥 +P 𝑤)<P (𝑦 +P 𝑧) ↔ ((𝑥 +P 𝑤) +P 𝑢)<P ((𝑦 +P 𝑧) +P 𝑢)))
30 addassprg 6831 . . . . . . . 8 ((𝑥P𝑤P𝑢P) → ((𝑥 +P 𝑤) +P 𝑢) = (𝑥 +P (𝑤 +P 𝑢)))
3118, 19, 26, 30syl3anc 1170 . . . . . . 7 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ((𝑥 +P 𝑤) +P 𝑢) = (𝑥 +P (𝑤 +P 𝑢)))
32 addassprg 6831 . . . . . . . 8 ((𝑦P𝑧P𝑢P) → ((𝑦 +P 𝑧) +P 𝑢) = (𝑦 +P (𝑧 +P 𝑢)))
3322, 23, 26, 32syl3anc 1170 . . . . . . 7 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ((𝑦 +P 𝑧) +P 𝑢) = (𝑦 +P (𝑧 +P 𝑢)))
3431, 33breq12d 3806 . . . . . 6 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → (((𝑥 +P 𝑤) +P 𝑢)<P ((𝑦 +P 𝑧) +P 𝑢) ↔ (𝑥 +P (𝑤 +P 𝑢))<P (𝑦 +P (𝑧 +P 𝑢))))
3529, 34bitrd 186 . . . . 5 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ((𝑥 +P 𝑤)<P (𝑦 +P 𝑧) ↔ (𝑥 +P (𝑤 +P 𝑢))<P (𝑦 +P (𝑧 +P 𝑢))))
3615, 35bitrd 186 . . . 4 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ↔ (𝑥 +P (𝑤 +P 𝑢))<P (𝑦 +P (𝑧 +P 𝑢))))
37 ltsrprg 6986 . . . . . 6 (((𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ([⟨𝑧, 𝑤⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ↔ (𝑧 +P 𝑢)<P (𝑤 +P 𝑣)))
38373adant1 957 . . . . 5 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ([⟨𝑧, 𝑤⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ↔ (𝑧 +P 𝑢)<P (𝑤 +P 𝑣)))
39 addclpr 6789 . . . . . . 7 ((𝑧P𝑢P) → (𝑧 +P 𝑢) ∈ P)
4023, 26, 39syl2anc 403 . . . . . 6 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → (𝑧 +P 𝑢) ∈ P)
41 simp3l 967 . . . . . . 7 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → 𝑣P)
42 addclpr 6789 . . . . . . 7 ((𝑤P𝑣P) → (𝑤 +P 𝑣) ∈ P)
4319, 41, 42syl2anc 403 . . . . . 6 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → (𝑤 +P 𝑣) ∈ P)
44 ltaprg 6871 . . . . . 6 (((𝑧 +P 𝑢) ∈ P ∧ (𝑤 +P 𝑣) ∈ P𝑦P) → ((𝑧 +P 𝑢)<P (𝑤 +P 𝑣) ↔ (𝑦 +P (𝑧 +P 𝑢))<P (𝑦 +P (𝑤 +P 𝑣))))
4540, 43, 22, 44syl3anc 1170 . . . . 5 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ((𝑧 +P 𝑢)<P (𝑤 +P 𝑣) ↔ (𝑦 +P (𝑧 +P 𝑢))<P (𝑦 +P (𝑤 +P 𝑣))))
4638, 45bitrd 186 . . . 4 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ([⟨𝑧, 𝑤⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ↔ (𝑦 +P (𝑧 +P 𝑢))<P (𝑦 +P (𝑤 +P 𝑣))))
4736, 46anbi12d 457 . . 3 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → (([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ∧ [⟨𝑧, 𝑤⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ) ↔ ((𝑥 +P (𝑤 +P 𝑢))<P (𝑦 +P (𝑧 +P 𝑢)) ∧ (𝑦 +P (𝑧 +P 𝑢))<P (𝑦 +P (𝑤 +P 𝑣)))))
48 ltsopr 6848 . . . . 5 <P Or P
49 ltrelpr 6757 . . . . 5 <P ⊆ (P × P)
5048, 49sotri 4750 . . . 4 (((𝑥 +P (𝑤 +P 𝑢))<P (𝑦 +P (𝑧 +P 𝑢)) ∧ (𝑦 +P (𝑧 +P 𝑢))<P (𝑦 +P (𝑤 +P 𝑣))) → (𝑥 +P (𝑤 +P 𝑢))<P (𝑦 +P (𝑤 +P 𝑣)))
51 addclpr 6789 . . . . . . . 8 ((𝑥P𝑢P) → (𝑥 +P 𝑢) ∈ P)
5218, 26, 51syl2anc 403 . . . . . . 7 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → (𝑥 +P 𝑢) ∈ P)
53 addclpr 6789 . . . . . . . 8 ((𝑦P𝑣P) → (𝑦 +P 𝑣) ∈ P)
5422, 41, 53syl2anc 403 . . . . . . 7 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → (𝑦 +P 𝑣) ∈ P)
55 ltaprg 6871 . . . . . . 7 (((𝑥 +P 𝑢) ∈ P ∧ (𝑦 +P 𝑣) ∈ P𝑤P) → ((𝑥 +P 𝑢)<P (𝑦 +P 𝑣) ↔ (𝑤 +P (𝑥 +P 𝑢))<P (𝑤 +P (𝑦 +P 𝑣))))
5652, 54, 19, 55syl3anc 1170 . . . . . 6 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ((𝑥 +P 𝑢)<P (𝑦 +P 𝑣) ↔ (𝑤 +P (𝑥 +P 𝑢))<P (𝑤 +P (𝑦 +P 𝑣))))
5756biimprd 156 . . . . 5 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ((𝑤 +P (𝑥 +P 𝑢))<P (𝑤 +P (𝑦 +P 𝑣)) → (𝑥 +P 𝑢)<P (𝑦 +P 𝑣)))
58 addassprg 6831 . . . . . . . 8 ((𝑟P𝑠P𝑡P) → ((𝑟 +P 𝑠) +P 𝑡) = (𝑟 +P (𝑠 +P 𝑡)))
5958adantl 271 . . . . . . 7 ((((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) ∧ (𝑟P𝑠P𝑡P)) → ((𝑟 +P 𝑠) +P 𝑡) = (𝑟 +P (𝑠 +P 𝑡)))
6018, 19, 26, 28, 59caov12d 5713 . . . . . 6 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → (𝑥 +P (𝑤 +P 𝑢)) = (𝑤 +P (𝑥 +P 𝑢)))
6122, 19, 41, 28, 59caov12d 5713 . . . . . 6 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → (𝑦 +P (𝑤 +P 𝑣)) = (𝑤 +P (𝑦 +P 𝑣)))
6260, 61breq12d 3806 . . . . 5 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ((𝑥 +P (𝑤 +P 𝑢))<P (𝑦 +P (𝑤 +P 𝑣)) ↔ (𝑤 +P (𝑥 +P 𝑢))<P (𝑤 +P (𝑦 +P 𝑣))))
63 ltsrprg 6986 . . . . . 6 (((𝑥P𝑦P) ∧ (𝑣P𝑢P)) → ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ↔ (𝑥 +P 𝑢)<P (𝑦 +P 𝑣)))
64633adant2 958 . . . . 5 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ↔ (𝑥 +P 𝑢)<P (𝑦 +P 𝑣)))
6557, 62, 643imtr4d 201 . . . 4 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → ((𝑥 +P (𝑤 +P 𝑢))<P (𝑦 +P (𝑤 +P 𝑣)) → [⟨𝑥, 𝑦⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ))
6650, 65syl5 32 . . 3 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → (((𝑥 +P (𝑤 +P 𝑢))<P (𝑦 +P (𝑧 +P 𝑢)) ∧ (𝑦 +P (𝑧 +P 𝑢))<P (𝑦 +P (𝑤 +P 𝑣))) → [⟨𝑥, 𝑦⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ))
6747, 66sylbid 148 . 2 (((𝑥P𝑦P) ∧ (𝑧P𝑤P) ∧ (𝑣P𝑢P)) → (([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ∧ [⟨𝑧, 𝑤⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ) → [⟨𝑥, 𝑦⟩] ~R <R [⟨𝑣, 𝑢⟩] ~R ))
681, 5, 9, 13, 673ecoptocl 6261 1 ((𝑓R𝑔RR) → ((𝑓 <R 𝑔𝑔 <R ) → 𝑓 <R ))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102  wb 103  w3a 920   = wceq 1285  wcel 1434  cop 3409   class class class wbr 3793  (class class class)co 5543  [cec 6170  Pcnp 6543   +P cpp 6545  <P cltp 6547   ~R cer 6548  Rcnr 6549   <R cltr 6555
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 577  ax-in2 578  ax-io 663  ax-5 1377  ax-7 1378  ax-gen 1379  ax-ie1 1423  ax-ie2 1424  ax-8 1436  ax-10 1437  ax-11 1438  ax-i12 1439  ax-bndl 1440  ax-4 1441  ax-13 1445  ax-14 1446  ax-17 1460  ax-i9 1464  ax-ial 1468  ax-i5r 1469  ax-ext 2064  ax-coll 3901  ax-sep 3904  ax-nul 3912  ax-pow 3956  ax-pr 3972  ax-un 4196  ax-setind 4288  ax-iinf 4337
This theorem depends on definitions:  df-bi 115  df-dc 777  df-3or 921  df-3an 922  df-tru 1288  df-fal 1291  df-nf 1391  df-sb 1687  df-eu 1945  df-mo 1946  df-clab 2069  df-cleq 2075  df-clel 2078  df-nfc 2209  df-ne 2247  df-ral 2354  df-rex 2355  df-reu 2356  df-rab 2358  df-v 2604  df-sbc 2817  df-csb 2910  df-dif 2976  df-un 2978  df-in 2980  df-ss 2987  df-nul 3259  df-pw 3392  df-sn 3412  df-pr 3413  df-op 3415  df-uni 3610  df-int 3645  df-iun 3688  df-br 3794  df-opab 3848  df-mpt 3849  df-tr 3884  df-eprel 4052  df-id 4056  df-po 4059  df-iso 4060  df-iord 4129  df-on 4131  df-suc 4134  df-iom 4340  df-xp 4377  df-rel 4378  df-cnv 4379  df-co 4380  df-dm 4381  df-rn 4382  df-res 4383  df-ima 4384  df-iota 4897  df-fun 4934  df-fn 4935  df-f 4936  df-f1 4937  df-fo 4938  df-f1o 4939  df-fv 4940  df-ov 5546  df-oprab 5547  df-mpt2 5548  df-1st 5798  df-2nd 5799  df-recs 5954  df-irdg 6019  df-1o 6065  df-2o 6066  df-oadd 6069  df-omul 6070  df-er 6172  df-ec 6174  df-qs 6178  df-ni 6556  df-pli 6557  df-mi 6558  df-lti 6559  df-plpq 6596  df-mpq 6597  df-enq 6599  df-nqqs 6600  df-plqqs 6601  df-mqqs 6602  df-1nqqs 6603  df-rq 6604  df-ltnqqs 6605  df-enq0 6676  df-nq0 6677  df-0nq0 6678  df-plq0 6679  df-mq0 6680  df-inp 6718  df-iplp 6720  df-iltp 6722  df-enr 6965  df-nr 6966  df-ltr 6969
This theorem is referenced by:  ltposr  7002
  Copyright terms: Public domain W3C validator