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

Theorem fvopab3g 6765
Description: Value of a function given by ordered-pair class abstraction. (Contributed by NM, 6-Mar-1996.) (Revised by Mario Carneiro, 28-Apr-2015.)
Hypotheses
Ref Expression
fvopab3g.2 (𝑥 = 𝐴 → (𝜑𝜓))
fvopab3g.3 (𝑦 = 𝐵 → (𝜓𝜒))
fvopab3g.4 (𝑥𝐶 → ∃!𝑦𝜑)
fvopab3g.5 𝐹 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝜑)}
Assertion
Ref Expression
fvopab3g ((𝐴𝐶𝐵𝐷) → ((𝐹𝐴) = 𝐵𝜒))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝐶,𝑦   𝜒,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑥,𝑦)   𝐷(𝑥,𝑦)   𝐹(𝑥,𝑦)

Proof of Theorem fvopab3g
StepHypRef Expression
1 eleq1 2902 . . . 4 (𝑥 = 𝐴 → (𝑥𝐶𝐴𝐶))
2 fvopab3g.2 . . . 4 (𝑥 = 𝐴 → (𝜑𝜓))
31, 2anbi12d 632 . . 3 (𝑥 = 𝐴 → ((𝑥𝐶𝜑) ↔ (𝐴𝐶𝜓)))
4 fvopab3g.3 . . . 4 (𝑦 = 𝐵 → (𝜓𝜒))
54anbi2d 630 . . 3 (𝑦 = 𝐵 → ((𝐴𝐶𝜓) ↔ (𝐴𝐶𝜒)))
63, 5opelopabg 5427 . 2 ((𝐴𝐶𝐵𝐷) → (⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝜑)} ↔ (𝐴𝐶𝜒)))
7 fvopab3g.4 . . . . . 6 (𝑥𝐶 → ∃!𝑦𝜑)
8 fvopab3g.5 . . . . . 6 𝐹 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝜑)}
97, 8fnopab 6488 . . . . 5 𝐹 Fn 𝐶
10 fnopfvb 6721 . . . . 5 ((𝐹 Fn 𝐶𝐴𝐶) → ((𝐹𝐴) = 𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ 𝐹))
119, 10mpan 688 . . . 4 (𝐴𝐶 → ((𝐹𝐴) = 𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ 𝐹))
128eleq2i 2906 . . . 4 (⟨𝐴, 𝐵⟩ ∈ 𝐹 ↔ ⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝜑)})
1311, 12syl6bb 289 . . 3 (𝐴𝐶 → ((𝐹𝐴) = 𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝜑)}))
1413adantr 483 . 2 ((𝐴𝐶𝐵𝐷) → ((𝐹𝐴) = 𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝜑)}))
15 ibar 531 . . 3 (𝐴𝐶 → (𝜒 ↔ (𝐴𝐶𝜒)))
1615adantr 483 . 2 ((𝐴𝐶𝐵𝐷) → (𝜒 ↔ (𝐴𝐶𝜒)))
176, 14, 163bitr4d 313 1 ((𝐴𝐶𝐵𝐷) → ((𝐹𝐴) = 𝐵𝜒))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  ∃!weu 2653  cop 4575  {copab 5130   Fn wfn 6352  cfv 6357
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-iota 6316  df-fun 6359  df-fn 6360  df-fv 6365
This theorem is referenced by:  recmulnq  10388
  Copyright terms: Public domain W3C validator