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 36682
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 5432 . 2 ⟨𝐴, 𝐵⟩ ∈ V
2 brcap.3 . 2 𝐶 ∈ V
3 df-cap 36612 . 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 5691 . . 3 ⟨𝐴, 𝐵⟩ ∈ (V × V)
7 brxp 5700 . . 3 (⟨𝐴, 𝐵⟩((V × V) × V)𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (V × V) ∧ 𝐶 ∈ V))
86, 2, 7mpbir2an 724 . 2 ⟨𝐴, 𝐵⟩((V × V) × V)𝐶
9 epel 5554 . . . . . . 7 (𝑥 E 𝑦 ↔ 𝑥 ∈ 𝑦)
10 vex 3455 . . . . . . . . 9 𝑦 ∈ V
1110, 1brcnv 5860 . . . . . . . 8 (𝑦◡1st ⟨𝐴, 𝐵⟩ ↔ ⟨𝐴, 𝐵⟩1st 𝑦)
124, 5br1steq 36515 . . . . . . . 8 (⟨𝐴, 𝐵⟩1st 𝑦 ↔ 𝑦 = 𝐴)
1311, 12bitri 278 . . . . . . 7 (𝑦◡1st ⟨𝐴, 𝐵⟩ ↔ 𝑦 = 𝐴)
149, 13anbi12ci 641 . . . . . 6 ((𝑥 E 𝑦 ∧ 𝑦◡1st ⟨𝐴, 𝐵⟩) ↔ (𝑦 = 𝐴 ∧ 𝑥 ∈ 𝑦))
1514exbii 1881 . . . . 5 (∃𝑦(𝑥 E 𝑦 ∧ 𝑦◡1st ⟨𝐴, 𝐵⟩) ↔ ∃𝑦(𝑦 = 𝐴 ∧ 𝑥 ∈ 𝑦))
16 vex 3455 . . . . . 6 𝑥 ∈ V
1716, 1brco 5848 . . . . 5 (𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ↔ ∃𝑦(𝑥 E 𝑦 ∧ 𝑦◡1st ⟨𝐴, 𝐵⟩))
184clel3 3616 . . . . 5 (𝑥 ∈ 𝐴 ↔ ∃𝑦(𝑦 = 𝐴 ∧ 𝑥 ∈ 𝑦))
1915, 17, 183bitr4i 306 . . . 4 (𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ↔ 𝑥 ∈ 𝐴)
2010, 1brcnv 5860 . . . . . . . 8 (𝑦◡2nd ⟨𝐴, 𝐵⟩ ↔ ⟨𝐴, 𝐵⟩2nd 𝑦)
214, 5br2ndeq 36516 . . . . . . . 8 (⟨𝐴, 𝐵⟩2nd 𝑦 ↔ 𝑦 = 𝐵)
2220, 21bitri 278 . . . . . . 7 (𝑦◡2nd ⟨𝐴, 𝐵⟩ ↔ 𝑦 = 𝐵)
239, 22anbi12ci 641 . . . . . 6 ((𝑥 E 𝑦 ∧ 𝑦◡2nd ⟨𝐴, 𝐵⟩) ↔ (𝑦 = 𝐵 ∧ 𝑥 ∈ 𝑦))
2423exbii 1881 . . . . 5 (∃𝑦(𝑥 E 𝑦 ∧ 𝑦◡2nd ⟨𝐴, 𝐵⟩) ↔ ∃𝑦(𝑦 = 𝐵 ∧ 𝑥 ∈ 𝑦))
2516, 1brco 5848 . . . . 5 (𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩ ↔ ∃𝑦(𝑥 E 𝑦 ∧ 𝑦◡2nd ⟨𝐴, 𝐵⟩))
265clel3 3616 . . . . 5 (𝑥 ∈ 𝐵 ↔ ∃𝑦(𝑦 = 𝐵 ∧ 𝑥 ∈ 𝑦))
2724, 25, 263bitr4i 306 . . . 4 (𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩ ↔ 𝑥 ∈ 𝐵)
2819, 27anbi12i 640 . . 3 ((𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ∧ 𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵))
29 brin 5157 . . 3 (𝑥((◡1st ∘ E ) ∩ (◡2nd ∘ E ))⟨𝐴, 𝐵⟩ ↔ (𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ∧ 𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩))
30 elin 3915 . . 3 (𝑥 ∈ (𝐴 ∩ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵))
3128, 29, 303bitr4ri 307 . 2 (𝑥 ∈ (𝐴 ∩ 𝐵) ↔ 𝑥((◡1st ∘ E ) ∩ (◡2nd ∘ E ))⟨𝐴, 𝐵⟩)
321, 2, 3, 8, 31brtxpsd3 36638 1 (⟨𝐴, 𝐵⟩Cap𝐶 ↔ 𝐶 = (𝐴 ∩ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145  Vcvv 3451   ∩ cin 3898  ⟨cop 4590   class class class wbr 5103   E cep 5550   × cxp 5649  ◡ccnv 5650   ∘ ccom 5655  1st c1st 7997  2nd c2nd 7998  Capccap 36589
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7749
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-symdif 4199  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-eprel 5551  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-fo 6543  df-fv 6545  df-1st 7999  df-2nd 8000  df-txp 36596  df-cap 36612
This theorem is used by:  brrestrict  36693
  Copyright terms: Public domain W3C validator