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

Theorem vtoclr 5608
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 5600 . . . 4 (𝐴𝑅𝐵 → (𝐴 ∈ V ∧ 𝐵 ∈ V))
31brrelex2i 5602 . . . 4 (𝐵𝑅𝐶𝐶 ∈ V)
4 breq1 5060 . . . . . . . 8 (𝑥 = 𝐴 → (𝑥𝑅𝑦𝐴𝑅𝑦))
54anbi1d 631 . . . . . . 7 (𝑥 = 𝐴 → ((𝑥𝑅𝑦𝑦𝑅𝐶) ↔ (𝐴𝑅𝑦𝑦𝑅𝐶)))
6 breq1 5060 . . . . . . 7 (𝑥 = 𝐴 → (𝑥𝑅𝐶𝐴𝑅𝐶))
75, 6imbi12d 347 . . . . . 6 (𝑥 = 𝐴 → (((𝑥𝑅𝑦𝑦𝑅𝐶) → 𝑥𝑅𝐶) ↔ ((𝐴𝑅𝑦𝑦𝑅𝐶) → 𝐴𝑅𝐶)))
87imbi2d 343 . . . . 5 (𝑥 = 𝐴 → ((𝐶 ∈ V → ((𝑥𝑅𝑦𝑦𝑅𝐶) → 𝑥𝑅𝐶)) ↔ (𝐶 ∈ V → ((𝐴𝑅𝑦𝑦𝑅𝐶) → 𝐴𝑅𝐶))))
9 breq2 5061 . . . . . . . 8 (𝑦 = 𝐵 → (𝐴𝑅𝑦𝐴𝑅𝐵))
10 breq1 5060 . . . . . . . 8 (𝑦 = 𝐵 → (𝑦𝑅𝐶𝐵𝑅𝐶))
119, 10anbi12d 632 . . . . . . 7 (𝑦 = 𝐵 → ((𝐴𝑅𝑦𝑦𝑅𝐶) ↔ (𝐴𝑅𝐵𝐵𝑅𝐶)))
1211imbi1d 344 . . . . . 6 (𝑦 = 𝐵 → (((𝐴𝑅𝑦𝑦𝑅𝐶) → 𝐴𝑅𝐶) ↔ ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
1312imbi2d 343 . . . . 5 (𝑦 = 𝐵 → ((𝐶 ∈ V → ((𝐴𝑅𝑦𝑦𝑅𝐶) → 𝐴𝑅𝐶)) ↔ (𝐶 ∈ V → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶))))
14 breq2 5061 . . . . . . . 8 (𝑧 = 𝐶 → (𝑦𝑅𝑧𝑦𝑅𝐶))
1514anbi2d 630 . . . . . . 7 (𝑧 = 𝐶 → ((𝑥𝑅𝑦𝑦𝑅𝑧) ↔ (𝑥𝑅𝑦𝑦𝑅𝐶)))
16 breq2 5061 . . . . . . 7 (𝑧 = 𝐶 → (𝑥𝑅𝑧𝑥𝑅𝐶))
1715, 16imbi12d 347 . . . . . 6 (𝑧 = 𝐶 → (((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧) ↔ ((𝑥𝑅𝑦𝑦𝑅𝐶) → 𝑥𝑅𝐶)))
18 vtoclr.2 . . . . . 6 ((𝑥𝑅𝑦𝑦𝑅𝑧) → 𝑥𝑅𝑧)
1917, 18vtoclg 3566 . . . . 5 (𝐶 ∈ V → ((𝑥𝑅𝑦𝑦𝑅𝐶) → 𝑥𝑅𝐶))
208, 13, 19vtocl2g 3570 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝐶 ∈ V → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
212, 3, 20syl2im 40 . . 3 (𝐴𝑅𝐵 → (𝐵𝑅𝐶 → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)))
2221imp 409 . 2 ((𝐴𝑅𝐵𝐵𝑅𝐶) → ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶))
2322pm2.43i 52 1 ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1531  wcel 2108  Vcvv 3493   class class class wbr 5057  Rel wrel 5553
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ral 3141  df-rex 3142  df-rab 3145  df-v 3495  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-nul 4290  df-if 4466  df-sn 4560  df-pr 4562  df-op 4566  df-br 5058  df-opab 5120  df-xp 5554  df-rel 5555
This theorem is referenced by:  domtr  8554
  Copyright terms: Public domain W3C validator