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 37767
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 38119. (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 1830 . . . 4 𝑥Tr 𝐴
2 nfra1 2925 . . . 4 𝑥𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦)
3 nfv 1830 . . . 4 𝑥 𝐵𝐴
41, 2, 3nf3an 1819 . . 3 𝑥(Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴)
5 nfv 1830 . . . . 5 𝑦Tr 𝐴
6 nfra2 2930 . . . . 5 𝑦𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦)
7 nfv 1830 . . . . 5 𝑦 𝐵𝐴
85, 6, 7nf3an 1819 . . . 4 𝑦(Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴)
9 simpl 472 . . . . . . . 8 ((𝑥𝑦𝑦𝐵) → 𝑥𝑦)
109a1i 11 . . . . . . 7 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑥𝑦))
11 simpr 476 . . . . . . . 8 ((𝑥𝑦𝑦𝐵) → 𝑦𝐵)
1211a1i 11 . . . . . . 7 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑦𝐵))
13 pm3.2an3 1233 . . . . . . 7 (𝑥𝑦 → (𝑦𝐵 → (𝐵𝑥 → (𝑥𝑦𝑦𝐵𝐵𝑥))))
1410, 12, 13syl6c 68 . . . . . 6 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → (𝐵𝑥 → (𝑥𝑦𝑦𝐵𝐵𝑥))))
15 en3lp 8396 . . . . . 6 ¬ (𝑥𝑦𝑦𝐵𝐵𝑥)
16 con3 148 . . . . . 6 ((𝐵𝑥 → (𝑥𝑦𝑦𝐵𝐵𝑥)) → (¬ (𝑥𝑦𝑦𝐵𝐵𝑥) → ¬ 𝐵𝑥))
1714, 15, 16syl6mpi 65 . . . . 5 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → ¬ 𝐵𝑥))
18 eleq2 2677 . . . . . . . . 9 (𝑥 = 𝐵 → (𝑦𝑥𝑦𝐵))
1918biimprcd 239 . . . . . . . 8 (𝑦𝐵 → (𝑥 = 𝐵𝑦𝑥))
2012, 19syl6 34 . . . . . . 7 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → (𝑥 = 𝐵𝑦𝑥)))
21 pm3.2 462 . . . . . . 7 (𝑥𝑦 → (𝑦𝑥 → (𝑥𝑦𝑦𝑥)))
2210, 20, 21syl10 77 . . . . . 6 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → (𝑥 = 𝐵 → (𝑥𝑦𝑦𝑥))))
23 en2lp 8393 . . . . . 6 ¬ (𝑥𝑦𝑦𝑥)
24 con3 148 . . . . . 6 ((𝑥 = 𝐵 → (𝑥𝑦𝑦𝑥)) → (¬ (𝑥𝑦𝑦𝑥) → ¬ 𝑥 = 𝐵))
2522, 23, 24syl6mpi 65 . . . . 5 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → ¬ 𝑥 = 𝐵))
26 simp3 1056 . . . . . 6 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → 𝐵𝐴)
27 simp1 1054 . . . . . . . . 9 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → Tr 𝐴)
28 trel 4687 . . . . . . . . . . 11 (Tr 𝐴 → ((𝑦𝐵𝐵𝐴) → 𝑦𝐴))
2928expd 451 . . . . . . . . . 10 (Tr 𝐴 → (𝑦𝐵 → (𝐵𝐴𝑦𝐴)))
3027, 12, 26, 29ee121 37732 . . . . . . . . 9 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑦𝐴))
31 trel 4687 . . . . . . . . . 10 (Tr 𝐴 → ((𝑥𝑦𝑦𝐴) → 𝑥𝐴))
3231expd 451 . . . . . . . . 9 (Tr 𝐴 → (𝑥𝑦 → (𝑦𝐴𝑥𝐴)))
3327, 10, 30, 32ee122 37733 . . . . . . . 8 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑥𝐴))
34 ralcom2 3083 . . . . . . . . 9 (∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) → ∀𝑦𝐴𝑥𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦))
35343ad2ant2 1076 . . . . . . . 8 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ∀𝑦𝐴𝑥𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦))
36 rspsbc2 37765 . . . . . . . 8 (𝐵𝐴 → (𝑥𝐴 → (∀𝑦𝐴𝑥𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) → [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦))))
3726, 33, 35, 36ee121 37732 . . . . . . 7 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦)))
38 equid 1926 . . . . . . . 8 𝑥 = 𝑥
39 sbceq1a 3413 . . . . . . . 8 (𝑥 = 𝑥 → ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) ↔ [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦)))
4038, 39ax-mp 5 . . . . . . 7 ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) ↔ [𝑥 / 𝑥][𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦))
4137, 40syl6ibr 241 . . . . . 6 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → [𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦)))
42 sbcoreleleq 37766 . . . . . . 7 (𝐵𝐴 → ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) ↔ (𝑥𝐵𝐵𝑥𝑥 = 𝐵)))
4342biimpd 218 . . . . . 6 (𝐵𝐴 → ([𝐵 / 𝑦](𝑥𝑦𝑦𝑥𝑥 = 𝑦) → (𝑥𝐵𝐵𝑥𝑥 = 𝐵)))
4426, 41, 43sylsyld 59 . . . . 5 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → (𝑥𝐵𝐵𝑥𝑥 = 𝐵)))
45 3ornot23 37736 . . . . . 6 ((¬ 𝐵𝑥 ∧ ¬ 𝑥 = 𝐵) → ((𝑥𝐵𝐵𝑥𝑥 = 𝐵) → 𝑥𝐵))
4645ex 449 . . . . 5 𝐵𝑥 → (¬ 𝑥 = 𝐵 → ((𝑥𝐵𝐵𝑥𝑥 = 𝐵) → 𝑥𝐵)))
4717, 25, 44, 46ee222 37729 . . . 4 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ((𝑥𝑦𝑦𝐵) → 𝑥𝐵))
488, 47alrimi 2069 . . 3 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ∀𝑦((𝑥𝑦𝑦𝐵) → 𝑥𝐵))
494, 48alrimi 2069 . 2 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → ∀𝑥𝑦((𝑥𝑦𝑦𝐵) → 𝑥𝐵))
50 dftr2 4682 . 2 (Tr 𝐵 ↔ ∀𝑥𝑦((𝑥𝑦𝑦𝐵) → 𝑥𝐵))
5149, 50sylibr 223 1 ((Tr 𝐴 ∧ ∀𝑥𝐴𝑦𝐴 (𝑥𝑦𝑦𝑥𝑥 = 𝑦) ∧ 𝐵𝐴) → Tr 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wa 383  w3o 1030  w3a 1031  wal 1473   = wceq 1475  wcel 1977  wral 2896  [wsbc 3402  Tr wtr 4680
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833  ax-un 6847  ax-reg 8380
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-tr 4681  df-eprel 4949  df-fr 4997
This theorem is referenced by:  ordelordALT  37768  ordelordALTVD  38125
  Copyright terms: Public domain W3C validator