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

Theorem ov6g 6944
 Description: The value of an operation class abstraction. Special case. (Contributed by NM, 13-Nov-2006.)
Hypotheses
Ref Expression
ov6g.1 (⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩ → 𝑅 = 𝑆)
ov6g.2 𝐹 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅)}
Assertion
Ref Expression
ov6g (((𝐴𝐺𝐵𝐻 ∧ ⟨𝐴, 𝐵⟩ ∈ 𝐶) ∧ 𝑆𝐽) → (𝐴𝐹𝐵) = 𝑆)
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑥,𝐵,𝑦,𝑧   𝑥,𝐶,𝑦,𝑧   𝑧,𝑅   𝑥,𝑆,𝑦,𝑧
Allowed substitution hints:   𝑅(𝑥,𝑦)   𝐹(𝑥,𝑦,𝑧)   𝐺(𝑥,𝑦,𝑧)   𝐻(𝑥,𝑦,𝑧)   𝐽(𝑥,𝑦,𝑧)

Proof of Theorem ov6g
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 df-ov 6795 . 2 (𝐴𝐹𝐵) = (𝐹‘⟨𝐴, 𝐵⟩)
2 eqid 2770 . . . . . 6 𝑆 = 𝑆
3 biidd 252 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑆 = 𝑆𝑆 = 𝑆))
43copsex2g 5085 . . . . . 6 ((𝐴𝐺𝐵𝐻) → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆) ↔ 𝑆 = 𝑆))
52, 4mpbiri 248 . . . . 5 ((𝐴𝐺𝐵𝐻) → ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆))
653adant3 1125 . . . 4 ((𝐴𝐺𝐵𝐻 ∧ ⟨𝐴, 𝐵⟩ ∈ 𝐶) → ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆))
76adantr 466 . . 3 (((𝐴𝐺𝐵𝐻 ∧ ⟨𝐴, 𝐵⟩ ∈ 𝐶) ∧ 𝑆𝐽) → ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆))
8 eqeq1 2774 . . . . . . . 8 (𝑤 = ⟨𝐴, 𝐵⟩ → (𝑤 = ⟨𝑥, 𝑦⟩ ↔ ⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩))
98anbi1d 607 . . . . . . 7 (𝑤 = ⟨𝐴, 𝐵⟩ → ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅) ↔ (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)))
10 ov6g.1 . . . . . . . . . 10 (⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩ → 𝑅 = 𝑆)
1110eqeq2d 2780 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩ → (𝑧 = 𝑅𝑧 = 𝑆))
1211eqcoms 2778 . . . . . . . 8 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ → (𝑧 = 𝑅𝑧 = 𝑆))
1312pm5.32i 556 . . . . . . 7 ((⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅) ↔ (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑆))
149, 13syl6bb 276 . . . . . 6 (𝑤 = ⟨𝐴, 𝐵⟩ → ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅) ↔ (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑆)))
15142exbidv 2003 . . . . 5 (𝑤 = ⟨𝐴, 𝐵⟩ → (∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅) ↔ ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑆)))
16 eqeq1 2774 . . . . . . 7 (𝑧 = 𝑆 → (𝑧 = 𝑆𝑆 = 𝑆))
1716anbi2d 606 . . . . . 6 (𝑧 = 𝑆 → ((⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑆) ↔ (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆)))
18172exbidv 2003 . . . . 5 (𝑧 = 𝑆 → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑆) ↔ ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆)))
19 moeq 3532 . . . . . . 7 ∃*𝑧 𝑧 = 𝑅
2019mosubop 5104 . . . . . 6 ∃*𝑧𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)
2120a1i 11 . . . . 5 (𝑤𝐶 → ∃*𝑧𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅))
22 ov6g.2 . . . . . 6 𝐹 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅)}
23 dfoprab2 6847 . . . . . 6 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅)} = {⟨𝑤, 𝑧⟩ ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅))}
24 eleq1 2837 . . . . . . . . . . . 12 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑤𝐶 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐶))
2524anbi1d 607 . . . . . . . . . . 11 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤𝐶𝑧 = 𝑅) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅)))
2625pm5.32i 556 . . . . . . . . . 10 ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑤𝐶𝑧 = 𝑅)) ↔ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅)))
27 an12 616 . . . . . . . . . 10 ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑤𝐶𝑧 = 𝑅)) ↔ (𝑤𝐶 ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)))
2826, 27bitr3i 266 . . . . . . . . 9 ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅)) ↔ (𝑤𝐶 ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)))
29282exbii 1924 . . . . . . . 8 (∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅)) ↔ ∃𝑥𝑦(𝑤𝐶 ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)))
30 19.42vv 2034 . . . . . . . 8 (∃𝑥𝑦(𝑤𝐶 ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)) ↔ (𝑤𝐶 ∧ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)))
3129, 30bitri 264 . . . . . . 7 (∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅)) ↔ (𝑤𝐶 ∧ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)))
3231opabbii 4849 . . . . . 6 {⟨𝑤, 𝑧⟩ ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅))} = {⟨𝑤, 𝑧⟩ ∣ (𝑤𝐶 ∧ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅))}
3322, 23, 323eqtri 2796 . . . . 5 𝐹 = {⟨𝑤, 𝑧⟩ ∣ (𝑤𝐶 ∧ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅))}
3415, 18, 21, 33fvopab3ig 6420 . . . 4 ((⟨𝐴, 𝐵⟩ ∈ 𝐶𝑆𝐽) → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆) → (𝐹‘⟨𝐴, 𝐵⟩) = 𝑆))
35343ad2antl3 1201 . . 3 (((𝐴𝐺𝐵𝐻 ∧ ⟨𝐴, 𝐵⟩ ∈ 𝐶) ∧ 𝑆𝐽) → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆) → (𝐹‘⟨𝐴, 𝐵⟩) = 𝑆))
367, 35mpd 15 . 2 (((𝐴𝐺𝐵𝐻 ∧ ⟨𝐴, 𝐵⟩ ∈ 𝐶) ∧ 𝑆𝐽) → (𝐹‘⟨𝐴, 𝐵⟩) = 𝑆)
371, 36syl5eq 2816 1 (((𝐴𝐺𝐵𝐻 ∧ ⟨𝐴, 𝐵⟩ ∈ 𝐶) ∧ 𝑆𝐽) → (𝐴𝐹𝐵) = 𝑆)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 196   ∧ wa 382   ∧ w3a 1070   = wceq 1630  ∃wex 1851   ∈ wcel 2144  ∃*wmo 2618  ⟨cop 4320  {copab 4844  ‘cfv 6031  (class class class)co 6792  {coprab 6793 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1869  ax-4 1884  ax-5 1990  ax-6 2056  ax-7 2092  ax-9 2153  ax-10 2173  ax-11 2189  ax-12 2202  ax-13 2407  ax-ext 2750  ax-sep 4912  ax-nul 4920  ax-pr 5034 This theorem depends on definitions:  df-bi 197  df-an 383  df-or 827  df-3an 1072  df-tru 1633  df-ex 1852  df-nf 1857  df-sb 2049  df-eu 2621  df-mo 2622  df-clab 2757  df-cleq 2763  df-clel 2766  df-nfc 2901  df-ral 3065  df-rex 3066  df-rab 3069  df-v 3351  df-sbc 3586  df-dif 3724  df-un 3726  df-in 3728  df-ss 3735  df-nul 4062  df-if 4224  df-sn 4315  df-pr 4317  df-op 4321  df-uni 4573  df-br 4785  df-opab 4845  df-id 5157  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-iota 5994  df-fun 6033  df-fv 6039  df-ov 6795  df-oprab 6796 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator