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 42045
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 42370. (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 1918 . . . 4 𝑥Tr 𝐴
2 nfra1 3142 . . . 4 𝑥𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦)
3 nfv 1918 . . . 4 𝑥 𝐵𝐴
41, 2, 3nf3an 1905 . . 3 𝑥(Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴)
5 nfv 1918 . . . . 5 𝑦Tr 𝐴
6 nfra2w 3151 . . . . 5 𝑦𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦)
7 nfv 1918 . . . . 5 𝑦 𝐵𝐴
85, 6, 7nf3an 1905 . . . 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 9302 . . . . . 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 469 . . . . . . 7 (𝑥𝑦 → (𝑦𝑥 → (𝑥𝑦𝑦𝑥)))
2210, 20, 21syl10 79 . . . . . 6 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → (𝑥 = 𝐵 → (𝑥𝑦𝑦𝑥))))
23 en2lp 9294 . . . . . 6 ¬ (𝑥𝑦𝑦𝑥)
24 con3 153 . . . . . 6 ((𝑥 = 𝐵 → (𝑥𝑦𝑦𝑥)) → (¬ (𝑥𝑦𝑦𝑥) → ¬ 𝑥 = 𝐵))
2522, 23, 24syl6mpi 67 . . . . 5 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → ¬ 𝑥 = 𝐵))
26 simp3 1136 . . . . . 6 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → 𝐵𝐴)
27 simp1 1134 . . . . . . . . 9 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → Tr 𝐴)
28 trel 5194 . . . . . . . . . . 11 (Tr 𝐴 → ((𝑦𝐵𝐵𝐴) → 𝑦𝐴))
2928expd 415 . . . . . . . . . 10 (Tr 𝐴 → (𝑦𝐵 → (𝐵𝐴𝑦𝐴)))
3027, 12, 26, 29ee121 42014 . . . . . . . . 9 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑦𝐴))
31 trel 5194 . . . . . . . . . 10 (Tr 𝐴 → ((𝑥𝑦𝑦𝐴) → 𝑥𝐴))
3231expd 415 . . . . . . . . 9 (Tr 𝐴 → (𝑥𝑦 → (𝑦𝐴𝑥𝐴)))
3327, 10, 30, 32ee122 42015 . . . . . . . 8 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑥𝐴))
34 ralcom 3280 . . . . . . . . . 10 (∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ↔ ∀𝑦𝐴𝑥𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦))
3534biimpi 215 . . . . . . . . 9 (∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) → ∀𝑦𝐴𝑥𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦))
36353ad2ant2 1132 . . . . . . . 8 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ∀𝑦𝐴𝑥𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦))
37 rspsbc2 42043 . . . . . . . 8 (𝐵𝐴 → (𝑥𝐴 → (∀𝑦𝐴𝑥𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) → [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦))))
3826, 33, 36, 37ee121 42014 . . . . . . 7 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦)))
39 equid 2016 . . . . . . . 8 𝑥 = 𝑥
40 sbceq1a 3722 . . . . . . . 8 (𝑥 = 𝑥 → ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) ↔ [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦)))
4139, 40ax-mp 5 . . . . . . 7 ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) ↔ [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦))
4238, 41syl6ibr 251 . . . . . 6 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → [𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦)))
43 sbcoreleleq 42044 . . . . . . 7 (𝐵𝐴 → ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) ↔ (𝑥𝐵𝐵𝑥𝑥 = 𝐵)))
4443biimpd 228 . . . . . 6 (𝐵𝐴 → ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) → (𝑥𝐵𝐵𝑥𝑥 = 𝐵)))
4526, 42, 44sylsyld 61 . . . . 5 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → (𝑥𝐵𝐵𝑥𝑥 = 𝐵)))
46 3ornot23 42018 . . . . . 6 ((¬ 𝐵𝑥 ∧ ¬ 𝑥 = 𝐵) → ((𝑥𝐵𝐵𝑥𝑥 = 𝐵) → 𝑥𝐵))
4746ex 412 . . . . 5 𝐵𝑥 → (¬ 𝑥 = 𝐵 → ((𝑥𝐵𝐵𝑥𝑥 = 𝐵) → 𝑥𝐵)))
4817, 25, 45, 47ee222 42011 . . . 4 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑥𝐵))
498, 48alrimi 2209 . . 3 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ∀𝑦((𝑥𝑦𝑦𝐵) → 𝑥𝐵))
504, 49alrimi 2209 . 2 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ∀𝑥𝑦((𝑥𝑦𝑦𝐵) → 𝑥𝐵))
51 dftr2 5189 . 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 1537   = wceq 1539  wcel 2108  wral 3063  [wsbc 3711  Tr wtr 5187
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566  ax-reg 9281
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-tr 5188  df-eprel 5486  df-fr 5535
This theorem is referenced by:  ordelordALT  42046  ordelordALTVD  42376
  Copyright terms: Public domain W3C validator