Users' Mathboxes Mathbox for Brendan Leahy < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  uncf Structured version   Visualization version   GIF version

Theorem uncf 35683
Description: Functional property of uncurrying. (Contributed by Brendan Leahy, 2-Jun-2021.)
Assertion
Ref Expression
uncf (𝐹:𝐴⟶(𝐶m 𝐵) → uncurry 𝐹:(𝐴 × 𝐵)⟶𝐶)

Proof of Theorem uncf
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ffvelrn 6941 . . . . . 6 ((𝐹:𝐴⟶(𝐶m 𝐵) ∧ 𝑥𝐴) → (𝐹𝑥) ∈ (𝐶m 𝐵))
2 elmapi 8595 . . . . . 6 ((𝐹𝑥) ∈ (𝐶m 𝐵) → (𝐹𝑥):𝐵𝐶)
31, 2syl 17 . . . . 5 ((𝐹:𝐴⟶(𝐶m 𝐵) ∧ 𝑥𝐴) → (𝐹𝑥):𝐵𝐶)
43ffvelrnda 6943 . . . 4 (((𝐹:𝐴⟶(𝐶m 𝐵) ∧ 𝑥𝐴) ∧ 𝑦𝐵) → ((𝐹𝑥)‘𝑦) ∈ 𝐶)
54anasss 466 . . 3 ((𝐹:𝐴⟶(𝐶m 𝐵) ∧ (𝑥𝐴𝑦𝐵)) → ((𝐹𝑥)‘𝑦) ∈ 𝐶)
65ralrimivva 3114 . 2 (𝐹:𝐴⟶(𝐶m 𝐵) → ∀𝑥𝐴𝑦𝐵 ((𝐹𝑥)‘𝑦) ∈ 𝐶)
7 df-unc 8055 . . . . 5 uncurry 𝐹 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝑦(𝐹𝑥)𝑧}
8 df-br 5071 . . . . . . . . . . 11 (𝑦(𝐹𝑥)𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ (𝐹𝑥))
9 elfvdm 6788 . . . . . . . . . . 11 (⟨𝑦, 𝑧⟩ ∈ (𝐹𝑥) → 𝑥 ∈ dom 𝐹)
108, 9sylbi 216 . . . . . . . . . 10 (𝑦(𝐹𝑥)𝑧𝑥 ∈ dom 𝐹)
11 fdm 6593 . . . . . . . . . . 11 (𝐹:𝐴⟶(𝐶m 𝐵) → dom 𝐹 = 𝐴)
1211eleq2d 2824 . . . . . . . . . 10 (𝐹:𝐴⟶(𝐶m 𝐵) → (𝑥 ∈ dom 𝐹𝑥𝐴))
1310, 12syl5ib 243 . . . . . . . . 9 (𝐹:𝐴⟶(𝐶m 𝐵) → (𝑦(𝐹𝑥)𝑧𝑥𝐴))
1413pm4.71rd 562 . . . . . . . 8 (𝐹:𝐴⟶(𝐶m 𝐵) → (𝑦(𝐹𝑥)𝑧 ↔ (𝑥𝐴𝑦(𝐹𝑥)𝑧)))
15 elmapfun 8612 . . . . . . . . . . 11 ((𝐹𝑥) ∈ (𝐶m 𝐵) → Fun (𝐹𝑥))
16 funbrfv2b 6809 . . . . . . . . . . 11 (Fun (𝐹𝑥) → (𝑦(𝐹𝑥)𝑧 ↔ (𝑦 ∈ dom (𝐹𝑥) ∧ ((𝐹𝑥)‘𝑦) = 𝑧)))
171, 15, 163syl 18 . . . . . . . . . 10 ((𝐹:𝐴⟶(𝐶m 𝐵) ∧ 𝑥𝐴) → (𝑦(𝐹𝑥)𝑧 ↔ (𝑦 ∈ dom (𝐹𝑥) ∧ ((𝐹𝑥)‘𝑦) = 𝑧)))
18 fdm 6593 . . . . . . . . . . . . 13 ((𝐹𝑥):𝐵𝐶 → dom (𝐹𝑥) = 𝐵)
191, 2, 183syl 18 . . . . . . . . . . . 12 ((𝐹:𝐴⟶(𝐶m 𝐵) ∧ 𝑥𝐴) → dom (𝐹𝑥) = 𝐵)
2019eleq2d 2824 . . . . . . . . . . 11 ((𝐹:𝐴⟶(𝐶m 𝐵) ∧ 𝑥𝐴) → (𝑦 ∈ dom (𝐹𝑥) ↔ 𝑦𝐵))
21 eqcom 2745 . . . . . . . . . . . 12 (((𝐹𝑥)‘𝑦) = 𝑧𝑧 = ((𝐹𝑥)‘𝑦))
2221a1i 11 . . . . . . . . . . 11 ((𝐹:𝐴⟶(𝐶m 𝐵) ∧ 𝑥𝐴) → (((𝐹𝑥)‘𝑦) = 𝑧𝑧 = ((𝐹𝑥)‘𝑦)))
2320, 22anbi12d 630 . . . . . . . . . 10 ((𝐹:𝐴⟶(𝐶m 𝐵) ∧ 𝑥𝐴) → ((𝑦 ∈ dom (𝐹𝑥) ∧ ((𝐹𝑥)‘𝑦) = 𝑧) ↔ (𝑦𝐵𝑧 = ((𝐹𝑥)‘𝑦))))
2417, 23bitrd 278 . . . . . . . . 9 ((𝐹:𝐴⟶(𝐶m 𝐵) ∧ 𝑥𝐴) → (𝑦(𝐹𝑥)𝑧 ↔ (𝑦𝐵𝑧 = ((𝐹𝑥)‘𝑦))))
2524pm5.32da 578 . . . . . . . 8 (𝐹:𝐴⟶(𝐶m 𝐵) → ((𝑥𝐴𝑦(𝐹𝑥)𝑧) ↔ (𝑥𝐴 ∧ (𝑦𝐵𝑧 = ((𝐹𝑥)‘𝑦)))))
2614, 25bitrd 278 . . . . . . 7 (𝐹:𝐴⟶(𝐶m 𝐵) → (𝑦(𝐹𝑥)𝑧 ↔ (𝑥𝐴 ∧ (𝑦𝐵𝑧 = ((𝐹𝑥)‘𝑦)))))
27 anass 468 . . . . . . 7 (((𝑥𝐴𝑦𝐵) ∧ 𝑧 = ((𝐹𝑥)‘𝑦)) ↔ (𝑥𝐴 ∧ (𝑦𝐵𝑧 = ((𝐹𝑥)‘𝑦))))
2826, 27bitr4di 288 . . . . . 6 (𝐹:𝐴⟶(𝐶m 𝐵) → (𝑦(𝐹𝑥)𝑧 ↔ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = ((𝐹𝑥)‘𝑦))))
2928oprabbidv 7319 . . . . 5 (𝐹:𝐴⟶(𝐶m 𝐵) → {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝑦(𝐹𝑥)𝑧} = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = ((𝐹𝑥)‘𝑦))})
307, 29syl5eq 2791 . . . 4 (𝐹:𝐴⟶(𝐶m 𝐵) → uncurry 𝐹 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = ((𝐹𝑥)‘𝑦))})
3130feq1d 6569 . . 3 (𝐹:𝐴⟶(𝐶m 𝐵) → (uncurry 𝐹:(𝐴 × 𝐵)⟶𝐶 ↔ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = ((𝐹𝑥)‘𝑦))}:(𝐴 × 𝐵)⟶𝐶))
32 df-mpo 7260 . . . . 5 (𝑥𝐴, 𝑦𝐵 ↦ ((𝐹𝑥)‘𝑦)) = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = ((𝐹𝑥)‘𝑦))}
3332eqcomi 2747 . . . 4 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = ((𝐹𝑥)‘𝑦))} = (𝑥𝐴, 𝑦𝐵 ↦ ((𝐹𝑥)‘𝑦))
3433fmpo 7881 . . 3 (∀𝑥𝐴𝑦𝐵 ((𝐹𝑥)‘𝑦) ∈ 𝐶 ↔ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = ((𝐹𝑥)‘𝑦))}:(𝐴 × 𝐵)⟶𝐶)
3531, 34bitr4di 288 . 2 (𝐹:𝐴⟶(𝐶m 𝐵) → (uncurry 𝐹:(𝐴 × 𝐵)⟶𝐶 ↔ ∀𝑥𝐴𝑦𝐵 ((𝐹𝑥)‘𝑦) ∈ 𝐶))
366, 35mpbird 256 1 (𝐹:𝐴⟶(𝐶m 𝐵) → uncurry 𝐹:(𝐴 × 𝐵)⟶𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wral 3063  cop 4564   class class class wbr 5070   × cxp 5578  dom cdm 5580  Fun wfun 6412  wf 6414  cfv 6418  (class class class)co 7255  {coprab 7256  cmpo 7257  uncurry cunc 8053  m cmap 8573
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-unc 8055  df-map 8575
This theorem is referenced by:  curunc  35686  matunitlindflem2  35701
  Copyright terms: Public domain W3C validator