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

Theorem ov6g 7436
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 7278 . 2 (𝐴𝐹𝐵) = (𝐹‘⟨𝐴, 𝐵⟩)
2 eqid 2738 . . . . . 6 𝑆 = 𝑆
3 biidd 261 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑆 = 𝑆𝑆 = 𝑆))
43copsex2g 5407 . . . . . 6 ((𝐴𝐺𝐵𝐻) → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆) ↔ 𝑆 = 𝑆))
52, 4mpbiri 257 . . . . 5 ((𝐴𝐺𝐵𝐻) → ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆))
653adant3 1131 . . . 4 ((𝐴𝐺𝐵𝐻 ∧ ⟨𝐴, 𝐵⟩ ∈ 𝐶) → ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆))
76adantr 481 . . 3 (((𝐴𝐺𝐵𝐻 ∧ ⟨𝐴, 𝐵⟩ ∈ 𝐶) ∧ 𝑆𝐽) → ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆))
8 eqeq1 2742 . . . . . . . 8 (𝑤 = ⟨𝐴, 𝐵⟩ → (𝑤 = ⟨𝑥, 𝑦⟩ ↔ ⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩))
98anbi1d 630 . . . . . . 7 (𝑤 = ⟨𝐴, 𝐵⟩ → ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅) ↔ (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)))
10 ov6g.1 . . . . . . . . . 10 (⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩ → 𝑅 = 𝑆)
1110eqeq2d 2749 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝐵⟩ → (𝑧 = 𝑅𝑧 = 𝑆))
1211eqcoms 2746 . . . . . . . 8 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ → (𝑧 = 𝑅𝑧 = 𝑆))
1312pm5.32i 575 . . . . . . 7 ((⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅) ↔ (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑆))
149, 13bitrdi 287 . . . . . 6 (𝑤 = ⟨𝐴, 𝐵⟩ → ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅) ↔ (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑆)))
15142exbidv 1927 . . . . 5 (𝑤 = ⟨𝐴, 𝐵⟩ → (∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅) ↔ ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑆)))
16 eqeq1 2742 . . . . . . 7 (𝑧 = 𝑆 → (𝑧 = 𝑆𝑆 = 𝑆))
1716anbi2d 629 . . . . . 6 (𝑧 = 𝑆 → ((⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑆) ↔ (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆)))
18172exbidv 1927 . . . . 5 (𝑧 = 𝑆 → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑆) ↔ ∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆)))
19 moeq 3642 . . . . . . 7 ∃*𝑧 𝑧 = 𝑅
2019mosubop 5425 . . . . . 6 ∃*𝑧𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)
2120a1i 11 . . . . 5 (𝑤𝐶 → ∃*𝑧𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅))
22 ov6g.2 . . . . . 6 𝐹 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅)}
23 dfoprab2 7333 . . . . . 6 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅)} = {⟨𝑤, 𝑧⟩ ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅))}
24 eleq1 2826 . . . . . . . . . . . 12 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑤𝐶 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐶))
2524anbi1d 630 . . . . . . . . . . 11 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤𝐶𝑧 = 𝑅) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅)))
2625pm5.32i 575 . . . . . . . . . 10 ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑤𝐶𝑧 = 𝑅)) ↔ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅)))
27 an12 642 . . . . . . . . . 10 ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑤𝐶𝑧 = 𝑅)) ↔ (𝑤𝐶 ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)))
2826, 27bitr3i 276 . . . . . . . . 9 ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅)) ↔ (𝑤𝐶 ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)))
29282exbii 1851 . . . . . . . 8 (∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅)) ↔ ∃𝑥𝑦(𝑤𝐶 ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)))
30 19.42vv 1961 . . . . . . . 8 (∃𝑥𝑦(𝑤𝐶 ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)) ↔ (𝑤𝐶 ∧ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)))
3129, 30bitri 274 . . . . . . 7 (∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅)) ↔ (𝑤𝐶 ∧ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅)))
3231opabbii 5141 . . . . . 6 {⟨𝑤, 𝑧⟩ ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (⟨𝑥, 𝑦⟩ ∈ 𝐶𝑧 = 𝑅))} = {⟨𝑤, 𝑧⟩ ∣ (𝑤𝐶 ∧ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅))}
3322, 23, 323eqtri 2770 . . . . 5 𝐹 = {⟨𝑤, 𝑧⟩ ∣ (𝑤𝐶 ∧ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑧 = 𝑅))}
3415, 18, 21, 33fvopab3ig 6871 . . . 4 ((⟨𝐴, 𝐵⟩ ∈ 𝐶𝑆𝐽) → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆) → (𝐹‘⟨𝐴, 𝐵⟩) = 𝑆))
35343ad2antl3 1186 . . 3 (((𝐴𝐺𝐵𝐻 ∧ ⟨𝐴, 𝐵⟩ ∈ 𝐶) ∧ 𝑆𝐽) → (∃𝑥𝑦(⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝑆 = 𝑆) → (𝐹‘⟨𝐴, 𝐵⟩) = 𝑆))
367, 35mpd 15 . 2 (((𝐴𝐺𝐵𝐻 ∧ ⟨𝐴, 𝐵⟩ ∈ 𝐶) ∧ 𝑆𝐽) → (𝐹‘⟨𝐴, 𝐵⟩) = 𝑆)
371, 36eqtrid 2790 1 (((𝐴𝐺𝐵𝐻 ∧ ⟨𝐴, 𝐵⟩ ∈ 𝐶) ∧ 𝑆𝐽) → (𝐴𝐹𝐵) = 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wex 1782  wcel 2106  ∃*wmo 2538  cop 4567  {copab 5136  cfv 6433  (class class class)co 7275  {coprab 7276
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-iota 6391  df-fun 6435  df-fv 6441  df-ov 7278  df-oprab 7279
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator