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

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

Proof of Theorem ovmpt2df
StepHypRef Expression
1 nfv 1840 . 2 𝑥𝜑
2 ovmpt2df.5 . . . 4 𝑥𝐹
3 nfmpt21 6678 . . . 4 𝑥(𝑥𝐶, 𝑦𝐷𝑅)
42, 3nfeq 2772 . . 3 𝑥 𝐹 = (𝑥𝐶, 𝑦𝐷𝑅)
5 ovmpt2df.6 . . 3 𝑥𝜓
64, 5nfim 1822 . 2 𝑥(𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → 𝜓)
7 ovmpt2df.1 . . . 4 (𝜑𝐴𝐶)
8 elex 3198 . . . 4 (𝐴𝐶𝐴 ∈ V)
97, 8syl 17 . . 3 (𝜑𝐴 ∈ V)
10 isset 3193 . . 3 (𝐴 ∈ V ↔ ∃𝑥 𝑥 = 𝐴)
119, 10sylib 208 . 2 (𝜑 → ∃𝑥 𝑥 = 𝐴)
12 ovmpt2df.2 . . . . 5 ((𝜑𝑥 = 𝐴) → 𝐵𝐷)
13 elex 3198 . . . . 5 (𝐵𝐷𝐵 ∈ V)
1412, 13syl 17 . . . 4 ((𝜑𝑥 = 𝐴) → 𝐵 ∈ V)
15 isset 3193 . . . 4 (𝐵 ∈ V ↔ ∃𝑦 𝑦 = 𝐵)
1614, 15sylib 208 . . 3 ((𝜑𝑥 = 𝐴) → ∃𝑦 𝑦 = 𝐵)
17 nfv 1840 . . . 4 𝑦(𝜑𝑥 = 𝐴)
18 ovmpt2df.7 . . . . . 6 𝑦𝐹
19 nfmpt22 6679 . . . . . 6 𝑦(𝑥𝐶, 𝑦𝐷𝑅)
2018, 19nfeq 2772 . . . . 5 𝑦 𝐹 = (𝑥𝐶, 𝑦𝐷𝑅)
21 ovmpt2df.8 . . . . 5 𝑦𝜓
2220, 21nfim 1822 . . . 4 𝑦(𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → 𝜓)
23 oveq 6613 . . . . . 6 (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → (𝐴𝐹𝐵) = (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵))
24 simprl 793 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑥 = 𝐴)
25 simprr 795 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑦 = 𝐵)
2624, 25oveq12d 6625 . . . . . . . . 9 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵))
277adantr 481 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝐴𝐶)
2824, 27eqeltrd 2698 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑥𝐶)
2912adantrr 752 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝐵𝐷)
3025, 29eqeltrd 2698 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑦𝐷)
31 ovmpt2df.3 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑅𝑉)
32 eqid 2621 . . . . . . . . . . 11 (𝑥𝐶, 𝑦𝐷𝑅) = (𝑥𝐶, 𝑦𝐷𝑅)
3332ovmpt4g 6739 . . . . . . . . . 10 ((𝑥𝐶𝑦𝐷𝑅𝑉) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅)
3428, 30, 31, 33syl3anc 1323 . . . . . . . . 9 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅)
3526, 34eqtr3d 2657 . . . . . . . 8 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑅)
3635eqeq2d 2631 . . . . . . 7 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → ((𝐴𝐹𝐵) = (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) ↔ (𝐴𝐹𝐵) = 𝑅))
37 ovmpt2df.4 . . . . . . 7 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → ((𝐴𝐹𝐵) = 𝑅𝜓))
3836, 37sylbid 230 . . . . . 6 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → ((𝐴𝐹𝐵) = (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) → 𝜓))
3923, 38syl5 34 . . . . 5 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → 𝜓))
4039expr 642 . . . 4 ((𝜑𝑥 = 𝐴) → (𝑦 = 𝐵 → (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → 𝜓)))
4117, 22, 40exlimd 2085 . . 3 ((𝜑𝑥 = 𝐴) → (∃𝑦 𝑦 = 𝐵 → (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → 𝜓)))
4216, 41mpd 15 . 2 ((𝜑𝑥 = 𝐴) → (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → 𝜓))
431, 6, 11, 42exlimdd 2086 1 (𝜑 → (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1480  wex 1701  wnf 1705  wcel 1987  wnfc 2748  Vcvv 3186  (class class class)co 6607  cmpt2 6609
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4743  ax-nul 4751  ax-pr 4869
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ral 2912  df-rex 2913  df-rab 2916  df-v 3188  df-sbc 3419  df-dif 3559  df-un 3561  df-in 3563  df-ss 3570  df-nul 3894  df-if 4061  df-sn 4151  df-pr 4153  df-op 4157  df-uni 4405  df-br 4616  df-opab 4676  df-id 4991  df-xp 5082  df-rel 5083  df-cnv 5084  df-co 5085  df-dm 5086  df-iota 5812  df-fun 5851  df-fv 5857  df-ov 6610  df-oprab 6611  df-mpt2 6612
This theorem is referenced by:  ovmpt2dv  6749  ovmpt2dv2  6750
  Copyright terms: Public domain W3C validator