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

Theorem f1ompt 7138
Description: Express bijection for a mapping operation. (Contributed by Mario Carneiro, 30-May-2015.) (Revised by Mario Carneiro, 4-Dec-2016.)
Hypothesis
Ref Expression
fmpt.1 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐶)
Assertion
Ref Expression
f1ompt (𝐹:𝐴⟶1-1onto𝐵 ↔ (∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑦,𝐶   𝑦,𝐹
Allowed substitution hints:   𝐶(𝑥)   𝐹(𝑥)

Proof of Theorem f1ompt
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 ffn 6734 . . . . 5 (𝐹:𝐴⟶𝐵 → 𝐹 Fn 𝐴)
2 dff1o4 6858 . . . . . 6 (𝐹:𝐴⟶1-1onto𝐵 ↔ (𝐹 Fn 𝐴 ∧ ◡𝐹 Fn 𝐵))
32baib 545 . . . . 5 (𝐹 Fn 𝐴 → (𝐹:𝐴⟶1-1onto𝐵 ↔ ◡𝐹 Fn 𝐵))
41, 3syl 18 . . . 4 (𝐹:𝐴⟶𝐵 → (𝐹:𝐴⟶1-1onto𝐵 ↔ ◡𝐹 Fn 𝐵))
5 fnres 6691 . . . . . 6 ((◡𝐹 ↾ 𝐵) Fn 𝐵 ↔ ∀𝑦 ∈ 𝐵 ∃!𝑧 𝑦◡𝐹𝑧)
6 nfcv 2926 . . . . . . . . . 10 Ⅎ𝑥𝑧
7 fmpt.1 . . . . . . . . . . 11 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐶)
8 nfmpt1 5208 . . . . . . . . . . 11 Ⅎ𝑥(𝑥 ∈ 𝐴 ↦ 𝐶)
97, 8nfcxfr 2924 . . . . . . . . . 10 Ⅎ𝑥𝐹
10 nfcv 2926 . . . . . . . . . 10 Ⅎ𝑥𝑦
116, 9, 10nfbr 5156 . . . . . . . . 9 Ⅎ𝑥 𝑧𝐹𝑦
12 nfv 1949 . . . . . . . . 9 Ⅎ𝑧(𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)
13 breq1 5109 . . . . . . . . . 10 (𝑧 = 𝑥 → (𝑧𝐹𝑦 ↔ 𝑥𝐹𝑦))
14 df-mpt 5191 . . . . . . . . . . . . 13 (𝑥 ∈ 𝐴 ↦ 𝐶) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)}
157, 14eqtri 2786 . . . . . . . . . . . 12 𝐹 = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)}
1615breqi 5112 . . . . . . . . . . 11 (𝑥𝐹𝑦 ↔ 𝑥{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)}𝑦)
17 df-br 5107 . . . . . . . . . . . 12 (𝑥{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)}𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)})
18 opabidw 5503 . . . . . . . . . . . 12 (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)} ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶))
1917, 18bitri 278 . . . . . . . . . . 11 (𝑥{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)}𝑦 ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶))
2016, 19bitri 278 . . . . . . . . . 10 (𝑥𝐹𝑦 ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶))
2113, 20bitrdi 290 . . . . . . . . 9 (𝑧 = 𝑥 → (𝑧𝐹𝑦 ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)))
2211, 12, 21cbveuw 2634 . . . . . . . 8 (∃!𝑧 𝑧𝐹𝑦 ↔ ∃!𝑥(𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶))
23 vex 3458 . . . . . . . . . 10 𝑦 ∈ V
24 vex 3458 . . . . . . . . . 10 𝑧 ∈ V
2523, 24brcnv 5868 . . . . . . . . 9 (𝑦◡𝐹𝑧 ↔ 𝑧𝐹𝑦)
2625eubii 2613 . . . . . . . 8 (∃!𝑧 𝑦◡𝐹𝑧 ↔ ∃!𝑧 𝑧𝐹𝑦)
27 df-reu 3370 . . . . . . . 8 (∃!𝑥 ∈ 𝐴 𝑦 = 𝐶 ↔ ∃!𝑥(𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶))
2822, 26, 273bitr4i 306 . . . . . . 7 (∃!𝑧 𝑦◡𝐹𝑧 ↔ ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶)
2928ralbii 3112 . . . . . 6 (∀𝑦 ∈ 𝐵 ∃!𝑧 𝑦◡𝐹𝑧 ↔ ∀𝑦 ∈ 𝐵 ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶)
305, 29bitri 278 . . . . 5 ((◡𝐹 ↾ 𝐵) Fn 𝐵 ↔ ∀𝑦 ∈ 𝐵 ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶)
31 relcnv 6113 . . . . . . 7 Rel ◡𝐹
32 df-rn 5667 . . . . . . . 8 ran 𝐹 = dom ◡𝐹
33 frn 6742 . . . . . . . 8 (𝐹:𝐴⟶𝐵 → ran 𝐹 ⊆ 𝐵)
3432, 33eqsstrrid 3952 . . . . . . 7 (𝐹:𝐴⟶𝐵 → dom ◡𝐹 ⊆ 𝐵)
35 relssres 6024 . . . . . . 7 ((Rel ◡𝐹 ∧ dom ◡𝐹 ⊆ 𝐵) → (◡𝐹 ↾ 𝐵) = ◡𝐹)
3631, 34, 35sylancr 599 . . . . . 6 (𝐹:𝐴⟶𝐵 → (◡𝐹 ↾ 𝐵) = ◡𝐹)
3736fneq1d 6657 . . . . 5 (𝐹:𝐴⟶𝐵 → ((◡𝐹 ↾ 𝐵) Fn 𝐵 ↔ ◡𝐹 Fn 𝐵))
3830, 37bitr3id 288 . . . 4 (𝐹:𝐴⟶𝐵 → (∀𝑦 ∈ 𝐵 ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶 ↔ ◡𝐹 Fn 𝐵))
394, 38bitr4d 285 . . 3 (𝐹:𝐴⟶𝐵 → (𝐹:𝐴⟶1-1onto𝐵 ↔ ∀𝑦 ∈ 𝐵 ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶))
4039pm5.32i 585 . 2 ((𝐹:𝐴⟶𝐵 ∧ 𝐹:𝐴⟶1-1onto𝐵) ↔ (𝐹:𝐴⟶𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶))
41 f1of 6849 . . 3 (𝐹:𝐴⟶1-1onto𝐵 → 𝐹:𝐴⟶𝐵)
4241pm4.71ri 570 . 2 (𝐹:𝐴⟶1-1onto𝐵 ↔ (𝐹:𝐴⟶𝐵 ∧ 𝐹:𝐴⟶1-1onto𝐵))
437fmpt 7137 . . 3 (∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ↔ 𝐹:𝐴⟶𝐵)
4443anbi1i 636 . 2 ((∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶) ↔ (𝐹:𝐴⟶𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶))
4540, 42, 443bitr4i 306 1 (𝐹:𝐴⟶1-1onto𝐵 ↔ (∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∃!weu 2596  ∀wral 3080  ∃!wreu 3367   ⊆ wss 3900  ⟨cop 4838   class class class wbr 5106  {copab 5171   ↦ cmpt 5190  ◡ccnv 5655  dom cdm 5656  ran crn 5657   ↾ cres 5658  Rel wrel 5661   Fn wfn 6556  ⟶wf 6557  ⟶1-1ontowf1o 6560
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5253  ax-pr 5396
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-br 5107  df-opab 5172  df-mpt 5191  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568
This theorem is used by:  oaf1o  8602  xpf1o  9189  icoshftf1o  13635  fprodser  16148  dfod2  19811  gsummptf1o  20210  nbusgrf1o0  29983  cusgrfilem2  30070  numclwlk2lem2f1o  31013  f1mptrn  33304  ccatws1f1o  33587  gsummptf1od  33692  gsummptfsf1o  33697  xrmulc1cn  34645  poimirlem4  38747  poimirlem16  38759  poimirlem17  38760  poimirlem19  38762  poimirlem20  38763  isuspgrim0lem  49206  isuspgrim0  49207  isuspgrimlem  49208
  Copyright terms: Public domain W3C validator