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

Theorem ov 6822
Description: The value of an operation class abstraction. (Contributed by NM, 16-May-1995.) (Revised by David Abernethy, 19-Jun-2012.)
Hypotheses
Ref Expression
ov.1 𝐶 ∈ V
ov.2 (𝑥 = 𝐴 → (𝜑𝜓))
ov.3 (𝑦 = 𝐵 → (𝜓𝜒))
ov.4 (𝑧 = 𝐶 → (𝜒𝜃))
ov.5 ((𝑥𝑅𝑦𝑆) → ∃!𝑧𝜑)
ov.6 𝐹 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝑅𝑦𝑆) ∧ 𝜑)}
Assertion
Ref Expression
ov ((𝐴𝑅𝐵𝑆) → ((𝐴𝐹𝐵) = 𝐶𝜃))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑥,𝐵,𝑦,𝑧   𝑥,𝐶,𝑦,𝑧   𝑥,𝑅,𝑦,𝑧   𝑥,𝑆,𝑦,𝑧   𝜃,𝑥,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)   𝜓(𝑥,𝑦,𝑧)   𝜒(𝑥,𝑦,𝑧)   𝐹(𝑥,𝑦,𝑧)

Proof of Theorem ov
StepHypRef Expression
1 df-ov 6693 . . . . 5 (𝐴𝐹𝐵) = (𝐹‘⟨𝐴, 𝐵⟩)
2 ov.6 . . . . . 6 𝐹 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝑅𝑦𝑆) ∧ 𝜑)}
32fveq1i 6230 . . . . 5 (𝐹‘⟨𝐴, 𝐵⟩) = ({⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝑅𝑦𝑆) ∧ 𝜑)}‘⟨𝐴, 𝐵⟩)
41, 3eqtri 2673 . . . 4 (𝐴𝐹𝐵) = ({⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝑅𝑦𝑆) ∧ 𝜑)}‘⟨𝐴, 𝐵⟩)
54eqeq1i 2656 . . 3 ((𝐴𝐹𝐵) = 𝐶 ↔ ({⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝑅𝑦𝑆) ∧ 𝜑)}‘⟨𝐴, 𝐵⟩) = 𝐶)
6 ov.5 . . . . . 6 ((𝑥𝑅𝑦𝑆) → ∃!𝑧𝜑)
76fnoprab 6805 . . . . 5 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝑅𝑦𝑆) ∧ 𝜑)} Fn {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑅𝑦𝑆)}
8 eleq1 2718 . . . . . . . 8 (𝑥 = 𝐴 → (𝑥𝑅𝐴𝑅))
98anbi1d 741 . . . . . . 7 (𝑥 = 𝐴 → ((𝑥𝑅𝑦𝑆) ↔ (𝐴𝑅𝑦𝑆)))
10 eleq1 2718 . . . . . . . 8 (𝑦 = 𝐵 → (𝑦𝑆𝐵𝑆))
1110anbi2d 740 . . . . . . 7 (𝑦 = 𝐵 → ((𝐴𝑅𝑦𝑆) ↔ (𝐴𝑅𝐵𝑆)))
129, 11opelopabg 5022 . . . . . 6 ((𝐴𝑅𝐵𝑆) → (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑅𝑦𝑆)} ↔ (𝐴𝑅𝐵𝑆)))
1312ibir 257 . . . . 5 ((𝐴𝑅𝐵𝑆) → ⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑅𝑦𝑆)})
14 fnopfvb 6275 . . . . 5 (({⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝑅𝑦𝑆) ∧ 𝜑)} Fn {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑅𝑦𝑆)} ∧ ⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝑅𝑦𝑆)}) → (({⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝑅𝑦𝑆) ∧ 𝜑)}‘⟨𝐴, 𝐵⟩) = 𝐶 ↔ ⟨⟨𝐴, 𝐵⟩, 𝐶⟩ ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝑅𝑦𝑆) ∧ 𝜑)}))
157, 13, 14sylancr 696 . . . 4 ((𝐴𝑅𝐵𝑆) → (({⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝑅𝑦𝑆) ∧ 𝜑)}‘⟨𝐴, 𝐵⟩) = 𝐶 ↔ ⟨⟨𝐴, 𝐵⟩, 𝐶⟩ ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝑅𝑦𝑆) ∧ 𝜑)}))
16 ov.1 . . . . 5 𝐶 ∈ V
17 ov.2 . . . . . . 7 (𝑥 = 𝐴 → (𝜑𝜓))
189, 17anbi12d 747 . . . . . 6 (𝑥 = 𝐴 → (((𝑥𝑅𝑦𝑆) ∧ 𝜑) ↔ ((𝐴𝑅𝑦𝑆) ∧ 𝜓)))
19 ov.3 . . . . . . 7 (𝑦 = 𝐵 → (𝜓𝜒))
2011, 19anbi12d 747 . . . . . 6 (𝑦 = 𝐵 → (((𝐴𝑅𝑦𝑆) ∧ 𝜓) ↔ ((𝐴𝑅𝐵𝑆) ∧ 𝜒)))
21 ov.4 . . . . . . 7 (𝑧 = 𝐶 → (𝜒𝜃))
2221anbi2d 740 . . . . . 6 (𝑧 = 𝐶 → (((𝐴𝑅𝐵𝑆) ∧ 𝜒) ↔ ((𝐴𝑅𝐵𝑆) ∧ 𝜃)))
2318, 20, 22eloprabg 6790 . . . . 5 ((𝐴𝑅𝐵𝑆𝐶 ∈ V) → (⟨⟨𝐴, 𝐵⟩, 𝐶⟩ ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝑅𝑦𝑆) ∧ 𝜑)} ↔ ((𝐴𝑅𝐵𝑆) ∧ 𝜃)))
2416, 23mp3an3 1453 . . . 4 ((𝐴𝑅𝐵𝑆) → (⟨⟨𝐴, 𝐵⟩, 𝐶⟩ ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝑅𝑦𝑆) ∧ 𝜑)} ↔ ((𝐴𝑅𝐵𝑆) ∧ 𝜃)))
2515, 24bitrd 268 . . 3 ((𝐴𝑅𝐵𝑆) → (({⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝑅𝑦𝑆) ∧ 𝜑)}‘⟨𝐴, 𝐵⟩) = 𝐶 ↔ ((𝐴𝑅𝐵𝑆) ∧ 𝜃)))
265, 25syl5bb 272 . 2 ((𝐴𝑅𝐵𝑆) → ((𝐴𝐹𝐵) = 𝐶 ↔ ((𝐴𝑅𝐵𝑆) ∧ 𝜃)))
2726bianabs 942 1 ((𝐴𝑅𝐵𝑆) → ((𝐴𝐹𝐵) = 𝐶𝜃))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383   = wceq 1523  wcel 2030  ∃!weu 2498  Vcvv 3231  cop 4216  {copab 4745   Fn wfn 5921  cfv 5926  (class class class)co 6690  {coprab 6691
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pr 4936
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-sbc 3469  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-br 4686  df-opab 4746  df-id 5053  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-iota 5889  df-fun 5928  df-fn 5929  df-fv 5934  df-ov 6693  df-oprab 6694
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator