Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  brcup Structured version   Visualization version   GIF version

Theorem brcup 36916
Description: Binary relation form of the Cup function. (Contributed by Scott Fenton, 14-Apr-2014.) (Revised by Mario Carneiro, 19-Apr-2014.)
Hypotheses
Ref Expression
brcup.1 𝐴 ∈ V
brcup.2 𝐵 ∈ V
brcup.3 𝐶 ∈ V
Assertion
Ref Expression
brcup (⟨𝐴, 𝐵⟩Cup𝐶 ↔ 𝐶 = (𝐴 ∪ 𝐵))

Proof of Theorem brcup
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 opex 5439 . 2 ⟨𝐴, 𝐵⟩ ∈ V
2 brcup.3 . 2 𝐶 ∈ V
3 df-cup 36846 . 2 Cup = (((V × V) × V) ∖ ran ((V ⊗ E ) △ (((◡1st ∘ E ) ∪ (◡2nd ∘ E )) ⊗ V)))
4 brcup.1 . . . 4 𝐴 ∈ V
5 brcup.2 . . . 4 𝐵 ∈ V
64, 5opelvv 5698 . . 3 ⟨𝐴, 𝐵⟩ ∈ (V × V)
7 brxp 5707 . . 3 (⟨𝐴, 𝐵⟩((V × V) × V)𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (V × V) ∧ 𝐶 ∈ V))
86, 2, 7mpbir2an 724 . 2 ⟨𝐴, 𝐵⟩((V × V) × V)𝐶
9 epel 5561 . . . . . . 7 (𝑥 E 𝑦 ↔ 𝑥 ∈ 𝑦)
10 vex 3458 . . . . . . . . 9 𝑦 ∈ V
1110, 1brcnv 5872 . . . . . . . 8 (𝑦◡1st ⟨𝐴, 𝐵⟩ ↔ ⟨𝐴, 𝐵⟩1st 𝑦)
124, 5br1steq 36750 . . . . . . . 8 (⟨𝐴, 𝐵⟩1st 𝑦 ↔ 𝑦 = 𝐴)
1311, 12bitri 278 . . . . . . 7 (𝑦◡1st ⟨𝐴, 𝐵⟩ ↔ 𝑦 = 𝐴)
149, 13anbi12ci 641 . . . . . 6 ((𝑥 E 𝑦 ∧ 𝑦◡1st ⟨𝐴, 𝐵⟩) ↔ (𝑦 = 𝐴 ∧ 𝑥 ∈ 𝑦))
1514exbii 1881 . . . . 5 (∃𝑦(𝑥 E 𝑦 ∧ 𝑦◡1st ⟨𝐴, 𝐵⟩) ↔ ∃𝑦(𝑦 = 𝐴 ∧ 𝑥 ∈ 𝑦))
16 vex 3458 . . . . . 6 𝑥 ∈ V
1716, 1brco 5860 . . . . 5 (𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ↔ ∃𝑦(𝑥 E 𝑦 ∧ 𝑦◡1st ⟨𝐴, 𝐵⟩))
184clel3 3619 . . . . 5 (𝑥 ∈ 𝐴 ↔ ∃𝑦(𝑦 = 𝐴 ∧ 𝑥 ∈ 𝑦))
1915, 17, 183bitr4i 306 . . . 4 (𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ↔ 𝑥 ∈ 𝐴)
2010, 1brcnv 5872 . . . . . . . 8 (𝑦◡2nd ⟨𝐴, 𝐵⟩ ↔ ⟨𝐴, 𝐵⟩2nd 𝑦)
214, 5br2ndeq 36751 . . . . . . . 8 (⟨𝐴, 𝐵⟩2nd 𝑦 ↔ 𝑦 = 𝐵)
2220, 21bitri 278 . . . . . . 7 (𝑦◡2nd ⟨𝐴, 𝐵⟩ ↔ 𝑦 = 𝐵)
239, 22anbi12ci 641 . . . . . 6 ((𝑥 E 𝑦 ∧ 𝑦◡2nd ⟨𝐴, 𝐵⟩) ↔ (𝑦 = 𝐵 ∧ 𝑥 ∈ 𝑦))
2423exbii 1881 . . . . 5 (∃𝑦(𝑥 E 𝑦 ∧ 𝑦◡2nd ⟨𝐴, 𝐵⟩) ↔ ∃𝑦(𝑦 = 𝐵 ∧ 𝑥 ∈ 𝑦))
2516, 1brco 5860 . . . . 5 (𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩ ↔ ∃𝑦(𝑥 E 𝑦 ∧ 𝑦◡2nd ⟨𝐴, 𝐵⟩))
265clel3 3619 . . . . 5 (𝑥 ∈ 𝐵 ↔ ∃𝑦(𝑦 = 𝐵 ∧ 𝑥 ∈ 𝑦))
2724, 25, 263bitr4i 306 . . . 4 (𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩ ↔ 𝑥 ∈ 𝐵)
2819, 27orbi12i 928 . . 3 ((𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ∨ 𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩) ↔ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵))
29 brun 5162 . . 3 (𝑥((◡1st ∘ E ) ∪ (◡2nd ∘ E ))⟨𝐴, 𝐵⟩ ↔ (𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ∨ 𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩))
30 elun 4155 . . 3 (𝑥 ∈ (𝐴 ∪ 𝐵) ↔ (𝑥 ∈ 𝐴 ∨ 𝑥 ∈ 𝐵))
3128, 29, 303bitr4ri 307 . 2 (𝑥 ∈ (𝐴 ∪ 𝐵) ↔ 𝑥((◡1st ∘ E ) ∪ (◡2nd ∘ E ))⟨𝐴, 𝐵⟩)
321, 2, 3, 8, 31brtxpsd3 36873 1 (⟨𝐴, 𝐵⟩Cup𝐶 ↔ 𝐶 = (𝐴 ∪ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1570  ∃wex 1812   ∈ wcel 2147  Vcvv 3454   ∪ cun 4152  ⟨cop 4840   class class class wbr 5108   E cep 5557   × cxp 5656  ◡ccnv 5657   ∘ ccom 5662  1st c1st 8033  2nd c2nd 8034  Cupccup 36823
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398  ax-un 7783
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-symdif 4201  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-eprel 5558  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-fo 6572  df-fv 6574  df-1st 8035  df-2nd 8036  df-txp 36831  df-cup 36846
This theorem is used by:  lemsuccf  36918
  Copyright terms: Public domain W3C validator