Users' Mathboxes Mathbox for Alan Sare < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  tratrb Structured version   Visualization version   GIF version

Theorem tratrb 42156
Description: If a class is transitive and any two distinct elements of the class are E-comparable, then every element of that class is transitive. Derived automatically from tratrbVD 42481. (Contributed by Alan Sare, 31-Dec-2011.) (Proof modification is discouraged.) (New usage is discouraged.)
Assertion
Ref Expression
tratrb ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → Tr 𝐵)
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦

Proof of Theorem tratrb
StepHypRef Expression
1 nfv 1917 . . . 4 𝑥Tr 𝐴
2 nfra1 3144 . . . 4 𝑥𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦)
3 nfv 1917 . . . 4 𝑥 𝐵𝐴
41, 2, 3nf3an 1904 . . 3 𝑥(Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴)
5 nfv 1917 . . . . 5 𝑦Tr 𝐴
6 nfra2w 3154 . . . . 5 𝑦𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦)
7 nfv 1917 . . . . 5 𝑦 𝐵𝐴
85, 6, 7nf3an 1904 . . . 4 𝑦(Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴)
9 simpl 483 . . . . . . . 8 ((𝑥𝑦𝑦𝐵) → 𝑥𝑦)
109a1i 11 . . . . . . 7 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑥𝑦))
11 simpr 485 . . . . . . . 8 ((𝑥𝑦𝑦𝐵) → 𝑦𝐵)
1211a1i 11 . . . . . . 7 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑦𝐵))
13 pm3.2an3 1339 . . . . . . 7 (𝑥𝑦 → (𝑦𝐵 → (𝐵𝑥 → (𝑥𝑦𝑦𝐵𝐵𝑥))))
1410, 12, 13syl6c 70 . . . . . 6 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → (𝐵𝑥 → (𝑥𝑦𝑦𝐵𝐵𝑥))))
15 en3lp 9372 . . . . . 6 ¬ (𝑥𝑦𝑦𝐵𝐵𝑥)
16 con3 153 . . . . . 6 ((𝐵𝑥 → (𝑥𝑦𝑦𝐵𝐵𝑥)) → (¬ (𝑥𝑦𝑦𝐵𝐵𝑥) → ¬ 𝐵𝑥))
1714, 15, 16syl6mpi 67 . . . . 5 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → ¬ 𝐵𝑥))
18 eleq2 2827 . . . . . . . . 9 (𝑥 = 𝐵 → (𝑦𝑥𝑦𝐵))
1918biimprcd 249 . . . . . . . 8 (𝑦𝐵 → (𝑥 = 𝐵𝑦𝑥))
2012, 19syl6 35 . . . . . . 7 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → (𝑥 = 𝐵𝑦𝑥)))
21 pm3.2 470 . . . . . . 7 (𝑥𝑦 → (𝑦𝑥 → (𝑥𝑦𝑦𝑥)))
2210, 20, 21syl10 79 . . . . . 6 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → (𝑥 = 𝐵 → (𝑥𝑦𝑦𝑥))))
23 en2lp 9364 . . . . . 6 ¬ (𝑥𝑦𝑦𝑥)
24 con3 153 . . . . . 6 ((𝑥 = 𝐵 → (𝑥𝑦𝑦𝑥)) → (¬ (𝑥𝑦𝑦𝑥) → ¬ 𝑥 = 𝐵))
2522, 23, 24syl6mpi 67 . . . . 5 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → ¬ 𝑥 = 𝐵))
26 simp3 1137 . . . . . 6 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → 𝐵𝐴)
27 simp1 1135 . . . . . . . . 9 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → Tr 𝐴)
28 trel 5198 . . . . . . . . . . 11 (Tr 𝐴 → ((𝑦𝐵𝐵𝐴) → 𝑦𝐴))
2928expd 416 . . . . . . . . . 10 (Tr 𝐴 → (𝑦𝐵 → (𝐵𝐴𝑦𝐴)))
3027, 12, 26, 29ee121 42125 . . . . . . . . 9 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑦𝐴))
31 trel 5198 . . . . . . . . . 10 (Tr 𝐴 → ((𝑥𝑦𝑦𝐴) → 𝑥𝐴))
3231expd 416 . . . . . . . . 9 (Tr 𝐴 → (𝑥𝑦 → (𝑦𝐴𝑥𝐴)))
3327, 10, 30, 32ee122 42126 . . . . . . . 8 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑥𝐴))
34 ralcom 3166 . . . . . . . . . 10 (∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ↔ ∀𝑦𝐴𝑥𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦))
3534biimpi 215 . . . . . . . . 9 (∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) → ∀𝑦𝐴𝑥𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦))
36353ad2ant2 1133 . . . . . . . 8 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ∀𝑦𝐴𝑥𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦))
37 rspsbc2 42154 . . . . . . . 8 (𝐵𝐴 → (𝑥𝐴 → (∀𝑦𝐴𝑥𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) → [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦))))
3826, 33, 36, 37ee121 42125 . . . . . . 7 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦)))
39 equid 2015 . . . . . . . 8 𝑥 = 𝑥
40 sbceq1a 3727 . . . . . . . 8 (𝑥 = 𝑥 → ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) ↔ [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦)))
4139, 40ax-mp 5 . . . . . . 7 ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) ↔ [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦))
4238, 41syl6ibr 251 . . . . . 6 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → [𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦)))
43 sbcoreleleq 42155 . . . . . . 7 (𝐵𝐴 → ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) ↔ (𝑥𝐵𝐵𝑥𝑥 = 𝐵)))
4443biimpd 228 . . . . . 6 (𝐵𝐴 → ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) → (𝑥𝐵𝐵𝑥𝑥 = 𝐵)))
4526, 42, 44sylsyld 61 . . . . 5 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → (𝑥𝐵𝐵𝑥𝑥 = 𝐵)))
46 3ornot23 42129 . . . . . 6 ((¬ 𝐵𝑥 ∧ ¬ 𝑥 = 𝐵) → ((𝑥𝐵𝐵𝑥𝑥 = 𝐵) → 𝑥𝐵))
4746ex 413 . . . . 5 𝐵𝑥 → (¬ 𝑥 = 𝐵 → ((𝑥𝐵𝐵𝑥𝑥 = 𝐵) → 𝑥𝐵)))
4817, 25, 45, 47ee222 42122 . . . 4 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑥𝐵))
498, 48alrimi 2206 . . 3 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ∀𝑦((𝑥𝑦𝑦𝐵) → 𝑥𝐵))
504, 49alrimi 2206 . 2 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ∀𝑥𝑦((𝑥𝑦𝑦𝐵) → 𝑥𝐵))
51 dftr2 5193 . 2 (Tr 𝐵 ↔ ∀𝑥𝑦((𝑥𝑦𝑦𝐵) → 𝑥𝐵))
5250, 51sylibr 233 1 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → Tr 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  w3o 1085  w3a 1086  wal 1537   = wceq 1539  wcel 2106  wral 3064  [wsbc 3716  Tr wtr 5191
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588  ax-reg 9351
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-tp 4566  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-tr 5192  df-eprel 5495  df-fr 5544
This theorem is referenced by:  ordelordALT  42157  ordelordALTVD  42487
  Copyright terms: Public domain W3C validator