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 42109
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 42434. (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 1920 . . . 4 𝑥Tr 𝐴
2 nfra1 3144 . . . 4 𝑥𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦)
3 nfv 1920 . . . 4 𝑥 𝐵𝐴
41, 2, 3nf3an 1907 . . 3 𝑥(Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴)
5 nfv 1920 . . . . 5 𝑦Tr 𝐴
6 nfra2w 3153 . . . . 5 𝑦𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦)
7 nfv 1920 . . . . 5 𝑦 𝐵𝐴
85, 6, 7nf3an 1907 . . . 4 𝑦(Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴)
9 simpl 482 . . . . . . . 8 ((𝑥𝑦𝑦𝐵) → 𝑥𝑦)
109a1i 11 . . . . . . 7 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑥𝑦))
11 simpr 484 . . . . . . . 8 ((𝑥𝑦𝑦𝐵) → 𝑦𝐵)
1211a1i 11 . . . . . . 7 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑦𝐵))
13 pm3.2an3 1338 . . . . . . 7 (𝑥𝑦 → (𝑦𝐵 → (𝐵𝑥 → (𝑥𝑦𝑦𝐵𝐵𝑥))))
1410, 12, 13syl6c 70 . . . . . 6 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → (𝐵𝑥 → (𝑥𝑦𝑦𝐵𝐵𝑥))))
15 en3lp 9333 . . . . . 6 ¬ (𝑥𝑦𝑦𝐵𝐵𝑥)
16 con3 153 . . . . . 6 ((𝐵𝑥 → (𝑥𝑦𝑦𝐵𝐵𝑥)) → (¬ (𝑥𝑦𝑦𝐵𝐵𝑥) → ¬ 𝐵𝑥))
1714, 15, 16syl6mpi 67 . . . . 5 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → ¬ 𝐵𝑥))
18 eleq2 2828 . . . . . . . . 9 (𝑥 = 𝐵 → (𝑦𝑥𝑦𝐵))
1918biimprcd 249 . . . . . . . 8 (𝑦𝐵 → (𝑥 = 𝐵𝑦𝑥))
2012, 19syl6 35 . . . . . . 7 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → (𝑥 = 𝐵𝑦𝑥)))
21 pm3.2 469 . . . . . . 7 (𝑥𝑦 → (𝑦𝑥 → (𝑥𝑦𝑦𝑥)))
2210, 20, 21syl10 79 . . . . . 6 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → (𝑥 = 𝐵 → (𝑥𝑦𝑦𝑥))))
23 en2lp 9325 . . . . . 6 ¬ (𝑥𝑦𝑦𝑥)
24 con3 153 . . . . . 6 ((𝑥 = 𝐵 → (𝑥𝑦𝑦𝑥)) → (¬ (𝑥𝑦𝑦𝑥) → ¬ 𝑥 = 𝐵))
2522, 23, 24syl6mpi 67 . . . . 5 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → ¬ 𝑥 = 𝐵))
26 simp3 1136 . . . . . 6 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → 𝐵𝐴)
27 simp1 1134 . . . . . . . . 9 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → Tr 𝐴)
28 trel 5202 . . . . . . . . . . 11 (Tr 𝐴 → ((𝑦𝐵𝐵𝐴) → 𝑦𝐴))
2928expd 415 . . . . . . . . . 10 (Tr 𝐴 → (𝑦𝐵 → (𝐵𝐴𝑦𝐴)))
3027, 12, 26, 29ee121 42078 . . . . . . . . 9 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑦𝐴))
31 trel 5202 . . . . . . . . . 10 (Tr 𝐴 → ((𝑥𝑦𝑦𝐴) → 𝑥𝐴))
3231expd 415 . . . . . . . . 9 (Tr 𝐴 → (𝑥𝑦 → (𝑦𝐴𝑥𝐴)))
3327, 10, 30, 32ee122 42079 . . . . . . . 8 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑥𝐴))
34 ralcom 3282 . . . . . . . . . 10 (∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ↔ ∀𝑦𝐴𝑥𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦))
3534biimpi 215 . . . . . . . . 9 (∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) → ∀𝑦𝐴𝑥𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦))
36353ad2ant2 1132 . . . . . . . 8 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ∀𝑦𝐴𝑥𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦))
37 rspsbc2 42107 . . . . . . . 8 (𝐵𝐴 → (𝑥𝐴 → (∀𝑦𝐴𝑥𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) → [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦))))
3826, 33, 36, 37ee121 42078 . . . . . . 7 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦)))
39 equid 2018 . . . . . . . 8 𝑥 = 𝑥
40 sbceq1a 3730 . . . . . . . 8 (𝑥 = 𝑥 → ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) ↔ [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦)))
4139, 40ax-mp 5 . . . . . . 7 ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) ↔ [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦))
4238, 41syl6ibr 251 . . . . . 6 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → [𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦)))
43 sbcoreleleq 42108 . . . . . . 7 (𝐵𝐴 → ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) ↔ (𝑥𝐵𝐵𝑥𝑥 = 𝐵)))
4443biimpd 228 . . . . . 6 (𝐵𝐴 → ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) → (𝑥𝐵𝐵𝑥𝑥 = 𝐵)))
4526, 42, 44sylsyld 61 . . . . 5 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → (𝑥𝐵𝐵𝑥𝑥 = 𝐵)))
46 3ornot23 42082 . . . . . 6 ((¬ 𝐵𝑥 ∧ ¬ 𝑥 = 𝐵) → ((𝑥𝐵𝐵𝑥𝑥 = 𝐵) → 𝑥𝐵))
4746ex 412 . . . . 5 𝐵𝑥 → (¬ 𝑥 = 𝐵 → ((𝑥𝐵𝐵𝑥𝑥 = 𝐵) → 𝑥𝐵)))
4817, 25, 45, 47ee222 42075 . . . 4 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑥𝐵))
498, 48alrimi 2209 . . 3 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ∀𝑦((𝑥𝑦𝑦𝐵) → 𝑥𝐵))
504, 49alrimi 2209 . 2 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ∀𝑥𝑦((𝑥𝑦𝑦𝐵) → 𝑥𝐵))
51 dftr2 5197 . 2 (Tr 𝐵 ↔ ∀𝑥𝑦((𝑥𝑦𝑦𝐵) → 𝑥𝐵))
5250, 51sylibr 233 1 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → Tr 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  w3o 1084  w3a 1085  wal 1539   = wceq 1541  wcel 2109  wral 3065  [wsbc 3719  Tr wtr 5195
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-sep 5226  ax-nul 5233  ax-pr 5355  ax-un 7579  ax-reg 9312
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-ral 3070  df-rex 3071  df-rab 3074  df-v 3432  df-sbc 3720  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-nul 4262  df-if 4465  df-pw 4540  df-sn 4567  df-pr 4569  df-tp 4571  df-op 4573  df-uni 4845  df-br 5079  df-opab 5141  df-tr 5196  df-eprel 5494  df-fr 5543
This theorem is referenced by:  ordelordALT  42110  ordelordALTVD  42440
  Copyright terms: Public domain W3C validator