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

Theorem fliftcnv 6461
Description: Converse of the relation 𝐹. (Contributed by Mario Carneiro, 23-Dec-2016.)
Hypotheses
Ref Expression
flift.1 𝐹 = ran (𝑥𝑋 ↦ ⟨𝐴, 𝐵⟩)
flift.2 ((𝜑𝑥𝑋) → 𝐴𝑅)
flift.3 ((𝜑𝑥𝑋) → 𝐵𝑆)
Assertion
Ref Expression
fliftcnv (𝜑𝐹 = ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩))
Distinct variable groups:   𝑥,𝑅   𝜑,𝑥   𝑥,𝑋   𝑥,𝑆
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)   𝐹(𝑥)

Proof of Theorem fliftcnv
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2610 . . . . 5 ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩) = ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)
2 flift.3 . . . . 5 ((𝜑𝑥𝑋) → 𝐵𝑆)
3 flift.2 . . . . 5 ((𝜑𝑥𝑋) → 𝐴𝑅)
41, 2, 3fliftrel 6458 . . . 4 (𝜑 → ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩) ⊆ (𝑆 × 𝑅))
5 relxp 5150 . . . 4 Rel (𝑆 × 𝑅)
6 relss 5129 . . . 4 (ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩) ⊆ (𝑆 × 𝑅) → (Rel (𝑆 × 𝑅) → Rel ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)))
74, 5, 6mpisyl 21 . . 3 (𝜑 → Rel ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩))
8 relcnv 5422 . . 3 Rel 𝐹
97, 8jctil 558 . 2 (𝜑 → (Rel 𝐹 ∧ Rel ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)))
10 flift.1 . . . . . . 7 𝐹 = ran (𝑥𝑋 ↦ ⟨𝐴, 𝐵⟩)
1110, 3, 2fliftel 6459 . . . . . 6 (𝜑 → (𝑧𝐹𝑦 ↔ ∃𝑥𝑋 (𝑧 = 𝐴𝑦 = 𝐵)))
12 vex 3176 . . . . . . 7 𝑦 ∈ V
13 vex 3176 . . . . . . 7 𝑧 ∈ V
1412, 13brcnv 5227 . . . . . 6 (𝑦𝐹𝑧𝑧𝐹𝑦)
15 ancom 465 . . . . . . 7 ((𝑦 = 𝐵𝑧 = 𝐴) ↔ (𝑧 = 𝐴𝑦 = 𝐵))
1615rexbii 3023 . . . . . 6 (∃𝑥𝑋 (𝑦 = 𝐵𝑧 = 𝐴) ↔ ∃𝑥𝑋 (𝑧 = 𝐴𝑦 = 𝐵))
1711, 14, 163bitr4g 302 . . . . 5 (𝜑 → (𝑦𝐹𝑧 ↔ ∃𝑥𝑋 (𝑦 = 𝐵𝑧 = 𝐴)))
181, 2, 3fliftel 6459 . . . . 5 (𝜑 → (𝑦ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)𝑧 ↔ ∃𝑥𝑋 (𝑦 = 𝐵𝑧 = 𝐴)))
1917, 18bitr4d 270 . . . 4 (𝜑 → (𝑦𝐹𝑧𝑦ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)𝑧))
20 df-br 4584 . . . 4 (𝑦𝐹𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐹)
21 df-br 4584 . . . 4 (𝑦ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩))
2219, 20, 213bitr3g 301 . . 3 (𝜑 → (⟨𝑦, 𝑧⟩ ∈ 𝐹 ↔ ⟨𝑦, 𝑧⟩ ∈ ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)))
2322eqrelrdv2 5142 . 2 (((Rel 𝐹 ∧ Rel ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)) ∧ 𝜑) → 𝐹 = ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩))
249, 23mpancom 700 1 (𝜑𝐹 = ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1475  wcel 1977  wrex 2897  wss 3540  cop 4131   class class class wbr 4583  cmpt 4643   × cxp 5036  ccnv 5037  ran crn 5039  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-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-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-fv 5812
This theorem is referenced by:  pi1xfrcnvlem  22664
  Copyright terms: Public domain W3C validator