Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-projval Structured version   Visualization version   GIF version

Theorem bj-projval 32984
Description: Value of the class projection. (Contributed by BJ, 6-Apr-2019.)
Assertion
Ref Expression
bj-projval (𝐴𝑉 → (𝐴 Proj ({𝐵} × tag 𝐶)) = if(𝐵 = 𝐴, 𝐶, ∅))

Proof of Theorem bj-projval
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 elsng 4191 . . . . . . . . 9 (𝐴𝑉 → (𝐴 ∈ {𝐵} ↔ 𝐴 = 𝐵))
2 bj-xpima2sn 32945 . . . . . . . . 9 (𝐴 ∈ {𝐵} → (({𝐵} × tag 𝐶) “ {𝐴}) = tag 𝐶)
31, 2syl6bir 244 . . . . . . . 8 (𝐴𝑉 → (𝐴 = 𝐵 → (({𝐵} × tag 𝐶) “ {𝐴}) = tag 𝐶))
43imp 445 . . . . . . 7 ((𝐴𝑉𝐴 = 𝐵) → (({𝐵} × tag 𝐶) “ {𝐴}) = tag 𝐶)
54eleq2d 2687 . . . . . 6 ((𝐴𝑉𝐴 = 𝐵) → ({𝑥} ∈ (({𝐵} × tag 𝐶) “ {𝐴}) ↔ {𝑥} ∈ tag 𝐶))
65abbidv 2741 . . . . 5 ((𝐴𝑉𝐴 = 𝐵) → {𝑥 ∣ {𝑥} ∈ (({𝐵} × tag 𝐶) “ {𝐴})} = {𝑥 ∣ {𝑥} ∈ tag 𝐶})
7 df-bj-proj 32979 . . . . 5 (𝐴 Proj ({𝐵} × tag 𝐶)) = {𝑥 ∣ {𝑥} ∈ (({𝐵} × tag 𝐶) “ {𝐴})}
8 bj-taginv 32974 . . . . 5 𝐶 = {𝑥 ∣ {𝑥} ∈ tag 𝐶}
96, 7, 83eqtr4g 2681 . . . 4 ((𝐴𝑉𝐴 = 𝐵) → (𝐴 Proj ({𝐵} × tag 𝐶)) = 𝐶)
109ex 450 . . 3 (𝐴𝑉 → (𝐴 = 𝐵 → (𝐴 Proj ({𝐵} × tag 𝐶)) = 𝐶))
11 noel 3919 . . . . 5 ¬ {𝑥} ∈ ∅
127abeq2i 2735 . . . . . 6 (𝑥 ∈ (𝐴 Proj ({𝐵} × tag 𝐶)) ↔ {𝑥} ∈ (({𝐵} × tag 𝐶) “ {𝐴}))
13 elsni 4194 . . . . . . . . . 10 (𝐴 ∈ {𝐵} → 𝐴 = 𝐵)
1413con3i 150 . . . . . . . . 9 𝐴 = 𝐵 → ¬ 𝐴 ∈ {𝐵})
15 df-nel 2898 . . . . . . . . 9 (𝐴 ∉ {𝐵} ↔ ¬ 𝐴 ∈ {𝐵})
1614, 15sylibr 224 . . . . . . . 8 𝐴 = 𝐵𝐴 ∉ {𝐵})
17 bj-xpima1sn 32943 . . . . . . . 8 (𝐴 ∉ {𝐵} → (({𝐵} × tag 𝐶) “ {𝐴}) = ∅)
1816, 17syl 17 . . . . . . 7 𝐴 = 𝐵 → (({𝐵} × tag 𝐶) “ {𝐴}) = ∅)
1918eleq2d 2687 . . . . . 6 𝐴 = 𝐵 → ({𝑥} ∈ (({𝐵} × tag 𝐶) “ {𝐴}) ↔ {𝑥} ∈ ∅))
2012, 19syl5bb 272 . . . . 5 𝐴 = 𝐵 → (𝑥 ∈ (𝐴 Proj ({𝐵} × tag 𝐶)) ↔ {𝑥} ∈ ∅))
2111, 20mtbiri 317 . . . 4 𝐴 = 𝐵 → ¬ 𝑥 ∈ (𝐴 Proj ({𝐵} × tag 𝐶)))
2221eq0rdv 3979 . . 3 𝐴 = 𝐵 → (𝐴 Proj ({𝐵} × tag 𝐶)) = ∅)
23 ifval 4127 . . 3 ((𝐴 Proj ({𝐵} × tag 𝐶)) = if(𝐴 = 𝐵, 𝐶, ∅) ↔ ((𝐴 = 𝐵 → (𝐴 Proj ({𝐵} × tag 𝐶)) = 𝐶) ∧ (¬ 𝐴 = 𝐵 → (𝐴 Proj ({𝐵} × tag 𝐶)) = ∅)))
2410, 22, 23sylanblrc 697 . 2 (𝐴𝑉 → (𝐴 Proj ({𝐵} × tag 𝐶)) = if(𝐴 = 𝐵, 𝐶, ∅))
25 eqcom 2629 . . 3 (𝐴 = 𝐵𝐵 = 𝐴)
26 ifbi 4107 . . 3 ((𝐴 = 𝐵𝐵 = 𝐴) → if(𝐴 = 𝐵, 𝐶, ∅) = if(𝐵 = 𝐴, 𝐶, ∅))
2725, 26ax-mp 5 . 2 if(𝐴 = 𝐵, 𝐶, ∅) = if(𝐵 = 𝐴, 𝐶, ∅)
2824, 27syl6eq 2672 1 (𝐴𝑉 → (𝐴 Proj ({𝐵} × tag 𝐶)) = if(𝐵 = 𝐴, 𝐶, ∅))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 384   = wceq 1483  wcel 1990  {cab 2608  wnel 2897  c0 3915  ifcif 4086  {csn 4177   × cxp 5112  cima 5117  tag bj-ctag 32962   Proj bj-cproj 32978
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-nel 2898  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-br 4654  df-opab 4713  df-xp 5120  df-rel 5121  df-cnv 5122  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-bj-sngl 32954  df-bj-tag 32963  df-bj-proj 32979
This theorem is referenced by:  bj-pr1val  32992  bj-pr2val  33006
  Copyright terms: Public domain W3C validator