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

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

Proof of Theorem ovmpodxf
StepHypRef Expression
1 ovmpodx.1 . . 3 (𝜑 → 𝐹 = (𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅))
21oveqd 7457 . 2 (𝜑 → (𝐴𝐹𝐵) = (𝐴(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝐵))
3 ovmpodx.4 . . . 4 (𝜑 → 𝐴 ∈ 𝐶)
4 ovmpodxf.px . . . . 5 Ⅎ𝑥𝜑
5 ovmpodx.5 . . . . . 6 (𝜑 → 𝐵 ∈ 𝐿)
6 ovmpodxf.py . . . . . . 7 Ⅎ𝑦𝜑
7 eqid 2763 . . . . . . . . 9 (𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅) = (𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)
87ovmpt4g 7588 . . . . . . . 8 ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷 ∧ 𝑅 ∈ V) → (𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝑦) = 𝑅)
98a1i 11 . . . . . . 7 (𝜑 → ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷 ∧ 𝑅 ∈ V) → (𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝑦) = 𝑅))
106, 9alrimi 2253 . . . . . 6 (𝜑 → ∀𝑦((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷 ∧ 𝑅 ∈ V) → (𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝑦) = 𝑅))
115, 10spsbcd 3756 . . . . 5 (𝜑 → [𝐵 / 𝑦]((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷 ∧ 𝑅 ∈ V) → (𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝑦) = 𝑅))
124, 11alrimi 2253 . . . 4 (𝜑 → ∀𝑥[𝐵 / 𝑦]((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷 ∧ 𝑅 ∈ V) → (𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝑦) = 𝑅))
133, 12spsbcd 3756 . . 3 (𝜑 → [𝐴 / 𝑥][𝐵 / 𝑦]((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷 ∧ 𝑅 ∈ V) → (𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝑦) = 𝑅))
145adantr 486 . . . . 5 ((𝜑 ∧ 𝑥 = 𝐴) → 𝐵 ∈ 𝐿)
15 simplr 781 . . . . . . . 8 (((𝜑 ∧ 𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝑥 = 𝐴)
163ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝐴 ∈ 𝐶)
1715, 16eqeltrd 2864 . . . . . . 7 (((𝜑 ∧ 𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝑥 ∈ 𝐶)
185ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝐵 ∈ 𝐿)
19 simpr 490 . . . . . . . 8 (((𝜑 ∧ 𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝑦 = 𝐵)
20 ovmpodx.3 . . . . . . . . 9 ((𝜑 ∧ 𝑥 = 𝐴) → 𝐷 = 𝐿)
2120adantr 486 . . . . . . . 8 (((𝜑 ∧ 𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝐷 = 𝐿)
2218, 19, 213eltr4d 2879 . . . . . . 7 (((𝜑 ∧ 𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝑦 ∈ 𝐷)
23 ovmpodx.2 . . . . . . . . 9 ((𝜑 ∧ (𝑥 = 𝐴 ∧ 𝑦 = 𝐵)) → 𝑅 = 𝑆)
2423anassrs 473 . . . . . . . 8 (((𝜑 ∧ 𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝑅 = 𝑆)
25 ovmpodx.6 . . . . . . . . . 10 (𝜑 → 𝑆 ∈ 𝑋)
2625elexd 3477 . . . . . . . . 9 (𝜑 → 𝑆 ∈ V)
2726ad2antrr 739 . . . . . . . 8 (((𝜑 ∧ 𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝑆 ∈ V)
2824, 27eqeltrd 2864 . . . . . . 7 (((𝜑 ∧ 𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → 𝑅 ∈ V)
29 biimt 363 . . . . . . 7 ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷 ∧ 𝑅 ∈ V) → ((𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝑦) = 𝑅 ↔ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷 ∧ 𝑅 ∈ V) → (𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝑦) = 𝑅)))
3017, 22, 28, 29syl3anc 1399 . . . . . 6 (((𝜑 ∧ 𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → ((𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝑦) = 𝑅 ↔ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷 ∧ 𝑅 ∈ V) → (𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝑦) = 𝑅)))
3115, 19oveq12d 7458 . . . . . . 7 (((𝜑 ∧ 𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → (𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝑦) = (𝐴(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝐵))
3231, 24eqeq12d 2779 . . . . . 6 (((𝜑 ∧ 𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → ((𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝑦) = 𝑅 ↔ (𝐴(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝐵) = 𝑆))
3330, 32bitr3d 284 . . . . 5 (((𝜑 ∧ 𝑥 = 𝐴) ∧ 𝑦 = 𝐵) → (((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷 ∧ 𝑅 ∈ V) → (𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝑦) = 𝑅) ↔ (𝐴(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝐵) = 𝑆))
34 ovmpodxf.ay . . . . . . 7 Ⅎ𝑦𝐴
3534nfeq2 2943 . . . . . 6 Ⅎ𝑦 𝑥 = 𝐴
366, 35nfan 1934 . . . . 5 Ⅎ𝑦(𝜑 ∧ 𝑥 = 𝐴)
37 nfmpo2 7521 . . . . . . . 8 Ⅎ𝑦(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)
38 nfcv 2926 . . . . . . . 8 Ⅎ𝑦𝐵
3934, 37, 38nfov 7470 . . . . . . 7 Ⅎ𝑦(𝐴(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝐵)
40 ovmpodxf.sy . . . . . . 7 Ⅎ𝑦𝑆
4139, 40nfeq 2939 . . . . . 6 Ⅎ𝑦(𝐴(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝐵) = 𝑆
4241a1i 11 . . . . 5 ((𝜑 ∧ 𝑥 = 𝐴) → Ⅎ𝑦(𝐴(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝐵) = 𝑆)
4314, 33, 36, 42sbciedf 3784 . . . 4 ((𝜑 ∧ 𝑥 = 𝐴) → ([𝐵 / 𝑦]((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷 ∧ 𝑅 ∈ V) → (𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝑦) = 𝑅) ↔ (𝐴(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝐵) = 𝑆))
44 nfcv 2926 . . . . . . 7 Ⅎ𝑥𝐴
45 nfmpo1 7520 . . . . . . 7 Ⅎ𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)
46 ovmpodxf.bx . . . . . . 7 Ⅎ𝑥𝐵
4744, 45, 46nfov 7470 . . . . . 6 Ⅎ𝑥(𝐴(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝐵)
48 ovmpodxf.sx . . . . . 6 Ⅎ𝑥𝑆
4947, 48nfeq 2939 . . . . 5 Ⅎ𝑥(𝐴(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝐵) = 𝑆
5049a1i 11 . . . 4 (𝜑 → Ⅎ𝑥(𝐴(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝐵) = 𝑆)
513, 43, 4, 50sbciedf 3784 . . 3 (𝜑 → ([𝐴 / 𝑥][𝐵 / 𝑦]((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷 ∧ 𝑅 ∈ V) → (𝑥(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝑦) = 𝑅) ↔ (𝐴(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝐵) = 𝑆))
5213, 51mpbid 235 . 2 (𝜑 → (𝐴(𝑥 ∈ 𝐶, 𝑦 ∈ 𝐷 ↦ 𝑅)𝐵) = 𝑆)
532, 52eqtrd 2798 1 (𝜑 → (𝐴𝐹𝐵) = 𝑆)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1570  Ⅎwnf 1816   ∈ wcel 2147  Ⅎwnfc 2911  Vcvv 3454  [wsbc 3742  (class class class)co 7440   ∈ cmpo 7442
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 5252  ax-pr 5395
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-rab 3417  df-v 3456  df-sbc 3743  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-uni 4871  df-br 5107  df-opab 5171  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-iota 6509  df-fun 6557  df-fv 6563  df-ov 7443  df-oprab 7444  df-mpo 7445
This theorem is used by:  ovmpodx  7592  elovmporab  7688  elovmporab1w  7689  elovmporab1  7690  ovmpt3rab1  7700  mpoxopoveq  8261  fvmpocurryd  8313  mdetralt2  22951  mdetunilem2  22955  gsummatr01lem4  23000
  Copyright terms: Public domain W3C validator