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 34238
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 5383 . 2 𝐴, 𝐵⟩ ∈ V
2 brcap.3 . 2 𝐶 ∈ V
3 df-cap 34168 . 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 5629 . . 3 𝐴, 𝐵⟩ ∈ (V × V)
7 brxp 5637 . . 3 (⟨𝐴, 𝐵⟩((V × V) × V)𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (V × V) ∧ 𝐶 ∈ V))
86, 2, 7mpbir2an 708 . 2 𝐴, 𝐵⟩((V × V) × V)𝐶
9 epel 5499 . . . . . . 7 (𝑥 E 𝑦𝑥𝑦)
10 vex 3435 . . . . . . . . 9 𝑦 ∈ V
1110, 1brcnv 5790 . . . . . . . 8 (𝑦1st𝐴, 𝐵⟩ ↔ ⟨𝐴, 𝐵⟩1st 𝑦)
124, 5br1steq 33741 . . . . . . . 8 (⟨𝐴, 𝐵⟩1st 𝑦𝑦 = 𝐴)
1311, 12bitri 274 . . . . . . 7 (𝑦1st𝐴, 𝐵⟩ ↔ 𝑦 = 𝐴)
149, 13anbi12ci 628 . . . . . 6 ((𝑥 E 𝑦𝑦1st𝐴, 𝐵⟩) ↔ (𝑦 = 𝐴𝑥𝑦))
1514exbii 1854 . . . . 5 (∃𝑦(𝑥 E 𝑦𝑦1st𝐴, 𝐵⟩) ↔ ∃𝑦(𝑦 = 𝐴𝑥𝑦))
16 vex 3435 . . . . . 6 𝑥 ∈ V
1716, 1brco 5778 . . . . 5 (𝑥(1st ∘ E )⟨𝐴, 𝐵⟩ ↔ ∃𝑦(𝑥 E 𝑦𝑦1st𝐴, 𝐵⟩))
184clel3 3594 . . . . 5 (𝑥𝐴 ↔ ∃𝑦(𝑦 = 𝐴𝑥𝑦))
1915, 17, 183bitr4i 303 . . . 4 (𝑥(1st ∘ E )⟨𝐴, 𝐵⟩ ↔ 𝑥𝐴)
2010, 1brcnv 5790 . . . . . . . 8 (𝑦2nd𝐴, 𝐵⟩ ↔ ⟨𝐴, 𝐵⟩2nd 𝑦)
214, 5br2ndeq 33742 . . . . . . . 8 (⟨𝐴, 𝐵⟩2nd 𝑦𝑦 = 𝐵)
2220, 21bitri 274 . . . . . . 7 (𝑦2nd𝐴, 𝐵⟩ ↔ 𝑦 = 𝐵)
239, 22anbi12ci 628 . . . . . 6 ((𝑥 E 𝑦𝑦2nd𝐴, 𝐵⟩) ↔ (𝑦 = 𝐵𝑥𝑦))
2423exbii 1854 . . . . 5 (∃𝑦(𝑥 E 𝑦𝑦2nd𝐴, 𝐵⟩) ↔ ∃𝑦(𝑦 = 𝐵𝑥𝑦))
2516, 1brco 5778 . . . . 5 (𝑥(2nd ∘ E )⟨𝐴, 𝐵⟩ ↔ ∃𝑦(𝑥 E 𝑦𝑦2nd𝐴, 𝐵⟩))
265clel3 3594 . . . . 5 (𝑥𝐵 ↔ ∃𝑦(𝑦 = 𝐵𝑥𝑦))
2724, 25, 263bitr4i 303 . . . 4 (𝑥(2nd ∘ E )⟨𝐴, 𝐵⟩ ↔ 𝑥𝐵)
2819, 27anbi12i 627 . . 3 ((𝑥(1st ∘ E )⟨𝐴, 𝐵⟩ ∧ 𝑥(2nd ∘ E )⟨𝐴, 𝐵⟩) ↔ (𝑥𝐴𝑥𝐵))
29 brin 5131 . . 3 (𝑥((1st ∘ E ) ∩ (2nd ∘ E ))⟨𝐴, 𝐵⟩ ↔ (𝑥(1st ∘ E )⟨𝐴, 𝐵⟩ ∧ 𝑥(2nd ∘ E )⟨𝐴, 𝐵⟩))
30 elin 3908 . . 3 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴𝑥𝐵))
3128, 29, 303bitr4ri 304 . 2 (𝑥 ∈ (𝐴𝐵) ↔ 𝑥((1st ∘ E ) ∩ (2nd ∘ E ))⟨𝐴, 𝐵⟩)
321, 2, 3, 8, 31brtxpsd3 34194 1 (⟨𝐴, 𝐵⟩Cap𝐶𝐶 = (𝐴𝐵))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396   = wceq 1542  wex 1786  wcel 2110  Vcvv 3431  cin 3891  cop 4573   class class class wbr 5079   E cep 5495   × cxp 5588  ccnv 5589  ccom 5594  1st c1st 7822  2nd c2nd 7823  Capccap 34145
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pr 5356  ax-un 7582
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-ral 3071  df-rex 3072  df-rab 3075  df-v 3433  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-symdif 4182  df-nul 4263  df-if 4466  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-br 5080  df-opab 5142  df-mpt 5163  df-id 5490  df-eprel 5496  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-iota 6390  df-fun 6434  df-fn 6435  df-f 6436  df-fo 6438  df-fv 6440  df-1st 7824  df-2nd 7825  df-txp 34152  df-cap 34168
This theorem is referenced by:  brrestrict  34247
  Copyright terms: Public domain W3C validator