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

Theorem ovmpt2dxf 6933
Description: Value of an operation given by a maps-to rule, deduction form. (Contributed by Mario Carneiro, 29-Dec-2014.)
Hypotheses
Ref Expression
ovmpt2dx.1 (𝜑𝐹 = (𝑥𝐶, 𝑦𝐷𝑅))
ovmpt2dx.2 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑅 = 𝑆)
ovmpt2dx.3 ((𝜑𝑥 = 𝐴) → 𝐷 = 𝐿)
ovmpt2dx.4 (𝜑𝐴𝐶)
ovmpt2dx.5 (𝜑𝐵𝐿)
ovmpt2dx.6 (𝜑𝑆𝑋)
ovmpt2dxf.px 𝑥𝜑
ovmpt2dxf.py 𝑦𝜑
ovmpt2dxf.ay 𝑦𝐴
ovmpt2dxf.bx 𝑥𝐵
ovmpt2dxf.sx 𝑥𝑆
ovmpt2dxf.sy 𝑦𝑆
Assertion
Ref Expression
ovmpt2dxf (𝜑 → (𝐴𝐹𝐵) = 𝑆)
Distinct variable groups:   𝑥,𝑦   𝑥,𝐴   𝑦,𝐵
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑦)   𝐵(𝑥)   𝐶(𝑥,𝑦)   𝐷(𝑥,𝑦)   𝑅(𝑥,𝑦)   𝑆(𝑥,𝑦)   𝐹(𝑥,𝑦)   𝐿(𝑥,𝑦)   𝑋(𝑥,𝑦)

Proof of Theorem ovmpt2dxf
StepHypRef Expression
1 ovmpt2dx.1 . . 3 (𝜑𝐹 = (𝑥𝐶, 𝑦𝐷𝑅))
21oveqd 6810 . 2 (𝜑 → (𝐴𝐹𝐵) = (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵))
3 ovmpt2dx.4 . . . 4 (𝜑𝐴𝐶)
4 ovmpt2dxf.px . . . . 5 𝑥𝜑
5 ovmpt2dx.5 . . . . . 6 (𝜑𝐵𝐿)
6 ovmpt2dxf.py . . . . . . 7 𝑦𝜑
7 eqid 2771 . . . . . . . . 9 (𝑥𝐶, 𝑦𝐷𝑅) = (𝑥𝐶, 𝑦𝐷𝑅)
87ovmpt4g 6930 . . . . . . . 8 ((𝑥𝐶𝑦𝐷𝑅 ∈ V) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅)
98a1i 11 . . . . . . 7 (𝜑 → ((𝑥𝐶𝑦𝐷𝑅 ∈ V) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅))
106, 9alrimi 2238 . . . . . 6 (𝜑 → ∀𝑦((𝑥𝐶𝑦𝐷𝑅 ∈ V) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅))
115, 10spsbcd 3601 . . . . 5 (𝜑[𝐵 / 𝑦]((𝑥𝐶𝑦𝐷𝑅 ∈ V) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅))
124, 11alrimi 2238 . . . 4 (𝜑 → ∀𝑥[𝐵 / 𝑦]((𝑥𝐶𝑦𝐷𝑅 ∈ V) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅))
133, 12spsbcd 3601 . . 3 (𝜑[𝐴 / 𝑥][𝐵 / 𝑦]((𝑥𝐶𝑦𝐷𝑅 ∈ V) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅))
145adantr 466 . . . . 5 ((𝜑𝑥 = 𝐴) → 𝐵𝐿)
15 simplr 752 . . . . . . . 8 (((𝜑𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝑥 = 𝐴)
163ad2antrr 705 . . . . . . . 8 (((𝜑𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝐴𝐶)
1715, 16eqeltrd 2850 . . . . . . 7 (((𝜑𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝑥𝐶)
185ad2antrr 705 . . . . . . . 8 (((𝜑𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝐵𝐿)
19 simpr 471 . . . . . . . 8 (((𝜑𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝑦 = 𝐵)
20 ovmpt2dx.3 . . . . . . . . 9 ((𝜑𝑥 = 𝐴) → 𝐷 = 𝐿)
2120adantr 466 . . . . . . . 8 (((𝜑𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝐷 = 𝐿)
2218, 19, 213eltr4d 2865 . . . . . . 7 (((𝜑𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝑦𝐷)
23 ovmpt2dx.2 . . . . . . . . 9 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑅 = 𝑆)
2423anassrs 458 . . . . . . . 8 (((𝜑𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝑅 = 𝑆)
25 ovmpt2dx.6 . . . . . . . . . 10 (𝜑𝑆𝑋)
26 elex 3364 . . . . . . . . . 10 (𝑆𝑋𝑆 ∈ V)
2725, 26syl 17 . . . . . . . . 9 (𝜑𝑆 ∈ V)
2827ad2antrr 705 . . . . . . . 8 (((𝜑𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝑆 ∈ V)
2924, 28eqeltrd 2850 . . . . . . 7 (((𝜑𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝑅 ∈ V)
30 biimt 349 . . . . . . 7 ((𝑥𝐶𝑦𝐷𝑅 ∈ V) → ((𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅 ↔ ((𝑥𝐶𝑦𝐷𝑅 ∈ V) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅)))
3117, 22, 29, 30syl3anc 1476 . . . . . 6 (((𝜑𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → ((𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅 ↔ ((𝑥𝐶𝑦𝐷𝑅 ∈ V) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅)))
3215, 19oveq12d 6811 . . . . . . 7 (((𝜑𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵))
3332, 24eqeq12d 2786 . . . . . 6 (((𝜑𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → ((𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅 ↔ (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆))
3431, 33bitr3d 270 . . . . 5 (((𝜑𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → (((𝑥𝐶𝑦𝐷𝑅 ∈ V) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅) ↔ (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆))
35 ovmpt2dxf.ay . . . . . . 7 𝑦𝐴
3635nfeq2 2929 . . . . . 6 𝑦 𝑥 = 𝐴
376, 36nfan 1980 . . . . 5 𝑦(𝜑𝑥 = 𝐴)
38 nfmpt22 6870 . . . . . . . 8 𝑦(𝑥𝐶, 𝑦𝐷𝑅)
39 nfcv 2913 . . . . . . . 8 𝑦𝐵
4035, 38, 39nfov 6821 . . . . . . 7 𝑦(𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵)
41 ovmpt2dxf.sy . . . . . . 7 𝑦𝑆
4240, 41nfeq 2925 . . . . . 6 𝑦(𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆
4342a1i 11 . . . . 5 ((𝜑𝑥 = 𝐴) → Ⅎ𝑦(𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆)
4414, 34, 37, 43sbciedf 3623 . . . 4 ((𝜑𝑥 = 𝐴) → ([𝐵 / 𝑦]((𝑥𝐶𝑦𝐷𝑅 ∈ V) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅) ↔ (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆))
45 nfcv 2913 . . . . . . 7 𝑥𝐴
46 nfmpt21 6869 . . . . . . 7 𝑥(𝑥𝐶, 𝑦𝐷𝑅)
47 ovmpt2dxf.bx . . . . . . 7 𝑥𝐵
4845, 46, 47nfov 6821 . . . . . 6 𝑥(𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵)
49 ovmpt2dxf.sx . . . . . 6 𝑥𝑆
5048, 49nfeq 2925 . . . . 5 𝑥(𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆
5150a1i 11 . . . 4 (𝜑 → Ⅎ𝑥(𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆)
523, 44, 4, 51sbciedf 3623 . . 3 (𝜑 → ([𝐴 / 𝑥][𝐵 / 𝑦]((𝑥𝐶𝑦𝐷𝑅 ∈ V) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅) ↔ (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆))
5313, 52mpbid 222 . 2 (𝜑 → (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆)
542, 53eqtrd 2805 1 (𝜑 → (𝐴𝐹𝐵) = 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 382  w3a 1071   = wceq 1631  wnf 1856  wcel 2145  wnfc 2900  Vcvv 3351  [wsbc 3587  (class class class)co 6793  cmpt2 6795
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-sep 4915  ax-nul 4923  ax-pr 5034
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 837  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3353  df-sbc 3588  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-nul 4064  df-if 4226  df-sn 4317  df-pr 4319  df-op 4323  df-uni 4575  df-br 4787  df-opab 4847  df-id 5157  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-iota 5994  df-fun 6033  df-fv 6039  df-ov 6796  df-oprab 6797  df-mpt2 6798
This theorem is referenced by:  ovmpt2dx  6934  elovmpt2rab  7027  elovmpt2rab1  7028  ovmpt3rab1  7038  mpt2xopoveq  7497  fvmpt2curryd  7549  mdetralt2  20633  mdetunilem2  20637  gsummatr01lem4  20683
  Copyright terms: Public domain W3C validator