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

Theorem ovmpt2df 6690
Description: Alternate deduction version of ovmpt2 6694, 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 1830 . 2 𝑥𝜑
2 ovmpt2df.5 . . . 4 𝑥𝐹
3 nfmpt21 6620 . . . 4 𝑥(𝑥𝐶, 𝑦𝐷𝑅)
42, 3nfeq 2762 . . 3 𝑥 𝐹 = (𝑥𝐶, 𝑦𝐷𝑅)
5 ovmpt2df.6 . . 3 𝑥𝜓
64, 5nfim 1813 . 2 𝑥(𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → 𝜓)
7 ovmpt2df.1 . . . 4 (𝜑𝐴𝐶)
8 elex 3185 . . . 4 (𝐴𝐶𝐴 ∈ V)
97, 8syl 17 . . 3 (𝜑𝐴 ∈ V)
10 isset 3180 . . 3 (𝐴 ∈ V ↔ ∃𝑥 𝑥 = 𝐴)
119, 10sylib 207 . 2 (𝜑 → ∃𝑥 𝑥 = 𝐴)
12 ovmpt2df.2 . . . . 5 ((𝜑𝑥 = 𝐴) → 𝐵𝐷)
13 elex 3185 . . . . 5 (𝐵𝐷𝐵 ∈ V)
1412, 13syl 17 . . . 4 ((𝜑𝑥 = 𝐴) → 𝐵 ∈ V)
15 isset 3180 . . . 4 (𝐵 ∈ V ↔ ∃𝑦 𝑦 = 𝐵)
1614, 15sylib 207 . . 3 ((𝜑𝑥 = 𝐴) → ∃𝑦 𝑦 = 𝐵)
17 nfv 1830 . . . 4 𝑦(𝜑𝑥 = 𝐴)
18 ovmpt2df.7 . . . . . 6 𝑦𝐹
19 nfmpt22 6621 . . . . . 6 𝑦(𝑥𝐶, 𝑦𝐷𝑅)
2018, 19nfeq 2762 . . . . 5 𝑦 𝐹 = (𝑥𝐶, 𝑦𝐷𝑅)
21 ovmpt2df.8 . . . . 5 𝑦𝜓
2220, 21nfim 1813 . . . 4 𝑦(𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → 𝜓)
23 oveq 6555 . . . . . 6 (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → (𝐴𝐹𝐵) = (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵))
24 simprl 790 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑥 = 𝐴)
25 simprr 792 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑦 = 𝐵)
2624, 25oveq12d 6567 . . . . . . . . 9 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵))
277adantr 480 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝐴𝐶)
2824, 27eqeltrd 2688 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑥𝐶)
2912adantrr 749 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝐵𝐷)
3025, 29eqeltrd 2688 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑦𝐷)
31 ovmpt2df.3 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝑅𝑉)
32 eqid 2610 . . . . . . . . . . 11 (𝑥𝐶, 𝑦𝐷𝑅) = (𝑥𝐶, 𝑦𝐷𝑅)
3332ovmpt4g 6681 . . . . . . . . . 10 ((𝑥𝐶𝑦𝐷𝑅𝑉) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅)
3428, 30, 31, 33syl3anc 1318 . . . . . . . . 9 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝑥(𝑥𝐶, 𝑦𝐷𝑅)𝑦) = 𝑅)
3526, 34eqtr3d 2646 . . . . . . . 8 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) = 𝑅)
3635eqeq2d 2620 . . . . . . 7 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → ((𝐴𝐹𝐵) = (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) ↔ (𝐴𝐹𝐵) = 𝑅))
37 ovmpt2df.4 . . . . . . 7 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → ((𝐴𝐹𝐵) = 𝑅𝜓))
3836, 37sylbid 229 . . . . . 6 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → ((𝐴𝐹𝐵) = (𝐴(𝑥𝐶, 𝑦𝐷𝑅)𝐵) → 𝜓))
3923, 38syl5 33 . . . . 5 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → 𝜓))
4039expr 641 . . . 4 ((𝜑𝑥 = 𝐴) → (𝑦 = 𝐵 → (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → 𝜓)))
4117, 22, 40exlimd 2074 . . 3 ((𝜑𝑥 = 𝐴) → (∃𝑦 𝑦 = 𝐵 → (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → 𝜓)))
4216, 41mpd 15 . 2 ((𝜑𝑥 = 𝐴) → (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → 𝜓))
431, 6, 11, 42exlimdd 2075 1 (𝜑 → (𝐹 = (𝑥𝐶, 𝑦𝐷𝑅) → 𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1475  wex 1695  wnf 1699  wcel 1977  wnfc 2738  Vcvv 3173  (class class class)co 6549  cmpt2 6551
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-iota 5768  df-fun 5806  df-fv 5812  df-ov 6552  df-oprab 6553  df-mpt2 6554
This theorem is referenced by:  ovmpt2dv  6691  ovmpt2dv2  6692
  Copyright terms: Public domain W3C validator