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

Theorem aprap 13782
Description: The relation given by df-apr 13777 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 13777 . . . 4  |- #r  =  (
r  e.  _V  |->  {
<. x ,  y >.  |  ( ( x  e.  ( Base `  r
)  /\  y  e.  ( Base `  r )
)  /\  ( x
( -g `  r ) y )  e.  (Unit `  r ) ) } )
2 fveq2 5554 . . . . . . . 8  |-  ( r  =  R  ->  ( Base `  r )  =  ( Base `  R
) )
32eleq2d 2263 . . . . . . 7  |-  ( r  =  R  ->  (
x  e.  ( Base `  r )  <->  x  e.  ( Base `  R )
) )
42eleq2d 2263 . . . . . . 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 5554 . . . . . . . 8  |-  ( r  =  R  ->  ( -g `  r )  =  ( -g `  R
) )
76oveqd 5935 . . . . . . 7  |-  ( r  =  R  ->  (
x ( -g `  r
) y )  =  ( x ( -g `  R ) y ) )
8 fveq2 5554 . . . . . . 7  |-  ( r  =  R  ->  (Unit `  r )  =  (Unit `  R ) )
97, 8eleq12d 2264 . . . . . 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 4095 . . . 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 2771 . . . 4  |-  ( R  e. LRing  ->  R  e.  _V )
13 basfn 12676 . . . . . . . 8  |-  Base  Fn  _V
1413a1i 9 . . . . . . 7  |-  ( R  e. LRing  ->  Base  Fn  _V )
15 funfvex 5571 . . . . . . . 8  |-  ( ( Fun  Base  /\  R  e. 
dom  Base )  ->  ( Base `  R )  e. 
_V )
1615funfni 5354 . . . . . . 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 4773 . . . . . 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 4733 . . . . . 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 4169 . . . 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 5651 . . 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 3231 . 2  |-  ( R  e. LRing  ->  (#r `  R )  C_  ( ( Base `  R
)  X.  ( Base `  R ) ) )
25 eqidd 2194 . . . 4  |-  ( ( R  e. LRing  /\  x  e.  ( Base `  R
) )  ->  ( Base `  R )  =  ( Base `  R
) )
26 eqidd 2194 . . . 4  |-  ( ( R  e. LRing  /\  x  e.  ( Base `  R
) )  ->  (#r `  R )  =  (#r `  R ) )
27 lringring 13690 . . . . 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 2193 . . . . . 6  |-  ( 1r
`  R )  =  ( 1r `  R
)
31 eqid 2193 . . . . . 6  |-  ( 0g
`  R )  =  ( 0g `  R
)
3230, 31lringnz 13691 . . . . 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 13779 . . 3  |-  ( ( R  e. LRing  /\  x  e.  ( Base `  R
) )  ->  -.  x (#r `  R ) x )
3534ralrimiva 2567 . 2  |-  ( R  e. LRing  ->  A. x  e.  (
Base `  R )  -.  x (#r `  R ) x )
36 eqidd 2194 . . . . 5  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) ) )  -> 
( Base `  R )  =  ( Base `  R
) )
37 eqidd 2194 . . . . 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 13780 . . . 4  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
) ) )  -> 
( x (#r `  R
) y  ->  y
(#r `  R ) x ) )
4241ralrimivva 2576 . . 3  |-  ( R  e. LRing  ->  A. x  e.  (
Base `  R ) A. y  e.  ( Base `  R ) ( x (#r `  R ) y  ->  y (#r `  R
) x ) )
43 eqidd 2194 . . . . 5  |-  ( ( R  e. LRing  /\  (
x  e.  ( Base `  R )  /\  y  e.  ( Base `  R
)  /\  z  e.  ( Base `  R )
) )  ->  ( Base `  R )  =  ( Base `  R
) )
44 eqidd 2194 . . . . 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 13781 . . . 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 2577 . . 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 7308 . 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 2164    =/= wne 2364   A.wral 2472   _Vcvv 2760    C_ wss 3153   class class class wbr 4029   {copab 4089    X. cxp 4657    Fn wfn 5249   ` cfv 5254  (class class class)co 5918   Ap wap 7307   Basecbs 12618   0gc0g 12867   -gcsg 13074   1rcur 13455   Ringcrg 13492  Unitcui 13583  LRingclring 13686  #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-in1 615  ax-in2 616  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-coll 4144  ax-sep 4147  ax-nul 4155  ax-pow 4203  ax-pr 4238  ax-un 4464  ax-setind 4569  ax-cnex 7963  ax-resscn 7964  ax-1cn 7965  ax-1re 7966  ax-icn 7967  ax-addcl 7968  ax-addrcl 7969  ax-mulcl 7970  ax-addcom 7972  ax-addass 7974  ax-i2m1 7977  ax-0lt1 7978  ax-0id 7980  ax-rnegex 7981  ax-pre-ltirr 7984  ax-pre-lttrn 7986  ax-pre-ltadd 7988
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-fal 1370  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-ne 2365  df-nel 2460  df-ral 2477  df-rex 2478  df-reu 2479  df-rmo 2480  df-rab 2481  df-v 2762  df-sbc 2986  df-csb 3081  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3447  df-pw 3603  df-sn 3624  df-pr 3625  df-op 3627  df-uni 3836  df-int 3871  df-iun 3914  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-ima 4672  df-iota 5215  df-fun 5256  df-fn 5257  df-f 5258  df-f1 5259  df-fo 5260  df-f1o 5261  df-fv 5262  df-riota 5873  df-ov 5921  df-oprab 5922  df-mpo 5923  df-1st 6193  df-2nd 6194  df-tpos 6298  df-pap 7308  df-pnf 8056  df-mnf 8057  df-ltxr 8059  df-inn 8983  df-2 9041  df-3 9042  df-ndx 12621  df-slot 12622  df-base 12624  df-sets 12625  df-iress 12626  df-plusg 12708  df-mulr 12709  df-0g 12869  df-mgm 12939  df-sgrp 12985  df-mnd 12998  df-grp 13075  df-minusg 13076  df-sbg 13077  df-cmn 13356  df-abl 13357  df-mgp 13417  df-ur 13456  df-srg 13460  df-ring 13494  df-oppr 13564  df-dvdsr 13585  df-unit 13586  df-invr 13617  df-dvr 13628  df-nzr 13676  df-lring 13687  df-apr 13777
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator