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

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

Proof of Theorem brcap
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 opex 5437 . 2 ⟨𝐴, 𝐵⟩ ∈ V
2 brcap.3 . 2 𝐶 ∈ V
3 df-cap 36840 . 2 Cap = (((V × V) × V) ∖ ran ((V ⊗ E ) △ (((◡1st ∘ E ) ∩ (◡2nd ∘ E )) ⊗ V)))
4 brcap.1 . . . 4 𝐴 ∈ V
5 brcap.2 . . . 4 𝐵 ∈ V
64, 5opelvv 5696 . . 3 ⟨𝐴, 𝐵⟩ ∈ (V × V)
7 brxp 5705 . . 3 (⟨𝐴, 𝐵⟩((V × V) × V)𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (V × V) ∧ 𝐶 ∈ V))
86, 2, 7mpbir2an 724 . 2 ⟨𝐴, 𝐵⟩((V × V) × V)𝐶
9 epel 5559 . . . . . . 7 (𝑥 E 𝑦 ↔ 𝑥 ∈ 𝑦)
10 vex 3458 . . . . . . . . 9 𝑦 ∈ V
1110, 1brcnv 5870 . . . . . . . 8 (𝑦◡1st ⟨𝐴, 𝐵⟩ ↔ ⟨𝐴, 𝐵⟩1st 𝑦)
124, 5br1steq 36743 . . . . . . . 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 5858 . . . . 5 (𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ↔ ∃𝑦(𝑥 E 𝑦 ∧ 𝑦◡1st ⟨𝐴, 𝐵⟩))
184clel3 3619 . . . . 5 (𝑥 ∈ 𝐴 ↔ ∃𝑦(𝑦 = 𝐴 ∧ 𝑥 ∈ 𝑦))
1915, 17, 183bitr4i 306 . . . 4 (𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ↔ 𝑥 ∈ 𝐴)
2010, 1brcnv 5870 . . . . . . . 8 (𝑦◡2nd ⟨𝐴, 𝐵⟩ ↔ ⟨𝐴, 𝐵⟩2nd 𝑦)
214, 5br2ndeq 36744 . . . . . . . 8 (⟨𝐴, 𝐵⟩2nd 𝑦 ↔ 𝑦 = 𝐵)
2220, 21bitri 278 . . . . . . 7 (𝑦◡2nd ⟨𝐴, 𝐵⟩ ↔ 𝑦 = 𝐵)
239, 22anbi12ci 641 . . . . . 6 ((𝑥 E 𝑦 ∧ 𝑦◡2nd ⟨𝐴, 𝐵⟩) ↔ (𝑦 = 𝐵 ∧ 𝑥 ∈ 𝑦))
2423exbii 1881 . . . . 5 (∃𝑦(𝑥 E 𝑦 ∧ 𝑦◡2nd ⟨𝐴, 𝐵⟩) ↔ ∃𝑦(𝑦 = 𝐵 ∧ 𝑥 ∈ 𝑦))
2516, 1brco 5858 . . . . 5 (𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩ ↔ ∃𝑦(𝑥 E 𝑦 ∧ 𝑦◡2nd ⟨𝐴, 𝐵⟩))
265clel3 3619 . . . . 5 (𝑥 ∈ 𝐵 ↔ ∃𝑦(𝑦 = 𝐵 ∧ 𝑥 ∈ 𝑦))
2724, 25, 263bitr4i 306 . . . 4 (𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩ ↔ 𝑥 ∈ 𝐵)
2819, 27anbi12i 640 . . 3 ((𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ∧ 𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵))
29 brin 5161 . . 3 (𝑥((◡1st ∘ E ) ∩ (◡2nd ∘ E ))⟨𝐴, 𝐵⟩ ↔ (𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ∧ 𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩))
30 elin 4096 . . 3 (𝑥 ∈ (𝐴 ∩ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵))
3128, 29, 303bitr4ri 307 . 2 (𝑥 ∈ (𝐴 ∩ 𝐵) ↔ 𝑥((◡1st ∘ E ) ∩ (◡2nd ∘ E ))⟨𝐴, 𝐵⟩)
321, 2, 3, 8, 31brtxpsd3 36866 1 (⟨𝐴, 𝐵⟩Cap𝐶 ↔ 𝐶 = (𝐴 ∩ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147  Vcvv 3454   ∩ cin 4092  ⟨cop 4838   class class class wbr 5106   E cep 5555   × cxp 5654  ◡ccnv 5655   ∘ ccom 5660  1st c1st 8031  2nd c2nd 8032  Capccap 36817
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 5253  ax-nul 5264  ax-pr 5396  ax-un 7781
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 4839  df-uni 4871  df-br 5107  df-opab 5172  df-mpt 5191  df-id 5551  df-eprel 5556  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-iota 6518  df-fun 6566  df-fn 6567  df-f 6568  df-fo 6570  df-fv 6572  df-1st 8033  df-2nd 8034  df-txp 36824  df-cap 36840
This theorem is used by:  brrestrict  36921
  Copyright terms: Public domain W3C validator