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

Theorem aprap 13842
Description: The relation given by df-apr 13837 for a local ring is an apartness relation. (Contributed by Jim Kingdon, 20-Feb-2025.)
Assertion
Ref Expression
aprap  |-  ( R  e. LRing  ->  (#r `  R ) Ap  (
Base `  R )
)

Proof of Theorem aprap
Dummy variables  r  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-apr 13837 . . . 4  |- #r  =  (
r  e.  _V  |->  {
<. x ,  y >.  |  ( ( x  e.  ( Base `  r
)  /\  y  e.  ( Base `  r )
)  /\  ( x
( -g `  r ) y )  e.  (Unit `  r ) ) } )
2 fveq2 5558 . . . . . . . 8  |-  ( r  =  R  ->  ( Base `  r )  =  ( Base `  R
) )
32eleq2d 2266 . . . . . . 7  |-  ( r  =  R  ->  (
x  e.  ( Base `  r )  <->  x  e.  ( Base `  R )
) )
42eleq2d 2266 . . . . . . 7  |-  ( r  =  R  ->  (
y  e.  ( Base `  r )  <->  y  e.  ( Base `  R )
) )
53, 4anbi12d 473 . . . . . 6  |-  ( r  =  R  ->  (
( x  e.  (
Base `  r )  /\  y  e.  ( Base `  r ) )  <-> 
( x  e.  (
Base `  R )  /\  y  e.  ( Base `  R ) ) ) )
6 fveq2 5558 . . . . . . . 8  |-  ( r  =  R  ->  ( -g `  r )  =  ( -g `  R
) )
76oveqd 5939 . . . . . . 7  |-  ( r  =  R  ->  (
x ( -g `  r
) y )  =  ( x ( -g `  R ) y ) )
8 fveq2 5558 . . . . . . 7  |-  ( r  =  R  ->  (Unit `  r )  =  (Unit `  R ) )
97, 8eleq12d 2267 . . . . . 6  |-  ( r  =  R  ->  (
( x ( -g `  r ) y )  e.  (Unit `  r
)  <->  ( x (
-g `  R )
y )  e.  (Unit `  R ) ) )
105, 9anbi12d 473 . . . . 5  |-  ( 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 )
) ) )
1110opabbidv 4099 . . . 4  |-  ( 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 ) ) } )
12 elex 2774 . . . 4  |-  ( R  e. LRing  ->  R  e.  _V )
13 basfn 12736 . . . . . . . 8  |-  Base  Fn  _V
1413a1i 9 . . . . . . 7  |-  ( R  e. LRing  ->  Base  Fn  _V )
15 funfvex 5575 . . . . . . . 8  |-  ( ( Fun  Base  /\  R  e. 
dom  Base )  ->  ( Base `  R )  e. 
_V )
1615funfni 5358 . . . . . . 7  |-  ( (
Base  Fn  _V  /\  R  e.  _V )  ->  ( Base `  R )  e. 
_V )
1714, 12, 16syl2anc 411 . . . . . 6  |-  ( R  e. LRing  ->  ( Base `  R
)  e.  _V )
18 xpexg 4777 . . . . . 6  |-  ( ( ( Base `  R
)  e.  _V  /\  ( Base `  R )  e.  _V )  ->  (
( Base `  R )  X.  ( Base `  R
) )  e.  _V )
1917, 17, 18syl2anc 411 . . . . 5  |-  ( R  e. LRing  ->  ( ( Base `  R )  X.  ( Base `  R ) )  e.  _V )
20 opabssxp 4737 . . . . . 6  |-  { <. x ,  y >.  |  ( ( x  e.  (
Base `  R )  /\  y  e.  ( Base `  R ) )  /\  ( x (
-g `  R )
y )  e.  (Unit `  R ) ) } 
C_  ( ( Base `  R )  X.  ( Base `  R ) )
2120a1i 9 . . . . 5  |-  ( R  e. LRing  ->  { <. x ,  y >.  |  ( ( x  e.  (
Base `  R )  /\  y  e.  ( Base `  R ) )  /\  ( x (
-g `  R )
y )  e.  (Unit `  R ) ) } 
C_  ( ( Base `  R )  X.  ( Base `  R ) ) )
2219, 21ssexd 4173 . . . 4  |-  ( R  e. LRing  ->  { <. x ,  y >.  |  ( ( x  e.  (
Base `  R )  /\  y  e.  ( Base `  R ) )  /\  ( x (
-g `  R )
y )  e.  (Unit `  R ) ) }  e.  _V )
231, 11, 12, 22fvmptd3 5655 . . 3  |-  ( R  e. LRing  ->  (#r `  R )  =  { <. x ,  y
>.  |  ( (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) )  /\  (
x ( -g `  R
) y )  e.  (Unit `  R )
) } )
2423, 20eqsstrdi 3235 . 2  |-  ( R  e. LRing  ->  (#r `  R )  C_  ( ( Base `  R
)  X.  ( Base `  R ) ) )
25 eqidd 2197 . . . 4  |-  ( ( R  e. LRing  /\  x  e.  ( Base `  R
) )  ->  ( Base `  R )  =  ( Base `  R
) )
26 eqidd 2197 . . . 4  |-  ( ( R  e. LRing  /\  x  e.  ( Base `  R
) )  ->  (#r `  R )  =  (#r `  R ) )
27 lringring 13750 . . . . 5  |-  ( R  e. LRing  ->  R  e.  Ring )
2827adantr 276 . . . 4  |-  ( ( R  e. LRing  /\  x  e.  ( Base `  R
) )  ->  R  e.  Ring )
29 simpr 110 . . . 4  |-  ( ( R  e. LRing  /\  x  e.  ( Base `  R
) )  ->  x  e.  ( Base `  R
) )
30 eqid 2196 . . . . . 6  |-  ( 1r
`  R )  =  ( 1r `  R
)
31 eqid 2196 . . . . . 6  |-  ( 0g
`  R )  =  ( 0g `  R
)
3230, 31lringnz 13751 . . . . 5  |-  ( R  e. LRing  ->  ( 1r `  R )  =/=  ( 0g `  R ) )
3332adantr 276 . . . 4  |-  ( ( R  e. LRing  /\  x  e.  ( Base `  R
) )  ->  ( 1r `  R )  =/=  ( 0g `  R
) )
3425, 26, 28, 29, 33aprirr 13839 . . 3  |-  ( ( R  e. LRing  /\  x  e.  ( Base `  R
) )  ->  -.  x (#r `  R ) x )
3534ralrimiva 2570 . 2  |-  ( R  e. LRing  ->  A. x  e.  (
Base `  R )  -.  x (#r `  R ) x )
36 eqidd 2197 . . . . 5  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) ) )  -> 
( Base `  R )  =  ( Base `  R
) )
37 eqidd 2197 . . . . 5  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) ) )  -> 
(#r `  R )  =  (#r `  R ) )
3827adantr 276 . . . . 5  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) ) )  ->  R  e.  Ring )
39 simprl 529 . . . . 5  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) ) )  ->  x  e.  ( Base `  R ) )
40 simprr 531 . . . . 5  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) ) )  -> 
y  e.  ( Base `  R ) )
4136, 37, 38, 39, 40aprsym 13840 . . . 4  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) ) )  -> 
( x (#r `  R
) y  ->  y
(#r `  R ) x ) )
4241ralrimivva 2579 . . 3  |-  ( R  e. LRing  ->  A. x  e.  (
Base `  R ) A. y  e.  ( Base `  R ) ( x (#r `  R ) y  ->  y (#r `  R
) x ) )
43 eqidd 2197 . . . . 5  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
)  /\  z  e.  ( Base `  R )
) )  ->  ( Base `  R )  =  ( Base `  R
) )
44 eqidd 2197 . . . . 5  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
)  /\  z  e.  ( Base `  R )
) )  ->  (#r `  R )  =  (#r `  R ) )
45 simpl 109 . . . . 5  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
)  /\  z  e.  ( Base `  R )
) )  ->  R  e. LRing )
46 simpr1 1005 . . . . 5  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
)  /\  z  e.  ( Base `  R )
) )  ->  x  e.  ( Base `  R
) )
47 simpr2 1006 . . . . 5  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
)  /\  z  e.  ( Base `  R )
) )  ->  y  e.  ( Base `  R
) )
48 simpr3 1007 . . . . 5  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
)  /\  z  e.  ( Base `  R )
) )  ->  z  e.  ( Base `  R
) )
4943, 44, 45, 46, 47, 48aprcotr 13841 . . . 4  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
)  /\  z  e.  ( Base `  R )
) )  ->  (
x (#r `  R ) y  ->  ( x (#r `  R ) z  \/  y (#r `  R ) z ) ) )
5049ralrimivvva 2580 . . 3  |-  ( R  e. LRing  ->  A. x  e.  (
Base `  R ) A. y  e.  ( Base `  R ) A. z  e.  ( Base `  R ) ( x (#r `  R ) y  ->  ( x (#r `  R ) z  \/  y (#r `  R ) z ) ) )
5142, 50jca 306 . 2  |-  ( R  e. LRing  ->  ( A. x  e.  ( Base `  R
) A. y  e.  ( Base `  R
) ( x (#r `  R ) y  -> 
y (#r `  R ) x )  /\  A. x  e.  ( Base `  R
) A. y  e.  ( Base `  R
) A. z  e.  ( Base `  R
) ( x (#r `  R ) y  -> 
( x (#r `  R
) z  \/  y
(#r `  R ) z ) ) ) )
52 df-pap 7315 . 2  |-  ( (#r `  R ) Ap  ( Base `  R )  <->  ( (
(#r `  R )  C_  ( ( Base `  R
)  X.  ( Base `  R ) )  /\  A. x  e.  ( Base `  R )  -.  x
(#r `  R ) x )  /\  ( A. x  e.  ( Base `  R ) A. y  e.  ( Base `  R
) ( x (#r `  R ) y  -> 
y (#r `  R ) x )  /\  A. x  e.  ( Base `  R
) A. y  e.  ( Base `  R
) A. z  e.  ( Base `  R
) ( x (#r `  R ) y  -> 
( x (#r `  R
) z  \/  y
(#r `  R ) z ) ) ) ) )
5324, 35, 51, 52syl21anbrc 1184 1  |-  ( R  e. LRing  ->  (#r `  R ) Ap  (
Base `  R )
)
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 104    \/ wo 709    /\ w3a 980    = wceq 1364    e. wcel 2167    =/= wne 2367   A.wral 2475   _Vcvv 2763    C_ wss 3157   class class class wbr 4033   {copab 4093    X. cxp 4661    Fn wfn 5253   ` cfv 5258  (class class class)co 5922   Ap wap 7314   Basecbs 12678   0gc0g 12927   -gcsg 13134   1rcur 13515   Ringcrg 13552  Unitcui 13643  LRingclring 13746  #rcapr 13836
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-in1 615  ax-in2 616  ax-io 710  ax-5 1461  ax-7 1462  ax-gen 1463  ax-ie1 1507  ax-ie2 1508  ax-8 1518  ax-10 1519  ax-11 1520  ax-i12 1521  ax-bndl 1523  ax-4 1524  ax-17 1540  ax-i9 1544  ax-ial 1548  ax-i5r 1549  ax-13 2169  ax-14 2170  ax-ext 2178  ax-coll 4148  ax-sep 4151  ax-nul 4159  ax-pow 4207  ax-pr 4242  ax-un 4468  ax-setind 4573  ax-cnex 7970  ax-resscn 7971  ax-1cn 7972  ax-1re 7973  ax-icn 7974  ax-addcl 7975  ax-addrcl 7976  ax-mulcl 7977  ax-addcom 7979  ax-addass 7981  ax-i2m1 7984  ax-0lt1 7985  ax-0id 7987  ax-rnegex 7988  ax-pre-ltirr 7991  ax-pre-lttrn 7993  ax-pre-ltadd 7995
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-fal 1370  df-nf 1475  df-sb 1777  df-eu 2048  df-mo 2049  df-clab 2183  df-cleq 2189  df-clel 2192  df-nfc 2328  df-ne 2368  df-nel 2463  df-ral 2480  df-rex 2481  df-reu 2482  df-rmo 2483  df-rab 2484  df-v 2765  df-sbc 2990  df-csb 3085  df-dif 3159  df-un 3161  df-in 3163  df-ss 3170  df-nul 3451  df-pw 3607  df-sn 3628  df-pr 3629  df-op 3631  df-uni 3840  df-int 3875  df-iun 3918  df-br 4034  df-opab 4095  df-mpt 4096  df-id 4328  df-xp 4669  df-rel 4670  df-cnv 4671  df-co 4672  df-dm 4673  df-rn 4674  df-res 4675  df-ima 4676  df-iota 5219  df-fun 5260  df-fn 5261  df-f 5262  df-f1 5263  df-fo 5264  df-f1o 5265  df-fv 5266  df-riota 5877  df-ov 5925  df-oprab 5926  df-mpo 5927  df-1st 6198  df-2nd 6199  df-tpos 6303  df-pap 7315  df-pnf 8063  df-mnf 8064  df-ltxr 8066  df-inn 8991  df-2 9049  df-3 9050  df-ndx 12681  df-slot 12682  df-base 12684  df-sets 12685  df-iress 12686  df-plusg 12768  df-mulr 12769  df-0g 12929  df-mgm 12999  df-sgrp 13045  df-mnd 13058  df-grp 13135  df-minusg 13136  df-sbg 13137  df-cmn 13416  df-abl 13417  df-mgp 13477  df-ur 13516  df-srg 13520  df-ring 13554  df-oppr 13624  df-dvdsr 13645  df-unit 13646  df-invr 13677  df-dvr 13688  df-nzr 13736  df-lring 13747  df-apr 13837
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator