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

Theorem fliftcnv 7066
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 2823 . . . . 5 ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩) = ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)
2 flift.3 . . . . 5 ((𝜑𝑥𝑋) → 𝐵𝑆)
3 flift.2 . . . . 5 ((𝜑𝑥𝑋) → 𝐴𝑅)
41, 2, 3fliftrel 7063 . . . 4 (𝜑 → ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩) ⊆ (𝑆 × 𝑅))
5 relxp 5575 . . . 4 Rel (𝑆 × 𝑅)
6 relss 5658 . . . 4 (ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩) ⊆ (𝑆 × 𝑅) → (Rel (𝑆 × 𝑅) → Rel ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)))
74, 5, 6mpisyl 21 . . 3 (𝜑 → Rel ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩))
8 relcnv 5969 . . 3 Rel 𝐹
97, 8jctil 522 . 2 (𝜑 → (Rel 𝐹 ∧ Rel ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)))
10 flift.1 . . . . . . 7 𝐹 = ran (𝑥𝑋 ↦ ⟨𝐴, 𝐵⟩)
1110, 3, 2fliftel 7064 . . . . . 6 (𝜑 → (𝑧𝐹𝑦 ↔ ∃𝑥𝑋 (𝑧 = 𝐴𝑦 = 𝐵)))
12 vex 3499 . . . . . . 7 𝑦 ∈ V
13 vex 3499 . . . . . . 7 𝑧 ∈ V
1412, 13brcnv 5755 . . . . . 6 (𝑦𝐹𝑧𝑧𝐹𝑦)
15 ancom 463 . . . . . . 7 ((𝑦 = 𝐵𝑧 = 𝐴) ↔ (𝑧 = 𝐴𝑦 = 𝐵))
1615rexbii 3249 . . . . . 6 (∃𝑥𝑋 (𝑦 = 𝐵𝑧 = 𝐴) ↔ ∃𝑥𝑋 (𝑧 = 𝐴𝑦 = 𝐵))
1711, 14, 163bitr4g 316 . . . . 5 (𝜑 → (𝑦𝐹𝑧 ↔ ∃𝑥𝑋 (𝑦 = 𝐵𝑧 = 𝐴)))
181, 2, 3fliftel 7064 . . . . 5 (𝜑 → (𝑦ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)𝑧 ↔ ∃𝑥𝑋 (𝑦 = 𝐵𝑧 = 𝐴)))
1917, 18bitr4d 284 . . . 4 (𝜑 → (𝑦𝐹𝑧𝑦ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)𝑧))
20 df-br 5069 . . . 4 (𝑦𝐹𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ 𝐹)
21 df-br 5069 . . . 4 (𝑦ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩))
2219, 20, 213bitr3g 315 . . 3 (𝜑 → (⟨𝑦, 𝑧⟩ ∈ 𝐹 ↔ ⟨𝑦, 𝑧⟩ ∈ ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)))
2322eqrelrdv2 5670 . 2 (((Rel 𝐹 ∧ Rel ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩)) ∧ 𝜑) → 𝐹 = ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩))
249, 23mpancom 686 1 (𝜑𝐹 = ran (𝑥𝑋 ↦ ⟨𝐵, 𝐴⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  wrex 3141  wss 3938  cop 4575   class class class wbr 5068  cmpt 5148   × cxp 5555  ccnv 5556  ran crn 5558  Rel wrel 5562
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-fv 6365
This theorem is referenced by:  pi1xfrcnvlem  23662
  Copyright terms: Public domain W3C validator