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

Theorem fnmpt2ovd 7249
Description: A function with a Cartesian product as domain is a mapping with two arguments defined by its operation values. (Contributed by AV, 20-Feb-2019.)
Hypotheses
Ref Expression
fnmpt2ovd.m (𝜑𝑀 Fn (𝐴 × 𝐵))
fnmpt2ovd.s ((𝑖 = 𝑎𝑗 = 𝑏) → 𝐷 = 𝐶)
fnmpt2ovd.d ((𝜑𝑖𝐴𝑗𝐵) → 𝐷𝑈)
fnmpt2ovd.c ((𝜑𝑎𝐴𝑏𝐵) → 𝐶𝑉)
fnmpt2ovd.v (𝜑 → (𝐴𝑋𝐵𝑌))
Assertion
Ref Expression
fnmpt2ovd (𝜑 → (𝑀 = (𝑎𝐴, 𝑏𝐵𝐶) ↔ ∀𝑖𝐴𝑗𝐵 (𝑖𝑀𝑗) = 𝐷))
Distinct variable groups:   𝐴,𝑎,𝑏,𝑖,𝑗   𝐵,𝑎,𝑏,𝑖,𝑗   𝐶,𝑖,𝑗   𝐷,𝑎,𝑏   𝑀,𝑎,𝑏,𝑖,𝑗   𝑈,𝑎,𝑏,𝑖,𝑗   𝑉,𝑎,𝑏,𝑖,𝑗   𝑋,𝑎,𝑏,𝑖,𝑗   𝑌,𝑎,𝑏,𝑖,𝑗   𝜑,𝑎,𝑏,𝑖,𝑗
Allowed substitution hints:   𝐶(𝑎,𝑏)   𝐷(𝑖,𝑗)

Proof of Theorem fnmpt2ovd
StepHypRef Expression
1 fnmpt2ovd.m . . 3 (𝜑𝑀 Fn (𝐴 × 𝐵))
2 fnmpt2ovd.c . . . . . 6 ((𝜑𝑎𝐴𝑏𝐵) → 𝐶𝑉)
323expb 1265 . . . . 5 ((𝜑 ∧ (𝑎𝐴𝑏𝐵)) → 𝐶𝑉)
43ralrimivva 2970 . . . 4 (𝜑 → ∀𝑎𝐴𝑏𝐵 𝐶𝑉)
5 eqid 2621 . . . . 5 (𝑎𝐴, 𝑏𝐵𝐶) = (𝑎𝐴, 𝑏𝐵𝐶)
65fnmpt2 7235 . . . 4 (∀𝑎𝐴𝑏𝐵 𝐶𝑉 → (𝑎𝐴, 𝑏𝐵𝐶) Fn (𝐴 × 𝐵))
74, 6syl 17 . . 3 (𝜑 → (𝑎𝐴, 𝑏𝐵𝐶) Fn (𝐴 × 𝐵))
8 eqfnov2 6764 . . 3 ((𝑀 Fn (𝐴 × 𝐵) ∧ (𝑎𝐴, 𝑏𝐵𝐶) Fn (𝐴 × 𝐵)) → (𝑀 = (𝑎𝐴, 𝑏𝐵𝐶) ↔ ∀𝑖𝐴𝑗𝐵 (𝑖𝑀𝑗) = (𝑖(𝑎𝐴, 𝑏𝐵𝐶)𝑗)))
91, 7, 8syl2anc 693 . 2 (𝜑 → (𝑀 = (𝑎𝐴, 𝑏𝐵𝐶) ↔ ∀𝑖𝐴𝑗𝐵 (𝑖𝑀𝑗) = (𝑖(𝑎𝐴, 𝑏𝐵𝐶)𝑗)))
10 nfcv 2763 . . . . . . . 8 𝑎𝐷
11 nfcv 2763 . . . . . . . 8 𝑏𝐷
12 nfcv 2763 . . . . . . . 8 𝑖𝐶
13 nfcv 2763 . . . . . . . 8 𝑗𝐶
14 fnmpt2ovd.s . . . . . . . 8 ((𝑖 = 𝑎𝑗 = 𝑏) → 𝐷 = 𝐶)
1510, 11, 12, 13, 14cbvmpt2 6731 . . . . . . 7 (𝑖𝐴, 𝑗𝐵𝐷) = (𝑎𝐴, 𝑏𝐵𝐶)
1615eqcomi 2630 . . . . . 6 (𝑎𝐴, 𝑏𝐵𝐶) = (𝑖𝐴, 𝑗𝐵𝐷)
1716a1i 11 . . . . 5 (𝜑 → (𝑎𝐴, 𝑏𝐵𝐶) = (𝑖𝐴, 𝑗𝐵𝐷))
1817oveqd 6664 . . . 4 (𝜑 → (𝑖(𝑎𝐴, 𝑏𝐵𝐶)𝑗) = (𝑖(𝑖𝐴, 𝑗𝐵𝐷)𝑗))
1918eqeq2d 2631 . . 3 (𝜑 → ((𝑖𝑀𝑗) = (𝑖(𝑎𝐴, 𝑏𝐵𝐶)𝑗) ↔ (𝑖𝑀𝑗) = (𝑖(𝑖𝐴, 𝑗𝐵𝐷)𝑗)))
20192ralbidv 2988 . 2 (𝜑 → (∀𝑖𝐴𝑗𝐵 (𝑖𝑀𝑗) = (𝑖(𝑎𝐴, 𝑏𝐵𝐶)𝑗) ↔ ∀𝑖𝐴𝑗𝐵 (𝑖𝑀𝑗) = (𝑖(𝑖𝐴, 𝑗𝐵𝐷)𝑗)))
21 simprl 794 . . . . 5 ((𝜑 ∧ (𝑖𝐴𝑗𝐵)) → 𝑖𝐴)
22 simprr 796 . . . . 5 ((𝜑 ∧ (𝑖𝐴𝑗𝐵)) → 𝑗𝐵)
23 fnmpt2ovd.d . . . . . 6 ((𝜑𝑖𝐴𝑗𝐵) → 𝐷𝑈)
24233expb 1265 . . . . 5 ((𝜑 ∧ (𝑖𝐴𝑗𝐵)) → 𝐷𝑈)
25 eqid 2621 . . . . . 6 (𝑖𝐴, 𝑗𝐵𝐷) = (𝑖𝐴, 𝑗𝐵𝐷)
2625ovmpt4g 6780 . . . . 5 ((𝑖𝐴𝑗𝐵𝐷𝑈) → (𝑖(𝑖𝐴, 𝑗𝐵𝐷)𝑗) = 𝐷)
2721, 22, 24, 26syl3anc 1325 . . . 4 ((𝜑 ∧ (𝑖𝐴𝑗𝐵)) → (𝑖(𝑖𝐴, 𝑗𝐵𝐷)𝑗) = 𝐷)
2827eqeq2d 2631 . . 3 ((𝜑 ∧ (𝑖𝐴𝑗𝐵)) → ((𝑖𝑀𝑗) = (𝑖(𝑖𝐴, 𝑗𝐵𝐷)𝑗) ↔ (𝑖𝑀𝑗) = 𝐷))
29282ralbidva 2987 . 2 (𝜑 → (∀𝑖𝐴𝑗𝐵 (𝑖𝑀𝑗) = (𝑖(𝑖𝐴, 𝑗𝐵𝐷)𝑗) ↔ ∀𝑖𝐴𝑗𝐵 (𝑖𝑀𝑗) = 𝐷))
309, 20, 293bitrd 294 1 (𝜑 → (𝑀 = (𝑎𝐴, 𝑏𝐵𝐶) ↔ ∀𝑖𝐴𝑗𝐵 (𝑖𝑀𝑗) = 𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  w3a 1037   = wceq 1482  wcel 1989  wral 2911   × cxp 5110   Fn wfn 5881  (class class class)co 6647  cmpt2 6649
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1721  ax-4 1736  ax-5 1838  ax-6 1887  ax-7 1934  ax-8 1991  ax-9 1998  ax-10 2018  ax-11 2033  ax-12 2046  ax-13 2245  ax-ext 2601  ax-sep 4779  ax-nul 4787  ax-pow 4841  ax-pr 4904  ax-un 6946
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1485  df-ex 1704  df-nf 1709  df-sb 1880  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2752  df-ne 2794  df-ral 2916  df-rex 2917  df-rab 2920  df-v 3200  df-sbc 3434  df-csb 3532  df-dif 3575  df-un 3577  df-in 3579  df-ss 3586  df-nul 3914  df-if 4085  df-sn 4176  df-pr 4178  df-op 4182  df-uni 4435  df-iun 4520  df-br 4652  df-opab 4711  df-mpt 4728  df-id 5022  df-xp 5118  df-rel 5119  df-cnv 5120  df-co 5121  df-dm 5122  df-rn 5123  df-res 5124  df-ima 5125  df-iota 5849  df-fun 5888  df-fn 5889  df-f 5890  df-fv 5894  df-ov 6650  df-oprab 6651  df-mpt2 6652  df-1st 7165  df-2nd 7166
This theorem is referenced by:  mpt2frlmd  20110
  Copyright terms: Public domain W3C validator