MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  vtoclr Structured version   Visualization version   GIF version

Theorem vtoclr 5086
Description: Variable to class conversion of transitive relation. (Contributed by NM, 9-Jun-1998.) (Revised by Mario Carneiro, 26-Apr-2015.)
Hypotheses
Ref Expression
vtoclr.1 Rel 𝑅
vtoclr.2 ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)
Assertion
Ref Expression
vtoclr ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑦,𝐵   𝑥,𝑧,𝐶,𝑦   𝑥,𝑅,𝑦,𝑧
Allowed substitution hints:   𝐴(𝑧)   𝐵(𝑥,𝑧)

Proof of Theorem vtoclr
StepHypRef Expression
1 vtoclr.1 . . . . . 6 Rel 𝑅
21brrelexi 5082 . . . . 5 (𝐴𝑅𝐵𝐴 ∈ V)
31brrelex2i 5083 . . . . 5 (𝐴𝑅𝐵𝐵 ∈ V)
42, 3jca 553 . . . 4 (𝐴𝑅𝐵 → (𝐴 ∈ V ∧ 𝐵 ∈ V))
51brrelex2i 5083 . . . 4 (𝐵𝑅𝐶𝐶 ∈ V)
6 breq1 4586 . . . . . . . 8 (𝑥 = 𝐴 → (𝑥𝑅𝑦𝐴𝑅𝑦))
76anbi1d 737 . . . . . . 7 (𝑥 = 𝐴 → ((𝑥𝑅𝑦𝑦𝑅𝐶) ↔ (𝐴𝑅𝑦𝑦𝑅𝐶)))
8 breq1 4586 . . . . . . 7 (𝑥 = 𝐴 → (𝑥𝑅𝐶𝐴𝑅𝐶))
97, 8imbi12d 333 . . . . . 6 (𝑥 = 𝐴 → (((𝑥𝑅𝑦𝑦𝑅𝐶) → 𝑥𝑅𝐶) ↔ ((𝐴𝑅𝑦𝑦𝑅𝐶) → 𝐴𝑅𝐶)))
109imbi2d 329 . . . . 5 (𝑥 = 𝐴 → ((𝐶 ∈ V → ((𝑥𝑅𝑦𝑦𝑅𝐶) → 𝑥𝑅𝐶)) ↔ (𝐶 ∈ V → ((𝐴𝑅𝑦𝑦𝑅𝐶) → 𝐴𝑅𝐶))))
11 breq2 4587 . . . . . . . 8 (𝑦 = 𝐵 → (𝐴𝑅𝑦𝐴𝑅𝐵))
12 breq1 4586 . . . . . . . 8 (𝑦 = 𝐵 → (𝑦𝑅𝐶𝐵𝑅𝐶))
1311, 12anbi12d 743 . . . . . . 7 (𝑦 = 𝐵 → ((𝐴𝑅𝑦𝑦𝑅𝐶) ↔ (𝐴𝑅𝐵𝐵𝑅𝐶)))
1413imbi1d 330 . . . . . 6 (𝑦 = 𝐵 → (((𝐴𝑅𝑦𝑦𝑅𝐶) → 𝐴𝑅𝐶) ↔ ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
1514imbi2d 329 . . . . 5 (𝑦 = 𝐵 → ((𝐶 ∈ V → ((𝐴𝑅𝑦𝑦𝑅𝐶) → 𝐴𝑅𝐶)) ↔ (𝐶 ∈ V → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶))))
16 breq2 4587 . . . . . . . 8 (𝑧 = 𝐶 → (𝑦𝑅𝑧𝑦𝑅𝐶))
1716anbi2d 736 . . . . . . 7 (𝑧 = 𝐶 → ((𝑥𝑅𝑦𝑦𝑅𝑧) ↔ (𝑥𝑅𝑦𝑦𝑅𝐶)))
18 breq2 4587 . . . . . . 7 (𝑧 = 𝐶 → (𝑥𝑅𝑧𝑥𝑅𝐶))
1917, 18imbi12d 333 . . . . . 6 (𝑧 = 𝐶 → (((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧) ↔ ((𝑥𝑅𝑦𝑦𝑅𝐶) → 𝑥𝑅𝐶)))
20 vtoclr.2 . . . . . 6 ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)
2119, 20vtoclg 3239 . . . . 5 (𝐶 ∈ V → ((𝑥𝑅𝑦𝑦𝑅𝐶) → 𝑥𝑅𝐶))
2210, 15, 21vtocl2g 3243 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝐶 ∈ V → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
234, 5, 22syl2im 39 . . 3 (𝐴𝑅𝐵 → (𝐵𝑅𝐶 → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
2423imp 444 . 2 ((𝐴𝑅𝐵𝐵𝑅𝐶) → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶))
2524pm2.43i 50 1 ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1475  wcel 1977  Vcvv 3173   class class class wbr 4583  Rel wrel 5043
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-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
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  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-op 4132  df-br 4584  df-opab 4644  df-xp 5044  df-rel 5045
This theorem is referenced by:  domtr  7895
  Copyright terms: Public domain W3C validator