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

Theorem vtoclr 5597
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 . . . . 5 Rel 𝑅
21brrelex12i 5589 . . . 4 (𝐴𝑅𝐵 → (𝐴 ∈ V ∧ 𝐵 ∈ V))
31brrelex2i 5591 . . . 4 (𝐵𝑅𝐶𝐶 ∈ V)
4 breq1 5042 . . . . . . . 8 (𝑥 = 𝐴 → (𝑥𝑅𝑦𝐴𝑅𝑦))
54anbi1d 633 . . . . . . 7 (𝑥 = 𝐴 → ((𝑥𝑅𝑦𝑦𝑅𝐶) ↔ (𝐴𝑅𝑦𝑦𝑅𝐶)))
6 breq1 5042 . . . . . . 7 (𝑥 = 𝐴 → (𝑥𝑅𝐶𝐴𝑅𝐶))
75, 6imbi12d 348 . . . . . 6 (𝑥 = 𝐴 → (((𝑥𝑅𝑦𝑦𝑅𝐶) → 𝑥𝑅𝐶) ↔ ((𝐴𝑅𝑦𝑦𝑅𝐶) → 𝐴𝑅𝐶)))
87imbi2d 344 . . . . 5 (𝑥 = 𝐴 → ((𝐶 ∈ V → ((𝑥𝑅𝑦𝑦𝑅𝐶) → 𝑥𝑅𝐶)) ↔ (𝐶 ∈ V → ((𝐴𝑅𝑦𝑦𝑅𝐶) → 𝐴𝑅𝐶))))
9 breq2 5043 . . . . . . . 8 (𝑦 = 𝐵 → (𝐴𝑅𝑦𝐴𝑅𝐵))
10 breq1 5042 . . . . . . . 8 (𝑦 = 𝐵 → (𝑦𝑅𝐶𝐵𝑅𝐶))
119, 10anbi12d 634 . . . . . . 7 (𝑦 = 𝐵 → ((𝐴𝑅𝑦𝑦𝑅𝐶) ↔ (𝐴𝑅𝐵𝐵𝑅𝐶)))
1211imbi1d 345 . . . . . 6 (𝑦 = 𝐵 → (((𝐴𝑅𝑦𝑦𝑅𝐶) → 𝐴𝑅𝐶) ↔ ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
1312imbi2d 344 . . . . 5 (𝑦 = 𝐵 → ((𝐶 ∈ V → ((𝐴𝑅𝑦𝑦𝑅𝐶) → 𝐴𝑅𝐶)) ↔ (𝐶 ∈ V → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶))))
14 breq2 5043 . . . . . . . 8 (𝑧 = 𝐶 → (𝑦𝑅𝑧𝑦𝑅𝐶))
1514anbi2d 632 . . . . . . 7 (𝑧 = 𝐶 → ((𝑥𝑅𝑦𝑦𝑅𝑧) ↔ (𝑥𝑅𝑦𝑦𝑅𝐶)))
16 breq2 5043 . . . . . . 7 (𝑧 = 𝐶 → (𝑥𝑅𝑧𝑥𝑅𝐶))
1715, 16imbi12d 348 . . . . . 6 (𝑧 = 𝐶 → (((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧) ↔ ((𝑥𝑅𝑦𝑦𝑅𝐶) → 𝑥𝑅𝐶)))
18 vtoclr.2 . . . . . 6 ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)
1917, 18vtoclg 3471 . . . . 5 (𝐶 ∈ V → ((𝑥𝑅𝑦𝑦𝑅𝐶) → 𝑥𝑅𝐶))
208, 13, 19vtocl2g 3476 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝐶 ∈ V → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
212, 3, 20syl2im 40 . . 3 (𝐴𝑅𝐵 → (𝐵𝑅𝐶 → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
2221imp 410 . 2 ((𝐴𝑅𝐵𝐵𝑅𝐶) → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶))
2322pm2.43i 52 1 ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1543  wcel 2112  Vcvv 3398   class class class wbr 5039  Rel wrel 5541
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pr 5307
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-sb 2073  df-clab 2715  df-cleq 2728  df-clel 2809  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-sn 4528  df-pr 4530  df-op 4534  df-br 5040  df-opab 5102  df-xp 5542  df-rel 5543
This theorem is referenced by:  domtr  8659
  Copyright terms: Public domain W3C validator