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

Theorem f1ompt 7153
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 6749 . . . . 5 (𝐹:𝐴⟶𝐵 → 𝐹 Fn 𝐴)
2 dff1o4 6873 . . . . . 6 (𝐹:𝐴⟶1-1onto𝐵 ↔ (𝐹 Fn 𝐴 ∧ ◡𝐹 Fn 𝐵))
32baib 545 . . . . 5 (𝐹 Fn 𝐴 → (𝐹:𝐴⟶1-1onto𝐵 ↔ ◡𝐹 Fn 𝐵))
41, 3syl 18 . . . 4 (𝐹:𝐴⟶𝐵 → (𝐹:𝐴⟶1-1onto𝐵 ↔ ◡𝐹 Fn 𝐵))
5 fnres 6706 . . . . . 6 ((◡𝐹 ↾ 𝐵) Fn 𝐵 ↔ ∀𝑦 ∈ 𝐵 ∃!𝑧 𝑦◡𝐹𝑧)
6 nfcv 2932 . . . . . . . . . 10 Ⅎ𝑥𝑧
7 fmpt.1 . . . . . . . . . . 11 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐶)
8 nfmpt1 5213 . . . . . . . . . . 11 Ⅎ𝑥(𝑥 ∈ 𝐴 ↦ 𝐶)
97, 8nfcxfr 2930 . . . . . . . . . 10 Ⅎ𝑥𝐹
10 nfcv 2932 . . . . . . . . . 10 Ⅎ𝑥𝑦
116, 9, 10nfbr 5161 . . . . . . . . 9 Ⅎ𝑥 𝑧𝐹𝑦
12 nfv 1951 . . . . . . . . 9 Ⅎ𝑧(𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)
13 breq1 5114 . . . . . . . . . 10 (𝑧 = 𝑥 → (𝑧𝐹𝑦 ↔ 𝑥𝐹𝑦))
14 df-mpt 5196 . . . . . . . . . . . . 13 (𝑥 ∈ 𝐴 ↦ 𝐶) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)}
157, 14eqtri 2792 . . . . . . . . . . . 12 𝐹 = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)}
1615breqi 5117 . . . . . . . . . . 11 (𝑥𝐹𝑦 ↔ 𝑥{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)}𝑦)
17 df-br 5112 . . . . . . . . . . . 12 (𝑥{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)}𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)})
18 opabidw 5508 . . . . . . . . . . . 12 (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)} ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶))
1917, 18bitri 278 . . . . . . . . . . 11 (𝑥{⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)}𝑦 ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶))
2016, 19bitri 278 . . . . . . . . . 10 (𝑥𝐹𝑦 ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶))
2113, 20bitrdi 290 . . . . . . . . 9 (𝑧 = 𝑥 → (𝑧𝐹𝑦 ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶)))
2211, 12, 21cbveuw 2640 . . . . . . . 8 (∃!𝑧 𝑧𝐹𝑦 ↔ ∃!𝑥(𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶))
23 vex 3460 . . . . . . . . . 10 𝑦 ∈ V
24 vex 3460 . . . . . . . . . 10 𝑧 ∈ V
2523, 24brcnv 5875 . . . . . . . . 9 (𝑦◡𝐹𝑧 ↔ 𝑧𝐹𝑦)
2625eubii 2619 . . . . . . . 8 (∃!𝑧 𝑦◡𝐹𝑧 ↔ ∃!𝑧 𝑧𝐹𝑦)
27 df-reu 3372 . . . . . . . 8 (∃!𝑥 ∈ 𝐴 𝑦 = 𝐶 ↔ ∃!𝑥(𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶))
2822, 26, 273bitr4i 306 . . . . . . 7 (∃!𝑧 𝑦◡𝐹𝑧 ↔ ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶)
2928ralbii 3118 . . . . . 6 (∀𝑦 ∈ 𝐵 ∃!𝑧 𝑦◡𝐹𝑧 ↔ ∀𝑦 ∈ 𝐵 ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶)
305, 29bitri 278 . . . . 5 ((◡𝐹 ↾ 𝐵) Fn 𝐵 ↔ ∀𝑦 ∈ 𝐵 ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶)
31 relcnv 6122 . . . . . . 7 Rel ◡𝐹
32 df-rn 5672 . . . . . . . 8 ran 𝐹 = dom ◡𝐹
33 frn 6757 . . . . . . . 8 (𝐹:𝐴⟶𝐵 → ran 𝐹 ⊆ 𝐵)
3432, 33eqsstrrid 3954 . . . . . . 7 (𝐹:𝐴⟶𝐵 → dom ◡𝐹 ⊆ 𝐵)
35 relssres 6032 . . . . . . 7 ((Rel ◡𝐹 ∧ dom ◡𝐹 ⊆ 𝐵) → (◡𝐹 ↾ 𝐵) = ◡𝐹)
3631, 34, 35sylancr 599 . . . . . 6 (𝐹:𝐴⟶𝐵 → (◡𝐹 ↾ 𝐵) = ◡𝐹)
3736fneq1d 6672 . . . . 5 (𝐹:𝐴⟶𝐵 → ((◡𝐹 ↾ 𝐵) Fn 𝐵 ↔ ◡𝐹 Fn 𝐵))
3830, 37bitr3id 288 . . . 4 (𝐹:𝐴⟶𝐵 → (∀𝑦 ∈ 𝐵 ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶 ↔ ◡𝐹 Fn 𝐵))
394, 38bitr4d 285 . . 3 (𝐹:𝐴⟶𝐵 → (𝐹:𝐴⟶1-1onto𝐵 ↔ ∀𝑦 ∈ 𝐵 ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶))
4039pm5.32i 585 . 2 ((𝐹:𝐴⟶𝐵 ∧ 𝐹:𝐴⟶1-1onto𝐵) ↔ (𝐹:𝐴⟶𝐵 ∧ ∀𝑦 ∈ 𝐵 ∃!𝑥 ∈ 𝐴 𝑦 = 𝐶))
41 f1of 6864 . . 3 (𝐹:𝐴⟶1-1onto𝐵 → 𝐹:𝐴⟶𝐵)
4241pm4.71ri 570 . 2 (𝐹:𝐴⟶1-1onto𝐵 ↔ (𝐹:𝐴⟶𝐵 ∧ 𝐹:𝐴⟶1-1onto𝐵))
437fmpt 7152 . . 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 1572   ∈ wcel 2151  ∃!weu 2600  ∀wral 3086  ∃!wreu 3369   ⊆ wss 3902  ⟨cop 4843   class class class wbr 5111  {copab 5176   ↦ cmpt 5195  ◡ccnv 5660  dom cdm 5661  ran crn 5662   ↾ cres 5663  Rel wrel 5666   Fn wfn 6568  ⟶wf 6569  ⟶1-1ontowf1o 6572
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580
This theorem is used by:  oaf1o  8620  xpf1o  9207  icoshftf1o  13656  fprodser  16173  dfod2  19851  gsummptf1o  20251  nbusgrf1o0  30074  cusgrfilem2  30161  numclwlk2lem2f1o  31104  f1mptrn  33393  ccatws1f1o  33672  gsummptf1od  33774  gsummptfsf1o  33779  xrmulc1cn  34690  poimirlem4  38836  poimirlem16  38848  poimirlem17  38849  poimirlem19  38851  poimirlem20  38852  isuspgrim0lem  49347  isuspgrim0  49348  isuspgrimlem  49349
  Copyright terms: Public domain W3C validator