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

Theorem ovmpt2dv2 6959
 Description: Alternate deduction version of ovmpt2 6961, suitable for iteration. (Contributed by Mario Carneiro, 7-Jan-2017.)
Hypotheses
Ref Expression
ovmpt2dv2.1 (𝜑𝐴𝐶)
ovmpt2dv2.2 ((𝜑𝑥 = 𝐴) → 𝐵𝐷)
ovmpt2dv2.3 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑅𝑉)
ovmpt2dv2.4 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑅 = 𝑆)
Assertion
Ref Expression
ovmpt2dv2 (𝜑 → (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → (𝐴𝐹𝐵) = 𝑆))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝜑,𝑥,𝑦   𝑥,𝑆,𝑦
Allowed substitution hints:   𝐶(𝑥,𝑦)   𝐷(𝑥,𝑦)   𝑅(𝑥,𝑦)   𝐹(𝑥,𝑦)   𝑉(𝑥,𝑦)

Proof of Theorem ovmpt2dv2
StepHypRef Expression
1 eqidd 2761 . . 3 (𝜑 → (𝑥𝐶, 𝑦𝐷𝑅) = (𝑥𝐶, 𝑦𝐷𝑅))
2 ovmpt2dv2.1 . . . 4 (𝜑𝐴𝐶)
3 ovmpt2dv2.2 . . . 4 ((𝜑𝑥 = 𝐴) → 𝐵𝐷)
4 ovmpt2dv2.3 . . . 4 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑅𝑉)
5 ovmpt2dv2.4 . . . . . 6 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑅 = 𝑆)
65eqeq2d 2770 . . . . 5 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → ((𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑅 ↔ (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆))
76biimpd 219 . . . 4 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → ((𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑅 → (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆))
8 nfmpt21 6887 . . . 4 𝑥(𝑥𝐶, 𝑦𝐷𝑅)
9 nfcv 2902 . . . . . 6 𝑥𝐴
10 nfcv 2902 . . . . . 6 𝑥𝐵
119, 8, 10nfov 6839 . . . . 5 𝑥(𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵)
1211nfeq1 2916 . . . 4 𝑥(𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆
13 nfmpt22 6888 . . . 4 𝑦(𝑥𝐶, 𝑦𝐷𝑅)
14 nfcv 2902 . . . . . 6 𝑦𝐴
15 nfcv 2902 . . . . . 6 𝑦𝐵
1614, 13, 15nfov 6839 . . . . 5 𝑦(𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵)
1716nfeq1 2916 . . . 4 𝑦(𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆
182, 3, 4, 7, 8, 12, 13, 17ovmpt2df 6957 . . 3 (𝜑 → ((𝑥𝐶, 𝑦𝐷𝑅) = (𝑥𝐶, 𝑦𝐷𝑅) → (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆))
191, 18mpd 15 . 2 (𝜑 → (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆)
20 oveq 6819 . . 3 (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → (𝐴𝐹𝐵) = (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵))
2120eqeq1d 2762 . 2 (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → ((𝐴𝐹𝐵) = 𝑆 ↔ (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑆))
2219, 21syl5ibrcom 237 1 (𝜑 → (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → (𝐴𝐹𝐵) = 𝑆))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 383   = wceq 1632   ∈ wcel 2139  (class class class)co 6813   ↦ cmpt2 6815 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-sep 4933  ax-nul 4941  ax-pr 5055 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ral 3055  df-rex 3056  df-rab 3059  df-v 3342  df-sbc 3577  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-nul 4059  df-if 4231  df-sn 4322  df-pr 4324  df-op 4328  df-uni 4589  df-br 4805  df-opab 4865  df-id 5174  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-iota 6012  df-fun 6051  df-fv 6057  df-ov 6816  df-oprab 6817  df-mpt2 6818 This theorem is referenced by:  coaval  16919  xpcco  17024  marrepval  20570  marrepeval  20571  marepveval  20576  submaval  20589  submaeval  20590  minmar1val  20656  minmar1eval  20657  nbgrval  26428
 Copyright terms: Public domain W3C validator