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

Theorem ov2gf 7289
Description: The value of an operation class abstraction. A version of ovmpog 7299 using bound-variable hypotheses. (Contributed by NM, 17-Aug-2006.) (Revised by Mario Carneiro, 19-Dec-2013.)
Hypotheses
Ref Expression
ov2gf.a 𝑥𝐴
ov2gf.c 𝑦𝐴
ov2gf.d 𝑦𝐵
ov2gf.1 𝑥𝐺
ov2gf.2 𝑦𝑆
ov2gf.3 (𝑥 = 𝐴𝑅 = 𝐺)
ov2gf.4 (𝑦 = 𝐵𝐺 = 𝑆)
ov2gf.5 𝐹 = (𝑥𝐶, 𝑦𝐷𝑅)
Assertion
Ref Expression
ov2gf ((𝐴𝐶𝐵𝐷𝑆𝐻) → (𝐴𝐹𝐵) = 𝑆)
Distinct variable groups:   𝑥,𝑦,𝐶   𝑥,𝐷,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦)   𝐵(𝑥,𝑦)   𝑅(𝑥,𝑦)   𝑆(𝑥,𝑦)   𝐹(𝑥,𝑦)   𝐺(𝑥,𝑦)   𝐻(𝑥,𝑦)

Proof of Theorem ov2gf
StepHypRef Expression
1 elex 3498 . . 3 (𝑆𝐻𝑆 ∈ V)
2 ov2gf.a . . . 4 𝑥𝐴
3 ov2gf.c . . . 4 𝑦𝐴
4 ov2gf.d . . . 4 𝑦𝐵
5 ov2gf.1 . . . . . 6 𝑥𝐺
65nfel1 2998 . . . . 5 𝑥 𝐺 ∈ V
7 ov2gf.5 . . . . . . . 8 𝐹 = (𝑥𝐶, 𝑦𝐷𝑅)
8 nfmpo1 7224 . . . . . . . 8 𝑥(𝑥𝐶, 𝑦𝐷𝑅)
97, 8nfcxfr 2980 . . . . . . 7 𝑥𝐹
10 nfcv 2982 . . . . . . 7 𝑥𝑦
112, 9, 10nfov 7176 . . . . . 6 𝑥(𝐴𝐹𝑦)
1211, 5nfeq 2995 . . . . 5 𝑥(𝐴𝐹𝑦) = 𝐺
136, 12nfim 1898 . . . 4 𝑥(𝐺 ∈ V → (𝐴𝐹𝑦) = 𝐺)
14 ov2gf.2 . . . . . 6 𝑦𝑆
1514nfel1 2998 . . . . 5 𝑦 𝑆 ∈ V
16 nfmpo2 7225 . . . . . . . 8 𝑦(𝑥𝐶, 𝑦𝐷𝑅)
177, 16nfcxfr 2980 . . . . . . 7 𝑦𝐹
183, 17, 4nfov 7176 . . . . . 6 𝑦(𝐴𝐹𝐵)
1918, 14nfeq 2995 . . . . 5 𝑦(𝐴𝐹𝐵) = 𝑆
2015, 19nfim 1898 . . . 4 𝑦(𝑆 ∈ V → (𝐴𝐹𝐵) = 𝑆)
21 ov2gf.3 . . . . . 6 (𝑥 = 𝐴𝑅 = 𝐺)
2221eleq1d 2900 . . . . 5 (𝑥 = 𝐴 → (𝑅 ∈ V ↔ 𝐺 ∈ V))
23 oveq1 7153 . . . . . 6 (𝑥 = 𝐴 → (𝑥𝐹𝑦) = (𝐴𝐹𝑦))
2423, 21eqeq12d 2840 . . . . 5 (𝑥 = 𝐴 → ((𝑥𝐹𝑦) = 𝑅 ↔ (𝐴𝐹𝑦) = 𝐺))
2522, 24imbi12d 348 . . . 4 (𝑥 = 𝐴 → ((𝑅 ∈ V → (𝑥𝐹𝑦) = 𝑅) ↔ (𝐺 ∈ V → (𝐴𝐹𝑦) = 𝐺)))
26 ov2gf.4 . . . . . 6 (𝑦 = 𝐵𝐺 = 𝑆)
2726eleq1d 2900 . . . . 5 (𝑦 = 𝐵 → (𝐺 ∈ V ↔ 𝑆 ∈ V))
28 oveq2 7154 . . . . . 6 (𝑦 = 𝐵 → (𝐴𝐹𝑦) = (𝐴𝐹𝐵))
2928, 26eqeq12d 2840 . . . . 5 (𝑦 = 𝐵 → ((𝐴𝐹𝑦) = 𝐺 ↔ (𝐴𝐹𝐵) = 𝑆))
3027, 29imbi12d 348 . . . 4 (𝑦 = 𝐵 → ((𝐺 ∈ V → (𝐴𝐹𝑦) = 𝐺) ↔ (𝑆 ∈ V → (𝐴𝐹𝐵) = 𝑆)))
317ovmpt4g 7287 . . . . 5 ((𝑥𝐶𝑦𝐷𝑅 ∈ V) → (𝑥𝐹𝑦) = 𝑅)
32313expia 1118 . . . 4 ((𝑥𝐶𝑦𝐷) → (𝑅 ∈ V → (𝑥𝐹𝑦) = 𝑅))
332, 3, 4, 13, 20, 25, 30, 32vtocl2gaf 3562 . . 3 ((𝐴𝐶𝐵𝐷) → (𝑆 ∈ V → (𝐴𝐹𝐵) = 𝑆))
341, 33syl5 34 . 2 ((𝐴𝐶𝐵𝐷) → (𝑆𝐻 → (𝐴𝐹𝐵) = 𝑆))
35343impia 1114 1 ((𝐴𝐶𝐵𝐷𝑆𝐻) → (𝐴𝐹𝐵) = 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  w3a 1084   = wceq 1538  wcel 2115  wnfc 2962  Vcvv 3480  (class class class)co 7146  cmpo 7148
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2117  ax-9 2125  ax-10 2146  ax-11 2162  ax-12 2179  ax-ext 2796  ax-sep 5190  ax-nul 5197  ax-pr 5318
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2071  df-mo 2624  df-eu 2655  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2964  df-ral 3138  df-rex 3139  df-v 3482  df-sbc 3759  df-dif 3922  df-un 3924  df-in 3926  df-ss 3936  df-nul 4277  df-if 4451  df-sn 4551  df-pr 4553  df-op 4557  df-uni 4826  df-br 5054  df-opab 5116  df-id 5448  df-xp 5549  df-rel 5550  df-cnv 5551  df-co 5552  df-dm 5553  df-iota 6303  df-fun 6346  df-fv 6352  df-ov 7149  df-oprab 7150  df-mpo 7151
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator