ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  aprval Unicode version

Theorem aprval 13781
Description: Expand Definition df-apr 13780. (Contributed by Jim Kingdon, 17-Feb-2025.)
Hypotheses
Ref Expression
aprval.b  |-  ( ph  ->  B  =  ( Base `  R ) )
aprval.ap  |-  ( ph  -> #  =  (#r `  R ) )
aprval.s  |-  ( ph  ->  .-  =  ( -g `  R ) )
aprval.u  |-  ( ph  ->  U  =  (Unit `  R ) )
aprval.r  |-  ( ph  ->  R  e.  Ring )
aprval.x  |-  ( ph  ->  X  e.  B )
aprval.y  |-  ( ph  ->  Y  e.  B )
Assertion
Ref Expression
aprval  |-  ( ph  ->  ( X #  Y  <->  ( X  .-  Y )  e.  U
) )

Proof of Theorem aprval
Dummy variables  r  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-br 4031 . . 3  |-  ( X #  Y  <->  <. X ,  Y >.  e. #  )
2 aprval.ap . . . . . 6  |-  ( ph  -> #  =  (#r `  R ) )
3 df-apr 13780 . . . . . . 7  |- #r  =  (
r  e.  _V  |->  {
<. x ,  y >.  |  ( ( x  e.  ( Base `  r
)  /\  y  e.  ( Base `  r )
)  /\  ( x
( -g `  r ) y )  e.  (Unit `  r ) ) } )
4 fveq2 5555 . . . . . . . . . . 11  |-  ( r  =  R  ->  ( Base `  r )  =  ( Base `  R
) )
54eleq2d 2263 . . . . . . . . . 10  |-  ( r  =  R  ->  (
x  e.  ( Base `  r )  <->  x  e.  ( Base `  R )
) )
64eleq2d 2263 . . . . . . . . . 10  |-  ( r  =  R  ->  (
y  e.  ( Base `  r )  <->  y  e.  ( Base `  R )
) )
75, 6anbi12d 473 . . . . . . . . 9  |-  ( r  =  R  ->  (
( x  e.  (
Base `  r )  /\  y  e.  ( Base `  r ) )  <-> 
( x  e.  (
Base `  R )  /\  y  e.  ( Base `  R ) ) ) )
8 fveq2 5555 . . . . . . . . . . 11  |-  ( r  =  R  ->  ( -g `  r )  =  ( -g `  R
) )
98oveqd 5936 . . . . . . . . . 10  |-  ( r  =  R  ->  (
x ( -g `  r
) y )  =  ( x ( -g `  R ) y ) )
10 fveq2 5555 . . . . . . . . . 10  |-  ( r  =  R  ->  (Unit `  r )  =  (Unit `  R ) )
119, 10eleq12d 2264 . . . . . . . . 9  |-  ( r  =  R  ->  (
( x ( -g `  r ) y )  e.  (Unit `  r
)  <->  ( x (
-g `  R )
y )  e.  (Unit `  R ) ) )
127, 11anbi12d 473 . . . . . . . 8  |-  ( r  =  R  ->  (
( ( x  e.  ( Base `  r
)  /\  y  e.  ( Base `  r )
)  /\  ( x
( -g `  r ) y )  e.  (Unit `  r ) )  <->  ( (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) )  /\  (
x ( -g `  R
) y )  e.  (Unit `  R )
) ) )
1312opabbidv 4096 . . . . . . 7  |-  ( r  =  R  ->  { <. x ,  y >.  |  ( ( x  e.  (
Base `  r )  /\  y  e.  ( Base `  r ) )  /\  ( x (
-g `  r )
y )  e.  (Unit `  r ) ) }  =  { <. x ,  y >.  |  ( ( x  e.  (
Base `  R )  /\  y  e.  ( Base `  R ) )  /\  ( x (
-g `  R )
y )  e.  (Unit `  R ) ) } )
14 aprval.r . . . . . . . 8  |-  ( ph  ->  R  e.  Ring )
1514elexd 2773 . . . . . . 7  |-  ( ph  ->  R  e.  _V )
16 basfn 12679 . . . . . . . . . 10  |-  Base  Fn  _V
17 funfvex 5572 . . . . . . . . . . 11  |-  ( ( Fun  Base  /\  R  e. 
dom  Base )  ->  ( Base `  R )  e. 
_V )
1817funfni 5355 . . . . . . . . . 10  |-  ( (
Base  Fn  _V  /\  R  e.  _V )  ->  ( Base `  R )  e. 
_V )
1916, 15, 18sylancr 414 . . . . . . . . 9  |-  ( ph  ->  ( Base `  R
)  e.  _V )
20 xpexg 4774 . . . . . . . . 9  |-  ( ( ( Base `  R
)  e.  _V  /\  ( Base `  R )  e.  _V )  ->  (
( Base `  R )  X.  ( Base `  R
) )  e.  _V )
2119, 19, 20syl2anc 411 . . . . . . . 8  |-  ( ph  ->  ( ( Base `  R
)  X.  ( Base `  R ) )  e. 
_V )
22 opabssxp 4734 . . . . . . . . 9  |-  { <. x ,  y >.  |  ( ( x  e.  (
Base `  R )  /\  y  e.  ( Base `  R ) )  /\  ( x (
-g `  R )
y )  e.  (Unit `  R ) ) } 
C_  ( ( Base `  R )  X.  ( Base `  R ) )
2322a1i 9 . . . . . . . 8  |-  ( ph  ->  { <. x ,  y
>.  |  ( (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) )  /\  (
x ( -g `  R
) y )  e.  (Unit `  R )
) }  C_  (
( Base `  R )  X.  ( Base `  R
) ) )
2421, 23ssexd 4170 . . . . . . 7  |-  ( ph  ->  { <. x ,  y
>.  |  ( (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) )  /\  (
x ( -g `  R
) y )  e.  (Unit `  R )
) }  e.  _V )
253, 13, 15, 24fvmptd3 5652 . . . . . 6  |-  ( ph  ->  (#r `  R )  =  { <. x ,  y
>.  |  ( (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) )  /\  (
x ( -g `  R
) y )  e.  (Unit `  R )
) } )
262, 25eqtrd 2226 . . . . 5  |-  ( ph  -> #  =  { <. x ,  y
>.  |  ( (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) )  /\  (
x ( -g `  R
) y )  e.  (Unit `  R )
) } )
2726eleq2d 2263 . . . 4  |-  ( ph  ->  ( <. X ,  Y >.  e. #  <->  <. X ,  Y >.  e.  { <. x ,  y >.  |  ( ( x  e.  (
Base `  R )  /\  y  e.  ( Base `  R ) )  /\  ( x (
-g `  R )
y )  e.  (Unit `  R ) ) } ) )
28 aprval.x . . . . . 6  |-  ( ph  ->  X  e.  B )
29 aprval.b . . . . . 6  |-  ( ph  ->  B  =  ( Base `  R ) )
3028, 29eleqtrd 2272 . . . . 5  |-  ( ph  ->  X  e.  ( Base `  R ) )
31 aprval.y . . . . . 6  |-  ( ph  ->  Y  e.  B )
3231, 29eleqtrd 2272 . . . . 5  |-  ( ph  ->  Y  e.  ( Base `  R ) )
33 oveq12 5928 . . . . . . 7  |-  ( ( x  =  X  /\  y  =  Y )  ->  ( x ( -g `  R ) y )  =  ( X (
-g `  R ) Y ) )
3433eleq1d 2262 . . . . . 6  |-  ( ( x  =  X  /\  y  =  Y )  ->  ( ( x (
-g `  R )
y )  e.  (Unit `  R )  <->  ( X
( -g `  R ) Y )  e.  (Unit `  R ) ) )
3534opelopab2a 4296 . . . . 5  |-  ( ( X  e.  ( Base `  R )  /\  Y  e.  ( Base `  R
) )  ->  ( <. X ,  Y >.  e. 
{ <. x ,  y
>.  |  ( (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) )  /\  (
x ( -g `  R
) y )  e.  (Unit `  R )
) }  <->  ( X
( -g `  R ) Y )  e.  (Unit `  R ) ) )
3630, 32, 35syl2anc 411 . . . 4  |-  ( ph  ->  ( <. X ,  Y >.  e.  { <. x ,  y >.  |  ( ( x  e.  (
Base `  R )  /\  y  e.  ( Base `  R ) )  /\  ( x (
-g `  R )
y )  e.  (Unit `  R ) ) }  <-> 
( X ( -g `  R ) Y )  e.  (Unit `  R
) ) )
3727, 36bitrd 188 . . 3  |-  ( ph  ->  ( <. X ,  Y >.  e. #  <->  ( X
( -g `  R ) Y )  e.  (Unit `  R ) ) )
381, 37bitrid 192 . 2  |-  ( ph  ->  ( X #  Y  <->  ( X
( -g `  R ) Y )  e.  (Unit `  R ) ) )
39 aprval.s . . . 4  |-  ( ph  ->  .-  =  ( -g `  R ) )
4039oveqd 5936 . . 3  |-  ( ph  ->  ( X  .-  Y
)  =  ( X ( -g `  R
) Y ) )
41 aprval.u . . 3  |-  ( ph  ->  U  =  (Unit `  R ) )
4240, 41eleq12d 2264 . 2  |-  ( ph  ->  ( ( X  .-  Y )  e.  U  <->  ( X ( -g `  R
) Y )  e.  (Unit `  R )
) )
4338, 42bitr4d 191 1  |-  ( ph  ->  ( X #  Y  <->  ( X  .-  Y )  e.  U
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    <-> wb 105    = wceq 1364    e. wcel 2164   _Vcvv 2760    C_ wss 3154   <.cop 3622   class class class wbr 4030   {copab 4090    X. cxp 4658    Fn wfn 5250   ` cfv 5255  (class class class)co 5919   Basecbs 12621   -gcsg 13077   Ringcrg 13495  Unitcui 13586  #rcapr 13779
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 710  ax-5 1458  ax-7 1459  ax-gen 1460  ax-ie1 1504  ax-ie2 1505  ax-8 1515  ax-10 1516  ax-11 1517  ax-i12 1518  ax-bndl 1520  ax-4 1521  ax-17 1537  ax-i9 1541  ax-ial 1545  ax-i5r 1546  ax-13 2166  ax-14 2167  ax-ext 2175  ax-sep 4148  ax-pow 4204  ax-pr 4239  ax-un 4465  ax-cnex 7965  ax-resscn 7966  ax-1re 7968  ax-addrcl 7971
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-nf 1472  df-sb 1774  df-eu 2045  df-mo 2046  df-clab 2180  df-cleq 2186  df-clel 2189  df-nfc 2325  df-ral 2477  df-rex 2478  df-v 2762  df-sbc 2987  df-csb 3082  df-un 3158  df-in 3160  df-ss 3167  df-pw 3604  df-sn 3625  df-pr 3626  df-op 3628  df-uni 3837  df-int 3872  df-br 4031  df-opab 4092  df-mpt 4093  df-id 4325  df-xp 4666  df-rel 4667  df-cnv 4668  df-co 4669  df-dm 4670  df-rn 4671  df-res 4672  df-iota 5216  df-fun 5257  df-fn 5258  df-fv 5263  df-ov 5922  df-inn 8985  df-ndx 12624  df-slot 12625  df-base 12627  df-apr 13780
This theorem is referenced by:  aprirr  13782  aprsym  13783  aprcotr  13784
  Copyright terms: Public domain W3C validator