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 36992
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 5442 . 2 ⟨𝐴, 𝐵⟩ ∈ V
2 brcap.3 . 2 𝐶 ∈ V
3 df-cap 36922 . 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 5701 . . 3 ⟨𝐴, 𝐵⟩ ∈ (V × V)
7 brxp 5710 . . 3 (⟨𝐴, 𝐵⟩((V × V) × V)𝐶 ↔ (⟨𝐴, 𝐵⟩ ∈ (V × V) ∧ 𝐶 ∈ V))
86, 2, 7mpbir2an 724 . 2 ⟨𝐴, 𝐵⟩((V × V) × V)𝐶
9 epel 5564 . . . . . . 7 (𝑥 E 𝑦 ↔ 𝑥 ∈ 𝑦)
10 vex 3460 . . . . . . . . 9 𝑦 ∈ V
1110, 1brcnv 5875 . . . . . . . 8 (𝑦◡1st ⟨𝐴, 𝐵⟩ ↔ ⟨𝐴, 𝐵⟩1st 𝑦)
124, 5br1steq 36825 . . . . . . . 8 (⟨𝐴, 𝐵⟩1st 𝑦 ↔ 𝑦 = 𝐴)
1311, 12bitri 278 . . . . . . 7 (𝑦◡1st ⟨𝐴, 𝐵⟩ ↔ 𝑦 = 𝐴)
149, 13anbi12ci 641 . . . . . 6 ((𝑥 E 𝑦 ∧ 𝑦◡1st ⟨𝐴, 𝐵⟩) ↔ (𝑦 = 𝐴 ∧ 𝑥 ∈ 𝑦))
1514exbii 1883 . . . . 5 (∃𝑦(𝑥 E 𝑦 ∧ 𝑦◡1st ⟨𝐴, 𝐵⟩) ↔ ∃𝑦(𝑦 = 𝐴 ∧ 𝑥 ∈ 𝑦))
16 vex 3460 . . . . . 6 𝑥 ∈ V
1716, 1brco 5863 . . . . 5 (𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ↔ ∃𝑦(𝑥 E 𝑦 ∧ 𝑦◡1st ⟨𝐴, 𝐵⟩))
184clel3 3621 . . . . 5 (𝑥 ∈ 𝐴 ↔ ∃𝑦(𝑦 = 𝐴 ∧ 𝑥 ∈ 𝑦))
1915, 17, 183bitr4i 306 . . . 4 (𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ↔ 𝑥 ∈ 𝐴)
2010, 1brcnv 5875 . . . . . . . 8 (𝑦◡2nd ⟨𝐴, 𝐵⟩ ↔ ⟨𝐴, 𝐵⟩2nd 𝑦)
214, 5br2ndeq 36826 . . . . . . . 8 (⟨𝐴, 𝐵⟩2nd 𝑦 ↔ 𝑦 = 𝐵)
2220, 21bitri 278 . . . . . . 7 (𝑦◡2nd ⟨𝐴, 𝐵⟩ ↔ 𝑦 = 𝐵)
239, 22anbi12ci 641 . . . . . 6 ((𝑥 E 𝑦 ∧ 𝑦◡2nd ⟨𝐴, 𝐵⟩) ↔ (𝑦 = 𝐵 ∧ 𝑥 ∈ 𝑦))
2423exbii 1883 . . . . 5 (∃𝑦(𝑥 E 𝑦 ∧ 𝑦◡2nd ⟨𝐴, 𝐵⟩) ↔ ∃𝑦(𝑦 = 𝐵 ∧ 𝑥 ∈ 𝑦))
2516, 1brco 5863 . . . . 5 (𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩ ↔ ∃𝑦(𝑥 E 𝑦 ∧ 𝑦◡2nd ⟨𝐴, 𝐵⟩))
265clel3 3621 . . . . 5 (𝑥 ∈ 𝐵 ↔ ∃𝑦(𝑦 = 𝐵 ∧ 𝑥 ∈ 𝑦))
2724, 25, 263bitr4i 306 . . . 4 (𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩ ↔ 𝑥 ∈ 𝐵)
2819, 27anbi12i 640 . . 3 ((𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ∧ 𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵))
29 brin 5166 . . 3 (𝑥((◡1st ∘ E ) ∩ (◡2nd ∘ E ))⟨𝐴, 𝐵⟩ ↔ (𝑥(◡1st ∘ E )⟨𝐴, 𝐵⟩ ∧ 𝑥(◡2nd ∘ E )⟨𝐴, 𝐵⟩))
30 elin 4098 . . 3 (𝑥 ∈ (𝐴 ∩ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵))
3128, 29, 303bitr4ri 307 . 2 (𝑥 ∈ (𝐴 ∩ 𝐵) ↔ 𝑥((◡1st ∘ E ) ∩ (◡2nd ∘ E ))⟨𝐴, 𝐵⟩)
321, 2, 3, 8, 31brtxpsd3 36948 1 (⟨𝐴, 𝐵⟩Cap𝐶 ↔ 𝐶 = (𝐴 ∩ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2151  Vcvv 3456   ∩ cin 4094  ⟨cop 4843   class class class wbr 5111   E cep 5560   × cxp 5659  ◡ccnv 5660   ∘ ccom 5665  1st c1st 8044  2nd c2nd 8045  Capccap 36899
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pr 5401  ax-un 7794
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-symdif 4203  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-eprel 5561  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-fo 6579  df-fv 6581  df-1st 8046  df-2nd 8047  df-txp 36906  df-cap 36922
This theorem is used by:  brrestrict  37003
  Copyright terms: Public domain W3C validator