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

Theorem aprval 13778
Description: Expand Definition df-apr 13777. (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 4030 . . 3  |-  ( X #  Y  <->  <. X ,  Y >.  e. #  )
2 aprval.ap . . . . . 6  |-  ( ph  -> #  =  (#r `  R ) )
3 df-apr 13777 . . . . . . 7  |- #r  =  (
r  e.  _V  |->  {
<. x ,  y >.  |  ( ( x  e.  ( Base `  r
)  /\  y  e.  ( Base `  r )
)  /\  ( x
( -g `  r ) y )  e.  (Unit `  r ) ) } )
4 fveq2 5554 . . . . . . . . . . 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 5554 . . . . . . . . . . 11  |-  ( r  =  R  ->  ( -g `  r )  =  ( -g `  R
) )
98oveqd 5935 . . . . . . . . . 10  |-  ( r  =  R  ->  (
x ( -g `  r
) y )  =  ( x ( -g `  R ) y ) )
10 fveq2 5554 . . . . . . . . . 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 4095 . . . . . . 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 12676 . . . . . . . . . 10  |-  Base  Fn  _V
17 funfvex 5571 . . . . . . . . . . 11  |-  ( ( Fun  Base  /\  R  e. 
dom  Base )  ->  ( Base `  R )  e. 
_V )
1817funfni 5354 . . . . . . . . . 10  |-  ( (
Base  Fn  _V  /\  R  e.  _V )  ->  ( Base `  R )  e. 
_V )
1916, 15, 18sylancr 414 . . . . . . . . 9  |-  ( ph  ->  ( Base `  R
)  e.  _V )
20 xpexg 4773 . . . . . . . . 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 4733 . . . . . . . . 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 4169 . . . . . . 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 5651 . . . . . 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 5927 . . . . . . 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 4295 . . . . 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 5935 . . 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 3153   <.cop 3621   class class class wbr 4029   {copab 4089    X. cxp 4657    Fn wfn 5249   ` cfv 5254  (class class class)co 5918   Basecbs 12618   -gcsg 13074   Ringcrg 13492  Unitcui 13583  #rcapr 13776
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 4147  ax-pow 4203  ax-pr 4238  ax-un 4464  ax-cnex 7963  ax-resscn 7964  ax-1re 7966  ax-addrcl 7969
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 2986  df-csb 3081  df-un 3157  df-in 3159  df-ss 3166  df-pw 3603  df-sn 3624  df-pr 3625  df-op 3627  df-uni 3836  df-int 3871  df-br 4030  df-opab 4091  df-mpt 4092  df-id 4324  df-xp 4665  df-rel 4666  df-cnv 4667  df-co 4668  df-dm 4669  df-rn 4670  df-res 4671  df-iota 5215  df-fun 5256  df-fn 5257  df-fv 5262  df-ov 5921  df-inn 8983  df-ndx 12621  df-slot 12622  df-base 12624  df-apr 13777
This theorem is referenced by:  aprirr  13779  aprsym  13780  aprcotr  13781
  Copyright terms: Public domain W3C validator