Intuitionistic Logic Explorer Home Intuitionistic Logic Explorer
Most Recent Proofs
 
Mirrors  >  Home  >  ILE Home  >  Th. List  >  Recent MPE Most Recent             Other  >  MM 100

Most recent proofs    These are the 100 (Unicode, GIF) or 1000 (Unicode, GIF) most recent proofs in the iset.mm database for the Intuitionistic Logic Explorer. The iset.mm database is maintained on GitHub with master (stable) and develop (development) versions. This page was created from the commit given on the MPE Most Recent Proofs page. The database from that commit is also available here: iset.mm.

See the MPE Most Recent Proofs page for news and some useful links.

Color key:   Intuitionistic Logic Explorer  Intuitionistic Logic Explorer   User Mathboxes  User Mathboxes  

Last updated on 26-Nov-2026 at 7:06 AM ET.
Recent Additions to the Intuitionistic Logic Explorer
DateLabelDescription
Theorem
 
17-Nov-2026elresm 5107 If a restriction is inhabited, both the class being restricted and the class it is restricted to are inhabited. (Contributed by Jim Kingdon, 17-Nov-2026.)
 |-  ( A  e.  ( B  |`  C )  ->  ( E. x  x  e.  B  /\  E. y  y  e.  C )
 )
 
16-Nov-2026mvrmex 15244 If there is a variable, the corresponding index sets and rings are sets. (Contributed by Jim Kingdon, 16-Nov-2026.)
 |-  ( X  e.  ( I mVar  R )  ->  ( I  e.  _V  /\  R  e.  _V ) )
 
16-Nov-2026mvrex 15243 Set existence of the multivariate power series variables generator. (Contributed by Jim Kingdon, 16-Nov-2026.)
 |-  ( ( I  e.  V  /\  R  e.  W )  ->  ( I mVar 
 R )  e.  _V )
 
14-Nov-2026pwsex 14317 Sethood of a structure power. (Contributed by Jim Kingdon, 14-Nov-2026.)
 |-  ( ( R  e.  V  /\  I  e.  W )  ->  ( R  ^s  I
 )  e.  _V )
 
12-Nov-2026subrgex 14645 The class of subrings of a ring is a set. (Contributed by Jim Kingdon, 12-Nov-2026.)
 |-  ( R  e.  Ring  ->  (SubRing `  R )  e. 
 _V )
 
12-Nov-2026rnm 5006 If the range of a class is inhabited, the class is inhabited. (Contributed by Jim Kingdon, 12-Nov-2026.)
 |-  ( A  e.  ran  B 
 ->  E. x  x  e.  B )
 
12-Nov-2026cnvm 5005 If the converse of a class is inhabited, the class is inhabited. (Contributed by Jim Kingdon, 12-Nov-2026.)
 |-  ( A  e.  `' B  ->  E. x  x  e.  B )
 
12-Nov-2026dmm 5004 If the domain of a class is inhabited, the class is inhabited. (Contributed by Jim Kingdon, 12-Nov-2026.)
 |-  ( A  e.  dom  B 
 ->  E. x  x  e.  B )
 
8-Nov-2026psrbagconclfi 15189 The complement of a bag is a bag. (Contributed by Mario Carneiro, 29-Dec-2014.) Remove a sethood antecedent. (Revised by SN, 6-Aug-2024.) (Revised by Jim Kingdon, 8-Nov-2026.)
 |-  S  =  { y  e.  ( NN0  ^m  I
 )  |  y  oR  <_  F }   =>    |-  (
 ( F  e.  ( NN0  ^m  I )  /\  X  e.  S  /\  I  e.  Fin )  ->  ( F  oF  -  X )  e.  S )
 
7-Nov-2026ofpncan3 15188 Subtraction and addition of equals. Applying pncan3 8547 to functions, pointwise. (Contributed by Jim Kingdon, 7-Nov-2026.)
 |-  ( ph  ->  A : I --> CC )   &    |-  ( ph  ->  B : I --> CC )   &    |-  ( ph  ->  I  e.  V )   =>    |-  ( ph  ->  ( A  oF  +  ( B  oF  -  A ) )  =  B )
 
7-Nov-2026ofrle2add 15187 Adding both sides of two 'less than or equal to' relations. Applying le2add 8785 to functions, pointwise. (Contributed by Jim Kingdon, 7-Nov-2026.)
 |-  ( ph  ->  A : I --> RR )   &    |-  ( ph  ->  B : I --> RR )   &    |-  ( ph  ->  C : I --> RR )   &    |-  ( ph  ->  D : I --> RR )   &    |-  ( ph  ->  I  e.  V )   &    |-  ( ph  ->  A  oR  <_  C )   &    |-  ( ph  ->  B  oR  <_  D )   =>    |-  ( ph  ->  ( A  oF  +  B )  oR  <_  ( C  oF  +  D ) )
 
6-Nov-2026psrbagleadd1fi 15186 The analogue of " X  <_  F implies  X  +  G  <_  F  +  G " (compare leadd1d 8880) for bags. (Contributed by SN, 2-May-2025.) (Revised by Jim Kingdon, 6-Nov-2026.)
 |-  S  =  { y  e.  ( NN0  ^m  I
 )  |  y  oR  <_  F }   &    |-  T  =  { z  e.  ( NN0  ^m  I )  |  z  oR  <_  ( F  oF  +  G ) }   &    |-  ( ph  ->  F  e.  ( NN0  ^m  I ) )   &    |-  ( ph  ->  G  e.  ( NN0  ^m  I )
 )   &    |-  ( ph  ->  X  e.  S )   &    |-  ( ph  ->  I  e.  Fin )   =>    |-  ( ph  ->  ( X  oF  +  G )  e.  T )
 
6-Nov-2026psrbagaddclfi 15185 The sum of two finite bags is a finite bag. (Contributed by Mario Carneiro, 9-Jan-2015.) Shorten proof and remove a sethood antecedent. (Revised by SN, 7-Aug-2024.) (Revised by Jim Kingdon, 6-Nov-2026.)
 |-  ( ( F  e.  ( NN0  ^m  I )  /\  G  e.  ( NN0  ^m  I )  /\  I  e.  Fin )  ->  ( F  oF  +  G )  e.  ( NN0  ^m  I ) )
 
5-Nov-2026psrbagfsuppd 15200 Given a function on finite bags, where there is an upper bound of values which can map to anything other than zero, the function is finitely supported. (Contributed by Jim Kingdon, 5-Nov-2026.)
 |-  ( ph  ->  F : ( NN0  ^m  I
 ) --> B )   &    |-  ( ph  ->  Z  e.  B )   &    |-  ( ph  ->  I  e.  Fin )   &    |-  ( ph  ->  K  e.  ( NN0  ^m  I
 ) )   &    |-  ( ( ph  /\  y  e.  ( NN0  ^m  I ) )  ->  ( -.  y  oR  <_  K  ->  ( F `  y )  =  Z ) )   =>    |-  ( ph  ->  F finSupp  Z )
 
5-Nov-2026psrbagfsuppub 15199 Given a finitely supported function on finite bags, there is an upper bound of values which can map to anything other than zero. (Contributed by Jim Kingdon, 5-Nov-2026.)
 |-  ( ph  ->  F : ( NN0  ^m  I
 ) --> B )   &    |-  ( ph  ->  Z  e.  B )   &    |-  ( ph  ->  I  e.  Fin )   &    |-  ( ph  ->  F finSupp  Z )   =>    |-  ( ph  ->  E. k  e.  ( NN0  ^m  I
 ) A. y  e.  ( NN0  ^m  I ) ( -.  y  oR  <_  k  ->  ( F `  y )  =  Z ) )
 
5-Nov-2026psrbagdcle 15198 It is decidable whether one finite bag dominates another. (Contributed by Jim Kingdon, 5-Nov-2026.)
 |-  ( ( A  e.  ( NN0  ^m  I )  /\  B  e.  ( NN0  ^m  I )  /\  I  e.  Fin )  -> DECID  A  oR  <_  B )
 
5-Nov-2026psrbaglefimap 15190 There are finitely many bags dominated by a given bag. (Contributed by Mario Carneiro, 29-Dec-2014.) (Revised by Mario Carneiro, 25-Jan-2015.) (Revised by Jim Kingdon, 5-Nov-2026.)
 |-  ( ( F  e.  ( NN0  ^m  I )  /\  I  e.  Fin )  ->  { y  e.  ( NN0  ^m  I
 )  |  y  oR  <_  F }  e.  Fin )
 
2-Nov-2026isfsuppf 7303 Showing that a function is finitely supported. (Contributed by Jim Kingdon, 2-Nov-2026.)
 |-  ( ph  ->  F : A --> B )   &    |-  ( ph  ->  F  e.  V )   &    |-  ( ph  ->  Z  e.  B )   &    |-  ( ph  ->  W  e.  Fin )   &    |-  ( ph  ->  W  C_  A )   &    |-  ( ( ph  /\  k  e.  ( A  \  W ) )  ->  ( F `
  k )  =  Z )   =>    |-  ( ph  ->  F finSupp  Z )
 
1-Nov-2026psrbagfidceq 15191 Finite bags have decidable equality. (Contributed by Jim Kingdon, 1-Nov-2026.)
 |-  ( ( I  e. 
 Fin  /\  A  e.  ( NN0  ^m  I )  /\  B  e.  ( NN0  ^m  I ) )  -> DECID  A  =  B )
 
27-Oct-2026psrbagmaxlem1y 15196 Lemma for psrbagmax 15197. All the bags in  Y are (pointwise) less than  S, and thus elements of  Z. (Contributed by Jim Kingdon, 27-Oct-2026.)
 |-  ( ph  ->  X  C_  ( NN0  ^m  I
 ) )   &    |-  ( ph  ->  X  e.  Fin )   &    |-  ( ph  ->  I  e.  Fin )   &    |-  ( ph  ->  P : I --> NN0 )   &    |-  ( ph  ->  R : I --> NN0 )   &    |-  S  =  ( i  e.  I  |-> 
 sup ( { ( P `  i ) ,  ( R `  i
 ) } ,  RR ,  <  ) )   &    |-  Z  =  { q  e.  ( NN0  ^m  I )  |  q  oR  <_  S }   &    |-  ( ph  ->  A. j  e.  I  A. x  e.  X  ( x `  j )  <_  ( P `  j ) )   &    |-  ( ph  ->  A. j  e.  I  A. y  e.  Y  (
 y `  j )  <_  ( R `  j
 ) )   &    |-  ( ph  ->  Y 
 C_  ( NN0  ^m  I
 ) )   &    |-  ( ph  ->  Y  e.  Fin )   =>    |-  ( ph  ->  Y 
 C_  Z )
 
27-Oct-2026psrbagmaxlem1x 15195 Lemma for psrbagmax 15197. All the bags in  X are (pointwise) less than  S, and thus elements of  Z. (Contributed by Jim Kingdon, 27-Oct-2026.)
 |-  ( ph  ->  X  C_  ( NN0  ^m  I
 ) )   &    |-  ( ph  ->  X  e.  Fin )   &    |-  ( ph  ->  I  e.  Fin )   &    |-  ( ph  ->  P : I --> NN0 )   &    |-  ( ph  ->  R : I --> NN0 )   &    |-  S  =  ( i  e.  I  |-> 
 sup ( { ( P `  i ) ,  ( R `  i
 ) } ,  RR ,  <  ) )   &    |-  Z  =  { q  e.  ( NN0  ^m  I )  |  q  oR  <_  S }   &    |-  ( ph  ->  A. j  e.  I  A. x  e.  X  ( x `  j )  <_  ( P `  j ) )   &    |-  ( ph  ->  A. j  e.  I  A. y  e.  Y  (
 y `  j )  <_  ( R `  j
 ) )   &    |-  ( ph  ->  Y 
 C_  ( NN0  ^m  I
 ) )   &    |-  ( ph  ->  Y  e.  Fin )   =>    |-  ( ph  ->  X 
 C_  Z )
 
27-Oct-2026psrbagmaxlemfi 15194 Lemma for psrbagmax 15197. Applying psrbaglefifi 15182 to the sets in this theorem. (Contributed by Jim Kingdon, 27-Oct-2026.)
 |-  ( ph  ->  X  C_  ( NN0  ^m  I
 ) )   &    |-  ( ph  ->  X  e.  Fin )   &    |-  ( ph  ->  I  e.  Fin )   &    |-  ( ph  ->  P : I --> NN0 )   &    |-  ( ph  ->  R : I --> NN0 )   &    |-  S  =  ( i  e.  I  |-> 
 sup ( { ( P `  i ) ,  ( R `  i
 ) } ,  RR ,  <  ) )   &    |-  Z  =  { q  e.  ( NN0  ^m  I )  |  q  oR  <_  S }   =>    |-  ( ph  ->  Z  e.  Fin )
 
27-Oct-2026psrbagmaxlem1a 15193 Lemma for psrbagmax 15197. A new bag which is the pointwise maximum of two bags. (Contributed by Jim Kingdon, 27-Oct-2026.)
 |-  ( ph  ->  X  C_  ( NN0  ^m  I
 ) )   &    |-  ( ph  ->  X  e.  Fin )   &    |-  ( ph  ->  I  e.  Fin )   &    |-  ( ph  ->  P : I --> NN0 )   &    |-  ( ph  ->  R : I --> NN0 )   &    |-  S  =  ( i  e.  I  |-> 
 sup ( { ( P `  i ) ,  ( R `  i
 ) } ,  RR ,  <  ) )   =>    |-  ( ph  ->  S : I --> NN0 )
 
27-Oct-2026psrbagmaxlem1 15192 Lemma for psrbagmax 15197. Existence of a bag which is greater than any element of a finite set of bags. (Contributed by Jim Kingdon, 27-Oct-2026.)
 |-  ( ph  ->  X  C_  ( NN0  ^m  I
 ) )   &    |-  ( ph  ->  X  e.  Fin )   &    |-  ( ph  ->  I  e.  Fin )   =>    |-  ( ph  ->  E. p ( p : I --> NN0  /\  A. j  e.  I  A. x  e.  X  ( x `  j )  <_  ( p `  j ) ) )
 
24-Oct-2026psrbagmax 15197 Given two finite sets of bags, provide a finite set which contains all of their elements.

The proof constructs the result ( Z in the lemmas), proves its properties (via psrbagmaxlemfi 15194, psrbagmaxlem1x 15195, and psrbagmaxlem1y 15196), and then this proof combines those lemmas and assigns the result to the variable  z. (Contributed by Jim Kingdon, 24-Oct-2026.)

 |-  ( ph  ->  X  C_  ( NN0  ^m  I
 ) )   &    |-  ( ph  ->  X  e.  Fin )   &    |-  ( ph  ->  Y  C_  ( NN0  ^m  I ) )   &    |-  ( ph  ->  Y  e.  Fin )   &    |-  ( ph  ->  I  e.  Fin )   =>    |-  ( ph  ->  E. z ( ( z 
 C_  ( NN0  ^m  I
 )  /\  z  e.  Fin )  /\  ( X 
 C_  z  /\  Y  C_  z ) ) )
 
24-Oct-2026fsuppfiss 7306 A finitely supported function has a finite subset of its domain such that values outside that subset map to zero. (Contributed by Jim Kingdon, 24-Oct-2026.)
 |-  ( ph  ->  F finSupp  Z )   =>    |-  ( ph  ->  E. w ( w  e.  Fin  /\  w  C_  dom  F  /\  ( F " ( dom 
 F  \  w )
 )  C_  { Z } ) )
 
22-Oct-2026psrbagfsuppfi 15173 Finite bags have finite support. (Contributed by Stefan O'Rear, 9-Mar-2015.) (Revised by AV, 18-Jul-2019.) (Revised by Jim Kingdon, 22-Oct-2026.)
 |-  D  =  { f  e.  ( NN0  ^m  I
 )  |  ( `' f " NN )  e.  Fin }   =>    |-  ( ( F  e.  D  /\  I  e.  Fin )  ->  F finSupp  0 )
 
18-Oct-2026suppinisegdc 6518 Relation between the support  ( F supp  Z ) and the initial segment  ( `' F " { Z } ). (Contributed by Thierry Arnoux, 25-Jun-2024.) (Revised by Jim Kingdon, 18-Oct-2026.)
 |-  ( ph  ->  F : A --> B )   &    |-  ( ph  ->  F  e.  V )   &    |-  ( ph  ->  Z  e.  B )   &    |-  ( ph  ->  A. x  e.  B  A. y  e.  B DECID  x  =  y )   =>    |-  ( ph  ->  ( A  \  ( F supp  Z ) )  =  ( `' F " { Z } ) )
 
17-Oct-2026funisfsuppdc 7304 The property of a function to be finitely supported (in relation to a given zero). This shows that df-fsuppfi 7298 and df-supp 6485 give the same results, in the case of decidable equality. (Contributed by AV, 23-May-2019.) (Revised by Jim Kingdon, 17-Oct-2026.)
 |-  ( ph  ->  F  e.  V )   &    |-  ( ph  ->  F : A --> B )   &    |-  ( ph  ->  Z  e.  B )   &    |-  ( ph  ->  A. x  e.  A  A. y  e.  A DECID  x  =  y )   &    |-  ( ph  ->  A. x  e.  B  A. y  e.  B DECID  x  =  y )   =>    |-  ( ph  ->  ( F finSupp  Z  <->  ( F supp  Z )  e.  Fin ) )
 
16-Oct-2026isfsuppfid 7302 Deduction form of isfsuppfi 7301. (Contributed by SN, 29-Jul-2024.) (Revised by Jim Kingdon, 16-Oct-2026.)
 |-  ( ph  ->  R  e.  V )   &    |-  ( ph  ->  Z  e.  U )   &    |-  ( ph  ->  Fun  R )   &    |-  ( ph  ->  W  e.  Fin )   &    |-  ( ph  ->  W  C_ 
 dom  R )   &    |-  ( ph  ->  ( R " ( dom 
 R  \  W )
 )  C_  { Z } )   =>    |-  ( ph  ->  R finSupp  Z )
 
16-Oct-2026df-fsuppfi 7298 Define the property of a function to be finitely supported (in relation to a given zero). This definition will perhaps be most useful when the domain of the function has decidable equality; consider as an alternative  ( R supp  Z
)  e.  Fin (see df-supp 6485) which will behave well when a codomain of the function has decidable equality. If both domain and codomain have decidable equality, the two are equivalent as seen at funisfsuppdc 7304. (Contributed by AV, 23-May-2019.) (Revised by Jim Kingdon, 16-Oct-2026.)
 |- finSupp  =  { <. r ,  z >.  |  ( Fun  r  /\  E. w ( w  e.  Fin  /\  w  C_  dom  r  /\  ( r
 " ( dom  r  \  w ) )  C_  { z } ) ) }
 
13-Oct-2026mapm 6980 Set exponentiation is inhabited if the base is inhabited. (Contributed by Jim Kingdon, 13-Oct-2026.)
 |-  ( ( A  e.  V  /\  B  e.  W  /\  C  e.  A ) 
 ->  E. x  x  e.  ( A  ^m  B ) )
 
11-Oct-2026psrbagdceq 15175 Finite bags have decidable equality. (Contributed by Jim Kingdon, 11-Oct-2026.)
 |-  D  =  { f  e.  ( NN0  ^m  I
 )  |  ( `' f " NN )  e.  Fin }   =>    |-  ( ( I  e. 
 Fin  /\  A  e.  D  /\  B  e.  D ) 
 -> DECID  A  =  B )
 
9-Oct-2026ofovex 6315 Applying a function operation to two functions which are sets yields a set. (Contributed by Jim Kingdon, 9-Oct-2026.)
 |-  ( ( F  e.  V  /\  G  e.  W )  ->  ( F  oF R G )  e. 
 _V )
 
8-Oct-2026idjufi 14274 A finite indexed disjoint union of finite sets is finite. (Contributed by Jim Kingdon, 8-Oct-2026.)
 |-  ( ph  ->  A  e.  Fin )   &    |-  ( ( ph  /\  j  e.  A ) 
 ->  C  e.  Fin )   =>    |-  ( ph  ->  U_ j  e.  A  ( { j }  X.  C )  e.  Fin )
 
8-Oct-2026sn0disj 4127 A collection, each of whose elements is empty or a singleton of the index, is disjoint. (Contributed by Jim Kingdon, 8-Oct-2026.)
 |-  ( ( ph  /\  x  e.  A )  ->  ( B  =  (/)  \/  B  =  { x } )
 )   =>    |-  ( ph  -> Disj  x  e.  A  B )
 
6-Oct-2026gsum2dfi 14278 Write a sum over a two-dimensional region as a double sum. (Contributed by Mario Carneiro, 28-Dec-2014.) (Revised by AV, 8-Jun-2019.) (Revised by Jim Kingdon, 6-Oct-2026.)
 |-  B  =  ( Base `  G )   &    |-  .0.  =  ( 0g `  G )   &    |-  ( ph  ->  G  e. CMnd )   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  Rel 
 A )   &    |-  ( ph  ->  D  e.  Fin )   &    |-  ( ph  ->  dom  A  C_  D )   &    |-  ( ph  ->  dom  A  e.  Fin )   &    |-  ( ph  ->  F : A --> B )   &    |-  ( ( ph  /\  j  e.  D )  ->  ( A " { j }
 )  e.  Fin )   =>    |-  ( ph  ->  ( G  gsumg  F )  =  ( G  gsumg  ( j  e.  D  |->  ( G 
 gsumg  ( k  e.  ( A " { j }
 )  |->  ( j F k ) ) ) ) ) )
 
6-Oct-2026relresfin 7275 Restricting to a subset of a finite relation's domain gives a finite set. (Contributed by Jim Kingdon, 6-Oct-2026.)
 |-  ( ph  ->  E  e.  Fin )   &    |-  ( ph  ->  Rel 
 E )   &    |-  ( ph  ->  dom 
 E  e.  Fin )   &    |-  ( ph  ->  B  C_  dom  E )   &    |-  ( ph  ->  B  e.  Fin )   =>    |-  ( ph  ->  ( E  |`  B )  e. 
 Fin )
 
4-Oct-2026gsum2dfilem2 14277 Lemma for gsum2dfi 14278. (Contributed by Mario Carneiro, 28-Dec-2014.) (Revised by AV, 8-Jun-2019.) (Revised by Jim Kingdon, 4-Oct-2026.)
 |-  B  =  ( Base `  G )   &    |-  .0.  =  ( 0g `  G )   &    |-  ( ph  ->  G  e. CMnd )   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  Rel 
 A )   &    |-  ( ph  ->  D  e.  Fin )   &    |-  ( ph  ->  dom  A  C_  D )   &    |-  ( ph  ->  dom  A  e.  Fin )   &    |-  ( ph  ->  F : A --> B )   &    |-  ( ( ph  /\  j  e.  D )  ->  ( A " { j }
 )  e.  Fin )   =>    |-  ( ph  ->  ( G  gsumg  F )  =  ( G  gsumg  ( j  e.  dom  A  |->  ( G 
 gsumg  ( k  e.  ( A " { j }
 )  |->  ( j F k ) ) ) ) ) )
 
2-Oct-2026idjudju 17336 An indexed disjoint union over two sets equals the disjoint union of those two sets. This connects our notation for an indexed disjoint union,  U_ x  e.  C
( { x }  X.  F ) which uses df-iun 4014, with our notation for the disjoint union of two sets (df-dju 7390). (Contributed by Jim Kingdon, 2-Oct-2026.)
 |-  F  =  if ( x  =  (/) ,  A ,  B )   =>    |-  U_ x  e.  2o  ( { x }  X.  F )  =  ( A ⊔  B )
 
2-Oct-2026gsum2dfilem1 14276 Lemma 1 for gsum2dfi 14278. (Contributed by Mario Carneiro, 28-Dec-2014.) (Revised by AV, 8-Jun-2019.) (Revised by Jim Kingdon, 2-Oct-2026.)
 |-  B  =  ( Base `  G )   &    |-  .0.  =  ( 0g `  G )   &    |-  ( ph  ->  G  e. CMnd )   &    |-  ( ph  ->  F : A
 --> B )   &    |-  ( ( ph  /\  j  e.  D ) 
 ->  ( A " {
 j } )  e. 
 Fin )   =>    |-  ( ( ph  /\  j  e.  D )  ->  ( G  gsumg  ( k  e.  ( A " { j }
 )  |->  ( j F k ) ) )  e.  B )
 
2-Oct-2026idjusnfi 14275 The image of a singleton through an indexed disjoint union, where it is of finite sets. (Contributed by Jim Kingdon, 2-Oct-2026.)
 |-  ( ph  ->  A  e.  V )   &    |-  ( ( ph  /\  j  e.  A ) 
 ->  C  e.  Fin )   &    |-  U  =  U_ j  e.  A  ( { j }  X.  C )   =>    |-  ( ( ph  /\  K  e.  A )  ->  ( U " { K }
 )  e.  Fin )
 
24-Sep-2026gsumresfi 14268 Extend a finite group sum by padding outside with zeroes. (Contributed by Mario Carneiro, 15-Dec-2014.) (Revised by Mario Carneiro, 24-Apr-2016.) (Revised by AV, 3-Jun-2019.) (Revised by Jim Kingdon, 24-Sep-2026.)
 |-  B  =  ( Base `  G )   &    |-  .0.  =  ( 0g `  G )   &    |-  ( ph  ->  G  e. CMnd )   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  F : A --> B )   &    |-  ( ph  ->  A. x  e.  ( A  \  W ) ( F `  x )  =  .0.  )   &    |-  ( ph  ->  W  e.  Fin )   &    |-  ( ph  ->  W 
 C_  A )   =>    |-  ( ph  ->  ( G  gsumg  ( F  |`  W ) )  =  ( G 
 gsumg  F ) )
 
23-Sep-2026sineq0re 16160 A complex number whose sine is zero is real. (Contributed by NM, 17-Aug-2008.) (Revised by Mario Carneiro, 10-May-2014.) (Revised by Jim Kingdon, 23-Sep-2026.)
 |-  ( ( A  e.  CC  /\  ( sin `  A )  =  0 )  ->  A  e.  RR )
 
18-Sep-2026rirrdisj 17375 The rational and irrational numbers are disjoint. Here irrational means apart from any rational number. (Contributed by Jim Kingdon, 18-Sep-2026.)
 |-  ( QQ  i^i  { x  e. 
 RR  |  A. q  e.  QQ  x #  q }
 )  =  (/)
 
18-Sep-2026efnthr 16260 An equation involving an  N-th power. The expression  exp ( 2 pi _i  /  N
) is a way to write the primitive  N-th root of unity with the smallest positive argument. We could write it as  -u 1  ^c  ( 2  /  N ) except that we only support positive real numbers as the base for  ^c. The converse is presumably also provable but we do not have a proof yet. (Contributed by Mario Carneiro, 23-Apr-2015.) (Revised by Jim Kingdon, 18-Sep-2026.)
 |-  ( ( A  e.  CC  /\  N  e.  NN  /\  B  e.  RR+ )  ->  ( E. n  e.  ( 0 ... ( N  -  1 ) ) A  =  ( ( B  ^c  ( 1  /  N ) )  x.  ( ( exp `  ( ( _i  x.  ( 2  x.  pi ) )  /  N ) ) ^ n ) )  ->  ( A ^ N )  =  B ) )
 
16-Sep-2026cntzm 14166 If the centralizer of a subset of a magma has an element, the magma is inhabited. (Contributed by Jim Kingdon, 16-Sep-2026.)
 |-  Z  =  (Cntz `  M )   =>    |-  ( X  e.  ( Z `  S )  ->  E. w  w  e.  M )
 
16-Sep-2026ressmex 13483 If a structure restriction is inhabited, the structure is a set and so is the class it is restricted to. (Contributed by Jim Kingdon, 16-Sep-2026.)
 |-  R  =  ( W ↾s  A )   =>    |-  ( X  e.  R  ->  ( W  e.  _V  /\  A  e.  _V )
 )
 
15-Sep-2026cntzex 14155 Set existence of the centralizer. (Contributed by Jim Kingdon, 15-Sep-2026.)
 |-  Z  =  (Cntz `  M )   =>    |-  ( M  e.  V  ->  Z  e.  _V )
 
9-Sep-2026flaplt 10744 The floor function value is less than the next integer. (Contributed by NM, 24-Feb-2005.) (Revised by Jim Kingdon, 9-Sep-2026.)
 |-  ( ( ( A  e.  QQ  \/  ( A  e.  RR  /\  A. q  e.  QQ  A #  q ) )  /\  B  e.  ZZ )  ->  ( A  <  B  <->  ( |_ `  A )  <  B ) )
 
8-Sep-2026fiidxsupcl 12023 A set of integers indexed by a finite set has an upper bound. (Contributed by Jim Kingdon, 8-Sep-2026.)
 |-  ( ph  ->  F : A --> ZZ )   &    |-  ( ph  ->  A  e.  Fin )   =>    |-  ( ph  ->  E. x  e.  ZZ  A. y  e.  A  ( F `  y )  <_  x )
 
6-Sep-2026ofrfidc 7329 Decidability of a relation applied to two functions. (Contributed by Jim Kingdon, 6-Sep-2026.)
 |-  ( ph  ->  F  Fn  A )   &    |-  ( ph  ->  G  Fn  A )   &    |-  ( ph  ->  A. x  e.  A DECID  ( F `  x ) R ( G `  x ) )   &    |-  ( ph  ->  A  e.  Fin )   =>    |-  ( ph  -> DECID  F  oR R G )
 
27-Aug-2026prmdcz 12939 Primality is decidable. (Contributed by Jim Kingdon, 27-Aug-2026.)
 |-  ( N  e.  ZZ  -> DECID  N  e.  Prime )
 
27-Aug-2026zmincl 12034 The minumum of two integers is an integer. (Contributed by Jim Kingdon, 27-Aug-2026.)
 |-  ( ( A  e.  ZZ  /\  B  e.  ZZ )  -> inf ( { A ,  B } ,  RR ,  <  )  e.  ZZ )
 
25-Aug-2026nn0sqdcq 13018 A nonnegative integer is a perfect square or not. This is similar to nn0sqdc 11173 but expresses the idea of being a perfect square as having a rational number which, when squared, gives the original number. (Contributed by Jim Kingdon, 25-Aug-2026.)
 |-  ( N  e.  NN0  -> DECID  E. q  e.  QQ  N  =  ( q ^ 2 ) )
 
25-Aug-2026qabscl 11870 The absolute value of a rational number is a rational number. (Contributed by Jim Kingdon, 25-Aug-2026.)
 |-  ( A  e.  QQ  ->  ( abs `  A )  e.  QQ )
 
25-Aug-2026nn0sqdc 11173 A nonnegative integer is a perfect square or not. (Contributed by Jim Kingdon, 25-Aug-2026.)
 |-  ( N  e.  NN0  -> DECID  E. q  e.  NN0  N  =  ( q ^ 2 ) )
 
24-Aug-2026sqrtrirr 13019 The square root of a nonnegative integer is either rational or irrational. (Contributed by Jim Kingdon, 24-Aug-2026.)
 |-  ( A  e.  NN0  ->  ( ( sqr `  A )  e.  QQ  \/  ( ( sqr `  A )  e.  RR  /\  A. q  e.  QQ  ( sqr `  A ) #  q ) ) )
 
21-Aug-2026prmefexple 16392 Convert a bound on a power of a prime to a bound on the exponent. (Contributed by Mario Carneiro, 11-Mar-2014.) (Revised by Jim Kingdon, 21-Aug-2026.)
 |-  ( ( A  e.  Prime  /\  N  e.  ZZ  /\  B  e.  NN )  ->  ( ( A ^ N )  <_  B  <->  N  <_  ( |_ `  ( ( log `  B )  /  ( log `  A ) ) ) ) )
 
20-Aug-2026zprmlogbap 16302 The logarithm of a natural number to a prime base is either rational or irrational.

The proof decomposes  X into  m  e.  NN and  a  e.  NN0 such that  X  =  ( ( B ^ a
)  x.  m ) (using nnmaxpw 12983). If  m  =  1 the logarithm is  a, which is rational. If  1  <  m then we can apply logbgcd1irrap 16290 to show that the logarithm is irrational. (Contributed by Jim Kingdon and Taylor Barrella, 20-Aug-2026.)

 |-  ( ( X  e.  NN  /\  B  e.  Prime ) 
 ->  ( ( B logb  X )  e.  QQ  \/  (
 ( B logb  X )  e. 
 RR  /\  A. q  e. 
 QQ  ( B logb  X ) #  q ) ) )
 
20-Aug-2026zprmlogbaplem3 16301 Lemma for zprmlogbap 16302. Decomposing a natural number into a power of a prime base and a factor not divisible by that prime. (Contributed by Jim Kingdon, 20-Aug-2026.)
 |-  J  =  { z  e.  NN  |  -.  B  ||  z }   &    |-  F  =  ( x  e.  J ,  y  e.  NN0  |->  ( ( B ^ y )  x.  x ) )   =>    |-  ( ( X  e.  NN  /\  B  e.  Prime ) 
 ->  E. m  e.  NN  E. a  e.  NN0  ( -.  B  ||  m  /\  X  =  ( ( B ^ a )  x.  m ) ) )
 
20-Aug-2026zprmlogbaplem2 16300 Lemma for zprmlogbap 16302. The logarithm is either rational or irrational. (Contributed by Jim Kingdon, 20-Aug-2026.)
 |-  ( ph  ->  B  e.  Prime )   &    |-  ( ph  ->  M  e.  NN )   &    |-  ( ph  ->  -.  B  ||  M )   &    |-  ( ph  ->  A  e.  NN0 )   &    |-  X  =  ( ( B ^ A )  x.  M )   =>    |-  ( ph  ->  ( ( B logb  X )  e. 
 QQ  \/  ( ( B logb  X )  e.  RR  /\ 
 A. q  e.  QQ  ( B logb  X ) #  q ) ) )
 
20-Aug-2026zprmlogbaplem1 16299 Lemma for zprmlogbap 16302. Rearranging an expression involving logarithms. (Contributed by Jim Kingdon, 20-Aug-2026.)
 |-  ( ph  ->  B  e.  Prime )   &    |-  ( ph  ->  M  e.  NN )   &    |-  ( ph  ->  -.  B  ||  M )   &    |-  ( ph  ->  A  e.  NN0 )   =>    |-  ( ph  ->  ( B logb 
 ( ( B ^ A )  x.  M ) )  =  ( A  +  ( B logb  M ) ) )
 
20-Aug-2026flaplelt 10735 A basic property of the floor (greatest integer) function. (Contributed by Jim Kingdon, 20-Aug-2026.)
 |-  ( ( A  e.  QQ  \/  ( A  e.  RR  /\  A. q  e. 
 QQ  A #  q )
 )  ->  ( ( |_ `  A )  <_  A  /\  A  <  (
 ( |_ `  A )  +  1 )
 ) )
 
20-Aug-2026flapcl 10733 The floor (greatest integer) function yields an integer when applied to a number which is either rational or irrational. (Contributed by Jim Kingdon, 20-Aug-2026.)
 |-  ( ( A  e.  QQ  \/  ( A  e.  RR  /\  A. q  e. 
 QQ  A #  q )
 )  ->  ( |_ `  A )  e.  ZZ )
 
20-Aug-2026irraddap 10068 The sum of an irrational number and a rational number is irrational. (Contributed by Jim Kingdon, 20-Aug-2026.)
 |-  ( ( ( A  e.  RR  /\  A. q  e.  QQ  A #  q )  /\  B  e.  QQ )  ->  ( ( A  +  B )  e.  RR  /\  A. q  e.  QQ  ( A  +  B ) #  q ) )
 
19-Aug-2026nnmaxpw 12983 The function  F that decomposes a number into its "odd" and "even" parts, which is to say the largest power of a base and largest divisor of the number not divisible by that base, is a bijection from pairs of a nonnegative integer and a number not divisible by that base to positive integers. (Contributed by Thierry Arnoux, 15-Aug-2017.) (Revised by Jim Kingdon, 19-Aug-2026.)
 |-  J  =  { z  e.  NN  |  -.  B  ||  z }   &    |-  F  =  ( x  e.  J ,  y  e.  NN0  |->  ( ( B ^ y )  x.  x ) )   =>    |-  ( B  e.  ( ZZ>=
 `  2 )  ->  F : ( J  X.  NN0 ) -1-1-onto-> NN )
 
19-Aug-2026nnmaxpwlemparts 12982 Lemma for nnmaxpw 12983. Decomposing a number into parts. (Contributed by Jim Kingdon, 16-Nov-2021.) (Revised by Jim Kingdon, 19-Aug-2026.)
 |-  ( B  e.  ( ZZ>=
 `  2 )  ->  ( ( ( ( X  e.  NN  /\  -.  B  ||  X )  /\  Y  e.  NN0 )  /\  A  =  ( ( B ^ Y )  x.  X ) )  <-> 
 ( A  e.  NN  /\  ( X  =  ( A  /  ( B ^ ( iota_ z  e. 
 NN0  ( ( B ^ z )  ||  A  /\  -.  ( B ^ ( z  +  1 ) )  ||  A ) ) ) )  /\  Y  =  ( iota_ z  e.  NN0  ( ( B ^
 z )  ||  A  /\  -.  ( B ^
 ( z  +  1 ) )  ||  A ) ) ) ) ) )
 
19-Aug-2026nnmaxpwlemnfac 12981 Lemma for nnmaxpw 12983. Removing the powers of a base from a natural number produces a number not divisible by that base. (Contributed by Jim Kingdon, 16-Nov-2021.) (Revised by Jim Kingdon, 19-Aug-2026.)
 |-  ( ( A  e.  NN  /\  B  e.  ( ZZ>=
 `  2 ) ) 
 ->  -.  B  ||  ( A  /  ( B ^
 ( iota_ z  e.  NN0  ( ( B ^
 z )  ||  A  /\  -.  ( B ^
 ( z  +  1 ) )  ||  A ) ) ) ) )
 
19-Aug-2026nnmaxpwlemndvds 12980 Lemma for nnmaxpw 12983. A natural number is not divisible by one more than the highest power of a base which divides it. (Contributed by Jim Kingdon, 17-Nov-2021.) (Revised by Jim Kingdon, 19-Aug-2026.)
 |-  ( ( A  e.  NN  /\  B  e.  ( ZZ>=
 `  2 ) ) 
 ->  -.  ( B ^
 ( ( iota_ z  e. 
 NN0  ( ( B ^ z )  ||  A  /\  -.  ( B ^ ( z  +  1 ) )  ||  A ) )  +  1 ) )  ||  A )
 
19-Aug-2026nnmaxpwlemdvds 12979 Lemma for nnmaxpw 12983. A natural number is divisible by the highest power of a base which divides it. (Contributed by Jim Kingdon, 17-Nov-2021.) (Revised by Jim Kingdon, 19-Aug-2026.)
 |-  ( ( A  e.  NN  /\  B  e.  ( ZZ>=
 `  2 ) ) 
 ->  ( B ^ ( iota_
 z  e.  NN0  (
 ( B ^ z
 )  ||  A  /\  -.  ( B ^ (
 z  +  1 ) )  ||  A )
 ) )  ||  A )
 
18-Aug-2026nnmaxpwlemxy 12978 Lemma for nnmaxpw 12983. Another way of stating that decomposing a natural number into a power of a base and a number not divisible by that base is unique. (Contributed by Jim Kingdon, 16-Nov-2021.) (Revised by Jim Kingdon, 18-Aug-2026.)
 |-  ( ph  ->  X  e.  NN )   &    |-  ( ph  ->  B  e.  ( ZZ>= `  2
 ) )   &    |-  ( ph  ->  -.  B  ||  X )   &    |-  ( ph  ->  Y  e.  NN0 )   &    |-  ( ph  ->  A  =  ( ( B ^ Y )  x.  X ) )   =>    |-  ( ph  ->  ( X  =  ( A  /  ( B ^ ( iota_
 z  e.  NN0  (
 ( B ^ z
 )  ||  A  /\  -.  ( B ^ (
 z  +  1 ) )  ||  A )
 ) ) )  /\  Y  =  ( iota_ z  e. 
 NN0  ( ( B ^ z )  ||  A  /\  -.  ( B ^ ( z  +  1 ) )  ||  A ) ) ) )
 
18-Aug-2026pwbdvdseu 12977 A natural number has a unique highest power of a base which divides it. (Contributed by Jim Kingdon, 16-Nov-2021.) (Revised by Jim Kingdon, 18-Aug-2026.)
 |-  ( ( N  e.  NN  /\  B  e.  ( ZZ>=
 `  2 ) ) 
 ->  E! m  e.  NN0  ( ( B ^ m )  ||  N  /\  -.  ( B ^ ( m  +  1 )
 )  ||  N )
 )
 
18-Aug-2026pwbdvdseulemle 12976 Lemma for pwbdvdseu 12977. Powers of a base which do and do not divide a natural number. (Contributed by Jim Kingdon, 17-Nov-2021.) (Revised by Jim Kingdon, 18-Aug-2026.)
 |-  ( ph  ->  N  e.  NN )   &    |-  ( ph  ->  A  e.  NN0 )   &    |-  ( ph  ->  B  e.  NN0 )   &    |-  ( ph  ->  P  e.  NN )   &    |-  ( ph  ->  ( P ^ A )  ||  N )   &    |-  ( ph  ->  -.  ( P ^ ( B  +  1 ) )  ||  N )   =>    |-  ( ph  ->  A  <_  B )
 
18-Aug-2026pwbdvds 12975 A natural number has a highest power of a base which divides it. (Contributed by Jim Kingdon, 16-Nov-2021.) (Revised by Jim Kingdon, 18-Aug-2026.)
 |-  ( ( N  e.  NN  /\  B  e.  ( ZZ>=
 `  2 ) ) 
 ->  E. m  e.  NN0  ( ( B ^ m )  ||  N  /\  -.  ( B ^ ( m  +  1 )
 )  ||  N )
 )
 
17-Aug-2026pwbdvdslemn 12974 Lemma for pwbdvds 12975. If a natural number has some power of a base which does not divide it, there is a highest power of the base which does divide it. (Contributed by Jim Kingdon, 14-Nov-2021.) (Revised by Jim Kingdon, 17-Aug-2026.)
 |-  ( ph  ->  N  e.  NN )   &    |-  ( ph  ->  A  e.  NN )   &    |-  ( ph  ->  B  e.  NN )   &    |-  ( ph  ->  -.  ( B ^ A )  ||  N )   =>    |-  ( ph  ->  E. m  e.  NN0  ( ( B ^ m )  ||  N  /\  -.  ( B ^ ( m  +  1 ) )  ||  N ) )
 
14-Aug-2026reaplog 16181 Apartness and the real natural logarithm. (Contributed by Jim Kingdon, 14-Aug-2026.)
 |-  ( ( A  e.  RR+  /\  B  e.  RR+ )  ->  ( A #  B  <->  ( log `  A ) #  ( log `  B ) ) )
 
13-Aug-2026efap1p 16089 If the exponential of a number is apart from one plus that number, the number is apart from zero. To some extent can be thought of as the converse of efgt1p 12493. (Contributed by Jim Kingdon, 13-Aug-2026.)
 |-  ( ( A  e.  RR  /\  ( 1  +  A ) #  ( exp `  A ) )  ->  A #  0 )
 
6-Aug-2026relndmfv 5735 The value of a relation outside its domain is the empty set. (Contributed by Jim Kingdon, 6-Aug-2026.)
 |-  ( ( Rel  F  /\  -.  A  e.  dom  F )  ->  ( F `  A )  =  (/) )
 
1-Aug-2026wexmiddifxy 17335 Being able to subtract an arbitrary finite set from a finite set and get a finite set is equivalent to weak excluded middle. By adding additional conditions we can get a theorem which does not need weak excluded middle, at diffifi 7209. (Contributed by Jim Kingdon, 1-Aug-2026.)
 |-  (WEXMID  <->  A. x A. y
 ( ( x  e. 
 Fin  /\  y  e.  Fin )  ->  ( x  \  y )  e.  Fin ) )
 
1-Aug-2026wexmiddifxylem 17334 Lemma for wexmiddifxylem 17334. Showing weak excluded middle given a suitable finite set. (Contributed by Jim Kingdon, 1-Aug-2026.)
 |-  (
 ( { 1o }  \  { { x  e. 
 1o  |  ph } }
 )  e.  Fin  -> DECID  -.  ph )
 
31-Jul-2026rabid1o 17323 Converting between propositions and corresponding subsets of a singleton. (Contributed by Jim Kingdon, 31-Jul-2026.)
 |-  ( { x  e.  1o  |  ph }  =  1o  <->  ph )
 
30-Jul-2026wexmiddc 17331 Weak excluded middle expressed using WEXMID implies decidability of a negated proposition. (Contributed by Jim Kingdon, 30-Jul-2026.)
 |-  (WEXMID  -> DECID  -.  ph )
 
30-Jul-2026df-wexmid 17330 Weak excluded middle is the principle that any negated proposition is decidable. (Contributed by Jim Kingdon, 30-Jul-2026.)
 |-  (WEXMID  <->  A. p  e.  ~P  1o ( -.  p  =  1o  \/  -.  -.  p  =  1o )
 )
 
29-Jul-2026wexmiddiffi 17333 Being able to subtract an arbitrary set from a finite set and get a finite set is equivalent to weak excluded middle. By adding additional conditions we can get a theorem which does not need weak excluded middle, at diffifi 7209. (Contributed by Jim Kingdon, 29-Jul-2026.)
 |-  (WEXMID  <->  A. x A. y
 ( x  e.  Fin  ->  ( x  \  y )  e.  Fin ) )
 
29-Jul-2026wexmiddiffilem 17332 Lemma for wexmiddiffi 17333. The reverse direction, using different notation. (Contributed by Jim Kingdon, 29-Jul-2026.)
 |-  ( A. x A. y ( x  e.  Fin  ->  ( x  \  y )  e.  Fin )  ->  ( -.  ph  \/  -.  -.  ph ) )
 
28-Jul-2026psrbaglefifi 15182 There are finitely many bags dominated by a given bag. If you'd like to write the set of finite bags as  ( NN0  ^m  I ) see psrbaglefimap 15190. (Contributed by Mario Carneiro, 29-Dec-2014.) (Revised by Mario Carneiro, 25-Jan-2015.) (Revised by Jim Kingdon, 28-Jul-2026.)
 |-  D  =  { f  e.  ( NN0  ^m  I
 )  |  ( `' f " NN )  e.  Fin }   =>    |-  ( ( F  e.  D  /\  I  e.  Fin )  ->  { y  e.  D  |  y  oR  <_  F }  e.  Fin )
 
24-Jul-2026stnot 17328 A proposition is double negation stable if and only if it is equivalent to a negated proposition. Here by "proposition" we mean a subset of a singleton (which is a choice which allows us to quantify over them). Posed as an exercise online by Yannick Forster. (Contributed by Jim Kingdon, 24-Jul-2026.)
 |-  ( A  e.  ~P 1o  ->  ( ( -.  -.  A  =  1o  ->  A  =  1o )  <->  E. y  e.  ~P  1o ( A  =  1o  <->  -.  y  =  1o )
 ) )
 
24-Jul-2026slotm 13478 A structure with an inhabited slot is inhabited. (Contributed by Jim Kingdon, 24-Jul-2026.)
 |-  ( E  = Slot  ( E `  ndx )  /\  ( E `  ndx )  e.  NN )   =>    |-  ( A  e.  ( E `  G )  ->  E. j  j  e.  G )
 
22-Jul-2026alseu-no-surprise 17470 Demonstrate that there is never a "surprise" when using the "all some one" quantifier, that is, it is never possible for the consequent to be both always true and always false. This follows from als-no-surprise 17438 by alseuals 17456. See als-no-surprise 17438 for why ordinary "for all" with implication has no such property. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  -.  ( A.E! x (
 ph  ->  ps )  /\  A.E! x ( ph  ->  -. 
 ps ) )
 
22-Jul-2026alseueu 17469 "The  ph is  ps " implies that exactly one thing is both 
ph and  ps. This is the half of dfalseu2 17468 that drops the universal conjunct; it does not reverse, so  E! x ( ph  /\  ps ) cannot be used in place of an "all some one" statement. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  ( A.E! x ( ph  ->  ps )  ->  E! x ( ph  /\  ps ) )
 
22-Jul-2026dfalseu2 17468 An "all some one" statement is equivalent to its universal part conjoined with the claim that exactly one 
x satisfies both 
ph and  ps. In other words, given  A. x ( ph  ->  ps ), requiring exactly one  x to satisfy  ph, which is what df-alseu 17453 requires, and requiring exactly one  x to satisfy  ( ph  /\  ps ) come to the same thing. Read  ph as "is a king" and  ps as "is hungry": if every king is hungry, then "there is exactly one king" and "there is exactly one hungry king" say the same thing, so either of them, together with "every king is hungry", gives "the king is hungry".

The universal conjunct is what makes that work, and it cannot be dropped.  E! x (
ph  /\  ps ) on its own is strictly weaker than  A.E! x ( ph  ->  ps ), since it is satisfied when many things are  ph and just one of those is  ps, as in a region with five kings exactly one of whom is hungry; see alseueu 17469 for the one direction that does hold without it. Uniqueness attaches to the antecedent, not to the conjunction. Russell's analysis of a definite description is built the same way: its uniqueness clause constrains the description predicate alone, while the predication is a separate conjunct. See his worked example of "the father of Charles II was executed", [Russell1905] p. 482. (Contributed by David A. Wheeler, 22-Jul-2026.)

 |-  ( A.E! x ( ph  ->  ps )  <->  ( A. x ( ph  ->  ps )  /\  E! x ( ph  /\ 
 ps ) ) )
 
22-Jul-2026nfralseu 17467 Bound-variable hypothesis builder for "all some one" restricted to a class. This is the "all some one" counterpart of nfrals 17436. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  F/_ x A   &    |- 
 F/ x ph   &    |-  F/ x ps   =>    |-  F/ x A.E! y  e.  A ( ph  ->  ps )
 
22-Jul-2026nfalseu 17466 Bound-variable hypothesis builder for "all some one". This is the "all some one" counterpart of nfals 17435. Unlike the set.mm version of this theorem, no disjoint variable condition is needed, because nfeu 2105 here does not require one. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  F/ x ph   &    |-  F/ x ps   =>    |-  F/ x A.E! y (
 ph  ->  ps )
 
22-Jul-2026ralseubii 17465 Congruence for "all some one" restricted to a class. This is the "all some one" counterpart of ralsbii 17433. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  ( ph 
 <->  ch )   &    |-  ( ps  <->  th )   =>    |-  ( A.E! x  e.  A ( ph  ->  ps )  <->  A.E! x  e.  A ( ch  ->  th ) )
 
22-Jul-2026alseubii 17464 Congruence: equivalents may be substituted inside an "all some one". This is the "all some one" counterpart of alsbii 17432. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  ( ph 
 <->  ch )   &    |-  ( ps  <->  th )   =>    |-  ( A.E! x ( ph  ->  ps )  <->  A.E! x ( ch 
 ->  th ) )
 
22-Jul-2026ralseu2d 17463 Deduction rule: Given "all some one" applied to a class, you can extract the "exactly one" part. Note that the witness must satisfy the antecedent  ps, not merely be a member of  A. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  ( ph  ->  A.E! x  e.  A ( ps  ->  ch ) )   =>    |-  ( ph  ->  E! x  e.  A  ps )
 
22-Jul-2026ralseu1d 17462 Deduction rule: Given "all some one" applied to a class, you can extract the "for all" part. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  ( ph  ->  A.E! x  e.  A ( ps  ->  ch ) )   =>    |-  ( ph  ->  A. x  e.  A  ( ps  ->  ch ) )
 
22-Jul-2026alseu2d 17461 Deduction rule: Given "all some one" applied to a top-level inference, you can extract the "exactly one" part. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  ( ph  ->  A.E! x ( ps  ->  ch )
 )   =>    |-  ( ph  ->  E! x ps )
 
22-Jul-2026alseu1d 17460 Deduction rule: Given "all some one" applied to a top-level inference, you can extract the "for all" part. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  ( ph  ->  A.E! x ( ps  ->  ch )
 )   =>    |-  ( ph  ->  A. x ( ps  ->  ch )
 )
 
22-Jul-2026ralseud 17459 Introduction rule for "all some one" restricted to a class. This is the converse of ralseu1d 17462 and ralseu2d 17463 taken together. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  ( ph  ->  A. x  e.  A  ( ps  ->  ch )
 )   &    |-  ( ph  ->  E! x  e.  A  ps )   =>    |-  ( ph  ->  A.E! x  e.  A ( ps  ->  ch ) )
 
22-Jul-2026alseud 17458 Introduction rule: "all some one" holds if the "for all" part holds and the antecedent has exactly one witness. This is the converse of alseu1d 17460 and alseu2d 17461 taken together. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  ( ph  ->  A. x ( ps 
 ->  ch ) )   &    |-  ( ph  ->  E! x ps )   =>    |-  ( ph  ->  A.E! x ( ps  ->  ch ) )
 
22-Jul-2026ralseurals 17457 "All some one" restricted to a class implies "all some" restricted to that class. Restricted counterpart of alseuals 17456. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  ( A.E! x  e.  A ( ph  ->  ps )  ->  A.E. x  e.  A ( ph  ->  ps ) )
 
22-Jul-2026alseuals 17456 "All some one" implies "all some": requiring exactly one witness is stronger than requiring at least one. Any consequence of an allsome statement is therefore a consequence of the corresponding "all some one" statement, which is how alseu-no-surprise 17470 is proved. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  ( A.E! x ( ph  ->  ps )  ->  A.E. x ( ph  ->  ps ) )
 
22-Jul-2026dfralseu2 17455 The bounded "all some one" form is the general form with the class membership folded into the antecedent. This is the "all some one" counterpart of dfrals2 17421. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  ( A.E! x  e.  A ( ph  ->  ps )  <->  A.E! x ( ( x  e.  A  /\  ph )  ->  ps )
 )
 
22-Jul-2026df-ralseu 17454 Define "all some one" applied to a class, which means  ps is true whenever  ph is true for  x in  A, and exactly one  x in  A satisfies  ph. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  ( A.E! x  e.  A ( ph  ->  ps )  <->  (
 A. x  e.  A  ( ph  ->  ps )  /\  E! x  e.  A  ph ) )
 
22-Jul-2026df-alseu 17453 Define "all some one" applied to a top-level implication, which means  ps is true whenever  ph is true and exactly one  x satisfies  ph. (Contributed by David A. Wheeler, 22-Jul-2026.)
 |-  ( A.E! x ( ph  ->  ps )  <->  ( A. x ( ph  ->  ps )  /\  E! x ph )
 )
 
22-Jul-2026wralseu 17452 Extend wff definition to include "all some one" applied to a class, which means  ps is true whenever  ph is true for  x in  A, and exactly one  x in  A satisfies  ph. (Contributed by David A. Wheeler, 22-Jul-2026.)
 wff  A.E! x  e.  A ( ph  ->  ps )
 
22-Jul-2026walseu 17451 Extend wff definition to include "all some one" applied to a top-level implication, which means  ps is true whenever 
ph is true, and exactly one  x satisfies  ph. (Contributed by David A. Wheeler, 22-Jul-2026.)
 wff  A.E! x ( ph  ->  ps )
 
22-Jul-2026mptmex 5952 If a function given by maps-to notation is inhabited, then the class it is defined on is inhabited. (Contributed by Jim Kingdon, 22-Jul-2026.)
 |-  ( C  e.  ( x  e.  A  |->  B ) 
 ->  E. y  y  e.  A )
 
20-Jul-20262alsraln0idm 17450 Nested general "all some" quantifiers with class membership as their antecedents, for the same class  A:  ph holds for every  x and every  y in  A, and  A is inhabited. (Contributed by Peter Mazsa, 28-May-2019.) (Revised by David A. Wheeler, 20-Jul-2026.)
 |-  ( A.E. x ( x  e.  A  ->  A.E. y ( y  e.  A  ->  ph ) )  <-> 
 ( A. x  e.  A  A. y  e.  A  ph  /\ 
 E. x  x  e.  A ) )
 
20-Jul-20262alsraln0m 17449 Nested general "all some" quantifiers with class membership as their antecedents:  ph holds for every  x in  A and every  y in  B, and both  A and  B are inhabited. (Contributed by Peter Mazsa, 28-May-2019.) (Revised by David A. Wheeler, 20-Jul-2026.)
 |-  ( A.E. x ( x  e.  A  ->  A.E. y ( y  e.  B  ->  ph ) )  <-> 
 ( A. x  e.  A  A. y  e.  B  ph  /\  ( E. x  x  e.  A  /\  E. y  y  e.  B ) ) )
 
20-Jul-2026n0alsm 17448 If  A is inhabited, then the general "all some" quantifier with class membership as its antecedent reduces to the assertion that  ph holds for every  x in  A. (Contributed by Peter Mazsa, 19-Dec-2018.) (Revised by David A. Wheeler, 20-Jul-2026.)
 |-  ( E. x  x  e.  A  ->  ( A.E. x ( x  e.  A  ->  ph )  <->  A. x  e.  A  ph ) )
 
20-Jul-2026alsraln0m 17445 The general "all some" quantifier with class membership as its antecedent holds if and only if  ph holds for every  x in  A and  A is inhabited. This is the intuitionistic form of what set.mm states using  A  =/=  (/); see the section comment. (Contributed by Peter Mazsa, 28-Nov-2018.) (Revised by David A. Wheeler, 20-Jul-2026.)
 |-  ( A.E. x ( x  e.  A  ->  ph )  <->  (
 A. x  e.  A  ph 
 /\  E. x  x  e.  A ) )
 
20-Jul-2026alsralrex 17444 The general "all some" quantifier with class membership as its antecedent holds if and only if  ph holds for every  x in  A and some  x in  A satisfies  ph. (Contributed by Peter Mazsa, 27-Nov-2018.) (Revised by David A. Wheeler, 20-Jul-2026.)
 |-  ( A.E. x ( x  e.  A  ->  ph )  <->  (
 A. x  e.  A  ph 
 /\  E. x  e.  A  ph ) )
 
20-Jul-2026ralsanmo 17443 An "all some" statement restricted to a class, conjoined with the claim that at most one  x in  A satisfies its antecedent, is equivalent to the universal part conjoined with the claim that exactly one  x in  A satisfies the antecedent. This is the restricted counterpart of alsanmo 17442. (Contributed by Peter Mazsa and David A. Wheeler, 20-Jul-2026.)
 |-  (
 ( A.E. x  e.  A ( ph  ->  ps )  /\  E* x  e.  A  ph )  <->  ( A. x  e.  A  ( ph  ->  ps )  /\  E! x  e.  A  ph ) )
 
20-Jul-2026alsanmo 17442 An "all some" statement conjoined with the claim that at most one  x satisfies its antecedent is equivalent to the universal part conjoined with the claim that exactly one 
x satisfies the antecedent. The "all some" quantifier supplies the existence of such an  x and  E* x ph supplies the at-most-one part, so together they yield  E! x ph. (Contributed by Peter Mazsa and David A. Wheeler, 20-Jul-2026.)
 |-  (
 ( A.E. x (
 ph  ->  ps )  /\  E* x ph )  <->  ( A. x ( ph  ->  ps )  /\  E! x ph )
 )
 
20-Jul-2026rexrals 17441 If a member of  A satisfying the antecedent exists, then a restricted "all some" statement reduces to its universal part. This is the restricted counterpart of rexals 17447. (Contributed by Peter Mazsa and David A. Wheeler, 20-Jul-2026.)
 |-  ( E. x  e.  A  ph 
 ->  ( A.E. x  e.  A ( ph  ->  ps )  <->  A. x  e.  A  ( ph  ->  ps )
 ) )
 
20-Jul-2026ralrals 17440 If the universal part of a restricted "all some" statement holds, then the statement reduces to the existence of a member of  A satisfying its antecedent. This is the restricted counterpart of ralals 17446. (Contributed by Peter Mazsa and David A. Wheeler, 20-Jul-2026.)
 |-  ( A. x  e.  A  ( ph  ->  ps )  ->  ( A.E. x  e.  A ( ph  ->  ps )  <->  E. x  e.  A  ph ) )
 
20-Jul-2026als-no-surprise 17438 Demonstrate that there is never a "surprise" when using the allsome quantifier, that is, it is never possible for the consequent to be both always true and always false. This uses the definition of df-als 17419: the universal parts give  A. x -.  ph, which contradicts the witness that the allsome quantifier supplies. Ordinary "for all" with implication has no such property, since  A. x ( ph  ->  ps ) and  A. x
( ph  ->  -.  ps ) can both hold when nothing satisfies  ph. (Contributed by David A. Wheeler, 27-Oct-2018.) (Revised by David A. Wheeler, 20-Jul-2026.)
 |-  -.  ( A.E. x (
 ph  ->  ps )  /\  A.E. x ( ph  ->  -. 
 ps ) )
 
20-Jul-2026ralsmd 17429 Deduction rule: Given "all some" applied to a class, the class is inhabited. This is stronger than ralsn0d 17428, which only concludes that the class is nonempty; see n0r 3535. (Contributed by David A. Wheeler, 20-Jul-2026.)
 |-  ( ph  ->  A.E. x  e.  A ( ps  ->  ch ) )   =>    |-  ( ph  ->  E. x  x  e.  A )
 
19-Jul-2026disjdifg 3598 A class and its relative complement are disjoint. (Contributed by NM, 24-Mar-1998.) Generalize from disjdif 3599. (Revised by BJ, 19-Jul-2026.)
 |-  ( A  C_  B  ->  ( A  i^i  ( C  \  B ) )  =  (/) )
 
19-Jul-2026sseq0b 3564 The only subclass of the empty class is itself. (Contributed by NM, 7-Mar-2007.) (Proof shortened by Andrew Salmon, 26-Jun-2011.) Strengthen sseq0 3565 to a biconditional. (Revised by BJ, 19-Jul-2026.)
 |-  ( A  =  (/)  ->  ( B  C_  A  <->  B  =  (/) ) )
 
18-Jul-2026sepab 4280 Separation Scheme (Aussonderung) in terms of a class abstraction. Prefer using the more natural statement rabexg 4281. (Contributed by NM, 8-Jun-1994.) Put in closed form. (Revised by BJ, 18-Jul-2026.)
 |-  ( A  e.  V  ->  { x  |  ( x  e.  A  /\  ph ) }  e.  _V )
 
18-Jul-2026inssdif0im 3592 Intersection, subclass, and difference relationship. The converse holds in classical logic but not in intuitionistic logic. (Contributed by Jim Kingdon, 3-Aug-2018.) (Proof shortened by BJ, 18-Jul-2026.)
 |-  ( ( A  i^i  B )  C_  C  ->  ( A  i^i  ( B 
 \  C ) )  =  (/) )
 
15-Jul-2026rexals 17447 If some  x in  A satisfies  ph, then the general "all some" quantifier with class membership as its antecedent reduces to the assertion that  ph holds for every  x in  A. See rexrals 17441 for the restricted counterpart. (Contributed by Peter Mazsa, 19-Dec-2018.) (Revised by David A. Wheeler, 15-Jul-2026.)
 |-  ( E. x  e.  A  ph 
 ->  ( A.E. x ( x  e.  A  -> 
 ph )  <->  A. x  e.  A  ph ) )
 
15-Jul-2026ralals 17446 If  ph holds for every  x in  A, then the general "all some" quantifier with class membership as its antecedent reduces to the assertion that some  x in  A satisfies  ph. See ralrals 17440 for the restricted counterpart. (Contributed by Peter Mazsa, 19-Dec-2018.) (Revised by David A. Wheeler, 15-Jul-2026.)
 |-  ( A. x  e.  A  ph 
 ->  ( A.E. x ( x  e.  A  -> 
 ph )  <->  E. x  e.  A  ph ) )
 
14-Jul-2026uniex2 4583 The Axiom of Union using the standard abbreviation for union. Given any set  x, its union  y exists. (Contributed by NM, 4-Jun-2006.) (Proof shortened by BJ, 14-Jul-2026.)
 |- 
 E. y  y  = 
 U. x
 
14-Jul-2026sepgi 4254 Inference associated with sepg 4253. (Contributed by NM, 21-Jun-1993.) (Revised by BJ, 14-Jul-2026.)
 |-  A  e.  _V   =>    |-  E. y A. x ( x  e.  y  <->  ( x  e.  A  /\  ph )
 )
 
13-Jul-2026f1setfi 7328 The set of injections between two finite sets is finite. (Contributed by Jim Kingdon, 13-Jul-2026.)
 |-  ( ( A  e.  Fin  /\  B  e.  Fin )  ->  { f  |  f : A -1-1-> B }  e.  Fin )
 
13-Jul-2026fdcf1 7327 It is decidable whether a function from a finite set into another finite set is one-to-one. (Contributed by Jim Kingdon, 13-Jul-2026.)
 |-  ( ( A  e.  Fin  /\  B  e.  Fin  /\  F : A --> B ) 
 -> DECID  F : A -1-1-> B )
 
12-Jul-2026rals-no-surprise 17439 Demonstrate that there is never a "surprise" when using the allsome quantifier restricted to a class, that is, it is never possible for the consequent to be both always true and always false of the members of  A that satisfy the antecedent. This is the restricted counterpart of als-no-surprise 17438, and follows from it by dfrals2 17421. Note that this holds without any assumption that  A is inhabited; that is the point of allsome, since the corresponding claim for the ordinary restricted "for all" fails when nothing in  A satisfies 
ph. (Contributed by David A. Wheeler, 12-Jul-2026.)
 |-  -.  ( A.E. x  e.  A ( ph  ->  ps )  /\  A.E. x  e.  A ( ph  ->  -.  ps )
 )
 
12-Jul-2026cbvals 17437 Rule used to change bound variables, using implicit substitution. (Contributed by David A. Wheeler, 12-Jul-2026.)
 |-  ( x  =  y  ->  (
 ph 
 <->  ch ) )   &    |-  ( x  =  y  ->  ( ps  <->  th ) )   =>    |-  ( A.E. x ( ph  ->  ps )  <->  A.E. y ( ch  ->  th )
 )
 
12-Jul-2026nfrals 17436 Bound-variable hypothesis builder for "all some" restricted to a class. (Contributed by David A. Wheeler, 12-Jul-2026.)
 |-  F/_ x A   &    |- 
 F/ x ph   &    |-  F/ x ps   =>    |-  F/ x A.E. y  e.  A ( ph  ->  ps )
 
12-Jul-2026nfals 17435 Bound-variable hypothesis builder for "all some". (Contributed by David A. Wheeler, 12-Jul-2026.)
 |-  F/ x ph   &    |-  F/ x ps   =>    |-  F/ x A.E. y (
 ph  ->  ps )
 
12-Jul-2026alsbid 17434 Deduction form of alsbii 17432. (Contributed by David A. Wheeler, 12-Jul-2026.)
 |-  F/ x ph   &    |-  ( ph  ->  ( ps  <->  th ) )   &    |-  ( ph  ->  ( ch  <->  ta ) )   =>    |-  ( ph  ->  (
 A.E. x ( ps 
 ->  ch )  <->  A.E. x ( th  ->  ta )
 ) )
 
12-Jul-2026ralsbii 17433 Congruence for "all some" restricted to a class. (Contributed by David A. Wheeler, 12-Jul-2026.)
 |-  ( ph 
 <->  ch )   &    |-  ( ps  <->  th )   =>    |-  ( A.E. x  e.  A ( ph  ->  ps )  <->  A.E. x  e.  A ( ch  ->  th ) )
 
12-Jul-2026alsbii 17432 Congruence: equivalents may be substituted inside an "all some". (Contributed by David A. Wheeler, 12-Jul-2026.)
 |-  ( ph 
 <->  ch )   &    |-  ( ps  <->  th )   =>    |-  ( A.E. x ( ph  ->  ps )  <->  A.E. x ( ch  ->  th ) )
 
12-Jul-2026ralsex 17431 The consequent of an "all some" restricted to a class is witnessed: some member of  A satisfying  ph also satisfies  ps. Restricted counterpart of alsex 17430. (Contributed by David A. Wheeler, 12-Jul-2026.)
 |-  ( A.E. x  e.  A ( ph  ->  ps )  ->  E. x  e.  A  ps )
 
12-Jul-2026alsex 17430 The consequent of an "all some" is witnessed: if  ps holds of every  x satisfying  ph, and some  x satisfies  ph, then some  x satisfies  ps. This is the positive counterpart of als-no-surprise 17438, and it is the property that ordinary "for all" with implication lacks: from  A. x ( ph  ->  ps ) alone nothing whatever follows about  ps, since nothing need satisfy  ph. It is the allsome quantifier says what a speaker of "all Martians are green" usually means. (Contributed by David A. Wheeler, 12-Jul-2026.)
 |-  ( A.E. x ( ph  ->  ps )  ->  E. x ps )
 
12-Jul-2026ralsn0d 17428 Deduction rule: Given "all some" applied to a class, the class is not the empty set. (Contributed by David A. Wheeler, 23-Oct-2018.) (Revised by David A. Wheeler, 12-Jul-2026.)
 |-  ( ph  ->  A.E. x  e.  A ( ps  ->  ch ) )   =>    |-  ( ph  ->  A  =/= 
 (/) )
 
12-Jul-2026rals2d 17427 Deduction rule: Given "all some" applied to a class, you can extract the "there exists" part. Note that the witness must satisfy the antecedent  ps, not merely be a member of  A. (Contributed by David A. Wheeler, 20-Oct-2018.) (Revised by David A. Wheeler, 12-Jul-2026.)
 |-  ( ph  ->  A.E. x  e.  A ( ps  ->  ch ) )   =>    |-  ( ph  ->  E. x  e.  A  ps )
 
12-Jul-2026rals1d 17426 Deduction rule: Given "all some" applied to a class, you can extract the "for all" part. (Contributed by David A. Wheeler, 20-Oct-2018.) (Revised by David A. Wheeler, 12-Jul-2026.)
 |-  ( ph  ->  A.E. x  e.  A ( ps  ->  ch ) )   =>    |-  ( ph  ->  A. x  e.  A  ( ps  ->  ch ) )
 
12-Jul-2026ralsd 17423 Introduction rule for "all some" restricted to a class. This is the converse of rals1d 17426 and rals2d 17427 taken together. (Contributed by David A. Wheeler, 12-Jul-2026.)
 |-  ( ph  ->  A. x  e.  A  ( ps  ->  ch )
 )   &    |-  ( ph  ->  E. x  e.  A  ps )   =>    |-  ( ph  ->  A.E. x  e.  A ( ps  ->  ch )
 )
 
12-Jul-2026alsd 17422 Introduction rule: "all some" holds if the "for all" part holds and the antecedent has a witness. This is the converse of als1d 17424 and als2d 17425 taken together, and is what lets an "all some" statement be proved rather than merely taken apart. (Contributed by David A. Wheeler, 12-Jul-2026.)
 |-  ( ph  ->  A. x ( ps 
 ->  ch ) )   &    |-  ( ph  ->  E. x ps )   =>    |-  ( ph  ->  A.E. x ( ps  ->  ch )
 )
 
12-Jul-2026dfrals2 17421 The bounded "all some" form is the general form with the class membership folded into the antecedent. (Contributed by David A. Wheeler, 22-Oct-2018.) (Revised by David A. Wheeler, 12-Jul-2026.)
 |-  ( A.E. x  e.  A ( ph  ->  ps )  <->  A.E. x ( ( x  e.  A  /\  ph )  ->  ps ) )
 
12-Jul-2026df-rals 17420 Define "all some" applied to a class, which means  ps is true whenever  ph is true for  x in  A, and there is at least one  x in  A where  ph is true.

An older definition of the "all some" quantifier when scoped to a class, named df-alsc and now removed, instead applied a bare formula  ph to the members of a class, asserting only  ( A. x  e.  A ph  /\  E. x x  e.  A
), that is, that the formula held throughout  A and that  A had at least one member. I've now decided that that was a mistake. Its older existence conjunct  E. x x  e.  A did not require any member of  A to satisfy the antecedent, so if the formula was itself an implication, that inner implication could still be vacuously true, which is precisely what the allsome quantifier exists to prevent. For example, the older definition meant that "among Martians, all tall ones are green" could be considered true if there are Martians, but no tall Martians. This version of the definition instead ensures that claims of the form "among Martians, all tall ones are green" can only be true if all tall Martians are green and that there is at least one tall Martian. (Contributed by David A. Wheeler, 20-Oct-2018.) (Revised by David A. Wheeler, 12-Jul-2026.)

 |-  ( A.E. x  e.  A ( ph  ->  ps )  <->  (
 A. x  e.  A  ( ph  ->  ps )  /\  E. x  e.  A  ph ) )
 
12-Jul-2026wrals 17418 Extend wff definition to include "all some" applied to a class, which means  ps is true whenever  ph is true for  x in  A, and there is at least one  x in  A where  ph is true. (Contributed by David A. Wheeler, 20-Oct-2018.) (Revised by David A. Wheeler, 12-Jul-2026.)
 wff  A.E. x  e.  A ( ph  ->  ps )
 
12-Jul-2026wals 17417 Extend wff definition to include "all some" applied to a top-level implication, which means  ps is true whenever 
ph is true, and there is at least one  x where  ph is true. (Contributed by David A. Wheeler, 20-Oct-2018.) (Revised by David A. Wheeler, 12-Jul-2026.)
 wff  A.E. x ( ph  ->  ps )
 
12-Jul-2026vvin 3569 Two classes are both the universal class if and only if their intersection is the universal class. Dual of un00 3567. (Contributed by BJ, 12-Jul-2026.)
 |-  ( ( A  =  _V  /\  B  =  _V ) 
 <->  ( A  i^i  B )  =  _V )
 
7-Jul-2026cmnsubm 14207 A submonoid of a commutative monoid is commutative. (Contributed by Jim Kingdon, 7-Jul-2026.)
 |-  ( ph  ->  S  e.  (SubMnd `  G )
 )   &    |-  ( ph  ->  G  e. CMnd )   &    |-  H  =  ( G ↾s  S )   =>    |-  ( ph  ->  H  e. CMnd )
 
29-Jun-2026dichmul0or 17049 Real number dichotomy is equivalent to the zero product principle for complex numbers: if a product is zero, one of its factors must be zero. (Contributed by Matthew House, 29-Jun-2026.)
 |-  ( A. x  e.  RR  A. y  e.  RR  ( x  <_  y  \/  y  <_  x )  <->  A. z  e.  CC  A. w  e.  CC  (
 ( z  x.  w )  =  0  ->  ( z  =  0  \/  w  =  0 ) ) )
 
29-Jun-2026dichmul0orlem5 17046 Lemma for dichmul0or 17049. (Contributed by Matthew House, 29-Jun-2026.)
 |-  ( ph  ->  A  e.  RR )   &    |-  ( ph  ->  (
 ( abs `  A )  +  A )  =  0 )   =>    |-  ( ph  ->  A  <_  0 )
 
29-Jun-2026dichmul0orlem4 17045 Lemma for dichmul0or 17049. (Contributed by Matthew House, 29-Jun-2026.)
 |-  ( ph  ->  A  e.  RR )   =>    |-  ( ph  ->  (
 ( ( abs `  A )  +  A )  x.  ( ( abs `  A )  -  A ) )  =  0 )
 
29-Jun-2026dichmul0orlem3 17044 Lemma for dichmul0or 17049. (Contributed by Matthew House, 29-Jun-2026.)
 |-  ( ph  ->  A. x  e.  RR  A. y  e.  RR  ( x  <_  y  \/  y  <_  x ) )   &    |-  ( ph  ->  A  e.  CC )   &    |-  ( ph  ->  B  e.  CC )   &    |-  ( ph  ->  ( A  x.  B )  =  0 )   =>    |-  ( ph  ->  ( A  =  0  \/  B  =  0 ) )
 
29-Jun-2026dichmul0orlem2 17043 Lemma for dichmul0or 17049. (Contributed by Matthew House, 29-Jun-2026.)
 |-  ( ph  ->  A  e.  CC )   &    |-  ( ph  ->  B  e.  CC )   &    |-  ( ph  ->  ( A  x.  B )  =  0 )   &    |-  ( ph  ->  ( abs `  A )  <_  ( abs `  B ) )   =>    |-  ( ph  ->  A  =  0 )
 
29-Jun-2026dichmul0orlem1 17042 Lemma for dichmul0or 17049. (Contributed by Matthew House, 29-Jun-2026.)
 |-  ( ph  ->  A  e.  RR )   &    |-  ( ph  ->  B  e.  RR )   &    |-  ( ph  ->  ( A  x.  B )  =  0 )   &    |-  ( ph  ->  0  <_  A )   &    |-  ( ph  ->  A  <_  B )   =>    |-  ( ph  ->  A  =  0 )
 
29-Jun-2026lealltlt2 17041 Alternative definition for  <_ on real numbers. (Contributed by Matthew House, 29-Jun-2026.)
 |-  (
 ( A  e.  RR  /\  B  e.  RR )  ->  ( A  <_  B  <->  A. x  e.  RR  ( B  <  x  ->  A  <  x ) ) )
 
29-Jun-2026lealltlt1 17040 Alternative definition for  <_ on real numbers. (Contributed by Matthew House, 29-Jun-2026.)
 |-  (
 ( A  e.  RR  /\  B  e.  RR )  ->  ( A  <_  B  <->  A. x  e.  RR  ( x  <  A  ->  x  <  B ) ) )
 
28-Jun-2026dichmul0orlem7 17048 Lemma for dichmul0or 17049. (Contributed by Matthew House, 28-Jun-2026.)
 |-  ( ph  ->  A. x  e.  CC  A. y  e.  CC  (
 ( x  x.  y
 )  =  0  ->  ( x  =  0  \/  y  =  0
 ) ) )   &    |-  ( ph  ->  A  e.  RR )   =>    |-  ( ph  ->  ( A  <_  0  \/  0  <_  A ) )
 
28-Jun-2026dichmul0orlem6 17047 Lemma for dichmul0or 17049. (Contributed by Matthew House, 28-Jun-2026.)
 |-  ( ph  ->  A  e.  RR )   &    |-  ( ph  ->  (
 ( abs `  A )  -  A )  =  0 )   =>    |-  ( ph  ->  0  <_  A )
 
28-Jun-2026msq0 9011 A number is zero iff its square is zero. (Contributed by Matthew House, 28-Jun-2026.)
 |-  ( A  e.  CC  ->  ( ( A  x.  A )  =  0  <->  A  =  0 ) )
 
28-Jun-2026msqap0 9010 A number is apart from zero iff its square is apart from zero. (Contributed by Matthew House, 28-Jun-2026.)
 |-  ( A  e.  CC  ->  ( ( A  x.  A ) #  0  <->  A #  0 )
 )
 
28-Jun-2026letrid 8455 Tightness of real apartness. (Contributed by Matthew House, 28-Jun-2026.)
 |-  ( ph  ->  A  e.  RR )   &    |-  ( ph  ->  B  e.  RR )   &    |-  ( ph  ->  A  <_  B )   &    |-  ( ph  ->  B  <_  A )   =>    |-  ( ph  ->  A  =  B )
 
19-Jun-2026ringen1zr0 14738 The only unital ring with one element is the zero ring (at least if its operations are internal binary operations). This holds already for nonunital rings, see rngen1zr0 14374, and semirings, see srgen1zr0 14405. (Contributed by FL, 15-Feb-2010.) (Revised by AV, 25-Jan-2020.) (Proof shortened by AV, 19-Jun-2026.)
 |-  B  =  ( Base `  R )   &    |-  .+  =  ( +g  `  R )   &    |-  .*  =  ( .r `  R )   &    |-  Z  =  ( 0g
 `  R )   =>    |-  ( ( R  e.  Ring  /\  .+  Fn  ( B  X.  B ) 
 /\  .*  Fn  ( B  X.  B ) ) 
 ->  ( B  ~~  1o  <->  (  .+  =  { <. <. Z ,  Z >. ,  Z >. } 
 /\  .*  =  { <.
 <. Z ,  Z >. ,  Z >. } ) ) )
 
19-Jun-2026srg1zr 14404 The only semiring with a base set consisting of one element is the zero ring (at least if its operations are internal binary operations). (Contributed by FL, 13-Feb-2010.) (Revised by AV, 25-Jan-2020.) (Proof shortened by AV, 19-Jun-2026.)
 |-  B  =  ( Base `  R )   &    |-  .+  =  ( +g  `  R )   &    |-  .*  =  ( .r `  R )   =>    |-  ( ( ( R  e. SRing  /\  .+  Fn  ( B  X.  B )  /\  .* 
 Fn  ( B  X.  B ) )  /\  Z  e.  B )  ->  ( B  =  { Z }  <->  (  .+  =  { <.
 <. Z ,  Z >. ,  Z >. }  /\  .*  =  { <. <. Z ,  Z >. ,  Z >. } )
 ) )
 
18-Jun-2026rngen1zr0 14374 The only ring with one element is the zero ring (at least if its operations are internal binary operations). (Contributed by FL, 15-Feb-2010.) (Revised by AV, 18-Jun-2026.)
 |-  B  =  ( Base `  R )   &    |-  .+  =  ( +g  `  R )   &    |-  .*  =  ( .r `  R )   &    |- 
 .0.  =  ( 0g `  R )   =>    |-  ( ( R  e. Rng  /\ 
 .+  Fn  ( B  X.  B )  /\  .*  Fn  ( B  X.  B ) )  ->  ( B 
 ~~  1o  <->  (  .+  =  { <.
 <.  .0.  ,  .0.  >. ,  .0.  >. }  /\  .*  =  { <. <.  .0.  ,  .0.  >. ,  .0.  >. } ) ) )
 
18-Jun-2026rngen1zr 14373 The only ring with one element is the zero ring (at least if its operations are internal binary operations). (Contributed by FL, 14-Feb-2010.) (Revised by AV, 18-Jun-2026.)
 |-  B  =  ( Base `  R )   &    |-  .+  =  ( +g  `  R )   &    |-  .*  =  ( .r `  R )   =>    |-  ( ( ( R  e. Rng  /\  .+  Fn  ( B  X.  B )  /\  .* 
 Fn  ( B  X.  B ) )  /\  Z  e.  B )  ->  ( B  ~~  1o  <->  (  .+  =  { <. <. Z ,  Z >. ,  Z >. } 
 /\  .*  =  { <.
 <. Z ,  Z >. ,  Z >. } ) ) )
 
18-Jun-2026rng1zr 14372 The only ring with a base set consisting of one element is the zero ring (at least if its operations are internal binary operations). (Contributed by FL, 13-Feb-2010.) (Revised by AV, 18-Jun-2026.)
 |-  B  =  ( Base `  R )   &    |-  .+  =  ( +g  `  R )   &    |-  .*  =  ( .r `  R )   =>    |-  ( ( ( R  e. Rng  /\  .+  Fn  ( B  X.  B )  /\  .* 
 Fn  ( B  X.  B ) )  /\  Z  e.  B )  ->  ( B  =  { Z }  <->  (  .+  =  { <.
 <. Z ,  Z >. ,  Z >. }  /\  .*  =  { <. <. Z ,  Z >. ,  Z >. } )
 ) )
 
18-Jun-2026rng1zrlem 14371 Lemma for rng1zr 14372 and srg1zr 14404. (Contributed by FL, 13-Feb-2010.) (Revised by AV, 18-Jun-2026.)
 |-  B  =  ( Base `  R )   &    |-  .+  =  ( +g  `  R )   &    |-  .*  =  ( .r `  R )   =>    |-  ( ( ( R  e. Mgm  /\  (mulGrp `  R )  e. Mgm )  /\  (  .+  Fn  ( B  X.  B )  /\  .*  Fn  ( B  X.  B ) )  /\  Z  e.  B )  ->  ( B  =  { Z }  <->  ( 
 .+  =  { <. <. Z ,  Z >. ,  Z >. }  /\  .*  =  { <. <. Z ,  Z >. ,  Z >. } )
 ) )
 
17-Jun-2026ballotfi 13345 Bertrand's ballot problem : the probability that A is ahead throughout the counting. The proof formalized here is a proof "by reflection", as opposed to other known proofs "by induction" or "by permutation". This is Metamath 100 proof #30. (Contributed by Thierry Arnoux, 7-Dec-2016.) (Revised by Jim Kingdon, 17-Jun-2026.)
 |-  M  e.  NN   &    |-  N  e.  NN   &    |-  O  =  {
 c  e.  ( ~P ( 1 ... ( M  +  N )
 )  i^i  Fin )  |  (♯ `  c )  =  M }   &    |-  P  =  ( x  e.  ( ~P O  i^i  Fin )  |->  ( (♯ `  x )  /  (♯ `  O ) ) )   &    |-  F  =  ( c  e.  O  |->  ( i  e.  ZZ  |->  ( (♯ `  ( (
 1 ... i )  i^i  c ) )  -  (♯ `  ( ( 1
 ... i )  \  c ) ) ) ) )   &    |-  E  =  {
 c  e.  O  |  A. i  e.  (
 1 ... ( M  +  N ) ) 0  <  ( ( F `
  c ) `  i ) }   &    |-  N  <  M   =>    |-  ( P `  E )  =  ( ( M  -  N )  /  ( M  +  N ) )
 
17-Jun-2026ballotfilembfi 13302 The set of countings where B got the first vote is finite. (Contributed by Jim Kingdon, 17-Jun-2026.)
 |-  M  e.  NN   &    |-  N  e.  NN   &    |-  O  =  {
 c  e.  ( ~P ( 1 ... ( M  +  N )
 )  i^i  Fin )  |  (♯ `  c )  =  M }   &    |-  P  =  ( x  e.  ( ~P O  i^i  Fin )  |->  ( (♯ `  x )  /  (♯ `  O ) ) )   &    |-  F  =  ( c  e.  O  |->  ( i  e.  ZZ  |->  ( (♯ `  ( (
 1 ... i )  i^i  c ) )  -  (♯ `  ( ( 1
 ... i )  \  c ) ) ) ) )   &    |-  E  =  {
 c  e.  O  |  A. i  e.  (
 1 ... ( M  +  N ) ) 0  <  ( ( F `
  c ) `  i ) }   =>    |-  { c  e.  ( O  \  E )  |  -.  1  e.  c }  e.  Fin
 
17-Jun-2026ballotfilemafi 13301 The set of countings where A got the first vote, but does not stay strictly ahead throughout, is finite. (Contributed by Jim Kingdon, 17-Jun-2026.)
 |-  M  e.  NN   &    |-  N  e.  NN   &    |-  O  =  {
 c  e.  ( ~P ( 1 ... ( M  +  N )
 )  i^i  Fin )  |  (♯ `  c )  =  M }   &    |-  P  =  ( x  e.  ( ~P O  i^i  Fin )  |->  ( (♯ `  x )  /  (♯ `  O ) ) )   &    |-  F  =  ( c  e.  O  |->  ( i  e.  ZZ  |->  ( (♯ `  ( (
 1 ... i )  i^i  c ) )  -  (♯ `  ( ( 1
 ... i )  \  c ) ) ) ) )   &    |-  E  =  {
 c  e.  O  |  A. i  e.  (
 1 ... ( M  +  N ) ) 0  <  ( ( F `
  c ) `  i ) }   =>    |-  { c  e.  ( O  \  E )  |  1  e.  c }  e.  Fin
 
17-Jun-2026ballotfilemefi 13300  E is finite. (Contributed by Jim Kingdon, 17-Jun-2026.)
 |-  M  e.  NN   &    |-  N  e.  NN   &    |-  O  =  {
 c  e.  ( ~P ( 1 ... ( M  +  N )
 )  i^i  Fin )  |  (♯ `  c )  =  M }   &    |-  P  =  ( x  e.  ( ~P O  i^i  Fin )  |->  ( (♯ `  x )  /  (♯ `  O ) ) )   &    |-  F  =  ( c  e.  O  |->  ( i  e.  ZZ  |->  ( (♯ `  ( (
 1 ... i )  i^i  c ) )  -  (♯ `  ( ( 1
 ... i )  \  c ) ) ) ) )   &    |-  E  =  {
 c  e.  O  |  A. i  e.  (
 1 ... ( M  +  N ) ) 0  <  ( ( F `
  c ) `  i ) }   =>    |-  E  e.  Fin
 
17-Jun-2026rabxmdc 3554 Law of excluded middle given decidability, in terms of restricted class abstractions. (Contributed by Jeff Madsen, 20-Jun-2011.) (Revised by Jim Kingdon, 17-Jun-2026.)
 |-  ( A. x  e.  A DECID  ph  ->  A  =  ( { x  e.  A  |  ph }  u.  { x  e.  A  |  -.  ph } ) )
 
15-Jun-2026ballotfilemgun 13331 A property of the defined  .^ operator. (Contributed by Thierry Arnoux, 26-Apr-2017.) (Revised by Jim Kingdon, 15-Jun-2026.)
 |-  M  e.  NN   &    |-  N  e.  NN   &    |-  O  =  {
 c  e.  ( ~P ( 1 ... ( M  +  N )
 )  i^i  Fin )  |  (♯ `  c )  =  M }   &    |-  P  =  ( x  e.  ( ~P O  i^i  Fin )  |->  ( (♯ `  x )  /  (♯ `  O ) ) )   &    |-  F  =  ( c  e.  O  |->  ( i  e.  ZZ  |->  ( (♯ `  ( (
 1 ... i )  i^i  c ) )  -  (♯ `  ( ( 1
 ... i )  \  c ) ) ) ) )   &    |-  E  =  {
 c  e.  O  |  A. i  e.  (
 1 ... ( M  +  N ) ) 0  <  ( ( F `
  c ) `  i ) }   &    |-  N  <  M   &    |-  I  =  ( c  e.  ( O 
 \  E )  |-> inf ( { k  e.  (
 1 ... ( M  +  N ) )  |  ( ( F `  c ) `  k
 )  =  0 } ,  RR ,  <  ) )   &    |-  S  =  ( c  e.  ( O 
 \  E )  |->  ( i  e.  ( 1
 ... ( M  +  N ) )  |->  if ( i  <_  ( I `  c ) ,  ( ( ( I `
  c )  +  1 )  -  i
 ) ,  i ) ) )   &    |-  R  =  ( c  e.  ( O 
 \  E )  |->  ( ( S `  c
 ) " c ) )   &    |-  .^  =  ( u  e.  O ,  v  e. 
 Fin  |->  ( (♯ `  (
 v  i^i  u )
 )  -  (♯ `  (
 v  \  u )
 ) ) )   &    |-  ( ph  ->  U  e.  O )   &    |-  ( ph  ->  L  e.  ( J ... K ) )   =>    |-  ( ph  ->  ( U  .^  ( J ... K ) )  =  ( ( U  .^  ( J ... ( L  -  1 ) ) )  +  ( U  .^  ( L ... K ) ) ) )
 
15-Jun-2026ballotfilemgval 13330 Expand the value of  .^. (Contributed by Thierry Arnoux, 21-Apr-2017.) (Revised by Jim Kingdon, 15-Jun-2026.)
 |-  M  e.  NN   &    |-  N  e.  NN   &    |-  O  =  {
 c  e.  ( ~P ( 1 ... ( M  +  N )
 )  i^i  Fin )  |  (♯ `  c )  =  M }   &    |-  P  =  ( x  e.  ( ~P O  i^i  Fin )  |->  ( (♯ `  x )  /  (♯ `  O ) ) )   &    |-  F  =  ( c  e.  O  |->  ( i  e.  ZZ  |->  ( (♯ `  ( (
 1 ... i )  i^i  c ) )  -  (♯ `  ( ( 1
 ... i )  \  c ) ) ) ) )   &    |-  E  =  {
 c  e.  O  |  A. i  e.  (
 1 ... ( M  +  N ) ) 0  <  ( ( F `
  c ) `  i ) }   &    |-  N  <  M   &    |-  I  =  ( c  e.  ( O 
 \  E )  |-> inf ( { k  e.  (
 1 ... ( M  +  N ) )  |  ( ( F `  c ) `  k
 )  =  0 } ,  RR ,  <  ) )   &    |-  S  =  ( c  e.  ( O 
 \  E )  |->  ( i  e.  ( 1
 ... ( M  +  N ) )  |->  if ( i  <_  ( I `  c ) ,  ( ( ( I `
  c )  +  1 )  -  i
 ) ,  i ) ) )   &    |-  R  =  ( c  e.  ( O 
 \  E )  |->  ( ( S `  c
 ) " c ) )   &    |-  .^  =  ( u  e.  O ,  v  e. 
 Fin  |->  ( (♯ `  (
 v  i^i  u )
 )  -  (♯ `  (
 v  \  u )
 ) ) )   &    |-  ( ph  ->  U  e.  O )   &    |-  ( ph  ->  J  e.  ZZ )   &    |-  ( ph  ->  K  e.  ZZ )   &    |-  ( ph  ->  V  =  ( J ... K ) )   =>    |-  ( ph  ->  ( U  .^  V )  =  ( (♯ `  ( V  i^i  U ) )  -  (♯ `  ( V  \  U ) ) ) )
 
15-Jun-2026ballotfilemdifcfz 13290 Lemma for ballotfi . The portion of a counting representing votes for B within a specified integer range is finite. (Contributed by Jim Kingdon, 15-Jun-2026.)
 |-  M  e.  NN   &    |-  N  e.  NN   &    |-  O  =  {
 c  e.  ( ~P ( 1 ... ( M  +  N )
 )  i^i  Fin )  |  (♯ `  c )  =  M }   &    |-  ( ph  ->  C  e.  O )   &    |-  ( ph  ->  J  e.  ZZ )   &    |-  ( ph  ->  K  e.  ZZ )   =>    |-  ( ph  ->  (
 ( J ... K )  \  C )  e. 
 Fin )
 
15-Jun-2026ballotfilemcinfz 13289 Lemma for ballotfi . The portion of a counting representing votes for A within a specified integer range is finite. (Contributed by Jim Kingdon, 15-Jun-2026.)
 |-  M  e.  NN   &    |-  N  e.  NN   &    |-  O  =  {
 c  e.  ( ~P ( 1 ... ( M  +  N )
 )  i^i  Fin )  |  (♯ `  c )  =  M }   &    |-  ( ph  ->  C  e.  O )   &    |-  ( ph  ->  J  e.  ZZ )   &    |-  ( ph  ->  K  e.  ZZ )   =>    |-  ( ph  ->  (
 ( J ... K )  i^i  C )  e. 
 Fin )
 
12-Jun-2026ballotfilemsle 13311 The infimum of the set of zeroes of 
F is a lower bound. (Contributed by Jim Kingdon, 12-Jun-2026.)
 |-  M  e.  NN   &    |-  N  e.  NN   &    |-  O  =  {
 c  e.  ( ~P ( 1 ... ( M  +  N )
 )  i^i  Fin )  |  (♯ `  c )  =  M }   &    |-  P  =  ( x  e.  ( ~P O  i^i  Fin )  |->  ( (♯ `  x )  /  (♯ `  O ) ) )   &    |-  F  =  ( c  e.  O  |->  ( i  e.  ZZ  |->  ( (♯ `  ( (
 1 ... i )  i^i  c ) )  -  (♯ `  ( ( 1
 ... i )  \  c ) ) ) ) )   &    |-  E  =  {
 c  e.  O  |  A. i  e.  (
 1 ... ( M  +  N ) ) 0  <  ( ( F `
  c ) `  i ) }   &    |-  N  <  M   &    |-  I  =  ( c  e.  ( O 
 \  E )  |-> inf ( { k  e.  (
 1 ... ( M  +  N ) )  |  ( ( F `  c ) `  k
 )  =  0 } ,  RR ,  <  ) )   &    |-  S  =  {
 k  e.  ( 1
 ... ( M  +  N ) )  |  ( ( F `  C ) `  k
 )  =  0 }   =>    |-  ( ( C  e.  ( O  \  E ) 
 /\  X  e.  S )  -> inf ( S ,  RR ,  <  )  <_  X )
 
12-Jun-2026ballotfilemscl 13310 The set of zeroes of  F has an infimum. (Contributed by Jim Kingdon, 12-Jun-2026.)
 |-  M  e.  NN   &    |-  N  e.  NN   &    |-  O  =  {
 c  e.  ( ~P ( 1 ... ( M  +  N )
 )  i^i  Fin )  |  (♯ `  c )  =  M }   &    |-  P  =  ( x  e.  ( ~P O  i^i  Fin )  |->  ( (♯ `  x )  /  (♯ `  O ) ) )   &    |-  F  =  ( c  e.  O  |->  ( i  e.  ZZ  |->  ( (♯ `  ( (
 1 ... i )  i^i  c ) )  -  (♯ `  ( ( 1
 ... i )  \  c ) ) ) ) )   &    |-  E  =  {
 c  e.  O  |  A. i  e.  (
 1 ... ( M  +  N ) ) 0  <  ( ( F `
  c ) `  i ) }   &    |-  N  <  M   &    |-  I  =  ( c  e.  ( O 
 \  E )  |-> inf ( { k  e.  (
 1 ... ( M  +  N ) )  |  ( ( F `  c ) `  k
 )  =  0 } ,  RR ,  <  ) )   &    |-  S  =  {
 k  e.  ( 1
 ... ( M  +  N ) )  |  ( ( F `  C ) `  k
 )  =  0 }   =>    |-  ( C  e.  ( O  \  E )  -> inf ( S ,  RR ,  <  )  e.  S )
 
12-Jun-2026infssfzledc 10692 The infimum of a decidable inhabited subset of an integer range is a lower bound for that set. (Contributed by Jim Kingdon, 12-Jun-2026.)
 |-  S  =  { n  e.  ( M ... N )  |  ps }   &    |-  ( ph  ->  A  e.  S )   &    |-  ( ( ph  /\  n  e.  ( M ... A ) )  -> DECID  ps )   =>    |-  ( ph  -> inf ( S ,  RR ,  <  ) 
 <_  A )
 
12-Jun-2026infssfzcldc 10691 The infimum of a decidable inhabited subset of an integer range is a member of the set. (Contributed by Jim Kingdon, 12-Jun-2026.)
 |-  S  =  { n  e.  ( M ... N )  |  ps }   &    |-  ( ph  ->  A  e.  S )   &    |-  ( ( ph  /\  n  e.  ( M ... A ) )  -> DECID  ps )   =>    |-  ( ph  -> inf ( S ,  RR ,  <  )  e.  S )
 
10-Jun-202610nprm 13262 10 is not a prime number. (Contributed by Mario Carneiro, 18-Feb-2014.) (Revised by AV, 6-Sep-2021.) (Proof shortened by Umit Teoman Dogan, 10-Jun-2026.)
 |- 
 -. ; 1 0  e.  Prime
 
10-Jun-202611nn 9817 11 is a positive integer. (Contributed by Umit Teoman Dogan, 10-Jun-2026.)
 |- ; 1
 1  e.  NN
 
10-Jun-202625nn0 9811 25 is a nonnegative integer. (Contributed by Umit Teoman Dogan, 10-Jun-2026.)
 |- ; 2
 5  e.  NN0
 
10-Jun-202616nn0 9810 16 is a nonnegative integer. (Contributed by Umit Teoman Dogan, 10-Jun-2026.)
 |- ; 1
 6  e.  NN0
 
10-Jun-202612nn0 9809 12 is a nonnegative integer. (Contributed by Umit Teoman Dogan, 10-Jun-2026.)
 |- ; 1
 2  e.  NN0
 
10-Jun-202611nn0 9808 11 is a nonnegative integer. (Contributed by Umit Teoman Dogan, 10-Jun-2026.)
 |- ; 1
 1  e.  NN0
 
10-Jun-20262t4e8 9480 2 times 4 equals 8. (Contributed by Umit Teoman Dogan, 10-Jun-2026.)
 |-  ( 2  x.  4
 )  =  8
 
10-Jun-20262t3e6 9477 2 times 3 equals 6. (Contributed by Umit Teoman Dogan, 10-Jun-2026.)
 |-  ( 2  x.  3
 )  =  6
 
8-Jun-2026ballotfilemdifcfi 13288 Lemma for ballotfi . The portion of a counting representing votes for B up to a specified integer is finite. (Contributed by Jim Kingdon, 8-Jun-2026.)
 |-  M  e.  NN   &    |-  N  e.  NN   &    |-  O  =  {
 c  e.  ( ~P ( 1 ... ( M  +  N )
 )  i^i  Fin )  |  (♯ `  c )  =  M }   &    |-  ( ph  ->  C  e.  O )   &    |-  ( ph  ->  J  e.  ZZ )   =>    |-  ( ph  ->  (
 ( 1 ... J )  \  C )  e. 
 Fin )
 
8-Jun-2026ballotfilemcinfi 13287 Lemma for ballotfi . The portion of a counting representing votes for A up to a specified integer is finite. (Contributed by Jim Kingdon, 8-Jun-2026.)
 |-  M  e.  NN   &    |-  N  e.  NN   &    |-  O  =  {
 c  e.  ( ~P ( 1 ... ( M  +  N )
 )  i^i  Fin )  |  (♯ `  c )  =  M }   &    |-  ( ph  ->  C  e.  O )   &    |-  ( ph  ->  J  e.  ZZ )   =>    |-  ( ph  ->  (
 ( 1 ... J )  i^i  C )  e. 
 Fin )
 
8-Jun-2026zfidc 9738 Whether an integer is an element of a finite set of integers is decidable. (Contributed by Jim Kingdon, 8-Jun-2026.)
 |-  ( ( S  C_  ZZ  /\  A  e.  ZZ  /\  S  e.  Fin )  -> DECID  A  e.  S )
 
7-Jun-2026ballotfilemcdc 13286 Lemma for ballotfi . It is decidable whether a given integer is an element of a particular element of  O. (Contributed by Jim Kingdon, 7-Jun-2026.)
 |-  M  e.  NN   &    |-  N  e.  NN   &    |-  O  =  {
 c  e.  ( ~P ( 1 ... ( M  +  N )
 )  i^i  Fin )  |  (♯ `  c )  =  M }   &    |-  ( ph  ->  C  e.  O )   &    |-  ( ph  ->  K  e.  ZZ )   =>    |-  ( ph  -> DECID  K  e.  C )
 
5-Jun-2026hashpwfi 11296 The number of finite subsets of a finite set is two raised to the power of the size of the set. For a similar theorem with set size expressed using equinumerosity, see 2omapfi 7332. For the number of subsets (which need not be finite) of a set, see pw1mapen 17315. (Contributed by Jim Kingdon, 5-Jun-2026.)
 |-  ( A  e.  Fin  ->  (♯ `  ( ~P A  i^i  Fin ) )  =  ( 2 ^ (♯ `  A ) ) )
 
4-Jun-2026ballotfilemonn 13284 The size of the universe is at least one. (Contributed by Jim Kingdon, 4-Jun-2026.)
 |-  M  e.  NN   &    |-  N  e.  NN   &    |-  O  =  {
 c  e.  ( ~P ( 1 ... ( M  +  N )
 )  i^i  Fin )  |  (♯ `  c )  =  M }   =>    |-  (♯ `  O )  e.  NN
 
3-Jun-2026papeq2 7622 Equality theorem for apartness predicate. (Contributed by Jim Kingdon, 3-Jun-2026.)
 |-  ( A  =  B  ->  ( R Ap  A  <->  R Ap  B )
 )
 
3-Jun-2026papeq1 7621 Equality theorem for apartness predicate. (Contributed by Jim Kingdon, 3-Jun-2026.)
 |-  ( R  =  S  ->  ( R Ap  A  <->  S Ap  A )
 )
 
2-Jun-2026resq01 11121 If a real number equals its square, it must be 0 or 1. (Contributed by Jim Kingdon, 2-Jun-2026.)
 |-  ( A  e.  RR  ->  ( ( A ^
 2 )  =  A  <->  ( A  =  0  \/  A  =  1 ) ) )
 
31-May-2026aprprop 14717 If two structures have the same ring components (properties), df-apr 14706 generates the same relation for both of them. (Contributed by Jim Kingdon, 31-May-2026.)
 |-  ( Base `  K )  =  ( Base `  L )   &    |-  ( +g  `  K )  =  ( +g  `  L )   &    |-  ( .r `  K )  =  ( .r `  L )   =>    |-  ( K  e.  Ring  ->  ( #r  `  K )  =  ( #r  `  L ) )
 
31-May-2026ringunitsap0 14710 The set of units of a ring. If  R is a local ring, # is an apartness and this theorem states that the units of a ring are those elements apart from zero (see aprlring 14716). Given the definition of #r this theorem holds even if # is not an apartness, however. (Contributed by Jim Kingdon, 31-May-2026.)
 |-  B  =  ( Base `  R )   &    |-  .0.  =  ( 0g `  R )   &    |- #  =  ( #r  `  R )   =>    |-  ( R  e.  Ring  ->  { x  e.  B  |  x #  .0.  }  =  (Unit `  R )
 )
 
30-May-2026ringunitap 14709 Elementhood in the set of units. (Contributed by Jim Kingdon, 30-May-2026.)
 |-  B  =  ( Base `  R )   &    |-  U  =  (Unit `  R )   &    |-  .0.  =  ( 0g `  R )   &    |- #  =  ( #r  `  R )   =>    |-  ( R  e.  Ring  ->  ( X  e.  U  <->  ( X  e.  B  /\  X #  .0.  ) ) )
 
29-May-2026drnglring 14723 A division ring is a local ring. (Contributed by Jim Kingdon, 29-May-2026.)
 |-  ( R  e.  DivRing  ->  R  e. LRing )
 
29-May-2026isdrngtap 14722 The predicate "is a division ring". (Contributed by Jim Kingdon, 29-May-2026.)
 |-  B  =  ( Base `  R )   &    |- #  =  ( #r  `  R )   =>    |-  ( R  e.  DivRing  <->  ( R  e.  Ring  /\ # TAp  B ) )
 
29-May-2026df-drngap 14720 Define class of all division rings. A division ring is a ring in which the relation given by df-apr 14706 is a tight apartness. (Contributed by Jim Kingdon, 29-May-2026.)
 |-  DivRing  =  { r  e. 
 Ring  |  ( #r  `  r
 ) TAp  ( Base `  r
 ) }
 
29-May-2026aprunit 14708 The df-apr 14706 relation with zero expresses whether a ring element is a unit. That is, the difference of an element of a ring and zero is invertible iff the element is a unit. (Contributed by Jim Kingdon, 29-May-2026.)
 |-  B  =  ( Base `  R )   &    |-  .0.  =  ( 0g `  R )   &    |-  U  =  (Unit `  R )   &    |- #  =  ( #r  `  R )   &    |-  ( ph  ->  R  e.  Ring )   &    |-  ( ph  ->  X  e.  B )   =>    |-  ( ph  ->  ( X #  .0.  <->  X  e.  U ) )
 
29-May-2026tapap 7628 A tight apartness is an apartness. (Contributed by Jim Kingdon, 29-May-2026.)
 |-  ( R TAp  A  ->  R Ap 
 A )
 
28-May-2026aprlring 14716 A ring is a local ring if and only if the relation given by df-apr 14706 is an apartness relation. (Contributed by Jim Kingdon, 28-May-2026.)
 |-  ( R  e.  Ring  ->  ( R  e. LRing  <->  ( #r  `  R ) Ap  ( Base `  R )
 ) )
 
28-May-2026papcotr 7625 An apartness is cotransitive. (Contributed by Jim Kingdon, 28-May-2026.)
 |-  ( ph  ->  R Ap  A )   &    |-  ( ph  ->  X  e.  A )   &    |-  ( ph  ->  Y  e.  A )   &    |-  ( ph  ->  X R Y )   &    |-  ( ph  ->  Z  e.  A )   =>    |-  ( ph  ->  ( X R Z  \/  Y R Z ) )
 
27-May-2026aprnzr 14715 If the relation given by df-apr 14706 on a ring is an apartness relation, then the ring is a nonzero ring. (Contributed by Jim Kingdon, 27-May-2026.)
 |-  ( ( R  e.  Ring  /\  ( #r  `  R ) Ap  ( Base `  R )
 )  ->  R  e. NzRing )
 
27-May-2026papsym 7624 An apartness is symmetric. (Contributed by Jim Kingdon, 27-May-2026.)
 |-  ( ph  ->  R Ap  A )   &    |-  ( ph  ->  X  e.  A )   &    |-  ( ph  ->  Y  e.  A )   &    |-  ( ph  ->  X R Y )   =>    |-  ( ph  ->  Y R X )
 
27-May-2026papirr 7623 An apartness is irreflexive. (Contributed by Jim Kingdon, 27-May-2026.)
 |-  ( ( R Ap  A  /\  X  e.  A ) 
 ->  -.  X R X )
 
24-May-2026gsumzfi 14253 Value of a finite group sum over the zero element. (Contributed by Jim Kingdon, 24-May-2026.)
 |- 
 .0.  =  ( 0g `  G )   =>    |-  ( ( G  e. CMnd  /\  A  e.  Fin )  ->  ( G  gsumg  ( k  e.  A  |->  .0.  ) )  =  .0.  )
 
22-May-2026sshashneg 11308 Subsets of a class of a negative size (a degenerate case). Together with ssenneg 11307 this shows that sseqn 11306 could not be extended beyond  N  e.  NN0. (Contributed by Jim Kingdon, 22-May-2026.)
 |-  ( ( N  e.  ZZ  /\  N  <  0
 )  ->  { x  e.  ( ~P A  i^i  Fin )  |  (♯ `  x )  =  N }  =  (/) )
 
22-May-2026ssenneg 11307 Subsets of a class of a negative size (a degenerate case). Together with sshashneg 11308 this shows that sseqn 11306 could not be extended beyond  N  e.  NN0. (Contributed by Jim Kingdon, 22-May-2026.)
 |-  ( ( N  e.  ZZ  /\  N  <  0
 )  ->  { x  e.  ~P A  |  x  ~~  ( 1 ... N ) }  =  { (/)
 } )
 
22-May-2026sseqn 11306 Two ways to express the subsets of a class of a given size. It might seem that  { x  e.  ~P A  |  (♯ `  x
)  =  N } would suffice, but that would require the converse of hashcl 11247 or something similar. Although each side of the equality would be well defined if we changed  N  e.  NN0 to  N  e.  ZZ, they would give different results for the (degenerate) case of a negative size, as shown at ssenneg 11307 and sshashneg 11308. (Contributed by Jim Kingdon, 22-May-2026.)
 |-  ( N  e.  NN0  ->  { x  e.  ~P A  |  x  ~~  ( 1 ... N ) }  =  { x  e.  ( ~P A  i^i  Fin )  |  (♯ `  x )  =  N } )
 
22-May-2026bilanri 389 Inference adding a conjunct to the right-hand side of a biconditional. (Contributed by Matthew House, 22-May-2026.)
 |-  ( ph  <->  ps )   =>    |-  ( ( ch  /\  ps )  ->  ph )
 
22-May-2026biranri 388 Inference adding a conjunct to the right-hand side of a biconditional. (Contributed by Matthew House, 22-May-2026.)
 |-  ( ph  <->  ps )   =>    |-  ( ( ps  /\  ch )  ->  ph )
 
22-May-2026bilani 387 Inference adding a conjunct to the left-hand side of a biconditional. (Contributed by Matthew House, 22-May-2026.)
 |-  ( ph  <->  ps )   =>    |-  ( ( ch  /\  ph )  ->  ps )
 
22-May-2026birani 386 Inference adding a conjunct to the left-hand side of a biconditional. (Contributed by Matthew House, 22-May-2026.)
 |-  ( ph  <->  ps )   =>    |-  ( ( ph  /\  ch )  ->  ps )
 
20-May-2026ballotfilemofi 13282  O is finite. (Contributed by Jim Kingdon, 20-May-2026.)
 |-  M  e.  NN   &    |-  N  e.  NN   &    |-  O  =  {
 c  e.  ( ~P ( 1 ... ( M  +  N )
 )  i^i  Fin )  |  (♯ `  c )  =  M }   =>    |-  O  e.  Fin
 
19-May-2026fipwfi 7333 The set of finite subsets of a finite set is finite. (Contributed by Jim Kingdon, 19-May-2026.)
 |-  ( A  e.  Fin  ->  ( ~P A  i^i  Fin )  e.  Fin )
 
18-May-20262omapfi 7332 The number of finite subsets of a finite set. For a similar theorem with set size expressed using ♯ (df-ihash 11242), see hashpwfi 11296. (Contributed by Jim Kingdon, 18-May-2026.)
 |-  ( A  e.  Fin  ->  ( 2o  ^m  A ) 
 ~~  ( ~P A  i^i  Fin ) )
 
18-May-2026fissfi 7274 A finite subset of a finite set is a decidable subset. (Contributed by Jim Kingdon, 18-May-2026.)
 |-  ( ( S  C_  A  /\  A  e.  Fin  /\  S  e.  Fin )  ->  A. x  e.  A DECID  x  e.  S )
 
18-May-2026fresaunres1disj 5578 From the union of two functions with disjoint domains, either component can be recovered by restriction. (Contributed by Mario Carneiro, 16-Feb-2015.) (Revised by Jim Kingdon, 18-May-2026.)
 |-  ( ( F : A
 --> C  /\  G : B
 --> C  /\  ( A  i^i  B )  =  (/) )  ->  ( ( F  u.  G )  |`  A )  =  F )
 
18-May-2026fresaunres2disj 5577 From the union of two functions with disjoint domains, either component can be recovered by restriction. (Contributed by Stefan O'Rear, 9-Oct-2014.) (Revised by Jim Kingdon, 18-May-2026.)
 |-  ( ( F : A
 --> C  /\  G : B
 --> C  /\  ( A  i^i  B )  =  (/) )  ->  ( ( F  u.  G )  |`  B )  =  G )
 
13-May-2026lincmble 10428 A linear combination of two reals which lies in the interval between them. Like lincmb01cmp 10427 but generalized to require merely  A  <_  B not  A  <  B. (Contributed by Jim Kingdon, 13-May-2026.)
 |-  ( ( ( A  e.  RR  /\  B  e.  RR  /\  A  <_  B )  /\  T  e.  ( 0 [,] 1
 ) )  ->  (
 ( ( 1  -  T )  x.  A )  +  ( T  x.  B ) )  e.  ( A [,] B ) )
 
5-May-2026fmelpw1o 7618 With a formula  ph one can associate an element of 
~P 1o, which can therefore be thought of as the set of "truth values" (but recall that there are no other genuine truth values than T. and F., by nndc 863, which translate to  1o and  (/) respectively by iftrue 3645 and iffalse 3648, giving pwtrufal 17316).

As proved in if0ab 3641, the associated element of  ~P 1o is the extension, in  ~P 1o, of the formula  ph. (Contributed by BJ, 15-Aug-2024.) (Proof shortened by BJ, 5-May-2026.)

 |- 
 if ( ph ,  1o ,  (/) )  e.  ~P 1o
 
5-May-2026if0elpw 4297 A conditional class with the False alternative being sent to the empty class is an element of the powerset of the class corresponding to the True alternative when that class is a set. This statement requires fewer axioms than the general case ifelpwung 4629. (Contributed by BJ, 5-May-2026.)
 |-  ( A  e.  V  ->  if ( ph ,  A ,  (/) )  e. 
 ~P A )
 
5-May-2026if0ss 3642 A conditional class with the False alternative being sent to the empty class is included in the class corresponding to the True alternative. (Contributed by BJ, 5-May-2026.)
 |- 
 if ( ph ,  A ,  (/) )  C_  A
 
27-Apr-2026repiecef 17367 Piecewise definition on the reals yields a function. The function agrees with  F and  G on their respective parts of the real line; see repiecele0 17365 and repiecege0 17366. From an online post by James E Hanson. The construction was published in Martín Hötzel Escardó, "Effective and sequential definition by cases on the reals via infinite signed-digit numerals", Electronic Notes in Theoretical Computer Science 10 (1998), page 2, https://martinescardo.github.io/papers/lexnew.pdf. 17366 (Contributed by Jim Kingdon, 27-Apr-2026.)
 |-  ( ph  ->  F : ( -oo (,] 0 ) --> RR )   &    |-  ( ph  ->  G : ( 0 [,) +oo ) --> RR )   &    |-  ( ph  ->  ( F `  0 )  =  ( G `  0 ) )   &    |-  H  =  ( x  e.  RR  |->  ( ( ( F `
 inf ( { x ,  0 } ,  RR ,  <  ) )  +  ( G `  sup ( { x , 
 0 } ,  RR ,  <  ) ) )  -  ( F `  0 ) ) )   =>    |-  ( ph  ->  H : RR
 --> RR )
 
27-Apr-2026repiecege0 17366 Piecewise definition on the reals agrees with the nonnegative part of the definition. See repiecef 17367 for more on this construction. (Contributed by Jim Kingdon, 27-Apr-2026.)
 |-  ( ph  ->  F : ( -oo (,] 0 ) --> RR )   &    |-  ( ph  ->  G : ( 0 [,) +oo ) --> RR )   &    |-  ( ph  ->  ( F `  0 )  =  ( G `  0 ) )   &    |-  H  =  ( x  e.  RR  |->  ( ( ( F `
 inf ( { x ,  0 } ,  RR ,  <  ) )  +  ( G `  sup ( { x , 
 0 } ,  RR ,  <  ) ) )  -  ( F `  0 ) ) )   =>    |-  ( ( ph  /\  A  e.  RR  /\  0  <_  A )  ->  ( H `
  A )  =  ( G `  A ) )
 
27-Apr-2026repiecele0 17365 Piecewise definition on the reals agrees with the nonpositive part of the definition. See repiecef 17367 for more on this construction. (Contributed by Jim Kingdon, 27-Apr-2026.)
 |-  ( ph  ->  F : ( -oo (,] 0 ) --> RR )   &    |-  ( ph  ->  G : ( 0 [,) +oo ) --> RR )   &    |-  ( ph  ->  ( F `  0 )  =  ( G `  0 ) )   &    |-  H  =  ( x  e.  RR  |->  ( ( ( F `
 inf ( { x ,  0 } ,  RR ,  <  ) )  +  ( G `  sup ( { x , 
 0 } ,  RR ,  <  ) ) )  -  ( F `  0 ) ) )   =>    |-  ( ( ph  /\  A  e.  RR  /\  A  <_  0 )  ->  ( H `  A )  =  ( F `  A ) )
 
27-Apr-2026repiecelem 17364 Lemma for repiecele0 17365, repiecege0 17366, and repiecef 17367. The function  H is defined everywhere. (Contributed by Jim Kingdon, 27-Apr-2026.)
 |-  ( ph  ->  F : ( -oo (,] 0 ) --> RR )   &    |-  ( ph  ->  G : ( 0 [,) +oo ) --> RR )   &    |-  ( ph  ->  ( F `  0 )  =  ( G `  0 ) )   &    |-  H  =  ( x  e.  RR  |->  ( ( ( F `
 inf ( { x ,  0 } ,  RR ,  <  ) )  +  ( G `  sup ( { x , 
 0 } ,  RR ,  <  ) ) )  -  ( F `  0 ) ) )   =>    |-  ( ( ph  /\  A  e.  RR )  ->  (
 ( ( F ` inf ( { A ,  0 } ,  RR ,  <  ) )  +  ( G `  sup ( { A ,  0 } ,  RR ,  <  )
 ) )  -  ( F `  0 ) )  e.  RR )
 
24-Apr-2026qdiff 17389 The rationals are exactly those reals for which there exist two distinct rationals that are the same distance from the original number. Similar to apdiff 17388 but by stating the result positively we can completely sidestep the issue of not equal versus apart in the statement of the result. From an online post by Ingo Blechschmidt. (Contributed by Jim Kingdon, 24-Apr-2026.)
 |-  ( A  e.  RR  ->  ( A  e.  QQ  <->  E. q  e.  QQ  E. r  e.  QQ  (
 q  =/=  r  /\  ( abs `  ( A  -  q ) )  =  ( abs `  ( A  -  r ) ) ) ) )
 
23-Apr-2026exmidpeirce 17327 Excluded middle is equivalent to Peirce's law. Read an element of  ~P 1o as being a truth value and  x  =  1o being that  x is true. For a similar theorem, but expressed in terms of formulas rather than subsets of  1o, see dcfrompeirce 1499. (Contributed by Jim Kingdon, 23-Apr-2026.)
 |-  (EXMID  <->  A. x  e.  ~P  1o A. y  e.  ~P  1o ( ( ( x  =  1o  ->  y  =  1o )  ->  x  =  1o )  ->  x  =  1o ) )
 
22-Apr-2026exmidcon 17326 Excluded middle is equivalent to the form of contraposition which removes negation. Read an element of  ~P 1o as being a truth value and  x  =  1o being that  x is true. For a similar theorem, but expressed in terms of formulas rather than subsets of  1o, see dcfromcon 1498. (Contributed by Jim Kingdon, 22-Apr-2026.)
 |-  (EXMID  <->  A. x  e.  ~P  1o A. y  e.  ~P  1o ( ( -.  y  =  1o  ->  -.  x  =  1o )  ->  ( x  =  1o  ->  y  =  1o ) ) )
 
22-Apr-2026exmidnotnotr 17325 Excluded middle is equivalent to double negation elimination. Read an element of  ~P 1o as being a truth value and  x  =  1o being that  x is true. For a similar theorem, but expressed in terms of formulas rather than subsets of  1o, see dcfromnotnotr 1497. (Contributed by Jim Kingdon, 22-Apr-2026.)
 |-  (EXMID  <->  A. x  e.  ~P  1o ( -.  -.  x  =  1o  ->  x  =  1o ) )
 
18-Apr-2026hashtpglem 11325 Lemma for hashtpg 11326. This is one of the three not-equal conclusions required for the reverse direction. (Contributed by Jim Kingdon, 18-Apr-2026.)
 |-  ( ph  ->  A  e.  U )   &    |-  ( ph  ->  B  e.  V )   &    |-  ( ph  ->  C  e.  W )   &    |-  ( ph  ->  (♯ ` 
 { A ,  B ,  C } )  =  3 )   =>    |-  ( ph  ->  B  =/=  C )
 
17-Apr-2026hashtpgim 11324 The size of an unordered triple of three different elements. (Contributed by Alexander van der Vekens, 10-Nov-2017.) (Revised by AV, 18-Sep-2021.) (Revised by Jim Kingdon, 17-Apr-2026.)
 |-  ( ( A  e.  U  /\  B  e.  V  /\  C  e.  W ) 
 ->  ( ( A  =/=  B 
 /\  B  =/=  C  /\  C  =/=  A ) 
 ->  (♯ `  { A ,  B ,  C }
 )  =  3 ) )
 
14-Apr-2026depind 17039 Theorem related to a dependently typed induction principle in type theory. (Contributed by Matthew House, 14-Apr-2026.)
 |-  ( ph  ->  P : NN0 --> _V )   &    |-  ( ph  ->  A  e.  ( P `  0 ) )   &    |-  ( ph  ->  A. n  e.  NN0  ( H `  n ) : ( P `  n ) --> ( P `
  ( n  +  1 ) ) )   =>    |-  ( ph  ->  E! f  e.  X_  n  e.  NN0  ( P `  n ) ( ( f `  0 )  =  A  /\  A. n  e.  NN0  ( f `  ( n  +  1 )
 )  =  ( ( H `  n ) `
  ( f `  n ) ) ) )
 
14-Apr-2026depindlem3 17038 Lemma for depind 17039. (Contributed by Matthew House, 14-Apr-2026.)
 |-  ( ph  ->  P : NN0 --> _V )   &    |-  ( ph  ->  A  e.  ( P `  0 ) )   &    |-  ( ph  ->  A. n  e.  NN0  ( H `  n ) : ( P `  n ) --> ( P `
  ( n  +  1 ) ) )   &    |-  F  =  seq 0
 ( ( x  e. 
 _V ,  h  e. 
 _V  |->  ( h `  x ) ) ,  ( m  e.  NN0  |->  if ( m  =  0 ,  A ,  ( H `  ( m  -  1 ) ) ) ) )   =>    |-  ( ph  ->  A. f  e.  X_  n  e.  NN0  ( P `  n ) ( ( ( f `
  0 )  =  A  /\  A. n  e.  NN0  ( f `  ( n  +  1
 ) )  =  ( ( H `  n ) `  ( f `  n ) ) ) 
 ->  f  =  F ) )
 
14-Apr-2026depindlem2 17037 Lemma for depind 17039. (Contributed by Matthew House, 14-Apr-2026.)
 |-  ( ph  ->  P : NN0 --> _V )   &    |-  ( ph  ->  A  e.  ( P `  0 ) )   &    |-  ( ph  ->  A. n  e.  NN0  ( H `  n ) : ( P `  n ) --> ( P `
  ( n  +  1 ) ) )   &    |-  F  =  seq 0
 ( ( x  e. 
 _V ,  h  e. 
 _V  |->  ( h `  x ) ) ,  ( m  e.  NN0  |->  if ( m  =  0 ,  A ,  ( H `  ( m  -  1 ) ) ) ) )   =>    |-  ( ph  ->  F  e.  X_ n  e.  NN0  ( P `  n ) )
 
14-Apr-2026depindlem1 17036 Lemma for depind 17039. (Contributed by Matthew House, 14-Apr-2026.)
 |-  ( ph  ->  P : NN0 --> _V )   &    |-  ( ph  ->  A  e.  ( P `  0 ) )   &    |-  ( ph  ->  A. n  e.  NN0  ( H `  n ) : ( P `  n ) --> ( P `
  ( n  +  1 ) ) )   &    |-  F  =  seq 0
 ( ( x  e. 
 _V ,  h  e. 
 _V  |->  ( h `  x ) ) ,  ( m  e.  NN0  |->  if ( m  =  0 ,  A ,  ( H `  ( m  -  1 ) ) ) ) )   =>    |-  ( ph  ->  ( F : NN0 --> _V  /\  ( F `  0 )  =  A  /\  A. n  e.  NN0  ( F `
  ( n  +  1 ) )  =  ( ( H `  n ) `  ( F `  n ) ) ) )
 
11-Apr-2026indval0 9312 The indicator function generator does not generate a (meaningful) indicator function for a class which is not a subset of the domain. (Contributed by AV, 11-Apr-2026.)
 |-  ( -.  A  C_  O  ->  ( (𝟭 `  O ) `  A )  =  (/) )
 
8-Apr-2026gsumclfi 14254 Closure of a finite group sum. (Contributed by Jim Kingdon, 8-Apr-2026.)
 |-  B  =  ( Base `  G )   &    |-  .0.  =  ( 0g `  G )   &    |-  ( ph  ->  G  e. CMnd )   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  F : A --> B )   =>    |-  ( ph  ->  ( G  gsumg  F )  e.  B )
 
4-Apr-2026gzsumsplit0 14243 Splitting off the rightmost summand of a group sum (even if it is the only summand). Similar to gzsumsplit1r 13779 except that  N can equal  M  -  1. (Contributed by Jim Kingdon, 4-Apr-2026.)
 |-  B  =  ( Base `  G )   &    |-  .+  =  ( +g  `  G )   &    |-  ( ph  ->  G  e.  Mnd )   &    |-  ( ph  ->  M  e.  ZZ )   &    |-  ( ph  ->  N  e.  ( ZZ>= `  ( M  -  1 ) ) )   &    |-  ( ph  ->  F : ( M ... ( N  +  1
 ) ) --> B )   =>    |-  ( ph  ->  ( G  gzsumgz  F )  =  ( ( G  gzsumgz 
 ( F  |`  ( M
 ... N ) ) )  .+  ( F `
  ( N  +  1 ) ) ) )
 
4-Apr-2026fzf1o 12172 A finite set can be enumerated by integers starting at one. (Contributed by Jim Kingdon, 4-Apr-2026.)
 |-  ( A  e.  Fin  ->  E. f  f :
 ( 1 ... (♯ `  A ) ) -1-1-onto-> A )
 
3-Apr-2026gsump1 14252 Splitting off one element from a finite group sum. This would typically used in a proof by induction. (Contributed by Jim Kingdon, 3-Apr-2026.)
 |-  B  =  ( Base `  G )   &    |-  .+  =  ( +g  `  G )   &    |-  ( ph  ->  G  e. CMnd )   &    |-  ( ph  ->  F : ( Y  u.  { Z } ) --> B )   &    |-  ( ph  ->  Y  e.  Fin )   &    |-  ( ph  ->  Z  e.  V )   &    |-  ( ph  ->  -.  Z  e.  Y )   =>    |-  ( ph  ->  ( G  gsumg 
 F )  =  ( ( G  gsumg  ( F  |`  Y ) )  .+  ( F `
  Z ) ) )
 
2-Apr-2026gsumsncmn 14251 Group sum of a singleton. (Contributed by Jim Kingdon, 2-Apr-2026.)
 |-  B  =  ( Base `  G )   &    |-  ( k  =  M  ->  A  =  C )   =>    |-  ( ( G  e. CMnd  /\  M  e.  V  /\  C  e.  B )  ->  ( G  gsumg  ( k  e.  { M }  |->  A ) )  =  C )
 
31-Mar-2026sspw1or2 7556 The set of subsets of a given set with one or two elements can be expressed as elements of the power set or as inhabited elements of the power set. (Contributed by Jim Kingdon, 31-Mar-2026.)
 |- 
 { x  e.  {
 s  e.  ~P V  |  E. j  j  e.  s }  |  ( x  ~~  1o  \/  x  ~~  2o ) }  =  { x  e.  ~P V  |  ( x  ~~ 
 1o  \/  x  ~~  2o ) }
 
28-Mar-2026imaf1fi 7251 The image of a finite set under a one-to-one mapping is finite. (Contributed by Jim Kingdon, 28-Mar-2026.)
 |-  ( ( F : A -1-1-> B  /\  X  C_  A  /\  X  e.  Fin )  ->  ( F " X )  e.  Fin )
 
26-Mar-2026gsum0cmn 14249 An empty finite group sum is the identity. (Contributed by Jim Kingdon, 26-Mar-2026.)
 |-  ( G  e. CMnd  ->  ( G  gsumg  (/) )  =  ( 0g `  G ) )
 
26-Mar-2026gzsumshift 14244 Shifting the indexes of a group sum indexed by consecutive integers. (Contributed by Jim Kingdon, 26-Mar-2026.)
 |-  B  =  ( Base `  G )   &    |-  ( ph  ->  G  e. CMnd )   &    |-  ( ph  ->  N  e.  ( ZZ>= `  M ) )   &    |-  ( ph  ->  F : ( M ... N ) --> B )   &    |-  S  =  ( j  e.  (
 1 ... ( N  +  ( 1  -  M ) ) )  |->  ( j  -  ( 1  -  M ) ) )   =>    |-  ( ph  ->  ( G  gzsumgz 
 F )  =  ( G  gzsumgz 
 ( F  o.  S ) ) )
 
25-Mar-2026gzsumgsum 14250 On an integer range,  gzsumgz and  gsumg agree. (Contributed by Jim Kingdon, 25-Mar-2026.)
 |-  B  =  ( Base `  G )   &    |-  ( ph  ->  G  e. CMnd )   &    |-  ( ph  ->  M  e.  ZZ )   &    |-  ( ph  ->  N  e.  ZZ )   &    |-  ( ph  ->  F : ( M ... N ) --> B )   =>    |-  ( ph  ->  ( G  gzsumgz 
 F )  =  ( G  gsumg 
 F ) )
 
25-Mar-2026gzsumgsum1 14248 On an integer range starting at one,  gzsumgz and  gsumg agree. (Contributed by Jim Kingdon, 25-Mar-2026.)
 |-  B  =  ( Base `  G )   &    |-  ( ph  ->  G  e. CMnd )   &    |-  ( ph  ->  N  e.  NN0 )   &    |-  ( ph  ->  F : ( 1 ...
 N ) --> B )   =>    |-  ( ph  ->  ( G  gzsumgz  F )  =  ( G  gsumg  F ) )
 
24-Mar-2026gsumvalfi 14247 Value of the finite group sum over an unordered finite set. (Contributed by Jim Kingdon, 24-Mar-2026.)
 |-  B  =  ( Base `  W )   &    |-  ( ph  ->  W  e. CMnd )   &    |-  ( ph  ->  F : A --> B )   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  G : ( 1 ... (♯ `  A )
 )
 -1-1-onto-> A )   =>    |-  ( ph  ->  ( W  gsumg 
 F )  =  ( W  gzsumgz 
 ( F  o.  G ) ) )
 
23-Mar-2026df-gsumfi 14246 Define the finite group sum (iterated sum) over an unordered finite set.

Given  G  gsumg  F where  F : A --> ( Base `  G ), the set of indices is  A and the values are given by  F at each index. For this notation,  A is a finite set and  G is a commutative monoid, and the sum adds up these elements in some order (the sum does not depend on the order).

For a sum indexed by consecutive integers (and thus defining an order for the sum), see df-gzsum 13677. (Contributed by Jim Kingdon, 23-Mar-2026.)

 |- 
 gsumg  =  ( w  e. CMnd ,  f  e.  _V  |->  ( iota
 x ( dom  f  e.  Fin  /\  E. g
 ( g : ( 1 ... (♯ `  dom  f ) ) -1-1-onto-> dom  f  /\  x  =  ( w  gzsumgz 
 ( f  o.  g
 ) ) ) ) ) )
 
20-Mar-2026exmidssfi 7257 Excluded middle is equivalent to any subset of a finite set being finite. Theorem 2.1 of [Bauer], p. 485. (Contributed by Jim Kingdon, 20-Mar-2026.)
 |-  (EXMID  <->  A. x A. y ( ( x  e.  Fin  /\  y  C_  x )  ->  y  e.  Fin )
 )
 
18-Mar-2026umgr1een 16655 A graph with one non-loop edge is a multigraph. (Contributed by Jim Kingdon, 18-Mar-2026.)
 |-  ( ph  ->  K  e.  X )   &    |-  ( ph  ->  V  e.  Y )   &    |-  ( ph  ->  E  e.  ~P V )   &    |-  ( ph  ->  E 
 ~~  2o )   =>    |-  ( ph  ->  <. V ,  { <. K ,  E >. } >.  e. UMGraph )
 
18-Mar-2026upgr1een 16654 A graph with one non-loop edge is a pseudograph. Variation of upgr1edc 16651 for a different way of specifying a graph with one edge. (Contributed by Jim Kingdon, 18-Mar-2026.)
 |-  ( ph  ->  K  e.  X )   &    |-  ( ph  ->  V  e.  Y )   &    |-  ( ph  ->  E  e.  ~P V )   &    |-  ( ph  ->  E 
 ~~  2o )   =>    |-  ( ph  ->  <. V ,  { <. K ,  E >. } >.  e. UPGraph )
 
14-Mar-2026trlsex 16917 The class of trails on a graph is a set. (Contributed by Jim Kingdon, 14-Mar-2026.)
 |-  ( G  e.  V  ->  (Trails `  G )  e.  _V )
 
13-Mar-2026eupthv 16976 The classes involved in a Eulerian path are sets. (Contributed by Jim Kingdon, 13-Mar-2026.)
 |-  ( F (EulerPaths `  G ) P  ->  ( G  e.  _V  /\  F  e.  _V  /\  P  e.  _V ) )
 
13-Mar-20261hevtxdg0fi 16837 The vertex degree of vertex  D in a finite pseudograph 
G with only one edge  E is 0 if  D is not incident with the edge  E. (Contributed by AV, 2-Mar-2021.) (Revised by Jim Kingdon, 13-Mar-2026.)
 |-  ( ph  ->  (iEdg `  G )  =  { <. A ,  E >. } )   &    |-  ( ph  ->  (Vtx `  G )  =  V )   &    |-  ( ph  ->  A  e.  X )   &    |-  ( ph  ->  D  e.  V )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  G  e. UPGraph )   &    |-  ( ph  ->  E  e.  Y )   &    |-  ( ph  ->  D  e/  E )   =>    |-  ( ph  ->  (
 (VtxDeg `  G ) `  D )  =  0
 )
 
11-Mar-2026en1hash 11266 A set equinumerous to the ordinal one has size 1 . (Contributed by Jim Kingdon, 11-Mar-2026.)
 |-  ( A  ~~  1o  ->  (♯ `  A )  =  1 )
 
4-Mar-2026elmpom2 6483 If a maps-to operation is inhabited, the class of the second operand is inhabited. (Contributed by Jim Kingdon, 4-Mar-2026.)
 |-  F  =  ( x  e.  A ,  y  e.  B  |->  C )   =>    |-  ( D  e.  F  ->  E. z  z  e.  B )
 
4-Mar-2026elmpom 6482 If a maps-to operation is inhabited, the first class it is defined with is inhabited. (Contributed by Jim Kingdon, 4-Mar-2026.)
 |-  F  =  ( x  e.  A ,  y  e.  B  |->  C )   =>    |-  ( D  e.  F  ->  E. z  z  e.  A )
 
22-Feb-2026isclwwlkni 16937 A word over the set of vertices representing a closed walk of a fixed length. (Contributed by Jim Kingdon, 22-Feb-2026.)
 |-  ( W  e.  ( N ClWWalksN  G )  ->  ( W  e.  (ClWWalks `  G )  /\  (♯ `  W )  =  N )
 )
 
21-Feb-2026clwwlkex 16928 Existence of the set of closed walks (represented by words). (Contributed by Jim Kingdon, 21-Feb-2026.)
 |-  ( G  e.  V  ->  (ClWWalks `  G )  e.  _V )
 
17-Feb-2026vtxdgfif 16823 In a finite graph, the vertex degree function is a function from vertices to nonnegative integers. (Contributed by Jim Kingdon, 17-Feb-2026.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  A  =  dom  I   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  G  e. UPGraph )   =>    |-  ( ph  ->  (VtxDeg `  G ) : V --> NN0 )
 
16-Feb-2026vtxlpfi 16820 In a finite graph, the number of loops from a given vertex is finite. (Contributed by Jim Kingdon, 16-Feb-2026.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  A  =  dom  I   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  U  e.  V )   &    |-  ( ph  ->  G  e. UPGraph )   =>    |-  ( ph  ->  { x  e.  A  |  ( I `
  x )  =  { U } }  e.  Fin )
 
16-Feb-2026vtxedgfi 16819 In a finite graph, the number of edges from a given vertex is finite. (Contributed by Jim Kingdon, 16-Feb-2026.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  A  =  dom  I   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  U  e.  V )   &    |-  ( ph  ->  G  e. UPGraph )   =>    |-  ( ph  ->  { x  e.  A  |  U  e.  ( I `  x ) }  e.  Fin )
 
15-Feb-2026eqsndc 7221 Decidability of equality between a finite subset of a set with decidable equality, and a singleton whose element is an element of the larger set. (Contributed by Jim Kingdon, 15-Feb-2026.)
 |-  ( ph  ->  A. x  e.  B  A. y  e.  B DECID  x  =  y )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  A 
 C_  B )   &    |-  ( ph  ->  A  e.  Fin )   =>    |-  ( ph  -> DECID  A  =  { X } )
 
14-Feb-2026pw1ninf 17310 The powerset of  1o is not infinite. Since we cannot prove it is finite (see pw1fin 7228), this provides a concrete example of a set which we cannot show to be finite or infinite, as seen another way at inffiexmid 7224. (Contributed by Jim Kingdon, 14-Feb-2026.)
 |-  -.  om  ~<_  ~P 1o
 
14-Feb-2026pw1ndom3 17309 The powerset of  1o does not dominate  3o. This is another way of saying that  ~P 1o does not have three elements (like pwntru 4338). (Contributed by Steven Nguyen and Jim Kingdon, 14-Feb-2026.)
 |-  -.  3o 
 ~<_  ~P 1o
 
14-Feb-2026pw1ndom3lem 17308 Lemma for pw1ndom3 17309. (Contributed by Jim Kingdon, 14-Feb-2026.)
 |-  ( ph  ->  X  e.  ~P 1o )   &    |-  ( ph  ->  Y  e.  ~P 1o )   &    |-  ( ph  ->  Z  e.  ~P 1o )   &    |-  ( ph  ->  X  =/=  Y )   &    |-  ( ph  ->  X  =/=  Z )   &    |-  ( ph  ->  Y  =/=  Z )   =>    |-  ( ph  ->  X  =  (/) )
 
12-Feb-2026pw1dceq 17324 The powerset of  1o having decidable equality is equivalent to excluded middle. (Contributed by Jim Kingdon, 12-Feb-2026.)
 |-  (EXMID  <->  A. x  e.  ~P  1o A. y  e.  ~P  1oDECID  x  =  y )
 
12-Feb-20263dom 17307 A set that dominates ordinal 3 has at least 3 different members. (Contributed by Jim Kingdon, 12-Feb-2026.)
 |-  ( 3o 
 ~<_  A  ->  E. x  e.  A  E. y  e.  A  E. z  e.  A  ( x  =/=  y  /\  x  =/=  z  /\  y  =/=  z ) )
 
11-Feb-2026elssdc 7220 Membership in a finite subset of a set with decidable equality is decidable. (Contributed by Jim Kingdon, 11-Feb-2026.)
 |-  ( ph  ->  A. x  e.  B  A. y  e.  B DECID  x  =  y )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  A 
 C_  B )   &    |-  ( ph  ->  A  e.  Fin )   =>    |-  ( ph  -> DECID  X  e.  A )
 
10-Feb-2026vtxdgfifival 16821 The degree of a vertex for graphs with finite vertex and edge sets. (Contributed by Jim Kingdon, 10-Feb-2026.)
 |-  V  =  (Vtx `  G )   &    |-  I  =  (iEdg `  G )   &    |-  A  =  dom  I   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  V  e.  Fin )   &    |-  ( ph  ->  U  e.  V )   &    |-  ( ph  ->  G  e. UPGraph )   =>    |-  ( ph  ->  (
 (VtxDeg `  G ) `  U )  =  (
 (♯ `  { x  e.  A  |  U  e.  ( I `  x ) } )  +  (♯ ` 
 { x  e.  A  |  ( I `  x )  =  { U } } ) ) )
 
10-Feb-2026fidcen 7214 Equinumerosity of finite sets is decidable. (Contributed by Jim Kingdon, 10-Feb-2026.)
 |-  ( ( A  e.  Fin  /\  B  e.  Fin )  -> DECID  A 
 ~~  B )
 
8-Feb-2026wlkvtxm 16870 A graph with a walk has at least one vertex. (Contributed by Jim Kingdon, 8-Feb-2026.)
 |-  V  =  (Vtx `  G )   =>    |-  ( F (Walks `  G ) P  ->  E. x  x  e.  V )
 
7-Feb-2026trlsv 16914 The classes involved in a trail are sets. (Contributed by Jim Kingdon, 7-Feb-2026.)
 |-  ( F (Trails `  G ) P  ->  ( G  e.  _V  /\  F  e.  _V  /\  P  e.  _V ) )
 
7-Feb-2026wlkex 16855 The class of walks on a graph is a set. (Contributed by Jim Kingdon, 7-Feb-2026.)
 |-  ( G  e.  V  ->  (Walks `  G )  e.  _V )
 
3-Feb-2026dom1oi 7128 A set with an element dominates one. (Contributed by Jim Kingdon, 3-Feb-2026.)
 |-  ( ( A  e.  V  /\  B  e.  A )  ->  1o  ~<_  A )
 
2-Feb-2026edginwlkd 16885 The value of the edge function for an index of an edge within a walk is an edge. (Contributed by AV, 2-Jan-2021.) (Revised by AV, 9-Dec-2021.) (Revised by Jim Kingdon, 2-Feb-2026.)
 |-  I  =  (iEdg `  G )   &    |-  E  =  (Edg `  G )   &    |-  ( ph  ->  Fun 
 I )   &    |-  ( ph  ->  F  e. Word  dom  I )   &    |-  ( ph  ->  K  e.  (
 0..^ (♯ `  F )
 ) )   &    |-  ( ph  ->  G  e.  V )   =>    |-  ( ph  ->  ( I `  ( F `
  K ) )  e.  E )
 
2-Feb-2026wlkelvv 16879 A walk is an ordered pair. (Contributed by Jim Kingdon, 2-Feb-2026.)
 |-  ( W  e.  (Walks `  G )  ->  W  e.  ( _V  X.  _V ) )
 
1-Feb-2026wlkcprim 16880 A walk as class with two components. (Contributed by Alexander van der Vekens, 22-Jul-2018.) (Revised by AV, 2-Jan-2021.) (Revised by Jim Kingdon, 1-Feb-2026.)
 |-  ( W  e.  (Walks `  G )  ->  ( 1st `  W ) (Walks `  G ) ( 2nd `  W ) )
 
1-Feb-2026wlkmex 16849 If there are walks on a graph, the graph is a set. (Contributed by Jim Kingdon, 1-Feb-2026.)
 |-  ( W  e.  (Walks `  G )  ->  G  e.  _V )
 
31-Jan-2026fvmbr 5738 If a function value is inhabited, the argument is related to the function value. (Contributed by Jim Kingdon, 31-Jan-2026.)
 |-  ( A  e.  ( F `  X )  ->  X F ( F `  X ) )
 
30-Jan-2026elfvfvex 5737 If a function value is inhabited, the function value is a set. (Contributed by Jim Kingdon, 30-Jan-2026.)
 |-  ( A  e.  ( F `  B )  ->  ( F `  B )  e.  _V )
 
30-Jan-2026reldmm 5002 A relation is inhabited iff its domain is inhabited. (Contributed by Jim Kingdon, 30-Jan-2026.)
 |-  ( Rel  A  ->  ( E. x  x  e.  A  <->  E. y  y  e. 
 dom  A ) )
 
25-Jan-2026indconst1 9318 Indicator of the whole set. (Contributed by Thierry Arnoux, 25-Jan-2026.)
 |-  ( O  e.  V  ->  ( (𝟭 `  O ) `  O )  =  ( O  X.  {
 1 } ) )
 
25-Jan-2026indconst0 9317 Indicator of the empty set. (Contributed by Thierry Arnoux, 25-Jan-2026.)
 |-  ( O  e.  V  ->  ( (𝟭 `  O ) `  (/) )  =  ( O  X.  { 0 } ) )
 
25-Jan-2026ifp2 993 Forward direction of dfifp2dc 994. This direction does not require decidability. (Contributed by Jim Kingdon, 25-Jan-2026.)
 |-  (if- ( ph ,  ps ,  ch )  ->  ( ( ph  ->  ps )  /\  ( -.  ph  ->  ch ) ) )
 
25-Jan-2026ifpdc 992 The conditional operator for propositions implies decidability. (Contributed by Jim Kingdon, 25-Jan-2026.)
 |-  (if- ( ph ,  ps ,  ch )  -> DECID  ph )
 
24-Jan-2026eqabcbw 2376 Version of eqabcb 2377 using implicit substitution, which requires fewer axioms. (Contributed by TM, 24-Jan-2026.)
 |-  ( x  =  y 
 ->  ( ph  <->  ps ) )   =>    |-  ( { x  |  ph }  =  A  <->  A. y ( ps  <->  y  e.  A ) )
 
20-Jan-2026cats1fvd 11565 A symbol other than the last in a concatenation with a singleton word. (Contributed by Mario Carneiro, 26-Feb-2016.) (Revised by Jim Kingdon, 20-Jan-2026.)
 |-  T  =  ( S ++ 
 <" X "> )   &    |-  ( ph  ->  S  e. Word  _V )   &    |-  ( ph  ->  (♯ `  S )  =  M )   &    |-  ( ph  ->  Y  e.  V )   &    |-  ( ph  ->  X  e.  W )   &    |-  ( ph  ->  ( S `  N )  =  Y )   &    |-  ( ph  ->  N  e.  NN0 )   &    |-  ( ph  ->  N  <  M )   =>    |-  ( ph  ->  ( T `  N )  =  Y )
 
20-Jan-2026cats1fvnd 11564 The last symbol of a concatenation with a singleton word. (Contributed by Mario Carneiro, 26-Feb-2016.) (Revised by Jim Kingdon, 20-Jan-2026.)
 |-  T  =  ( S ++ 
 <" X "> )   &    |-  ( ph  ->  S  e. Word  _V )   &    |-  ( ph  ->  X  e.  V )   &    |-  ( ph  ->  (♯ `  S )  =  M )   =>    |-  ( ph  ->  ( T `  M )  =  X )
 
19-Jan-2026cats2catd 11568 Closure of concatenation of concatenations with singleton words. (Contributed by AV, 1-Mar-2021.) (Revised by Jim Kingdon, 19-Jan-2026.)
 |-  ( ph  ->  B  e. Word  _V )   &    |-  ( ph  ->  D  e. Word  _V )   &    |-  ( ph  ->  X  e.  V )   &    |-  ( ph  ->  Y  e.  W )   &    |-  ( ph  ->  A  =  ( B ++  <" X "> ) )   &    |-  ( ph  ->  C  =  (
 <" Y "> ++  D ) )   =>    |-  ( ph  ->  ( A ++  C )  =  ( ( B ++  <" X Y "> ) ++  D ) )
 
19-Jan-2026cats1catd 11567 Closure of concatenation with a singleton word. (Contributed by Mario Carneiro, 26-Feb-2016.) (Revised by Jim Kingdon, 19-Jan-2026.)
 |-  T  =  ( S ++ 
 <" X "> )   &    |-  ( ph  ->  A  e. Word  _V )   &    |-  ( ph  ->  S  e. Word  _V )   &    |-  ( ph  ->  X  e.  W )   &    |-  ( ph  ->  C  =  ( B ++  <" X "> ) )   &    |-  ( ph  ->  B  =  ( A ++  S ) )   =>    |-  ( ph  ->  C  =  ( A ++  T ) )
 
19-Jan-2026cats1lend 11566 The length of concatenation with a singleton word. (Contributed by Mario Carneiro, 26-Feb-2016.) (Revised by Jim Kingdon, 19-Jan-2026.)
 |-  T  =  ( S ++ 
 <" X "> )   &    |-  ( ph  ->  S  e. Word  _V )   &    |-  ( ph  ->  X  e.  W )   &    |-  (♯ `  S )  =  M   &    |-  ( M  +  1 )  =  N   =>    |-  ( ph  ->  (♯ `  T )  =  N )
 
18-Jan-2026rexanaliim 2656 A transformation of restricted quantifiers and logical connectives. (Contributed by NM, 4-Sep-2005.) (Revised by Jim Kingdon, 18-Jan-2026.)
 |-  ( E. x  e.  A  ( ph  /\  -.  ps )  ->  -.  A. x  e.  A  ( ph  ->  ps ) )
 
15-Jan-2026df-uspgren 16685 Define the class of all undirected simple pseudographs (which could have loops). An undirected simple pseudograph is a special undirected pseudograph or a special undirected simple hypergraph, consisting of a set  v (of "vertices") and an injective (one-to-one) function  e (representing (indexed) "edges") into subsets of  v of cardinality one or two, representing the two vertices incident to the edge, or the one vertex if the edge is a loop. In contrast to a pseudograph, there is at most one edge between two vertices resp. at most one loop for a vertex. (Contributed by Alexander van der Vekens, 10-Aug-2017.) (Revised by Jim Kingdon, 15-Jan-2026.)
 |- USPGraph  =  { g  |  [. (Vtx `  g )  /  v ]. [. (iEdg `  g )  /  e ]. e : dom  e -1-1-> { x  e.  ~P v  |  ( x  ~~  1o  \/  x  ~~  2o ) } }
 
11-Jan-2026en2prde 7551 A set of size two is an unordered pair of two different elements. (Contributed by Alexander van der Vekens, 8-Dec-2017.) (Revised by Jim Kingdon, 11-Jan-2026.)
 |-  ( V  ~~  2o  ->  E. a E. b
 ( a  =/=  b  /\  V  =  { a ,  b } ) )
 
10-Jan-2026pw1mapen 17315 Equinumerosity of  ( ~P 1o  ^m  A ) and the set of subsets of  A. (Contributed by Jim Kingdon, 10-Jan-2026.)
 |-  ( A  e.  V  ->  ( ~P 1o  ^m  A )  ~~  ~P A )
 
10-Jan-2026pw1if 7596 Expressing a truth value in terms of an  if expression. (Contributed by Jim Kingdon, 10-Jan-2026.)
 |-  ( A  e.  ~P 1o  ->  if ( A  =  1o ,  1o ,  (/) )  =  A )
 
10-Jan-2026pw1m 7595 A truth value which is inhabited is equal to true. This is a variation of pwntru 4338 and pwtrufal 17316. (Contributed by Jim Kingdon, 10-Jan-2026.)
 |-  ( ( A  e.  ~P 1o  /\  E. x  x  e.  A )  ->  A  =  1o )
 
10-Jan-20261ndom2 7177 Two is not dominated by one. (Contributed by Jim Kingdon, 10-Jan-2026.)
 |- 
 -.  2o  ~<_  1o
 
9-Jan-2026pw1map 17314 Mapping between  ( ~P 1o  ^m  A ) and subsets of  A. (Contributed by Jim Kingdon, 9-Jan-2026.)
 |-  F  =  ( s  e.  ( ~P 1o  ^m  A ) 
 |->  { z  e.  A  |  ( s `  z
 )  =  1o }
 )   =>    |-  ( A  e.  V  ->  F : ( ~P 1o  ^m  A ) -1-1-onto-> ~P A )
 
9-Jan-2026iftrueb01 7594 Using an  if expression to represent a truth value by  (/) or  1o. Unlike some theorems using  if,  ph does not need to be decidable. (Contributed by Jim Kingdon, 9-Jan-2026.)
 |-  ( if ( ph ,  1o ,  (/) )  =  1o  <->  ph )
 
8-Jan-2026pfxclz 11478 Closure of the prefix extractor. This extends pfxclg 11477 from  NN0 to  ZZ (negative lengths are trivial, resulting in the empty word). (Contributed by Jim Kingdon, 8-Jan-2026.)
 |-  ( ( S  e. Word  A 
 /\  L  e.  ZZ )  ->  ( S prefix  L )  e. Word  A )
 
8-Jan-2026fnpfx 11476 The domain of the prefix extractor. (Contributed by Jim Kingdon, 8-Jan-2026.)
 |- prefix  Fn  ( _V  X.  NN0 )
 
7-Jan-2026pr1or2 7552 An unordered pair, with decidable equality for the specified elements, has either one or two elements. (Contributed by Jim Kingdon, 7-Jan-2026.)
 |-  ( ( A  e.  C  /\  B  e.  D  /\ DECID  A  =  B )  ->  ( { A ,  B }  ~~  1o  \/  { A ,  B }  ~~  2o ) )
 
6-Jan-2026upgr1elem1 16650 Lemma for upgr1edc 16651. (Contributed by AV, 16-Oct-2020.) (Revised by Jim Kingdon, 6-Jan-2026.)
 |-  ( ph  ->  { B ,  C }  e.  S )   &    |-  ( ph  ->  B  e.  W )   &    |-  ( ph  ->  C  e.  X )   &    |-  ( ph  -> DECID  B  =  C )   =>    |-  ( ph  ->  { { B ,  C } }  C_  { x  e.  S  |  ( x  ~~  1o  \/  x  ~~  2o ) }
 )
 
3-Jan-2026df-umgren 16624 Define the class of all undirected multigraphs. An (undirected) multigraph consists of a set 
v (of "vertices") and a function  e (representing indexed "edges") into subsets of  v of cardinality two, representing the two vertices incident to the edge. In contrast to a pseudograph, a multigraph has no loop. This is according to Chartrand, Gary and Zhang, Ping (2012): "A First Course in Graph Theory.", Dover, ISBN 978-0-486-48368-9, section 1.4, p. 26: "A multigraph M consists of a finite nonempty set V of vertices and a set E of edges, where every two vertices of M are joined by a finite number of edges (possibly zero). If two or more edges join the same pair of (distinct) vertices, then these edges are called parallel edges." (Contributed by AV, 24-Nov-2020.) (Revised by Jim Kingdon, 3-Jan-2026.)
 |- UMGraph  =  { g  |  [. (Vtx `  g )  /  v ]. [. (iEdg `  g )  /  e ]. e : dom  e --> { x  e.  ~P v  |  x  ~~  2o } }
 
3-Jan-2026df-upgren 16623 Define the class of all undirected pseudographs. An (undirected) pseudograph consists of a set 
v (of "vertices") and a function  e (representing indexed "edges") into subsets of  v of cardinality one or two, representing the two vertices incident to the edge, or the one vertex if the edge is a loop. This is according to Chartrand, Gary and Zhang, Ping (2012): "A First Course in Graph Theory.", Dover, ISBN 978-0-486-48368-9, section 1.4, p. 26: "In a pseudograph, not only are parallel edges permitted but an edge is also permitted to join a vertex to itself. Such an edge is called a loop." (in contrast to a multigraph, see df-umgren 16624). (Contributed by Mario Carneiro, 11-Mar-2015.) (Revised by AV, 24-Nov-2020.) (Revised by Jim Kingdon, 3-Jan-2026.)
 |- UPGraph  =  { g  |  [. (Vtx `  g )  /  v ]. [. (iEdg `  g )  /  e ]. e : dom  e --> { x  e.  ~P v  |  ( x  ~~ 
 1o  \/  x  ~~  2o ) } }
 
3-Jan-2026dom1o 7127 Two ways of saying that a set is inhabited. (Contributed by Jim Kingdon, 3-Jan-2026.)
 |-  ( A  e.  V  ->  ( 1o  ~<_  A  <->  E. j  j  e.  A ) )
 
3-Jan-2026en2m 7124 A set with two elements is inhabited. (Contributed by Jim Kingdon, 3-Jan-2026.)
 |-  ( A  ~~  2o  ->  E. x  x  e.  A )
 
3-Jan-2026en1m 7103 A set with one element is inhabited. (Contributed by Jim Kingdon, 3-Jan-2026.)
 |-  ( A  ~~  1o  ->  E. x  x  e.  A )
 
31-Dec-2025pw0ss 16613 There are no inhabited subsets of the empty set. (Contributed by Jim Kingdon, 31-Dec-2025.)
 |- 
 { s  e.  ~P (/) 
 |  E. j  j  e.  s }  =  (/)
 
31-Dec-2025df-ushgrm 16600 Define the class of all undirected simple hypergraphs. An undirected simple hypergraph is a special (non-simple, multiple, multi-) hypergraph for which the edge function  e is an injective (one-to-one) function into subsets of the set of vertices  v, representing the (one or more) vertices incident to the edge. This definition corresponds to the definition of hypergraphs in section I.1 of [Bollobas] p. 7 (except that the empty set seems to be allowed to be an "edge") or section 1.10 of [Diestel] p. 27, where "E is a subset of [...] the power set of V, that is the set of all subsets of V" resp. "the elements of E are nonempty subsets (of any cardinality) of V". (Contributed by AV, 19-Jan-2020.) (Revised by Jim Kingdon, 31-Dec-2025.)
 |- USHGraph  =  { g  |  [. (Vtx `  g )  /  v ]. [. (iEdg `  g )  /  e ]. e : dom  e -1-1-> { s  e.  ~P v  |  E. j  j  e.  s } }
 
29-Dec-2025df-uhgrm 16599 Define the class of all undirected hypergraphs. An undirected hypergraph consists of a set 
v (of "vertices") and a function  e (representing indexed "edges") into the set of inhabited subsets of this set. (Contributed by Alexander van der Vekens, 26-Dec-2017.) (Revised by Jim Kingdon, 29-Dec-2025.)
 |- UHGraph  =  { g  |  [. (Vtx `  g )  /  v ]. [. (iEdg `  g )  /  e ]. e : dom  e --> { s  e.  ~P v  |  E. j  j  e.  s } }
 
29-Dec-2025iedgex 16549 Applying the indexed edge function yields a set. (Contributed by Jim Kingdon, 29-Dec-2025.)
 |-  ( G  e.  V  ->  (iEdg `  G )  e.  _V )
 
29-Dec-2025vtxex 16548 Applying the vertex function yields a set. (Contributed by Jim Kingdon, 29-Dec-2025.)
 |-  ( G  e.  V  ->  (Vtx `  G )  e.  _V )
 
29-Dec-2025snmb 3834 A singleton is inhabited iff its argument is a set. (Contributed by Scott Fenton, 8-May-2018.) (Revised by Jim Kingdon, 29-Dec-2025.)
 |-  ( A  e.  _V  <->  E. x  x  e.  { A } )
 
27-Dec-2025lswex 11383 Existence of the last symbol. The last symbol of a word is a set. See lsw0g 11380 or lswcl 11382 if you want more specific results for empty or nonempty words, respectively. (Contributed by Jim Kingdon, 27-Dec-2025.)
 |-  ( W  e. Word  V  ->  (lastS `  W )  e.  _V )
 
23-Dec-2025fzowrddc 11446 Decidability of whether a range of integers is a subset of a word's domain. (Contributed by Jim Kingdon, 23-Dec-2025.)
 |-  ( ( S  e. Word  A 
 /\  F  e.  ZZ  /\  L  e.  ZZ )  -> DECID  ( F..^ L )  C_  dom 
 S )
 
19-Dec-2025ccatclab 11389 The concatenation of words over two sets is a word over the union of those sets. (Contributed by Jim Kingdon, 19-Dec-2025.)
 |-  ( ( S  e. Word  A 
 /\  T  e. Word  B )  ->  ( S ++  T )  e. Word  ( A  u.  B ) )
 
18-Dec-2025lswwrd 11378 Extract the last symbol of a word. (Contributed by Alexander van der Vekens, 18-Mar-2018.) (Revised by Jim Kingdon, 18-Dec-2025.)
 |-  ( W  e. Word  V  ->  (lastS `  W )  =  ( W `  (
 (♯ `  W )  -  1 ) ) )
 
14-Dec-20252strstrndx 13536 A constructed two-slot structure not depending on the hard-coded index value of the base set. (Contributed by Mario Carneiro, 29-Aug-2015.) (Revised by Jim Kingdon, 14-Dec-2025.)
 |-  G  =  { <. (
 Base `  ndx ) ,  B >. ,  <. N ,  .+  >. }   &    |-  ( Base `  ndx )  <  N   &    |-  N  e.  NN   =>    |-  (
 ( B  e.  V  /\  .+  e.  W ) 
 ->  G Struct  <. ( Base `  ndx ) ,  N >. )
 
12-Dec-2025funiedgdm2vald 16562 The set of indexed edges of an extensible structure with (at least) two slots. (Contributed by AV, 22-Sep-2020.) (Revised by Jim Kingdon, 12-Dec-2025.)
 |-  A  e.  _V   &    |-  B  e.  _V   &    |-  ( ph  ->  G  e.  X )   &    |-  ( ph  ->  Fun  ( G  \  { (/) } ) )   &    |-  ( ph  ->  A  =/=  B )   &    |-  ( ph  ->  { A ,  B }  C_ 
 dom  G )   =>    |-  ( ph  ->  (iEdg `  G )  =  (.ef `  G ) )
 
11-Dec-2025funvtxdm2vald 16561 The set of vertices of an extensible structure with (at least) two slots. (Contributed by AV, 22-Sep-2020.) (Revised by Jim Kingdon, 11-Dec-2025.)
 |-  A  e.  _V   &    |-  B  e.  _V   &    |-  ( ph  ->  G  e.  X )   &    |-  ( ph  ->  Fun  ( G  \  { (/) } ) )   &    |-  ( ph  ->  A  =/=  B )   &    |-  ( ph  ->  { A ,  B }  C_ 
 dom  G )   =>    |-  ( ph  ->  (Vtx `  G )  =  (
 Base `  G ) )
 
11-Dec-2025funiedgdm2domval 16560 The set of indexed edges of an extensible structure with (at least) two slots. (Contributed by AV, 12-Oct-2020.) (Revised by Jim Kingdon, 11-Dec-2025.)
 |-  ( ( G  e.  V  /\  Fun  ( G  \  { (/) } )  /\  2o 
 ~<_  dom  G )  ->  (iEdg `  G )  =  (.ef `  G )
 )
 
11-Dec-2025funvtxdm2domval 16559 The set of vertices of an extensible structure with (at least) two slots. (Contributed by AV, 12-Oct-2020.) (Revised by Jim Kingdon, 11-Dec-2025.)
 |-  ( ( G  e.  V  /\  Fun  ( G  \  { (/) } )  /\  2o 
 ~<_  dom  G )  ->  (Vtx `  G )  =  ( Base `  G )
 )
 
4-Dec-2025hash2en 11322 Two equivalent ways to say a set has two elements. (Contributed by Jim Kingdon, 4-Dec-2025.)
 |-  ( V  ~~  2o  <->  ( V  e.  Fin  /\  (♯ `  V )  =  2 ) )
 
30-Nov-2025nninfnfiinf 17356 An element of ℕ∞ which is not finite is infinite. (Contributed by Jim Kingdon, 30-Nov-2025.)
 |-  (
 ( A  e. ℕ∞  /\  -.  E. n  e.  om  A  =  ( i  e.  om  |->  if ( i  e.  n ,  1o ,  (/) ) ) )  ->  A  =  ( i  e.  om  |->  1o ) )
 
30-Nov-2025eluz3nn 9988 An integer greater than or equal to 3 is a positive integer. (Contributed by Alexander van der Vekens, 17-Sep-2018.) (Proof shortened by AV, 30-Nov-2025.)
 |-  ( N  e.  ( ZZ>=
 `  3 )  ->  N  e.  NN )
 
27-Nov-2025psrelbasfi 15206 Simpler form of psrelbas 15205 when the index set is finite. (Contributed by Jim Kingdon, 27-Nov-2025.)
 |-  S  =  ( I mPwSer  R )   &    |-  K  =  (
 Base `  R )   &    |-  ( ph  ->  I  e.  Fin )   &    |-  B  =  ( Base `  S )   &    |-  ( ph  ->  X  e.  B )   =>    |-  ( ph  ->  X : ( NN0  ^m  I
 ) --> K )
 
26-Nov-2025mplsubgfileminv 15263 Lemma for mplsubgfi 15264. The additive inverse of a polynomial is a polynomial. (Contributed by Jim Kingdon, 26-Nov-2025.)
 |-  S  =  ( I mPwSer  R )   &    |-  P  =  ( I mPoly  R )   &    |-  U  =  ( Base `  P )   &    |-  ( ph  ->  I  e.  Fin )   &    |-  ( ph  ->  R  e.  Grp )   &    |-  ( ph  ->  X  e.  U )   &    |-  N  =  ( invg `  S )   =>    |-  ( ph  ->  ( N `  X )  e.  U )
 
26-Nov-2025mplsubgfilemcl 15262 Lemma for mplsubgfi 15264. The sum of two polynomials is a polynomial. (Contributed by Jim Kingdon, 26-Nov-2025.)
 |-  S  =  ( I mPwSer  R )   &    |-  P  =  ( I mPoly  R )   &    |-  U  =  ( Base `  P )   &    |-  ( ph  ->  I  e.  Fin )   &    |-  ( ph  ->  R  e.  Grp )   &    |-  ( ph  ->  X  e.  U )   &    |-  ( ph  ->  Y  e.  U )   &    |- 
 .+  =  ( +g  `  S )   =>    |-  ( ph  ->  ( X  .+  Y )  e.  U )
 
25-Nov-2025nninfinfwlpo 7532 The point at infinity in ℕ∞ being isolated is equivalent to the Weak Limited Principle of Omniscience (WLPO). By isolated, we mean that the equality of that point with every other element of ℕ∞ is decidable. From an online post by Martin Escardo. By contrast, elements of ℕ∞ corresponding to natural numbers are isolated (nninfisol 7485). (Contributed by Jim Kingdon, 25-Nov-2025.)
 |-  ( A. x  e. ℕ∞ DECID  x  =  (
 i  e.  om  |->  1o )  <->  om  e. WOmni )
 
23-Nov-2025psrbagfi 15174 A finite index set gives a simpler expression for finite bags. (Contributed by Jim Kingdon, 23-Nov-2025.)
 |-  D  =  { f  e.  ( NN0  ^m  I
 )  |  ( `' f " NN )  e.  Fin }   =>    |-  ( I  e.  Fin  ->  D  =  ( NN0  ^m  I ) )
 
22-Nov-2025df-acnm 7537 Define a local and length-limited version of the axiom of choice. The definition of the predicate 
X  e. AC  A is that for all families of inhabited subsets of  X indexed on  A (i.e. functions  A --> { z  e.  ~P X  |  E. j j  e.  z }), there is a function which selects an element from each set in the family. (Contributed by Mario Carneiro, 31-Aug-2015.) Change nonempty to inhabited. (Revised by Jim Kingdon, 22-Nov-2025.)
 |- AC  A  =  { x  |  ( A  e.  _V  /\ 
 A. f  e.  ( { z  e.  ~P x  |  E. j  j  e.  z }  ^m  A ) E. g A. y  e.  A  ( g `  y
 )  e.  ( f `
  y ) ) }
 
21-Nov-2025mplsubgfilemm 15261 Lemma for mplsubgfi 15264. There exists a polynomial. (Contributed by Jim Kingdon, 21-Nov-2025.)
 |-  S  =  ( I mPwSer  R )   &    |-  P  =  ( I mPoly  R )   &    |-  U  =  ( Base `  P )   &    |-  ( ph  ->  I  e.  Fin )   &    |-  ( ph  ->  R  e.  Grp )   =>    |-  ( ph  ->  E. j  j  e.  U )
 
15-Nov-2025uzuzle35 9986 An integer greater than or equal to 5 is an integer greater than or equal to 3. (Contributed by AV, 15-Nov-2025.)
 |-  ( A  e.  ( ZZ>=
 `  5 )  ->  A  e.  ( ZZ>= `  3 ) )
 
14-Nov-20252omapen 7331 Equinumerosity of  ( 2o  ^m  A ) and the set of decidable subsets of  A. (Contributed by Jim Kingdon, 14-Nov-2025.)
 |-  ( A  e.  V  ->  ( 2o  ^m  A )  ~~  { x  e. 
 ~P A  |  A. y  e.  A DECID  y  e.  x } )
 
12-Nov-20252omap 7330 Mapping between  ( 2o  ^m  A ) and decidable subsets of  A. (Contributed by Jim Kingdon, 12-Nov-2025.)
 |-  F  =  ( s  e.  ( 2o  ^m  A )  |->  { z  e.  A  |  ( s `
  z )  =  1o } )   =>    |-  ( A  e.  V  ->  F : ( 2o  ^m  A ) -1-1-onto-> { x  e.  ~P A  |  A. y  e.  A DECID  y  e.  x } )
 
11-Nov-2025domomsubct 17320 A set dominated by  om is subcountable. (Contributed by Jim Kingdon, 11-Nov-2025.)
 |-  ( A 
 ~<_  om  ->  E. s
 ( s  C_  om  /\  E. f  f : s
 -onto-> A ) )
 
10-Nov-2025prdsbaslemss 14286 Lemma for prdsbas 14288 and similar theorems. (Contributed by Jim Kingdon, 10-Nov-2025.)
 |-  P  =  ( S
 X_s
 R )   &    |-  ( ph  ->  S  e.  V )   &    |-  ( ph  ->  R  e.  W )   &    |-  A  =  ( E `
  P )   &    |-  E  = Slot  ( E `  ndx )   &    |-  ( E `  ndx )  e.  NN   &    |-  ( ph  ->  T  e.  X )   &    |-  ( ph  ->  { <. ( E `
  ndx ) ,  T >. }  C_  P )   =>    |-  ( ph  ->  A  =  T )
 
5-Nov-2025fnmpl 15253 mPoly has universal domain. (Contributed by Jim Kingdon, 5-Nov-2025.)
 |- mPoly  Fn  ( _V  X.  _V )
 
1-Nov-2025ficardon 7546 The cardinal number of a finite set is an ordinal. (Contributed by Jim Kingdon, 1-Nov-2025.)
 |-  ( A  e.  Fin  ->  ( card `  A )  e.  On )
 
31-Oct-2025bitsdc 12744 Whether a bit is set is decidable. (Contributed by Jim Kingdon, 31-Oct-2025.)
 |-  ( ( N  e.  ZZ  /\  M  e.  NN0 )  -> DECID  M  e.  (bits `  N ) )
 
28-Oct-2025nn0maxcl 12019 The maximum of two nonnegative integers is a nonnegative integer. (Contributed by Jim Kingdon, 28-Oct-2025.)
 |-  ( ( A  e.  NN0  /\  B  e.  NN0 )  ->  sup ( { A ,  B } ,  RR ,  <  )  e.  NN0 )
 
28-Oct-2025qdcle 10703 Rational  <_ is decidable. (Contributed by Jim Kingdon, 28-Oct-2025.)
 |-  ( ( A  e.  QQ  /\  B  e.  QQ )  -> DECID  A  <_  B )
 
17-Oct-2025plycoeid3 16067 Reconstruct a polynomial as an explicit sum of the coefficient function up to an index no smaller than the degree of the polynomial. (Contributed by Jim Kingdon, 17-Oct-2025.)
 |-  ( ph  ->  D  e.  NN0 )   &    |-  ( ph  ->  A : NN0 --> CC )   &    |-  ( ph  ->  ( A "
 ( ZZ>= `  ( D  +  1 ) ) )  =  { 0 } )   &    |-  ( ph  ->  F  =  ( z  e. 
 CC  |->  sum_ k  e.  (
 0 ... D ) ( ( A `  k
 )  x.  ( z ^ k ) ) ) )   &    |-  ( ph  ->  M  e.  ( ZZ>= `  D ) )   &    |-  ( ph  ->  X  e.  CC )   =>    |-  ( ph  ->  ( F `  X )  =  sum_ j  e.  (
 0 ... M ) ( ( A `  j
 )  x.  ( X ^ j ) ) )
 
13-Oct-2025tpfidceq 7248 A triple is finite if it consists of elements of a class with decidable equality. (Contributed by Jim Kingdon, 13-Oct-2025.)
 |-  ( ph  ->  A  e.  D )   &    |-  ( ph  ->  B  e.  D )   &    |-  ( ph  ->  C  e.  D )   &    |-  ( ph  ->  A. x  e.  D  A. y  e.  D DECID  x  =  y )   =>    |-  ( ph  ->  { A ,  B ,  C }  e.  Fin )
 
13-Oct-2025prfidceq 7246 A pair is finite if it consists of elements of a class with decidable equality. (Contributed by Jim Kingdon, 13-Oct-2025.)
 |-  ( ph  ->  A  e.  C )   &    |-  ( ph  ->  B  e.  C )   &    |-  ( ph  ->  A. x  e.  C  A. y  e.  C DECID  x  =  y )   =>    |-  ( ph  ->  { A ,  B }  e.  Fin )
 
13-Oct-2025dcun 3637 The union of two decidable classes is decidable. (Contributed by Jim Kingdon, 5-Oct-2022.) (Revised by Jim Kingdon, 13-Oct-2025.)
 |-  ( ph  -> DECID  C  e.  A )   &    |-  ( ph  -> DECID  C  e.  B )   =>    |-  ( ph  -> DECID  C  e.  ( A  u.  B ) )
 
9-Oct-2025dvdsfi 13051 A natural number has finitely many divisors. (Contributed by Jim Kingdon, 9-Oct-2025.)
 |-  ( N  e.  NN  ->  { x  e.  NN  |  x  ||  N }  e.  Fin )
 
6-Oct-2025dvconstss 16008 Derivative of a constant function defined on an open set. (Contributed by Jim Kingdon, 6-Oct-2025.)
 |-  ( ph  ->  S  e.  { RR ,  CC } )   &    |-  J  =  ( K ↾t  S )   &    |-  K  =  (
 MetOpen `  ( abs  o.  -  ) )   &    |-  ( ph  ->  X  e.  J )   &    |-  ( ph  ->  A  e.  CC )   =>    |-  ( ph  ->  ( S  _D  ( X  X.  { A } ) )  =  ( X  X.  { 0 } ) )
 
6-Oct-2025dcfrompeirce 1499 The decidability of a proposition 
ch follows from a suitable instance of Peirce's law. Therefore, if we were to introduce Peirce's law as a general principle (without the decidability condition in peircedc 926), then we could prove that every proposition is decidable, giving us the classical system of propositional calculus (since Perice's law is itself classically valid). (Contributed by Adrian Ducourtial, 6-Oct-2025.)
 |-  ( ph  <->  ( ch  \/  -. 
 ch ) )   &    |-  ( ps 
 <-> F.  )   &    |-  ( ( (
 ph  ->  ps )  ->  ph )  -> 
 ph )   =>    |- DECID  ch
 
6-Oct-2025dcfromcon 1498 The decidability of a proposition 
ch follows from a suitable instance of the principle of contraposition. Therefore, if we were to introduce contraposition as a general principle (without the decidability condition in condc 865), then we could prove that every proposition is decidable, giving us the classical system of propositional calculus (since the principle of contraposition is itself classically valid). (Contributed by Adrian Ducourtial, 6-Oct-2025.)
 |-  ( ph  <->  ( ch  \/  -. 
 ch ) )   &    |-  ( ps 
 <-> T.  )   &    |-  ( ( -.  ph  ->  -.  ps )  ->  ( ps  ->  ph )
 )   =>    |- DECID  ch
 
6-Oct-2025dcfromnotnotr 1497 The decidability of a proposition 
ps follows from a suitable instance of double negation elimination (DNE). Therefore, if we were to introduce DNE as a general principle (without the decidability condition in notnotrdc 855), then we could prove that every proposition is decidable, giving us the classical system of propositional calculus (since DNE itself is classically valid). (Contributed by Adrian Ducourtial, 6-Oct-2025.)
 |-  ( ph  <->  ( ps  \/  -. 
 ps ) )   &    |-  ( -.  -.  ph  ->  ph )   =>    |- DECID  ps
 
3-Oct-2025dvidre 16007 Real derivative of the identity function. (Contributed by Jim Kingdon, 3-Oct-2025.)
 |-  ( RR  _D  (  _I  |`  RR ) )  =  ( RR  X.  { 1 } )
 
3-Oct-2025dvconstre 16006 Real derivative of a constant function. (Contributed by Jim Kingdon, 3-Oct-2025.)
 |-  ( A  e.  CC  ->  ( RR  _D  ( RR  X.  { A }
 ) )  =  ( RR  X.  { 0 } ) )
 
3-Oct-2025dvidsslem 16003 Lemma for dvconstss 16008. Analogue of dvidlemap 16001 where  F is defined on an open subset of the real or complex numbers. (Contributed by Jim Kingdon, 3-Oct-2025.)
 |-  ( ph  ->  S  e.  { RR ,  CC } )   &    |-  J  =  ( K ↾t  S )   &    |-  K  =  (
 MetOpen `  ( abs  o.  -  ) )   &    |-  ( ph  ->  F : X --> CC )   &    |-  ( ph  ->  X  e.  J )   &    |-  ( ( ph  /\  ( x  e.  X  /\  z  e.  X  /\  z #  x ) )  ->  ( ( ( F `
  z )  -  ( F `  x ) )  /  ( z  -  x ) )  =  B )   &    |-  B  e.  CC   =>    |-  ( ph  ->  ( S  _D  F )  =  ( X  X.  { B } ) )
 
3-Oct-2025dvidrelem 16002 Lemma for dvidre 16007 and dvconstre 16006. Analogue of dvidlemap 16001 for real numbers rather than complex numbers. (Contributed by Jim Kingdon, 3-Oct-2025.)
 |-  ( ph  ->  F : RR --> CC )   &    |-  (
 ( ph  /\  ( x  e.  RR  /\  z  e.  RR  /\  z #  x ) )  ->  ( ( ( F `  z
 )  -  ( F `
  x ) ) 
 /  ( z  -  x ) )  =  B )   &    |-  B  e.  CC   =>    |-  ( ph  ->  ( RR  _D  F )  =  ( RR  X.  { B }
 ) )
 
28-Sep-2025metuex 15008 Applying metUnif yields a set. (Contributed by Jim Kingdon, 28-Sep-2025.)
 |-  ( A  e.  V  ->  (metUnif `  A )  e.  _V )
 
28-Sep-2025cndsex 15006 The standard distance function on the complex numbers is a set. (Contributed by Jim Kingdon, 28-Sep-2025.)
 |-  ( abs  o.  -  )  e.  _V
 
25-Sep-2025cntopex 15007 The standard topology on the complex numbers is a set. (Contributed by Jim Kingdon, 25-Sep-2025.)
 |-  ( MetOpen `  ( abs  o. 
 -  ) )  e. 
 _V
 
24-Sep-2025mopnset 15005 Getting a set by applying 
MetOpen. (Contributed by Jim Kingdon, 24-Sep-2025.)
 |-  ( D  e.  V  ->  ( MetOpen `  D )  e.  _V )
 
24-Sep-2025blfn 15004 The ball function has universal domain. (Contributed by Jim Kingdon, 24-Sep-2025.)
 |- 
 ball  Fn  _V
 
23-Sep-2025elfzoext 10632 Membership of an integer in an extended open range of integers, extension added to the right. (Contributed by AV, 30-Apr-2020.) (Proof shortened by AV, 23-Sep-2025.)
 |-  ( ( Z  e.  ( M..^ N )  /\  I  e.  NN0 )  ->  Z  e.  ( M..^ ( N  +  I
 ) ) )
 
22-Sep-2025plycjlemc 16070 Lemma for plycj 16071. (Contributed by Mario Carneiro, 24-Jul-2014.) (Revised by Jim Kingdon, 22-Sep-2025.)
 |-  ( ph  ->  N  e.  NN0 )   &    |-  G  =  ( ( *  o.  F )  o.  * )   &    |-  ( ph  ->  A : NN0 --> ( S  u.  { 0 } ) )   &    |-  ( ph  ->  F  =  ( z  e.  CC  |->  sum_ k  e.  ( 0 ...
 N ) ( ( A `  k )  x.  ( z ^
 k ) ) ) )   &    |-  ( ph  ->  F  e.  (Poly `  S ) )   =>    |-  ( ph  ->  G  =  ( z  e.  CC  |->  sum_
 k  e.  ( 0
 ... N ) ( ( ( *  o.  A ) `  k
 )  x.  ( z ^ k ) ) ) )
 
22-Sep-2025asclelbas 15142 Lifted scalars are in the base set of the algebra. (Contributed by Zhi Wang, 11-Sep-2025.) (Proof shortened by Thierry Arnoux, 22-Sep-2025.)
 |-  A  =  (algSc `  W )   &    |-  F  =  (Scalar `  W )   &    |-  B  =  (
 Base `  F )   &    |-  ( ph  ->  W  e. AssAlg )   &    |-  ( ph  ->  C  e.  B )   =>    |-  ( ph  ->  ( A `  C )  e.  ( Base `  W )
 )
 
20-Sep-2025plycolemc 16068 Lemma for plyco 16069. The result expressed as a sum, with a degree and coefficients for  F specified as hypotheses. (Contributed by Jim Kingdon, 20-Sep-2025.)
 |-  ( ph  ->  F  e.  (Poly `  S )
 )   &    |-  ( ph  ->  G  e.  (Poly `  S )
 )   &    |-  ( ( ph  /\  ( x  e.  S  /\  y  e.  S )
 )  ->  ( x  +  y )  e.  S )   &    |-  ( ( ph  /\  ( x  e.  S  /\  y  e.  S )
 )  ->  ( x  x.  y )  e.  S )   &    |-  ( ph  ->  N  e.  NN0 )   &    |-  ( ph  ->  A : NN0 --> ( S  u.  { 0 } ) )   &    |-  ( ph  ->  ( A " ( ZZ>= `  ( N  +  1
 ) ) )  =  { 0 } )   &    |-  ( ph  ->  F  =  ( x  e.  CC  |->  sum_ k  e.  ( 0 ...
 N ) ( ( A `  k )  x.  ( x ^
 k ) ) ) )   =>    |-  ( ph  ->  (
 z  e.  CC  |->  sum_ k  e.  ( 0 ...
 N ) ( ( A `  k )  x.  ( ( G `
  z ) ^
 k ) ) )  e.  (Poly `  S ) )
 
18-Sep-2025elfzoextl 10631 Membership of an integer in an extended open range of integers, extension added to the left. (Contributed by AV, 31-Aug-2025.) Generalized by replacing the left border of the ranges. (Revised by SN, 18-Sep-2025.)
 |-  ( ( Z  e.  ( M..^ N )  /\  I  e.  NN0 )  ->  Z  e.  ( M..^ ( I  +  N ) ) )
 
16-Sep-2025lgsquadlemofi 16484 Lemma for lgsquad 16488. There are finitely many members of  S with odd first part. (Contributed by Jim Kingdon, 16-Sep-2025.)
 |-  ( ph  ->  P  e.  ( Prime  \  { 2 } ) )   &    |-  ( ph  ->  Q  e.  ( Prime  \  { 2 } ) )   &    |-  ( ph  ->  P  =/=  Q )   &    |-  M  =  ( ( P  -  1 )  /  2
 )   &    |-  N  =  ( ( Q  -  1 ) 
 /  2 )   &    |-  S  =  { <. x ,  y >.  |  ( ( x  e.  ( 1 ...
 M )  /\  y  e.  ( 1 ... N ) )  /\  ( y  x.  P )  < 
 ( x  x.  Q ) ) }   =>    |-  ( ph  ->  { z  e.  S  |  -.  2  ||  ( 1st `  z ) }  e.  Fin )
 
16-Sep-2025lgsquadlemsfi 16483 Lemma for lgsquad 16488. 
S is finite. (Contributed by Jim Kingdon, 16-Sep-2025.)
 |-  ( ph  ->  P  e.  ( Prime  \  { 2 } ) )   &    |-  ( ph  ->  Q  e.  ( Prime  \  { 2 } ) )   &    |-  ( ph  ->  P  =/=  Q )   &    |-  M  =  ( ( P  -  1 )  /  2
 )   &    |-  N  =  ( ( Q  -  1 ) 
 /  2 )   &    |-  S  =  { <. x ,  y >.  |  ( ( x  e.  ( 1 ...
 M )  /\  y  e.  ( 1 ... N ) )  /\  ( y  x.  P )  < 
 ( x  x.  Q ) ) }   =>    |-  ( ph  ->  S  e.  Fin )
 
16-Sep-2025opabfi 7258 Finiteness of an ordered pair abstraction which is a decidable subset of finite sets. (Contributed by Jim Kingdon, 16-Sep-2025.)
 |-  S  =  { <. x ,  y >.  |  ( ( x  e.  A  /\  y  e.  B )  /\  ps ) }   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  B  e.  Fin )   &    |-  ( ph  ->  A. x  e.  A  A. y  e.  B DECID  ps )   =>    |-  ( ph  ->  S  e.  Fin )
 
13-Sep-2025uchoice 6379 Principle of unique choice. This is also called non-choice. The name choice results in its similarity to something like acfun 7575 (with the key difference being the change of  E. to  E!) but unique choice in fact follows from the axiom of collection and our other axioms. This is somewhat similar to Corollary 3.9.2 of [HoTT], p. (varies) but is better described by the paragraph at the end of Section 3.9 which starts "A similar issue arises in set-theoretic mathematics". (Contributed by Jim Kingdon, 13-Sep-2025.)
 |-  ( ( A  e.  V  /\  A. x  e.  A  E! y ph )  ->  E. f ( f  Fn  A  /\  A. x  e.  A  [. (
 f `  x )  /  y ]. ph )
 )
 
11-Sep-2025assa2ass2 15126 Left- and right-associative property of an associative algebra. Notice that the scalars are not commuted! (Contributed by Zhi Wang, 11-Sep-2025.)
 |-  V  =  ( Base `  W )   &    |-  F  =  (Scalar `  W )   &    |-  B  =  (
 Base `  F )   &    |-  .*  =  ( .r `  F )   &    |- 
 .x.  =  ( .s `  W )   &    |-  .X.  =  ( .r `  W )   =>    |-  ( ( W  e. AssAlg  /\  ( A  e.  B  /\  C  e.  B )  /\  ( X  e.  V  /\  Y  e.  V ) )  ->  ( ( A  .x.  X )  .X.  ( C  .x.  Y ) )  =  (
 ( A  .*  C )  .x.  ( X  .X.  Y ) ) )
 
11-Sep-2025assa2ass 15125 Left- and right-associative property of an associative algebra. Notice that the scalars are commuted! (Contributed by AV, 14-Aug-2019.) (Proof shortened by Zhi Wang, 11-Sep-2025.)
 |-  V  =  ( Base `  W )   &    |-  F  =  (Scalar `  W )   &    |-  B  =  (
 Base `  F )   &    |-  .*  =  ( .r `  F )   &    |- 
 .x.  =  ( .s `  W )   &    |-  .X.  =  ( .r `  W )   =>    |-  ( ( W  e. AssAlg  /\  ( A  e.  B  /\  C  e.  B )  /\  ( X  e.  V  /\  Y  e.  V ) )  ->  ( ( A  .x.  X )  .X.  ( C  .x.  Y ) )  =  (
 ( C  .*  A )  .x.  ( X  .X.  Y ) ) )
 
11-Sep-2025expghmap 15058 Exponentiation is a group homomorphism from addition to multiplication. (Contributed by Mario Carneiro, 18-Jun-2015.) (Revised by AV, 10-Jun-2019.) (Revised by Jim Kingdon, 11-Sep-2025.)
 |-  M  =  (mulGrp ` ℂfld )   &    |-  U  =  ( M ↾s 
 { z  e.  CC  |  z #  0 }
 )   =>    |-  ( ( A  e.  CC  /\  A #  0 ) 
 ->  ( x  e.  ZZ  |->  ( A ^ x ) )  e.  (ℤring  GrpHom  U ) )
 
11-Sep-2025cnfldui 15040 The invertible complex numbers are exactly those apart from zero. This is recapb 9015 but expressed in terms of ℂfld. (Contributed by Jim Kingdon, 11-Sep-2025.)
 |- 
 { z  e.  CC  |  z #  0 }  =  (Unit ` ℂfld )
 
9-Sep-2025gzsummhm2 14241 Apply a group homomorphism to a group sum, mapping version with implicit substitution. (Contributed by Mario Carneiro, 5-May-2015.) (Revised by AV, 6-Jun-2019.) (Revised by Jim Kingdon, 9-Sep-2025.)
 |-  B  =  ( Base `  G )   &    |-  .0.  =  ( 0g `  G )   &    |-  ( ph  ->  G  e. CMnd )   &    |-  ( ph  ->  H  e.  Mnd )   &    |-  ( ph  ->  M  e.  ZZ )   &    |-  ( ph  ->  N  e.  ZZ )   &    |-  ( ph  ->  ( x  e.  B  |->  C )  e.  ( G MndHom  H ) )   &    |-  ( ( ph  /\  k  e.  ( M
 ... N ) ) 
 ->  X  e.  B )   &    |-  ( x  =  X  ->  C  =  D )   &    |-  ( x  =  ( G  gzsumgz 
 ( k  e.  ( M ... N )  |->  X ) )  ->  C  =  E )   =>    |-  ( ph  ->  ( H  gzsumgz 
 ( k  e.  ( M ... N )  |->  D ) )  =  E )
 
8-Sep-2025gzsummhm 14240 Apply a monoid homomorphism to a group sum. (Contributed by Mario Carneiro, 15-Dec-2014.) (Revised by AV, 6-Jun-2019.) (Revised by Jim Kingdon, 8-Sep-2025.)
 |-  B  =  ( Base `  G )   &    |-  .0.  =  ( 0g `  G )   &    |-  ( ph  ->  G  e. CMnd )   &    |-  ( ph  ->  H  e.  Mnd )   &    |-  ( ph  ->  M  e.  ZZ )   &    |-  ( ph  ->  N  e.  ZZ )   &    |-  ( ph  ->  K  e.  ( G MndHom  H )
 )   &    |-  ( ph  ->  F : ( M ... N ) --> B )   =>    |-  ( ph  ->  ( H  gzsumgz 
 ( K  o.  F ) )  =  ( K `  ( G  gzsumgz  F ) ) )
 
8-Sep-20255ndvds6 12732 5 does not divide 6. (Contributed by AV, 8-Sep-2025.)
 |- 
 -.  5  ||  6
 
8-Sep-20255ndvds3 12731 5 does not divide 3. (Contributed by AV, 8-Sep-2025.)
 |- 
 -.  5  ||  3
 
7-Sep-20255eluz3 9982 5 is an integer greater than or equal to 3. (Contributed by AV, 7-Sep-2025.)
 |-  5  e.  ( ZZ>= `  3 )
 
6-Sep-2025gzsumconst 14238 Sum of a constant series. (Contributed by Mario Carneiro, 19-Dec-2014.) (Revised by Jim Kingdon, 6-Sep-2025.)
 |-  B  =  ( Base `  G )   &    |-  .x.  =  (.g `  G )   =>    |-  ( ( G  e.  Mnd  /\  N  e.  ( ZZ>= `  M )  /\  X  e.  B )  ->  ( G 
 gzsumgz  ( k  e.  ( M ... N )  |->  X ) )  =  ( ( ( N  -  M )  +  1
 )  .x.  X )
 )
 
5-Sep-2025uzuzle34 9985 An integer greater than or equal to 4 is an integer greater than or equal to 3. (Contributed by AV, 5-Sep-2025.)
 |-  ( X  e.  ( ZZ>=
 `  4 )  ->  X  e.  ( ZZ>= `  3 ) )
 
30-Aug-2025gzsumsubmcl 14237 Closure of a group sum in a submonoid. (Contributed by Mario Carneiro, 10-Jan-2015.) (Revised by AV, 3-Jun-2019.) (Revised by Jim Kingdon, 30-Aug-2025.)
 |-  ( ph  ->  G  e.  Mnd )   &    |-  ( ph  ->  M  e.  ZZ )   &    |-  ( ph  ->  N  e.  ZZ )   &    |-  ( ph  ->  S  e.  (SubMnd `  G )
 )   &    |-  ( ph  ->  F : ( M ... N ) --> S )   =>    |-  ( ph  ->  ( G  gzsumgz 
 F )  e.  S )
 
30-Aug-2025seqm1g 10937 Value of the sequence builder function at a successor. (Contributed by Mario Carneiro, 24-Jun-2013.) (Revised by Jim Kingdon, 30-Aug-2025.)
 |-  ( ph  ->  M  e.  ZZ )   &    |-  ( ph  ->  N  e.  ( ZZ>= `  ( M  +  1 )
 ) )   &    |-  ( ph  ->  .+  e.  V )   &    |-  ( ph  ->  F  e.  W )   =>    |-  ( ph  ->  (  seq M (  .+  ,  F ) `  N )  =  ( (  seq M (  .+  ,  F ) `  ( N  -  1 ) ) 
 .+  ( F `  N ) ) )
 
29-Aug-2025seqf1og 10984 Rearrange a sum via an arbitrary bijection on  ( M ... N ). (Contributed by Mario Carneiro, 27-Feb-2014.) (Revised by Jim Kingdon, 29-Aug-2025.)
 |-  ( ( ph  /\  ( x  e.  S  /\  y  e.  S )
 )  ->  ( x  .+  y )  e.  S )   &    |-  ( ( ph  /\  ( x  e.  C  /\  y  e.  C )
 )  ->  ( x  .+  y )  =  ( y  .+  x ) )   &    |-  ( ( ph  /\  ( x  e.  S  /\  y  e.  S  /\  z  e.  S ) )  ->  ( ( x  .+  y ) 
 .+  z )  =  ( x  .+  (
 y  .+  z )
 ) )   &    |-  ( ph  ->  N  e.  ( ZZ>= `  M ) )   &    |-  ( ph  ->  C 
 C_  S )   &    |-  ( ph  ->  .+  e.  V )   &    |-  ( ph  ->  F : ( M ... N ) -1-1-onto-> ( M ... N ) )   &    |-  ( ( ph  /\  x  e.  ( M
 ... N ) ) 
 ->  ( G `  x )  e.  C )   &    |-  (
 ( ph  /\  k  e.  ( M ... N ) )  ->  ( H `
  k )  =  ( G `  ( F `  k ) ) )   &    |-  ( ph  ->  G  e.  W )   &    |-  ( ph  ->  H  e.  X )   =>    |-  ( ph  ->  (  seq M (  .+  ,  H ) `  N )  =  (  seq M (  .+  ,  G ) `  N ) )
 
25-Aug-2025irrmulap 10070 The product of an irrational with a nonzero rational is irrational. By irrational we mean apart from any rational number. For a similar theorem with not rational in place of irrational, see irrmul 10069. (Contributed by Jim Kingdon, 25-Aug-2025.)
 |-  ( ph  ->  A  e.  RR )   &    |-  ( ph  ->  A. q  e.  QQ  A #  q )   &    |-  ( ph  ->  B  e.  QQ )   &    |-  ( ph  ->  B  =/=  0
 )   &    |-  ( ph  ->  Q  e.  QQ )   =>    |-  ( ph  ->  ( A  x.  B ) #  Q )
 
19-Aug-2025seqp1g 10929 Value of the sequence builder function at a successor. (Contributed by Mario Carneiro, 24-Jun-2013.) (Revised by Jim Kingdon, 19-Aug-2025.)
 |-  ( ( N  e.  ( ZZ>= `  M )  /\  F  e.  V  /\  .+  e.  W )  ->  (  seq M (  .+  ,  F ) `  ( N  +  1 )
 )  =  ( ( 
 seq M (  .+  ,  F ) `  N )  .+  ( F `  ( N  +  1
 ) ) ) )
 
19-Aug-2025seq1g 10926 Value of the sequence builder function at its initial value. (Contributed by Mario Carneiro, 24-Jun-2013.) (Revised by Jim Kingdon, 19-Aug-2025.)
 |-  ( ( M  e.  ZZ  /\  F  e.  V  /\  .+  e.  W ) 
 ->  (  seq M ( 
 .+  ,  F ) `  M )  =  ( F `  M ) )
 
18-Aug-2025iswrdiz 11338 A zero-based sequence is a word. In iswrdinn0 11336 we can specify a length as an nonnegative integer. However, it will occasionally be helpful to allow a negative length, as well as zero, to specify an empty sequence. (Contributed by Jim Kingdon, 18-Aug-2025.)
 |-  ( ( W :
 ( 0..^ L ) --> S  /\  L  e.  ZZ )  ->  W  e. Word  S )
 
16-Aug-2025gzsumcl 13868 Closure of an ordered group sum. (Contributed by Mario Carneiro, 15-Dec-2014.) (Revised by AV, 3-Jun-2019.) (Revised by Jim Kingdon, 16-Aug-2025.)
 |-  B  =  ( Base `  G )   &    |-  .0.  =  ( 0g `  G )   &    |-  ( ph  ->  G  e.  Mnd )   &    |-  ( ph  ->  M  e.  ZZ )   &    |-  ( ph  ->  N  e.  ZZ )   &    |-  ( ph  ->  F : ( M ... N ) --> B )   =>    |-  ( ph  ->  ( G  gzsumgz 
 F )  e.  B )
 
16-Aug-2025iswrdinn0 11336 A zero-based sequence is a word. (Contributed by Stefan O'Rear, 15-Aug-2015.) (Revised by Mario Carneiro, 26-Feb-2016.) (Revised by Jim Kingdon, 16-Aug-2025.)
 |-  ( ( W :
 ( 0..^ L ) --> S  /\  L  e.  NN0 )  ->  W  e. Word  S )
 
14-Aug-2025gzsumfzval 13775 An expression for  gzsumgz when summing over a finite set of sequential integers. (Contributed by Jim Kingdon, 14-Aug-2025.)
 |-  B  =  ( Base `  G )   &    |-  .0.  =  ( 0g `  G )   &    |-  .+  =  ( +g  `  G )   &    |-  ( ph  ->  G  e.  V )   &    |-  ( ph  ->  M  e.  ZZ )   &    |-  ( ph  ->  N  e.  ZZ )   &    |-  ( ph  ->  F : ( M ... N ) --> B )   =>    |-  ( ph  ->  ( G  gzsumgz 
 F )  =  if ( N  <  M ,  .0.  ,  (  seq M (  .+  ,  F ) `
  N ) ) )
 
13-Aug-2025znidom 15108 The ℤ/nℤ structure is an integral domain when  n is prime. (Contributed by Mario Carneiro, 15-Jun-2015.) (Revised by Jim Kingdon, 13-Aug-2025.)
 |-  Y  =  (ℤ/nℤ `  N )   =>    |-  ( N  e.  Prime  ->  Y  e. IDomn )
 
12-Aug-2025rrgmex 14685 A structure whose set of left-regular elements is inhabited is a set. (Contributed by Jim Kingdon, 12-Aug-2025.)
 |-  E  =  (RLReg `  R )   =>    |-  ( A  e.  E  ->  R  e.  _V )
 
10-Aug-2025gausslemma2dlem1cl 16467 Lemma for gausslemma2dlem1 16469. Closure of the body of the definition of  R. (Contributed by Jim Kingdon, 10-Aug-2025.)
 |-  ( ph  ->  P  e.  ( Prime  \  { 2 } ) )   &    |-  H  =  ( ( P  -  1 )  /  2
 )   &    |-  R  =  ( x  e.  ( 1 ...
 H )  |->  if (
 ( x  x.  2
 )  <  ( P  /  2 ) ,  ( x  x.  2 ) ,  ( P  -  ( x  x.  2 ) ) ) )   &    |-  ( ph  ->  A  e.  ( 1 ...
 H ) )   =>    |-  ( ph  ->  if ( ( A  x.  2 )  <  ( P 
 /  2 ) ,  ( A  x.  2
 ) ,  ( P  -  ( A  x.  2 ) ) )  e.  ZZ )
 
9-Aug-2025gausslemma2dlem1f1o 16468 Lemma for gausslemma2dlem1 16469. (Contributed by Jim Kingdon, 9-Aug-2025.)
 |-  ( ph  ->  P  e.  ( Prime  \  { 2 } ) )   &    |-  H  =  ( ( P  -  1 )  /  2
 )   &    |-  R  =  ( x  e.  ( 1 ...
 H )  |->  if (
 ( x  x.  2
 )  <  ( P  /  2 ) ,  ( x  x.  2 ) ,  ( P  -  ( x  x.  2 ) ) ) )   =>    |-  ( ph  ->  R : ( 1 ...
 H ) -1-1-onto-> ( 1 ... H ) )
 
7-Aug-2025qdclt 10702 Rational  < is decidable. (Contributed by Jim Kingdon, 7-Aug-2025.)
 |-  ( ( A  e.  QQ  /\  B  e.  QQ )  -> DECID  A  <  B )
 
22-Jul-2025ivthdich 15963 The intermediate value theorem implies real number dichotomy. Because real number dichotomy (also known as analytic LLPO) is a constructive taboo, this means we will be unable to prove the intermediate value theorem as stated here (although versions with additional conditions, such as ivthinc 15953 for strictly monotonic functions, can be proved).

The proof is via a function which we call the hover function and which is also described in Section 5.1 of [Bauer], p. 493. Consider any real number  z. We want to show that  z  <_  0  \/  0  <_  z. Because of hovercncf 15956, hovera 15957, and hoverb 15958, we are able to apply the intermediate value theorem to get a value  c such that the hover function at  c equals  z. By axltwlin 8405,  c  <  1 or  0  <  c, and that leads to  z  <_  0 by hoverlt1 15959 or 
0  <_  z by hovergt0 15960. (Contributed by Jim Kingdon and Mario Carneiro, 22-Jul-2025.)

 |-  ( A. f ( f  e.  ( RR
 -cn-> RR )  ->  A. a  e.  RR  A. b  e. 
 RR  ( ( a  <  b  /\  (
 f `  a )  <  0  /\  0  < 
 ( f `  b
 ) )  ->  E. x  e.  RR  ( a  < 
 x  /\  x  <  b 
 /\  ( f `  x )  =  0
 ) ) )  ->  A. r  e.  RR  A. s  e.  RR  (
 r  <_  s  \/  s  <_  r ) )
 
22-Jul-2025dich0 15962 Real number dichotomy stated in terms of two real numbers or a real number and zero. (Contributed by Jim Kingdon, 22-Jul-2025.)
 |-  ( A. z  e. 
 RR  ( z  <_ 
 0  \/  0  <_  z )  <->  A. x  e.  RR  A. y  e.  RR  ( x  <_  y  \/  y  <_  x ) )
 
22-Jul-2025ivthdichlem 15961 Lemma for ivthdich 15963. The result, with a few notational conveniences. (Contributed by Jim Kingdon, 22-Jul-2025.)
 |-  F  =  ( x  e.  RR  |->  sup ( {inf ( { x , 
 0 } ,  RR ,  <  ) ,  ( x  -  1 ) } ,  RR ,  <  )
 )   &    |-  ( ph  ->  Z  e.  RR )   &    |-  ( ph  ->  A. f ( f  e.  ( RR -cn-> RR )  ->  A. a  e.  RR  A. b  e.  RR  (
 ( a  <  b  /\  ( f `  a
 )  <  0  /\  0  <  ( f `  b ) )  ->  E. x  e.  RR  ( a  <  x  /\  x  <  b  /\  (
 f `  x )  =  0 ) ) ) )   =>    |-  ( ph  ->  ( Z  <_  0  \/  0  <_  Z ) )
 
22-Jul-2025hovergt0 15960 The hover function evaluated at a point greater than zero. (Contributed by Jim Kingdon, 22-Jul-2025.)
 |-  F  =  ( x  e.  RR  |->  sup ( {inf ( { x , 
 0 } ,  RR ,  <  ) ,  ( x  -  1 ) } ,  RR ,  <  )
 )   =>    |-  ( ( C  e.  RR  /\  0  <  C )  ->  0  <_  ( F `  C ) )
 
22-Jul-2025hoverlt1 15959 The hover function evaluated at a point less than one. (Contributed by Jim Kingdon, 22-Jul-2025.)
 |-  F  =  ( x  e.  RR  |->  sup ( {inf ( { x , 
 0 } ,  RR ,  <  ) ,  ( x  -  1 ) } ,  RR ,  <  )
 )   =>    |-  ( ( C  e.  RR  /\  C  <  1
 )  ->  ( F `  C )  <_  0
 )
 
21-Jul-2025hoverb 15958 A point at which the hover function is greater than a given value. (Contributed by Jim Kingdon, 21-Jul-2025.)
 |-  F  =  ( x  e.  RR  |->  sup ( {inf ( { x , 
 0 } ,  RR ,  <  ) ,  ( x  -  1 ) } ,  RR ,  <  )
 )   =>    |-  ( Z  e.  RR  ->  Z  <  ( F `
  ( Z  +  2 ) ) )
 
21-Jul-2025hovera 15957 A point at which the hover function is less than a given value. (Contributed by Jim Kingdon, 21-Jul-2025.)
 |-  F  =  ( x  e.  RR  |->  sup ( {inf ( { x , 
 0 } ,  RR ,  <  ) ,  ( x  -  1 ) } ,  RR ,  <  )
 )   =>    |-  ( Z  e.  RR  ->  ( F `  ( Z  -  1 ) )  <  Z )
 
21-Jul-2025rexeqtrrdv 2760 Substitution of equal classes into a restricted existential quantifier. (Contributed by Matthew House, 21-Jul-2025.)
 |-  ( ph  ->  E. x  e.  A  ps )   &    |-  ( ph  ->  B  =  A )   =>    |-  ( ph  ->  E. x  e.  B  ps )
 
21-Jul-2025raleqtrrdv 2759 Substitution of equal classes into a restricted universal quantifier. (Contributed by Matthew House, 21-Jul-2025.)
 |-  ( ph  ->  A. x  e.  A  ps )   &    |-  ( ph  ->  B  =  A )   =>    |-  ( ph  ->  A. x  e.  B  ps )
 
21-Jul-2025rexeqtrdv 2758 Substitution of equal classes into a restricted existential quantifier. (Contributed by Matthew House, 21-Jul-2025.)
 |-  ( ph  ->  E. x  e.  A  ps )   &    |-  ( ph  ->  A  =  B )   =>    |-  ( ph  ->  E. x  e.  B  ps )
 
21-Jul-2025raleqtrdv 2757 Substitution of equal classes into a restricted universal quantifier. (Contributed by Matthew House, 21-Jul-2025.)
 |-  ( ph  ->  A. x  e.  A  ps )   &    |-  ( ph  ->  A  =  B )   =>    |-  ( ph  ->  A. x  e.  B  ps )
 
20-Jul-2025hovercncf 15956 The hover function is continuous. By hover function, we mean a a function which starts out as a line of slope one, is constant at zero from zero to one, and then resumes as a slope of one. (Contributed by Jim Kingdon, 20-Jul-2025.)
 |-  F  =  ( x  e.  RR  |->  sup ( {inf ( { x , 
 0 } ,  RR ,  <  ) ,  ( x  -  1 ) } ,  RR ,  <  )
 )   =>    |-  F  e.  ( RR
 -cn-> RR )
 
19-Jul-2025mincncf 15926 The minimum of two continuous real functions is continuous. (Contributed by Jim Kingdon, 19-Jul-2025.)
 |-  ( ph  ->  ( x  e.  X  |->  A )  e.  ( X -cn-> RR ) )   &    |-  ( ph  ->  ( x  e.  X  |->  B )  e.  ( X
 -cn-> RR ) )   =>    |-  ( ph  ->  ( x  e.  X  |-> inf ( { A ,  B } ,  RR ,  <  ) )  e.  ( X
 -cn-> RR ) )
 
18-Jul-2025maxcncf 15925 The maximum of two continuous real functions is continuous. (Contributed by Jim Kingdon, 18-Jul-2025.)
 |-  ( ph  ->  ( x  e.  X  |->  A )  e.  ( X -cn-> RR ) )   &    |-  ( ph  ->  ( x  e.  X  |->  B )  e.  ( X
 -cn-> RR ) )   =>    |-  ( ph  ->  ( x  e.  X  |->  sup ( { A ,  B } ,  RR ,  <  ) )  e.  ( X -cn-> RR ) )
 
14-Jul-2025xnn0nnen 10900 The set of extended nonnegative integers is equinumerous to the set of natural numbers. (Contributed by Jim Kingdon, 14-Jul-2025.)
 |- NN0*  ~~  NN
 
12-Jul-2025nninfninc 7475 All values beyond a zero in an ℕ∞ sequence are zero. This is another way of stating that elements of ℕ∞ are nonincreasing. (Contributed by Jim Kingdon, 12-Jul-2025.)
 |-  ( ph  ->  A  e. ℕ∞ )   &    |-  ( ph  ->  X  e.  om )   &    |-  ( ph  ->  Y  e.  om )   &    |-  ( ph  ->  X  C_  Y )   &    |-  ( ph  ->  ( A `  X )  =  (/) )   =>    |-  ( ph  ->  ( A `  Y )  =  (/) )
 
10-Jul-2025nninfctlemfo 12847 Lemma for nninfct 12848. (Contributed by Jim Kingdon, 10-Jul-2025.)
 |-  G  = frec ( ( x  e.  ZZ  |->  ( x  +  1 ) ) ,  0 )   &    |-  F  =  ( n  e.  om  |->  ( i  e. 
 om  |->  if ( i  e.  n ,  1o ,  (/) ) ) )   &    |-  I  =  ( ( F  o.  `' G )  u.  { <. +oo ,  ( om  X. 
 { 1o } ) >. } )   =>    |-  ( om  e. Omni  ->  I :NN0* -onto->ℕ∞ )
 
8-Jul-2025nnnninfen 17354 Equinumerosity of the natural numbers and ℕ∞ is equivalent to the Limited Principle of Omniscience (LPO). Remark in Section 1.1 of [Pradic2025], p. 2. (Contributed by Jim Kingdon, 8-Jul-2025.)
 |-  ( om  ~~ ℕ∞  <->  om  e. Omni )
 
8-Jul-2025nninfct 12848 The limited principle of omniscience (LPO) implies that ℕ∞ is countable. (Contributed by Jim Kingdon, 8-Jul-2025.)
 |-  ( om  e. Omni  ->  E. f  f : om -onto->
 (ℕ∞ ⊔  1o ) )
 
8-Jul-2025nninfinf 10906 ℕ∞ is infinte. (Contributed by Jim Kingdon, 8-Jul-2025.)
 |- 
 om  ~<_ ℕ∞
 
7-Jul-2025ivthreinc 15955 Restating the intermediate value theorem. Given a hypothesis stating the intermediate value theorem (in a strong form which is not provable given our axioms alone), provide a conclusion similar to the theorem as stated in the Metamath Proof Explorer (which is also similar to how we state the theorem for a strictly monotonic function at ivthinc 15953). Being able to have a hypothesis stating the intermediate value theorem will be helpful when it comes time to show that it implies a constructive taboo. This version of the theorem requires that the function  F is continuous on the entire real line, not just  ( A [,] B ) which may be an unnecessary condition but which is sufficient for the way we want to use it. (Contributed by Jim Kingdon, 7-Jul-2025.)
 |-  ( ph  ->  A  e.  RR )   &    |-  ( ph  ->  B  e.  RR )   &    |-  ( ph  ->  U  e.  RR )   &    |-  ( ph  ->  A  <  B )   &    |-  ( ph  ->  F  e.  ( RR -cn-> RR ) )   &    |-  ( ph  ->  ( ( F `  A )  <  U  /\  U  <  ( F `  B ) ) )   &    |-  ( ph  ->  A. f ( f  e.  ( RR -cn-> RR )  ->  A. a  e.  RR  A. b  e.  RR  (
 ( a  <  b  /\  ( f `  a
 )  <  0  /\  0  <  ( f `  b ) )  ->  E. x  e.  RR  ( a  <  x  /\  x  <  b  /\  (
 f `  x )  =  0 ) ) ) )   =>    |-  ( ph  ->  E. c  e.  ( A (,) B ) ( F `  c )  =  U )
 
28-Jun-2025fngzsum 13772 Iterated sum has a universal domain. (Contributed by Jim Kingdon, 28-Jun-2025.)
 |- 
 gzsumgz  Fn  ( _V  X.  _V )
 
28-Jun-2025iotaexel 6050 Set existence of an iota expression in which all values are contained within a set. (Contributed by Jim Kingdon, 28-Jun-2025.)
 |-  ( ( A  e.  V  /\  A. x (
 ph  ->  x  e.  A ) )  ->  ( iota
 x ph )  e.  _V )
 
27-Jun-2025df-gzsum 13677 Define a finite group sum (also called "iterated sum") of a structure.

Given  G  gzsumgz 
F where  F : A --> ( Base `  G ), the set of indices is  A and the values are given by  F at each index. A group sum over a multiplicative group may be viewed as a product. The definition is meaningful in different contexts, depending on the size of the index set  A and each demanding different properties of  G.

1. If  A  =  (/) and  G has an identity element, then the sum equals this identity.

2. If  A  =  ( M ... N ) and 
G is any magma, then the sum is the sum of the elements, evaluated left-to-right, i.e.,  ( ( F `  1 )  +  ( F ` 
2 ) )  +  ( F `  3
), etc.

3. This definition does not handle other cases. But see df-gsumfi 14246 for the case where  A is a finite set (which need not specify an order) and  G is a commutative monoid.

(Contributed by FL, 5-Sep-2010.) (Revised by Mario Carneiro, 7-Dec-2014.) (Revised by Jim Kingdon, 27-Jun-2025.)

 |- 
 gzsumgz  =  ( w  e.  _V ,  f  e.  _V  |->  ( iota x ( ( dom  f  =  (/)  /\  x  =  ( 0g
 `  w ) )  \/  E. m E. n  e.  ( ZZ>= `  m ) ( dom  f  =  ( m
 ... n )  /\  x  =  (  seq m ( ( +g  `  w ) ,  f
 ) `  n )
 ) ) ) )
 
20-Jun-2025opprnzrbg 14607 The opposite of a nonzero ring is nonzero, bidirectional form of opprnzr 14608. (Contributed by SN, 20-Jun-2025.)
 |-  O  =  (oppr `  R )   =>    |-  ( R  e.  V  ->  ( R  e. NzRing  <->  O  e. NzRing ) )
 
16-Jun-2025fnpsr 15169 The multivariate power series constructor has a universal domain. (Contributed by Jim Kingdon, 16-Jun-2025.)
 |- mPwSer  Fn  ( _V  X.  _V )
 
14-Jun-2025basm 13477 A structure whose base is inhabited is inhabited. (Contributed by Jim Kingdon, 14-Jun-2025.)
 |-  B  =  ( Base `  G )   =>    |-  ( A  e.  B  ->  E. j  j  e.  G )
 
14-Jun-2025elfvm 5736 If a function value has a member, the function is inhabited. (Contributed by Jim Kingdon, 14-Jun-2025.)
 |-  ( A  e.  ( F `  B )  ->  E. j  j  e.  F )
 
6-Jun-2025pcxqcl 13125 The general prime count function is an integer or infinite. (Contributed by Jim Kingdon, 6-Jun-2025.)
 |-  ( ( P  e.  Prime  /\  N  e.  QQ )  ->  ( ( P 
 pCnt  N )  e.  ZZ  \/  ( P  pCnt  N )  = +oo ) )
 
5-Jun-2025xqltnle 10724 "Less than" expressed in terms of "less than or equal to", for extended numbers which are rational or +oo. We have not yet had enough usage of such numbers to warrant fully developing the concept, as in NN0* or  RR*, so for now we just have a handful of theorems for what we need. (Contributed by Jim Kingdon, 5-Jun-2025.)
 |-  ( ( ( A  e.  QQ  \/  A  = +oo )  /\  ( B  e.  QQ  \/  B  = +oo ) ) 
 ->  ( A  <  B  <->  -.  B  <_  A )
 )
 
5-Jun-2025ceqsexv2d 2862 Elimination of an existential quantifier, using implicit substitution. (Contributed by Thierry Arnoux, 10-Sep-2016.) Shorten, reduce dv conditions. (Revised by Wolf Lammen, 5-Jun-2025.) (Proof shortened by SN, 5-Jun-2025.)
 |-  A  e.  _V   &    |-  ( x  =  A  ->  (
 ph 
 <->  ps ) )   &    |-  ps   =>    |-  E. x ph
 
31-May-2025vtocl4ga 2895 Implicit substitution of 4 classes for 4 setvar variables. (Contributed by AV, 22-Jan-2019.) (Proof shortened by Wolf Lammen, 31-May-2025.)
 |-  ( x  =  A  ->  ( ph  <->  ps ) )   &    |-  (
 y  =  B  ->  ( ps  <->  ch ) )   &    |-  (
 z  =  C  ->  ( ch  <->  rh ) )   &    |-  ( w  =  D  ->  ( rh  <->  th ) )   &    |-  (
 ( ( x  e.  Q  /\  y  e.  R )  /\  (
 z  e.  S  /\  w  e.  T )
 )  ->  ph )   =>    |-  ( ( ( A  e.  Q  /\  B  e.  R )  /\  ( C  e.  S  /\  D  e.  T ) )  ->  th )
 
30-May-20254sqexercise2 13212 Exercise which may help in understanding the proof of 4sqlemsdc 13213. (Contributed by Jim Kingdon, 30-May-2025.)
 |-  S  =  { n  |  E. x  e.  ZZ  E. y  e.  ZZ  n  =  ( ( x ^
 2 )  +  (
 y ^ 2 ) ) }   =>    |-  ( A  e.  NN0  -> DECID  A  e.  S )
 
27-May-2025iotaexab 5363 Existence of the  iota class when all the possible values are contained in a set. (Contributed by Jim Kingdon, 27-May-2025.)
 |-  ( { x  |  ph
 }  e.  V  ->  (
 iota x ph )  e. 
 _V )
 
25-May-20254sqlemsdc 13213 Lemma for 4sq 13223. The property of being the sum of four squares is decidable.

The proof involves showing that (for a particular  A) there are only a finite number of possible ways that it could be the sum of four squares, so checking each of those possibilities in turn decides whether the number is the sum of four squares. If this proof is hard to follow, especially because of its length, the simplified versions at 4sqexercise1 13211 and 4sqexercise2 13212 may help clarify, as they are using very much the same techniques on simplified versions of this lemma. (Contributed by Jim Kingdon, 25-May-2025.)

 |-  S  =  { n  |  E. x  e.  ZZ  E. y  e.  ZZ  E. z  e.  ZZ  E. w  e.  ZZ  n  =  ( ( ( x ^
 2 )  +  (
 y ^ 2 ) )  +  ( ( z ^ 2 )  +  ( w ^
 2 ) ) ) }   =>    |-  ( A  e.  NN0  -> DECID  A  e.  S )
 
25-May-20254sqexercise1 13211 Exercise which may help in understanding the proof of 4sqlemsdc 13213. (Contributed by Jim Kingdon, 25-May-2025.)
 |-  S  =  { n  |  E. x  e.  ZZ  n  =  ( x ^ 2 ) }   =>    |-  ( A  e.  NN0  -> DECID  A  e.  S )
 
24-May-20254sqleminfi 13210 Lemma for 4sq 13223. 
A  i^i  ran  F is finite. (Contributed by Jim Kingdon, 24-May-2025.)
 |-  ( ph  ->  N  e.  NN )   &    |-  ( ph  ->  P  e.  NN )   &    |-  A  =  { u  |  E. m  e.  ( 0 ... N ) u  =  ( ( m ^
 2 )  mod  P ) }   &    |-  F  =  ( v  e.  A  |->  ( ( P  -  1
 )  -  v ) )   =>    |-  ( ph  ->  ( A  i^i  ran  F )  e.  Fin )
 
24-May-20254sqlemffi 13209 Lemma for 4sq 13223.  ran  F is finite. (Contributed by Jim Kingdon, 24-May-2025.)
 |-  ( ph  ->  N  e.  NN )   &    |-  ( ph  ->  P  e.  NN )   &    |-  A  =  { u  |  E. m  e.  ( 0 ... N ) u  =  ( ( m ^
 2 )  mod  P ) }   &    |-  F  =  ( v  e.  A  |->  ( ( P  -  1
 )  -  v ) )   =>    |-  ( ph  ->  ran  F  e.  Fin )
 
24-May-20254sqlemafi 13208 Lemma for 4sq 13223. 
A is finite. (Contributed by Jim Kingdon, 24-May-2025.)
 |-  ( ph  ->  N  e.  NN )   &    |-  ( ph  ->  P  e.  NN )   &    |-  A  =  { u  |  E. m  e.  ( 0 ... N ) u  =  ( ( m ^
 2 )  mod  P ) }   =>    |-  ( ph  ->  A  e.  Fin )
 
24-May-2025infidc 7259 The intersection of two sets is finite if one of them is and the other is decidable. (Contributed by Jim Kingdon, 24-May-2025.)
 |-  ( ( A  e.  Fin  /\  A. x  e.  A DECID  x  e.  B )  ->  ( A  i^i  B )  e. 
 Fin )
 
20-May-2025ply1bas 15299 The value of the base set of univariate polynomials. (Contributed by Mario Carneiro, 9-Feb-2015.) Remove hypothesis. (Revised by SN, 20-May-2025.)
 |-  P  =  (Poly1 `  R )   &    |-  U  =  ( Base `  P )   =>    |-  U  =  ( Base `  ( 1o mPoly  R )
 )
 
19-May-2025zrhex 15072 Set existence for  ZRHom. (Contributed by Jim Kingdon, 19-May-2025.)
 |-  L  =  ( ZRHom `  R )   =>    |-  ( R  e.  V  ->  L  e.  _V )
 
16-May-2025rhmex 14579 Set existence for ring homomorphism. (Contributed by Jim Kingdon, 16-May-2025.)
 |-  ( ( R  e.  V  /\  S  e.  W )  ->  ( R RingHom  S )  e.  _V )
 
15-May-2025ghmex 14122 The set of group homomorphisms exists. (Contributed by Jim Kingdon, 15-May-2025.)
 |-  ( ( S  e.  Grp  /\  T  e.  Grp )  ->  ( S  GrpHom  T )  e.  _V )
 
15-May-2025mhmex 13833 The set of monoid homomorphisms exists. (Contributed by Jim Kingdon, 15-May-2025.)
 |-  ( ( S  e.  Mnd  /\  T  e.  Mnd )  ->  ( S MndHom  T )  e.  _V )
 
14-May-2025idomcringd 14703 An integral domain is a commutative ring with unity. (Contributed by Thierry Arnoux, 4-May-2025.) (Proof shortened by SN, 14-May-2025.)
 |-  ( ph  ->  R  e. IDomn )   =>    |-  ( ph  ->  R  e.  CRing )
 
6-May-2025rrgnz 14693 In a nonzero ring, the zero is a left zero divisor (that is, not a left-regular element). (Contributed by Thierry Arnoux, 6-May-2025.)
 |-  E  =  (RLReg `  R )   &    |-  .0.  =  ( 0g `  R )   =>    |-  ( R  e. NzRing  ->  -.  .0.  e.  E )
 
5-May-2025rngressid 14366 A non-unital ring restricted to its base set is a non-unital ring. It will usually be the original non-unital ring exactly, of course, but to show that needs additional conditions such as those in strressid 13489. (Contributed by Jim Kingdon, 5-May-2025.)
 |-  B  =  ( Base `  G )   =>    |-  ( G  e. Rng  ->  ( G ↾s  B )  e. Rng )
 
5-May-2025ablressid 14234 A commutative group restricted to its base set is a commutative group. It will usually be the original group exactly, of course, but to show that needs additional conditions such as those in strressid 13489. (Contributed by Jim Kingdon, 5-May-2025.)
 |-  B  =  ( Base `  G )   =>    |-  ( G  e.  Abel  ->  ( G ↾s  B )  e.  Abel )
 
30-Apr-2025dvply2g 16076 The derivative of a polynomial with coefficients in a subring is a polynomial with coefficients in the same ring. (Contributed by Mario Carneiro, 1-Jan-2017.) (Revised by GG, 30-Apr-2025.)
 |-  ( ( S  e.  (SubRing ` ℂfld )  /\  F  e.  (Poly `  S ) ) 
 ->  ( CC  _D  F )  e.  (Poly `  S ) )
 
29-Apr-2025rlmscabas 14913 Scalars in the ring module have the same base set. (Contributed by Jim Kingdon, 29-Apr-2025.)
 |-  ( R  e.  X  ->  ( Base `  R )  =  ( Base `  (Scalar `  (ringLMod `  R ) ) ) )
 
29-Apr-2025ressbasid 13488 The trivial structure restriction leaves the base set unchanged. (Contributed by Jim Kingdon, 29-Apr-2025.)
 |-  B  =  ( Base `  W )   =>    |-  ( W  e.  V  ->  ( Base `  ( W ↾s  B ) )  =  B )
 
28-Apr-2025lssmex 14808 If a linear subspace is inhabited, the class it is built from is a set. (Contributed by Jim Kingdon, 28-Apr-2025.)
 |-  S  =  ( LSubSp `  W )   =>    |-  ( U  e.  S  ->  W  e.  _V )
 
27-Apr-2025cnfldmul 15017 The multiplication operation of the field of complex numbers. (Contributed by Stefan O'Rear, 27-Nov-2014.) (Revised by Mario Carneiro, 6-Oct-2015.) (Revised by Thierry Arnoux, 17-Dec-2017.) (Revised by GG, 27-Apr-2025.)
 |- 
 x.  =  ( .r
 ` ℂfld
 )
 
27-Apr-2025cnfldadd 15015 The addition operation of the field of complex numbers. (Contributed by Stefan O'Rear, 27-Nov-2014.) (Revised by Mario Carneiro, 6-Oct-2015.) (Revised by Thierry Arnoux, 17-Dec-2017.) (Revised by GG, 27-Apr-2025.)
 |- 
 +  =  ( +g  ` ℂfld )
 
27-Apr-2025lidlex 14926 Existence of the set of left ideals. (Contributed by Jim Kingdon, 27-Apr-2025.)
 |-  ( W  e.  V  ->  (LIdeal `  W )  e.  _V )
 
27-Apr-2025lssex 14807 Existence of a linear subspace. (Contributed by Jim Kingdon, 27-Apr-2025.)
 |-  ( W  e.  V  ->  ( LSubSp `  W )  e.  _V )
 
25-Apr-2025rspex 14927 Existence of the ring span. (Contributed by Jim Kingdon, 25-Apr-2025.)
 |-  ( W  e.  V  ->  (RSpan `  W )  e.  _V )
 
25-Apr-2025lspex 14848 Existence of the span of a set of vectors. (Contributed by Jim Kingdon, 25-Apr-2025.)
 |-  ( W  e.  X  ->  ( LSpan `  W )  e.  _V )
 
25-Apr-2025eqgex 14088 The left coset equivalence relation exists. (Contributed by Jim Kingdon, 25-Apr-2025.)
 |-  ( ( G  e.  V  /\  S  e.  W )  ->  ( G ~QG  S )  e.  _V )
 
25-Apr-2025qusex 13710 Existence of a quotient structure. (Contributed by Jim Kingdon, 25-Apr-2025.)
 |-  ( ( R  e.  V  /\  .~  e.  W )  ->  ( R  /.s  .~  )  e.  _V )
 
23-Apr-20251dom1el 7118 If a set is dominated by one, then any two of its elements are equal. (Contributed by Jim Kingdon, 23-Apr-2025.)
 |-  ( ( A  ~<_  1o  /\  B  e.  A  /\  C  e.  A )  ->  B  =  C )
 
22-Apr-2025mulgex 13990 Existence of the group multiple operation. (Contributed by Jim Kingdon, 22-Apr-2025.)
 |-  ( G  e.  V  ->  (.g `  G )  e. 
 _V )
 
21-Apr-2025uspgruhgr 16717 An undirected simple pseudograph is an undirected hypergraph. (Contributed by AV, 21-Apr-2025.)
 |-  ( G  e. USPGraph  ->  G  e. UHGraph )
 
20-Apr-2025uspgriedgedg 16709 In a simple pseudograph, for each indexed edge there is exactly one edge. (Contributed by AV, 20-Apr-2025.)
 |-  E  =  (Edg `  G )   &    |-  I  =  (iEdg `  G )   =>    |-  ( ( G  e. USPGraph  /\  X  e.  dom  I ) 
 ->  E! k  e.  E  k  =  ( I `  X ) )
 
20-Apr-2025uspgredgiedg 16708 In a simple pseudograph, for each edge there is exactly one indexed edge. (Contributed by AV, 20-Apr-2025.)
 |-  E  =  (Edg `  G )   &    |-  I  =  (iEdg `  G )   =>    |-  ( ( G  e. USPGraph  /\  K  e.  E )  ->  E! x  e.  dom  I  K  =  ( I `
  x ) )
 
20-Apr-2025elovmpod 6294 Utility lemma for two-parameter classes. (Contributed by Stefan O'Rear, 21-Jan-2015.) Variant of elovmpo 6295 in deduction form. (Revised by AV, 20-Apr-2025.)
 |-  O  =  ( a  e.  A ,  b  e.  B  |->  C )   &    |-  ( ph  ->  X  e.  A )   &    |-  ( ph  ->  Y  e.  B )   &    |-  ( ph  ->  D  e.  V )   &    |-  (
 ( a  =  X  /\  b  =  Y )  ->  C  =  D )   =>    |-  ( ph  ->  ( E  e.  ( X O Y )  <->  E  e.  D ) )
 
20-Apr-2025fdmeu 5753 There is exactly one codomain element for each element of the domain of a function. (Contributed by AV, 20-Apr-2025.)
 |-  ( ( F : A
 --> B  /\  X  e.  A )  ->  E! y  e.  B  ( F `  X )  =  y
 )
 
18-Apr-2025fsumdvdsmul 16369 Product of two divisor sums. (This is also the main part of the proof that " sum_ k  ||  N F ( k ) is a multiplicative function if  F is".) (Contributed by Mario Carneiro, 2-Jul-2015.) Avoid ax-mulf 8314. (Revised by GG, 18-Apr-2025.)
 |-  ( ph  ->  M  e.  NN )   &    |-  ( ph  ->  N  e.  NN )   &    |-  ( ph  ->  ( M  gcd  N )  =  1 )   &    |-  X  =  { x  e.  NN  |  x  ||  M }   &    |-  Y  =  { x  e.  NN  |  x  ||  N }   &    |-  Z  =  { x  e.  NN  |  x  ||  ( M  x.  N ) }   &    |-  ( ( ph  /\  j  e.  X ) 
 ->  A  e.  CC )   &    |-  (
 ( ph  /\  k  e.  Y )  ->  B  e.  CC )   &    |-  ( ( ph  /\  ( j  e.  X  /\  k  e.  Y ) )  ->  ( A  x.  B )  =  D )   &    |-  ( i  =  ( j  x.  k
 )  ->  C  =  D )   =>    |-  ( ph  ->  ( sum_ j  e.  X  A  x.  sum_ k  e.  Y  B )  =  sum_ i  e.  Z  C )
 
18-Apr-2025mpodvdsmulf1o 16368 If  M and  N are two coprime integers, multiplication forms a bijection from the set of pairs  <. j ,  k >. where  j  ||  M and  k  ||  N, to the set of divisors of  M  x.  N. (Contributed by GG, 18-Apr-2025.)
 |-  ( ph  ->  M  e.  NN )   &    |-  ( ph  ->  N  e.  NN )   &    |-  ( ph  ->  ( M  gcd  N )  =  1 )   &    |-  X  =  { x  e.  NN  |  x  ||  M }   &    |-  Y  =  { x  e.  NN  |  x  ||  N }   &    |-  Z  =  { x  e.  NN  |  x  ||  ( M  x.  N ) }   =>    |-  ( ph  ->  (
 ( x  e.  CC ,  y  e.  CC  |->  ( x  x.  y
 ) )  |`  ( X  X.  Y ) ) : ( X  X.  Y ) -1-1-onto-> Z )
 
18-Apr-2025df2idl2 14962 Alternate (the usual textbook) definition of a two-sided ideal of a ring to be a subgroup of the additive group of the ring which is closed under left- and right-multiplication by elements of the full ring. (Contributed by AV, 13-Feb-2025.) (Proof shortened by AV, 18-Apr-2025.)
 |-  U  =  (2Ideal `  R )   &    |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   =>    |-  ( R  e.  Ring 
 ->  ( I  e.  U  <->  ( I  e.  (SubGrp `  R )  /\  A. x  e.  B  A. y  e.  I  ( ( x 
 .x.  y )  e.  I  /\  ( y 
 .x.  x )  e.  I ) ) ) )
 
18-Apr-20252idlmex 14954 Existence of the set a two-sided ideal is built from (when the ideal is inhabited). (Contributed by Jim Kingdon, 18-Apr-2025.)
 |-  T  =  (2Ideal `  W )   =>    |-  ( U  e.  T  ->  W  e.  _V )
 
18-Apr-2025dflidl2 14941 Alternate (the usual textbook) definition of a (left) ideal of a ring to be a subgroup of the additive group of the ring which is closed under left-multiplication by elements of the full ring. (Contributed by AV, 13-Feb-2025.) (Proof shortened by AV, 18-Apr-2025.)
 |-  U  =  (LIdeal `  R )   &    |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   =>    |-  ( R  e.  Ring 
 ->  ( I  e.  U  <->  ( I  e.  (SubGrp `  R )  /\  A. x  e.  B  A. y  e.  I  ( x  .x.  y )  e.  I
 ) ) )
 
18-Apr-2025lidlmex 14928 Existence of the set a left ideal is built from (when the ideal is inhabited). (Contributed by Jim Kingdon, 18-Apr-2025.)
 |-  I  =  (LIdeal `  W )   =>    |-  ( U  e.  I  ->  W  e.  _V )
 
18-Apr-2025lsslsp 14882 Spans in submodules correspond to spans in the containing module. (Contributed by Stefan O'Rear, 12-Dec-2014.) Terms in the equation were swapped as proposed by NM on 15-Mar-2015. (Revised by AV, 18-Apr-2025.)
 |-  X  =  ( W ↾s  U )   &    |-  M  =  (
 LSpan `  W )   &    |-  N  =  ( LSpan `  X )   &    |-  L  =  ( LSubSp `  W )   =>    |-  (
 ( W  e.  LMod  /\  U  e.  L  /\  G  C_  U )  ->  ( N `  G )  =  ( M `  G ) )
 
16-Apr-2025sraex 14899 Existence of a subring algebra. (Contributed by Jim Kingdon, 16-Apr-2025.)
 |-  ( ph  ->  A  =  ( (subringAlg  `  W ) `
  S ) )   &    |-  ( ph  ->  S  C_  ( Base `  W ) )   &    |-  ( ph  ->  W  e.  X )   =>    |-  ( ph  ->  A  e.  _V )
 
14-Apr-2025grpmgmd 13895 A group is a magma, deduction form. (Contributed by SN, 14-Apr-2025.)
 |-  ( ph  ->  G  e.  Grp )   =>    |-  ( ph  ->  G  e. Mgm )
 
12-Apr-2025psraddcl 15211 Closure of the power series addition operation. (Contributed by Mario Carneiro, 28-Dec-2014.) Generalize to magmas. (Revised by SN, 12-Apr-2025.)
 |-  S  =  ( I mPwSer  R )   &    |-  B  =  (
 Base `  S )   &    |-  .+  =  ( +g  `  S )   &    |-  ( ph  ->  R  e. Mgm )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  Y  e.  B )   =>    |-  ( ph  ->  ( X  .+  Y )  e.  B )
 
10-Apr-2025cndcap 17400 Real number trichotomy is equivalent to decidability of complex number apartness. (Contributed by Jim Kingdon, 10-Apr-2025.)
 |-  ( A. x  e.  RR  A. y  e.  RR  ( x  <  y  \/  x  =  y  \/  y  <  x )  <->  A. z  e.  CC  A. w  e.  CC DECID  z #  w )
 
4-Apr-2025ghmf1 14140 Two ways of saying a group homomorphism is 1-1 into its codomain. (Contributed by Paul Chapman, 3-Mar-2008.) (Revised by Mario Carneiro, 13-Jan-2015.) (Proof shortened by AV, 4-Apr-2025.)
 |-  A  =  ( Base `  R )   &    |-  B  =  (
 Base `  S )   &    |-  N  =  ( 0g `  R )   &    |- 
 .0.  =  ( 0g `  S )   =>    |-  ( F  e.  ( R  GrpHom  S )  ->  ( F : A -1-1-> B  <->  A. x  e.  A  ( ( F `  x )  =  .0.  ->  x  =  N ) ) )
 
3-Apr-2025quscrng 14986 The quotient of a commutative ring by an ideal is a commutative ring. (Contributed by Mario Carneiro, 15-Jun-2015.) (Proof shortened by AV, 3-Apr-2025.)
 |-  U  =  ( R 
 /.s 
 ( R ~QG  S ) )   &    |-  I  =  (LIdeal `  R )   =>    |-  (
 ( R  e.  CRing  /\  S  e.  I ) 
 ->  U  e.  CRing )
 
31-Mar-2025cnfldds 15021 The metric of the field of complex numbers. (Contributed by Mario Carneiro, 14-Aug-2015.) (Revised by Mario Carneiro, 6-Oct-2015.) (Revised by Thierry Arnoux, 17-Dec-2017.) Revise df-cnfld 15010. (Revised by GG, 31-Mar-2025.)
 |-  ( abs  o.  -  )  =  ( dist ` ℂfld )
 
31-Mar-2025cnfldle 15020 The ordering of the field of complex numbers. Note that this is not actually an ordering on  CC, but we put it in the structure anyway because restricting to  RR does not affect this component, so that  (ℂfld ↾s  RR ) is an ordered field even though ℂfld itself is not. (Contributed by Mario Carneiro, 14-Aug-2015.) (Revised by Mario Carneiro, 6-Oct-2015.) (Revised by Thierry Arnoux, 17-Dec-2017.) Revise df-cnfld 15010. (Revised by GG, 31-Mar-2025.)
 |- 
 <_  =  ( le ` ℂfld )
 
31-Mar-2025cnfldtset 15019 The topology component of the field of complex numbers. (Contributed by Mario Carneiro, 14-Aug-2015.) (Revised by Mario Carneiro, 6-Oct-2015.) (Revised by Thierry Arnoux, 17-Dec-2017.) (Revised by GG, 31-Mar-2025.)
 |-  ( MetOpen `  ( abs  o. 
 -  ) )  =  (TopSet ` ℂfld )
 
31-Mar-2025mpocnfldmul 15016 The multiplication operation of the field of complex numbers. Version of cnfldmul 15017 using maps-to notation, which does not require ax-mulf 8314. (Contributed by GG, 31-Mar-2025.)
 |-  ( x  e.  CC ,  y  e.  CC  |->  ( x  x.  y
 ) )  =  ( .r ` ℂfld )
 
31-Mar-2025mpocnfldadd 15014 The addition operation of the field of complex numbers. Version of cnfldadd 15015 using maps-to notation, which does not require ax-addf 8313. (Contributed by GG, 31-Mar-2025.)
 |-  ( x  e.  CC ,  y  e.  CC  |->  ( x  +  y
 ) )  =  (
 +g  ` ℂfld )
 
31-Mar-2025df-cnfld 15010 The field of complex numbers. Other number fields and rings can be constructed by applying the ↾s restriction operator.

The contract of this set is defined entirely by cnfldex 15012, cnfldadd 15015, cnfldmul 15017, cnfldcj 15018, cnfldtset 15019, cnfldle 15020, cnfldds 15021, and cnfldbas 15013. We may add additional members to this in the future. (Contributed by Stefan O'Rear, 27-Nov-2014.) (Revised by Thierry Arnoux, 15-Dec-2017.) Use maps-to notation for addition and multiplication. (Revised by GG, 31-Mar-2025.) (New usage is discouraged.)

 |- ℂfld  =  ( ( { <. (
 Base `  ndx ) ,  CC >. ,  <. ( +g  ` 
 ndx ) ,  ( x  e.  CC ,  y  e.  CC  |->  ( x  +  y ) ) >. , 
 <. ( .r `  ndx ) ,  ( x  e.  CC ,  y  e. 
 CC  |->  ( x  x.  y ) ) >. }  u.  { <. ( *r `  ndx ) ,  * >. } )  u.  ( { <. (TopSet `  ndx ) ,  ( MetOpen `  ( abs  o.  -  )
 ) >. ,  <. ( le ` 
 ndx ) ,  <_  >. ,  <. ( dist `  ndx ) ,  ( abs  o. 
 -  ) >. }  u.  {
 <. ( UnifSet `  ndx ) ,  (metUnif `  ( abs  o. 
 -  ) ) >. } ) )
 
31-Mar-20252idlcpbl 14977 The coset equivalence relation for a two-sided ideal is compatible with ring multiplication. (Contributed by Mario Carneiro, 14-Jun-2015.) (Proof shortened by AV, 31-Mar-2025.)
 |-  X  =  ( Base `  R )   &    |-  E  =  ( R ~QG 
 S )   &    |-  I  =  (2Ideal `  R )   &    |-  .x.  =  ( .r `  R )   =>    |-  ( ( R  e.  Ring  /\  S  e.  I )  ->  ( ( A E C  /\  B E D )  ->  ( A  .x.  B ) E ( C  .x.  D ) ) )
 
22-Mar-2025idomringd 14704 An integral domain is a ring. (Contributed by Thierry Arnoux, 22-Mar-2025.)
 |-  ( ph  ->  R  e. IDomn )   =>    |-  ( ph  ->  R  e.  Ring )
 
22-Mar-2025idomdomd 14702 An integral domain is a domain. (Contributed by Thierry Arnoux, 22-Mar-2025.)
 |-  ( ph  ->  R  e. IDomn )   =>    |-  ( ph  ->  R  e. Domn )
 
21-Mar-2025df2idl2rng 14961 Alternate (the usual textbook) definition of a two-sided ideal of a non-unital ring to be a subgroup of the additive group of the ring which is closed under left- and right-multiplication by elements of the full ring. (Contributed by AV, 21-Mar-2025.)
 |-  U  =  (2Ideal `  R )   &    |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   =>    |-  ( ( R  e. Rng  /\  I  e.  (SubGrp `  R ) ) 
 ->  ( I  e.  U  <->  A. x  e.  B  A. y  e.  I  (
 ( x  .x.  y
 )  e.  I  /\  ( y  .x.  x )  e.  I ) ) )
 
21-Mar-2025isridlrng 14935 A right ideal is a left ideal of the opposite non-unital ring. This theorem shows that this definition corresponds to the usual textbook definition of a right ideal of a ring to be a subgroup of the additive group of the ring which is closed under right-multiplication by elements of the full ring. (Contributed by AV, 21-Mar-2025.)
 |-  U  =  (LIdeal `  (oppr `  R ) )   &    |-  B  =  (
 Base `  R )   &    |-  .x.  =  ( .r `  R )   =>    |-  ( ( R  e. Rng  /\  I  e.  (SubGrp `  R ) )  ->  ( I  e.  U  <->  A. x  e.  B  A. y  e.  I  ( y  .x.  x )  e.  I ) )
 
21-Mar-2025dflidl2rng 14934 Alternate (the usual textbook) definition of a (left) ideal of a non-unital ring to be a subgroup of the additive group of the ring which is closed under left-multiplication by elements of the full ring. (Contributed by AV, 21-Mar-2025.)
 |-  U  =  (LIdeal `  R )   &    |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   =>    |-  ( ( R  e. Rng  /\  I  e.  (SubGrp `  R ) ) 
 ->  ( I  e.  U  <->  A. x  e.  B  A. y  e.  I  ( x  .x.  y )  e.  I ) )
 
21-Mar-2025elcntr 14168 Elementhood in the center of a magma. (Contributed by SN, 21-Mar-2025.)
 |-  B  =  ( Base `  M )   &    |-  .+  =  ( +g  `  M )   &    |-  Z  =  (Cntr `  M )   =>    |-  ( A  e.  Z  <->  ( A  e.  B  /\  A. y  e.  B  ( A  .+  y )  =  (
 y  .+  A )
 ) )
 
20-Mar-2025ccoslid 13656 Slot property of comp. (Contributed by Jim Kingdon, 20-Mar-2025.)
 |-  (comp  = Slot  (comp `  ndx )  /\  (comp `  ndx )  e.  NN )
 
20-Mar-2025homslid 13653 Slot property of  Hom. (Contributed by Jim Kingdon, 20-Mar-2025.)
 |-  ( Hom  = Slot  ( Hom  `  ndx )  /\  ( Hom  `  ndx )  e. 
 NN )
 
19-Mar-2025ptex 13682 Existence of the product topology. (Contributed by Jim Kingdon, 19-Mar-2025.)
 |-  ( F  e.  V  ->  ( Xt_ `  F )  e.  _V )
 
18-Mar-2025prdsex 14284 Existence of the structure product. (Contributed by Jim Kingdon, 18-Mar-2025.)
 |-  ( ( S  e.  V  /\  R  e.  W )  ->  ( S X_s R )  e.  _V )
 
16-Mar-2025plycn 16072 A polynomial is a continuous function. (Contributed by Mario Carneiro, 23-Jul-2014.) Avoid ax-mulf 8314. (Revised by GG, 16-Mar-2025.)
 |-  ( F  e.  (Poly `  S )  ->  F  e.  ( CC -cn-> CC )
 )
 
16-Mar-2025expcn 15879 The power function on complex numbers, for fixed exponent  N, is continuous. (Contributed by Mario Carneiro, 5-May-2014.) (Revised by Mario Carneiro, 23-Aug-2014.) Avoid ax-mulf 8314. (Revised by GG, 16-Mar-2025.)
 |-  J  =  ( TopOpen ` ℂfld )   =>    |-  ( N  e.  NN0  ->  ( x  e.  CC  |->  ( x ^ N ) )  e.  ( J  Cn  J ) )
 
16-Mar-2025mpomulcn 15876 Complex number multiplication is a continuous function. (Contributed by GG, 16-Mar-2025.)
 |-  J  =  ( TopOpen ` ℂfld )   =>    |-  ( x  e.  CC ,  y  e.  CC  |->  ( x  x.  y ) )  e.  ( ( J  tX  J )  Cn  J )
 
16-Mar-2025mpomulf 8328 Multiplication is an operation on complex numbers. Version of ax-mulf 8314 using maps-to notation, proved from the axioms of set theory and ax-mulcl 8289. (Contributed by GG, 16-Mar-2025.)
 |-  ( x  e.  CC ,  y  e.  CC  |->  ( x  x.  y
 ) ) : ( CC  X.  CC ) --> CC
 
15-Mar-2025lmodvscld 14758 Closure of scalar product for a left module. (Contributed by SN, 15-Mar-2025.)
 |-  V  =  ( Base `  W )   &    |-  F  =  (Scalar `  W )   &    |-  .x.  =  ( .s `  W )   &    |-  K  =  ( Base `  F )   &    |-  ( ph  ->  W  e.  LMod )   &    |-  ( ph  ->  R  e.  K )   &    |-  ( ph  ->  X  e.  V )   =>    |-  ( ph  ->  ( R  .x.  X )  e.  V )
 
13-Mar-20252idlss 14967 A two-sided ideal is a subset of the base set. (Contributed by Mario Carneiro, 14-Jun-2015.) (Revised by AV, 20-Feb-2025.) (Proof shortened by AV, 13-Mar-2025.)
 |-  B  =  ( Base `  W )   &    |-  I  =  (2Ideal `  W )   =>    |-  ( U  e.  I  ->  U  C_  B )
 
13-Mar-2025imasex 13690 Existence of the image structure. (Contributed by Jim Kingdon, 13-Mar-2025.)
 |-  ( ( F  e.  V  /\  R  e.  W )  ->  ( F  "s  R )  e.  _V )
 
11-Mar-2025rng2idlsubgsubrng 14973 A two-sided ideal of a non-unital ring which is a subgroup of the ring is a subring of the ring. (Contributed by AV, 11-Mar-2025.)
 |-  ( ph  ->  R  e. Rng )   &    |-  ( ph  ->  I  e.  (2Ideal `  R ) )   &    |-  ( ph  ->  I  e.  (SubGrp `  R ) )   =>    |-  ( ph  ->  I  e.  (SubRng `  R )
 )
 
11-Mar-2025rng2idlsubrng 14970 A two-sided ideal of a non-unital ring which is a non-unital ring is a subring of the ring. (Contributed by AV, 20-Feb-2025.) (Revised by AV, 11-Mar-2025.)
 |-  ( ph  ->  R  e. Rng )   &    |-  ( ph  ->  I  e.  (2Ideal `  R ) )   &    |-  ( ph  ->  ( R ↾s  I )  e. Rng )   =>    |-  ( ph  ->  I  e.  (SubRng `  R ) )
 
11-Mar-2025rnglidlrng 14951 A (left) ideal of a non-unital ring is a non-unital ring. (Contributed by AV, 17-Feb-2020.) Generalization for non-unital rings. The assumption  U  e.  (SubGrp `  R ) is required because a left ideal of a non-unital ring does not have to be a subgroup. (Revised by AV, 11-Mar-2025.)
 |-  L  =  (LIdeal `  R )   &    |-  I  =  ( R ↾s  U )   =>    |-  ( ( R  e. Rng  /\  U  e.  L  /\  U  e.  (SubGrp `  R ) )  ->  I  e. Rng
 )
 
11-Mar-2025rnglidlmsgrp 14950 The multiplicative group of a (left) ideal of a non-unital ring is a semigroup. (Contributed by AV, 17-Feb-2020.) Generalization for non-unital rings. The assumption  .0.  e.  U is required because a left ideal of a non-unital ring does not have to be a subgroup. (Revised by AV, 11-Mar-2025.)
 |-  L  =  (LIdeal `  R )   &    |-  I  =  ( R ↾s  U )   &    |-  .0.  =  ( 0g `  R )   =>    |-  ( ( R  e. Rng  /\  U  e.  L  /\  .0.  e.  U )  ->  (mulGrp `  I )  e. Smgrp
 )
 
11-Mar-2025rnglidlmmgm 14949 The multiplicative group of a (left) ideal of a non-unital ring is a magma. (Contributed by AV, 17-Feb-2020.) Generalization for non-unital rings. The assumption  .0.  e.  U is required because a left ideal of a non-unital ring does not have to be a subgroup. (Revised by AV, 11-Mar-2025.)
 |-  L  =  (LIdeal `  R )   &    |-  I  =  ( R ↾s  U )   &    |-  .0.  =  ( 0g `  R )   =>    |-  ( ( R  e. Rng  /\  U  e.  L  /\  .0.  e.  U )  ->  (mulGrp `  I )  e. Mgm
 )
 
11-Mar-2025imasival 13691 Value of an image structure. The is a lemma for the theorems imasbas 13692, imasplusg 13693, and imasmulr 13694 and should not be needed once they are proved. (Contributed by Mario Carneiro, 23-Feb-2015.) (Revised by Jim Kingdon, 11-Mar-2025.) (New usage is discouraged.)
 |-  ( ph  ->  U  =  ( F  "s  R )
 )   &    |-  ( ph  ->  V  =  ( Base `  R )
 )   &    |- 
 .+  =  ( +g  `  R )   &    |-  .X.  =  ( .r `  R )   &    |-  .x.  =  ( .s `  R )   &    |-  ( ph  ->  .+b  =  U_ p  e.  V  U_ q  e.  V  { <. <. ( F `
  p ) ,  ( F `  q
 ) >. ,  ( F `
  ( p  .+  q ) ) >. } )   &    |-  ( ph  ->  .xb 
 =  U_ p  e.  V  U_ q  e.  V  { <.
 <. ( F `  p ) ,  ( F `  q ) >. ,  ( F `  ( p  .X.  q ) ) >. } )   &    |-  ( ph  ->  F : V -onto-> B )   &    |-  ( ph  ->  R  e.  Z )   =>    |-  ( ph  ->  U  =  { <. ( Base `  ndx ) ,  B >. , 
 <. ( +g  `  ndx ) ,  .+b  >. ,  <. ( .r `  ndx ) ,  .xb  >. } )
 
9-Mar-20252idlridld 14960 A two-sided ideal is a right ideal. (Contributed by Thierry Arnoux, 9-Mar-2025.)
 |-  ( ph  ->  I  e.  (2Ideal `  R )
 )   &    |-  O  =  (oppr `  R )   =>    |-  ( ph  ->  I  e.  (LIdeal `  O )
 )
 
9-Mar-20252idllidld 14959 A two-sided ideal is a left ideal. (Contributed by Thierry Arnoux, 9-Mar-2025.)
 |-  ( ph  ->  I  e.  (2Ideal `  R )
 )   =>    |-  ( ph  ->  I  e.  (LIdeal `  R )
 )
 
9-Mar-2025quseccl 14100 Closure of the quotient map for a quotient group. (Contributed by Mario Carneiro, 18-Sep-2015.) (Proof shortened by AV, 9-Mar-2025.)
 |-  H  =  ( G 
 /.s 
 ( G ~QG  S ) )   &    |-  V  =  ( Base `  G )   &    |-  B  =  ( Base `  H )   =>    |-  (
 ( S  e.  (NrmSGrp `  G )  /\  X  e.  V )  ->  [ X ] ( G ~QG  S )  e.  B )
 
9-Mar-2025fovcl 6201 Closure law for an operation. (Contributed by NM, 19-Apr-2007.) (Proof shortened by AV, 9-Mar-2025.)
 |-  F : ( R  X.  S ) --> C   =>    |-  ( ( A  e.  R  /\  B  e.  S )  ->  ( A F B )  e.  C )
 
8-Mar-2025subgex 14043 The class of subgroups of a group is a set. (Contributed by Jim Kingdon, 8-Mar-2025.)
 |-  ( G  e.  Grp  ->  (SubGrp `  G )  e. 
 _V )
 
8-Mar-2025fsuppfund 7305 A finitely supported function is a function. (Contributed by SN, 8-Mar-2025.)
 |-  ( ph  ->  F finSupp  Z )   =>    |-  ( ph  ->  Fun  F )
 
7-Mar-2025gsummulc2fi 14482 A finite ring sum multiplied by a constant. (Contributed by Mario Carneiro, 19-Dec-2014.) (Revised by AV, 10-Jul-2019.) Remove unused hypothesis. (Revised by SN, 7-Mar-2025.)
 |-  B  =  ( Base `  R )   &    |-  .0.  =  ( 0g `  R )   &    |-  .x. 
 =  ( .r `  R )   &    |-  ( ph  ->  R  e.  Ring )   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  Y  e.  B )   &    |-  ( ( ph  /\  k  e.  A )  ->  X  e.  B )   =>    |-  ( ph  ->  ( R  gsumg  ( k  e.  A  |->  ( Y  .x.  X ) ) )  =  ( Y  .x.  ( R  gsumg  (
 k  e.  A  |->  X ) ) ) )
 
7-Mar-2025gsummulc1fi 14481 A finite ring sum multiplied by a constant. (Contributed by Mario Carneiro, 19-Dec-2014.) (Revised by AV, 10-Jul-2019.) Remove unused hypothesis. (Revised by SN, 7-Mar-2025.)
 |-  B  =  ( Base `  R )   &    |-  .0.  =  ( 0g `  R )   &    |-  .x. 
 =  ( .r `  R )   &    |-  ( ph  ->  R  e.  Ring )   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  Y  e.  B )   &    |-  ( ( ph  /\  k  e.  A )  ->  X  e.  B )   =>    |-  ( ph  ->  ( R  gsumg  ( k  e.  A  |->  ( X  .x.  Y ) ) )  =  ( ( R  gsumg  ( k  e.  A  |->  X ) )  .x.  Y ) )
 
7-Mar-2025ringrzd 14464 The zero of a unital ring is a right-absorbing element. (Contributed by SN, 7-Mar-2025.)
 |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   &    |-  .0.  =  ( 0g `  R )   &    |-  ( ph  ->  R  e.  Ring )   &    |-  ( ph  ->  X  e.  B )   =>    |-  ( ph  ->  ( X  .x.  .0.  )  =  .0.  )
 
7-Mar-2025ringlzd 14463 The zero of a unital ring is a left-absorbing element. (Contributed by SN, 7-Mar-2025.)
 |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   &    |-  .0.  =  ( 0g `  R )   &    |-  ( ph  ->  R  e.  Ring )   &    |-  ( ph  ->  X  e.  B )   =>    |-  ( ph  ->  (  .0.  .x.  X )  =  .0.  )
 
7-Mar-2025qusecsub 14230 Two subgroup cosets are equal if and only if the difference of their representatives is a member of the subgroup. (Contributed by AV, 7-Mar-2025.)
 |-  B  =  ( Base `  G )   &    |-  .-  =  ( -g `  G )   &    |-  .~  =  ( G ~QG  S )   =>    |-  ( ( ( G  e.  Abel  /\  S  e.  (SubGrp `  G ) ) 
 /\  ( X  e.  B  /\  Y  e.  B ) )  ->  ( [ X ]  .~  =  [ Y ]  .~  <->  ( Y  .-  X )  e.  S ) )
 
2-Mar-2025isassad 15127 Sufficient condition for being an associative algebra. (Contributed by Mario Carneiro, 5-Dec-2014.) (Revised by SN, 2-Mar-2025.)
 |-  ( ph  ->  V  =  ( Base `  W )
 )   &    |-  ( ph  ->  F  =  (Scalar `  W )
 )   &    |-  ( ph  ->  B  =  ( Base `  F )
 )   &    |-  ( ph  ->  .x.  =  ( .s `  W ) )   &    |-  ( ph  ->  .X. 
 =  ( .r `  W ) )   &    |-  ( ph  ->  W  e.  LMod )   &    |-  ( ph  ->  W  e.  Ring
 )   &    |-  ( ( ph  /\  (
 r  e.  B  /\  x  e.  V  /\  y  e.  V )
 )  ->  ( (
 r  .x.  x )  .X.  y )  =  ( r  .x.  ( x  .X.  y ) ) )   &    |-  ( ( ph  /\  (
 r  e.  B  /\  x  e.  V  /\  y  e.  V )
 )  ->  ( x  .X.  ( r  .x.  y
 ) )  =  ( r  .x.  ( x  .X.  y ) ) )   =>    |-  ( ph  ->  W  e. AssAlg )
 
2-Mar-2025assasca 15124 The scalars of an associative algebra form a ring. (Contributed by Mario Carneiro, 7-Jan-2015.) (Revised by SN, 2-Mar-2025.)
 |-  F  =  (Scalar `  W )   =>    |-  ( W  e. AssAlg  ->  F  e.  Ring )
 
2-Mar-2025isassa 15118 The properties of an associative algebra. (Contributed by Mario Carneiro, 29-Dec-2014.) (Revised by SN, 2-Mar-2025.)
 |-  V  =  ( Base `  W )   &    |-  F  =  (Scalar `  W )   &    |-  B  =  (
 Base `  F )   &    |-  .x.  =  ( .s `  W )   &    |-  .X. 
 =  ( .r `  W )   =>    |-  ( W  e. AssAlg  <->  ( ( W  e.  LMod  /\  W  e.  Ring
 )  /\  A. r  e.  B  A. x  e.  V  A. y  e.  V  ( ( ( r  .x.  x )  .X.  y )  =  ( r  .x.  ( x  .X.  y ) )  /\  ( x  .X.  ( r 
 .x.  y ) )  =  ( r  .x.  ( x  .X.  y ) ) ) ) )
 
2-Mar-2025df-assa 15115 Definition of an associative algebra. An associative algebra is a set equipped with a left-module structure on a ring, coupled with a multiplicative internal operation on the vectors of the module that is associative and distributive for the additive structure of the left-module (so giving the vectors a ring structure) and that is also bilinear under the scalar product. (Contributed by Mario Carneiro, 29-Dec-2014.) (Revised by SN, 2-Mar-2025.)
 |- AssAlg  =  { w  e.  ( LMod  i^i  Ring )  |  [. (Scalar `  w )  /  f ]. A. r  e.  ( Base `  f ) A. x  e.  ( Base `  w ) A. y  e.  ( Base `  w ) [. ( .s `  w )  /  s ]. [. ( .r
 `  w )  /  t ]. ( ( ( r s x ) t y )  =  ( r s ( x t y ) )  /\  ( x t ( r s y ) )  =  ( r s ( x t y ) ) ) }
 
1-Mar-2025quselbasg 14097 Membership in the base set of a quotient group. (Contributed by AV, 1-Mar-2025.)
 |- 
 .~  =  ( G ~QG  S )   &    |-  U  =  ( G 
 /.s  .~  )   &    |-  B  =  (
 Base `  G )   =>    |-  ( ( G  e.  V  /\  X  e.  W  /\  S  e.  Z )  ->  ( X  e.  ( Base `  U ) 
 <-> 
 E. x  e.  B  X  =  [ x ]  .~  ) )
 
28-Feb-2025qusmulrng 14985 Value of the multiplication operation in a quotient ring of a non-unital ring. Formerly part of proof for quscrng 14986. Similar to qusmul2 14982. (Contributed by Mario Carneiro, 15-Jun-2015.) (Revised by AV, 28-Feb-2025.)
 |- 
 .~  =  ( R ~QG  S )   &    |-  H  =  ( R 
 /.s  .~  )   &    |-  B  =  (
 Base `  R )   &    |-  .x.  =  ( .r `  R )   &    |-  .xb 
 =  ( .r `  H )   =>    |-  ( ( ( R  e. Rng  /\  S  e.  (2Ideal `  R )  /\  S  e.  (SubGrp `  R ) )  /\  ( X  e.  B  /\  Y  e.  B ) )  ->  ( [ X ]  .~  .xb  [ Y ]  .~  )  =  [ ( X  .x.  Y ) ]  .~  )
 
28-Feb-2025ringressid 14483 A ring restricted to its base set is a ring. It will usually be the original ring exactly, of course, but to show that needs additional conditions such as those in strressid 13489. (Contributed by Jim Kingdon, 28-Feb-2025.)
 |-  B  =  ( Base `  G )   =>    |-  ( G  e.  Ring  ->  ( G ↾s  B )  e.  Ring )
 
28-Feb-2025grpressid 13930 A group restricted to its base set is a group. It will usually be the original group exactly, of course, but to show that needs additional conditions such as those in strressid 13489. (Contributed by Jim Kingdon, 28-Feb-2025.)
 |-  B  =  ( Base `  G )   =>    |-  ( G  e.  Grp  ->  ( G ↾s  B )  e.  Grp )
 
27-Feb-2025imasringf1 14485 The image of a ring under an injection is a ring. (Contributed by AV, 27-Feb-2025.)
 |-  U  =  ( F 
 "s 
 R )   &    |-  V  =  (
 Base `  R )   =>    |-  ( ( F : V -1-1-> B  /\  R  e.  Ring )  ->  U  e.  Ring )
 
26-Feb-2025strext 13523 Extending the upper range of a structure. This works because when we say that a structure has components in  A ... C we are not saying that every slot in that range is present, just that all the slots that are present are within that range. (Contributed by Jim Kingdon, 26-Feb-2025.)
 |-  ( ph  ->  F Struct  <. A ,  B >. )   &    |-  ( ph  ->  C  e.  ( ZZ>= `  B )
 )   =>    |-  ( ph  ->  F Struct  <. A ,  C >. )
 
25-Feb-2025subrngringnsg 14628 A subring is a normal subgroup. (Contributed by AV, 25-Feb-2025.)
 |-  ( A  e.  (SubRng `  R )  ->  A  e.  (NrmSGrp `  R )
 )
 
25-Feb-2025rngansg 14362 Every additive subgroup of a non-unital ring is normal. (Contributed by AV, 25-Feb-2025.)
 |-  ( R  e. Rng  ->  (NrmSGrp `  R )  =  (SubGrp `  R ) )
 
25-Feb-2025ecqusaddd 14105 Addition of equivalence classes in a quotient group. (Contributed by AV, 25-Feb-2025.)
 |-  ( ph  ->  I  e.  (NrmSGrp `  R )
 )   &    |-  B  =  ( Base `  R )   &    |-  .~  =  ( R ~QG  I )   &    |-  Q  =  ( R  /.s 
 .~  )   =>    |-  ( ( ph  /\  ( A  e.  B  /\  C  e.  B )
 )  ->  [ ( A ( +g  `  R ) C ) ]  .~  =  ( [ A ]  .~  ( +g  `  Q ) [ C ]  .~  ) )
 
24-Feb-2025ecqusaddcl 14106 Closure of the addition in a quotient group. (Contributed by AV, 24-Feb-2025.)
 |-  ( ph  ->  I  e.  (NrmSGrp `  R )
 )   &    |-  B  =  ( Base `  R )   &    |-  .~  =  ( R ~QG  I )   &    |-  Q  =  ( R  /.s 
 .~  )   =>    |-  ( ( ph  /\  ( A  e.  B  /\  C  e.  B )
 )  ->  ( [ A ]  .~  ( +g  `  Q ) [ C ]  .~  )  e.  ( Base `  Q ) )
 
24-Feb-2025quseccl0g 14098 Closure of the quotient map for a quotient group. (Contributed by Mario Carneiro, 18-Sep-2015.) Generalization of quseccl 14100 for arbitrary sets  G. (Revised by AV, 24-Feb-2025.)
 |- 
 .~  =  ( G ~QG  S )   &    |-  H  =  ( G 
 /.s  .~  )   &    |-  C  =  (
 Base `  G )   &    |-  B  =  ( Base `  H )   =>    |-  (
 ( G  e.  V  /\  X  e.  C  /\  S  e.  Z )  ->  [ X ]  .~  e.  B )
 
23-Feb-2025ltlenmkv 17411 If  < can be expressed as holding exactly when 
<_ holds and the values are not equal, then the analytic Markov's Principle applies. (To get the regular Markov's Principle, combine with neapmkv 17409). (Contributed by Jim Kingdon, 23-Feb-2025.)
 |-  ( A. x  e.  RR  A. y  e.  RR  ( x  <  y  <->  ( x  <_  y  /\  y  =/=  x ) )  ->  A. x  e.  RR  A. y  e. 
 RR  ( x  =/=  y  ->  x #  y
 ) )
 
23-Feb-2025neap0mkv 17410 The analytic Markov principle can be expressed either with two arbitrary real numbers, or one arbitrary number and zero. (Contributed by Jim Kingdon, 23-Feb-2025.)
 |-  ( A. x  e.  RR  A. y  e.  RR  ( x  =/=  y  ->  x #  y )  <->  A. x  e.  RR  ( x  =/=  0  ->  x #  0 ) )
 
23-Feb-2025qus2idrng 14978 The quotient of a non-unital ring modulo a two-sided ideal, which is a subgroup of the additive group of the non-unital ring, is a non-unital ring (qusring 14980 analog). (Contributed by AV, 23-Feb-2025.)
 |-  U  =  ( R 
 /.s 
 ( R ~QG  S ) )   &    |-  I  =  (2Ideal `  R )   =>    |-  (
 ( R  e. Rng  /\  S  e.  I  /\  S  e.  (SubGrp `  R ) )  ->  U  e. Rng )
 
23-Feb-20252idlcpblrng 14976 The coset equivalence relation for a two-sided ideal is compatible with ring multiplication. (Contributed by Mario Carneiro, 14-Jun-2015.) Generalization for non-unital rings and two-sided ideals which are subgroups of the additive group of the non-unital ring. (Revised by AV, 23-Feb-2025.)
 |-  X  =  ( Base `  R )   &    |-  E  =  ( R ~QG 
 S )   &    |-  I  =  (2Ideal `  R )   &    |-  .x.  =  ( .r `  R )   =>    |-  ( ( R  e. Rng  /\  S  e.  I  /\  S  e.  (SubGrp `  R ) )  ->  ( ( A E C  /\  B E D )  ->  ( A  .x.  B ) E ( C 
 .x.  D ) ) )
 
23-Feb-2025lringuplu 14618 If the sum of two elements of a local ring is invertible, then at least one of the summands must be invertible. (Contributed by Jim Kingdon, 18-Feb-2025.) (Revised by SN, 23-Feb-2025.)
 |-  ( ph  ->  B  =  ( Base `  R )
 )   &    |-  ( ph  ->  U  =  (Unit `  R )
 )   &    |-  ( ph  ->  .+  =  ( +g  `  R )
 )   &    |-  ( ph  ->  R  e. LRing )   &    |-  ( ph  ->  ( X  .+  Y )  e.  U )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  Y  e.  B )   =>    |-  ( ph  ->  ( X  e.  U  \/  Y  e.  U )
 )
 
23-Feb-2025lringnz 14617 A local ring is a nonzero ring. (Contributed by Jim Kingdon, 20-Feb-2025.) (Revised by SN, 23-Feb-2025.)
 |- 
 .1.  =  ( 1r `  R )   &    |-  .0.  =  ( 0g `  R )   =>    |-  ( R  e. LRing  ->  .1.  =/=  .0.  )
 
23-Feb-2025lringring 14616 A local ring is a ring. (Contributed by Jim Kingdon, 20-Feb-2025.) (Revised by SN, 23-Feb-2025.)
 |-  ( R  e. LRing  ->  R  e.  Ring )
 
23-Feb-2025lringnzr 14615 A local ring is a nonzero ring. (Contributed by SN, 23-Feb-2025.)
 |-  ( R  e. LRing  ->  R  e. NzRing )
 
23-Feb-2025islring 14614 The predicate "is a local ring". (Contributed by SN, 23-Feb-2025.)
 |-  B  =  ( Base `  R )   &    |-  .+  =  ( +g  `  R )   &    |-  .1.  =  ( 1r `  R )   &    |-  U  =  (Unit `  R )   =>    |-  ( R  e. LRing  <->  ( R  e. NzRing  /\ 
 A. x  e.  B  A. y  e.  B  ( ( x  .+  y
 )  =  .1.  ->  ( x  e.  U  \/  y  e.  U )
 ) ) )
 
23-Feb-2025df-lring 14613 A local ring is a nonzero ring where for any two elements summing to one, at least one is invertible. Any field is a local ring; the ring of integers is an example of a ring which is not a local ring. (Contributed by Jim Kingdon, 18-Feb-2025.) (Revised by SN, 23-Feb-2025.)
 |- LRing  =  { r  e. NzRing  |  A. x  e.  ( Base `  r ) A. y  e.  ( Base `  r )
 ( ( x (
 +g  `  r )
 y )  =  ( 1r `  r ) 
 ->  ( x  e.  (Unit `  r )  \/  y  e.  (Unit `  r )
 ) ) }
 
23-Feb-202501eq0ring 14611 If the zero and the identity element of a ring are the same, the ring is the zero ring. (Contributed by AV, 16-Apr-2019.) (Proof shortened by SN, 23-Feb-2025.)
 |-  B  =  ( Base `  R )   &    |-  .0.  =  ( 0g `  R )   &    |-  .1.  =  ( 1r `  R )   =>    |-  ( ( R  e.  Ring  /\  .0.  =  .1.  )  ->  B  =  {  .0.  } )
 
23-Feb-2025nzrring 14605 A nonzero ring is a ring. (Contributed by Stefan O'Rear, 24-Feb-2015.) (Proof shortened by SN, 23-Feb-2025.)
 |-  ( R  e. NzRing  ->  R  e.  Ring )
 
23-Feb-2025qusrng 14370 The quotient structure of a non-unital ring is a non-unital ring (qusring2 14486 analog). (Contributed by AV, 23-Feb-2025.)
 |-  ( ph  ->  U  =  ( R  /.s  .~  ) )   &    |-  ( ph  ->  V  =  ( Base `  R )
 )   &    |- 
 .+  =  ( +g  `  R )   &    |-  .x.  =  ( .r `  R )   &    |-  ( ph  ->  .~  Er  V )   &    |-  ( ph  ->  (
 ( a  .~  p  /\  b  .~  q ) 
 ->  ( a  .+  b
 )  .~  ( p  .+  q ) ) )   &    |-  ( ph  ->  ( (
 a  .~  p  /\  b  .~  q )  ->  ( a  .x.  b ) 
 .~  ( p  .x.  q ) ) )   &    |-  ( ph  ->  R  e. Rng )   =>    |-  ( ph  ->  U  e. Rng )
 
23-Feb-2025rngsubdir 14364 Ring multiplication distributes over subtraction. (subdir 8726 analog.) (Contributed by Jeff Madsen, 19-Jun-2010.) (Revised by Mario Carneiro, 2-Jul-2014.) Generalization of ringsubdir 14475. (Revised by AV, 23-Feb-2025.)
 |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   &    |-  .-  =  ( -g `  R )   &    |-  ( ph  ->  R  e. Rng )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  Y  e.  B )   &    |-  ( ph  ->  Z  e.  B )   =>    |-  ( ph  ->  (
 ( X  .-  Y )  .x.  Z )  =  ( ( X  .x.  Z )  .-  ( Y  .x.  Z ) ) )
 
23-Feb-2025rngsubdi 14363 Ring multiplication distributes over subtraction. (subdi 8725 analog.) (Contributed by Jeff Madsen, 19-Jun-2010.) (Revised by Mario Carneiro, 2-Jul-2014.) Generalization of ringsubdi 14474. (Revised by AV, 23-Feb-2025.)
 |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   &    |-  .-  =  ( -g `  R )   &    |-  ( ph  ->  R  e. Rng )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  Y  e.  B )   &    |-  ( ph  ->  Z  e.  B )   =>    |-  ( ph  ->  ( X  .x.  ( Y  .-  Z ) )  =  ( ( X  .x.  Y )  .-  ( X  .x.  Z ) ) )
 
23-Feb-2025abbib 2356 Equal class abstractions require equivalent formulas, and conversely. (Contributed by NM, 25-Nov-2013.) (Revised by Mario Carneiro, 11-Aug-2016.) Remove dependency on ax-8 1557 and df-clel 2234 (by avoiding use of cleqh 2338). (Revised by BJ, 23-Jun-2019.) Definitial form. (Revised by Wolf Lammen, 23-Feb-2025.)
 |-  ( { x  |  ph
 }  =  { x  |  ps }  <->  A. x ( ph  <->  ps ) )
 
22-Feb-2025imasrngf1 14369 The image of a non-unital ring under an injection is a non-unital ring. (Contributed by AV, 22-Feb-2025.)
 |-  U  =  ( F 
 "s 
 R )   &    |-  V  =  (
 Base `  R )   =>    |-  ( ( F : V -1-1-> B  /\  R  e. Rng )  ->  U  e. Rng )
 
22-Feb-2025imasrng 14368 The image structure of a non-unital ring is a non-unital ring (imasring 14484 analog). (Contributed by AV, 22-Feb-2025.)
 |-  ( ph  ->  U  =  ( F  "s  R )
 )   &    |-  ( ph  ->  V  =  ( Base `  R )
 )   &    |- 
 .+  =  ( +g  `  R )   &    |-  .x.  =  ( .r `  R )   &    |-  ( ph  ->  F : V -onto-> B )   &    |-  ( ( ph  /\  ( a  e.  V  /\  b  e.  V )  /\  ( p  e.  V  /\  q  e.  V ) )  ->  ( ( ( F `
  a )  =  ( F `  p )  /\  ( F `  b )  =  ( F `  q ) ) 
 ->  ( F `  (
 a  .+  b )
 )  =  ( F `
  ( p  .+  q ) ) ) )   &    |-  ( ( ph  /\  ( a  e.  V  /\  b  e.  V )  /\  ( p  e.  V  /\  q  e.  V ) )  ->  ( ( ( F `
  a )  =  ( F `  p )  /\  ( F `  b )  =  ( F `  q ) ) 
 ->  ( F `  (
 a  .x.  b )
 )  =  ( F `
  ( p  .x.  q ) ) ) )   &    |-  ( ph  ->  R  e. Rng )   =>    |-  ( ph  ->  U  e. Rng )
 
22-Feb-2025rngmgpf 14349 Restricted functionality of the multiplicative group on non-unital rings (mgpf 14428 analog). (Contributed by AV, 22-Feb-2025.)
 |-  (mulGrp  |` Rng ) :Rng -->Smgrp
 
22-Feb-2025imasabl 14235 The image structure of an abelian group is an abelian group (imasgrp 13978 analog). (Contributed by AV, 22-Feb-2025.)
 |-  ( ph  ->  U  =  ( F  "s  R )
 )   &    |-  ( ph  ->  V  =  ( Base `  R )
 )   &    |-  ( ph  ->  .+  =  ( +g  `  R )
 )   &    |-  ( ph  ->  F : V -onto-> B )   &    |-  ( ( ph  /\  ( a  e.  V  /\  b  e.  V )  /\  ( p  e.  V  /\  q  e.  V ) )  ->  ( ( ( F `
  a )  =  ( F `  p )  /\  ( F `  b )  =  ( F `  q ) ) 
 ->  ( F `  (
 a  .+  b )
 )  =  ( F `
  ( p  .+  q ) ) ) )   &    |-  ( ph  ->  R  e.  Abel )   &    |-  .0.  =  ( 0g `  R )   =>    |-  ( ph  ->  ( U  e.  Abel  /\  ( F ` 
 .0.  )  =  ( 0g `  U ) ) )
 
21-Feb-2025prdssgrpd 14303 The product of a family of semigroups is a semigroup. (Contributed by AV, 21-Feb-2025.)
 |-  Y  =  ( S
 X_s
 R )   &    |-  ( ph  ->  I  e.  W )   &    |-  ( ph  ->  S  e.  V )   &    |-  ( ph  ->  R : I -->Smgrp )   =>    |-  ( ph  ->  Y  e. Smgrp )
 
21-Feb-2025prdsplusgsgrpcl 14302 Structure product pointwise sums are closed when the factors are semigroups. (Contributed by AV, 21-Feb-2025.)
 |-  Y  =  ( S
 X_s
 R )   &    |-  B  =  (
 Base `  Y )   &    |-  .+  =  ( +g  `  Y )   &    |-  ( ph  ->  S  e.  V )   &    |-  ( ph  ->  I  e.  W )   &    |-  ( ph  ->  R : I -->Smgrp )   &    |-  ( ph  ->  F  e.  B )   &    |-  ( ph  ->  G  e.  B )   =>    |-  ( ph  ->  ( F  .+  G )  e.  B )
 
21-Feb-2025dftap2 7629 Tight apartness with the apartness properties from df-pap 7620 expanded. (Contributed by Jim Kingdon, 21-Feb-2025.)
 |-  ( R TAp  A  <->  ( R  C_  ( A  X.  A ) 
 /\  ( A. x  e.  A  -.  x R x  /\  A. x  e.  A  A. y  e.  A  ( x R y  ->  y R x ) )  /\  ( A. x  e.  A  A. y  e.  A  A. z  e.  A  ( x R y  ->  ( x R z  \/  y R z ) ) 
 /\  A. x  e.  A  A. y  e.  A  ( -.  x R y 
 ->  x  =  y
 ) ) ) )
 
20-Feb-2025rng2idlsubg0 14975 The zero (additive identity) of a non-unital ring is an element of each two-sided ideal of the ring which is a subgroup of the ring. (Contributed by AV, 20-Feb-2025.)
 |-  ( ph  ->  R  e. Rng )   &    |-  ( ph  ->  I  e.  (2Ideal `  R ) )   &    |-  ( ph  ->  I  e.  (SubGrp `  R ) )   =>    |-  ( ph  ->  ( 0g `  R )  e.  I )
 
20-Feb-2025rng2idlsubgnsg 14974 A two-sided ideal of a non-unital ring which is a subgroup of the ring is a normal subgroup of the ring. (Contributed by AV, 20-Feb-2025.)
 |-  ( ph  ->  R  e. Rng )   &    |-  ( ph  ->  I  e.  (2Ideal `  R ) )   &    |-  ( ph  ->  I  e.  (SubGrp `  R ) )   =>    |-  ( ph  ->  I  e.  (NrmSGrp `  R )
 )
 
20-Feb-2025rng2idl0 14972 The zero (additive identity) of a non-unital ring is an element of each two-sided ideal of the ring which is a non-unital ring. (Contributed by AV, 20-Feb-2025.)
 |-  ( ph  ->  R  e. Rng )   &    |-  ( ph  ->  I  e.  (2Ideal `  R ) )   &    |-  ( ph  ->  ( R ↾s  I )  e. Rng )   =>    |-  ( ph  ->  ( 0g `  R )  e.  I
 )
 
20-Feb-2025rng2idlnsg 14971 A two-sided ideal of a non-unital ring which is a non-unital ring is a normal subgroup of the ring. (Contributed by AV, 20-Feb-2025.)
 |-  ( ph  ->  R  e. Rng )   &    |-  ( ph  ->  I  e.  (2Ideal `  R ) )   &    |-  ( ph  ->  ( R ↾s  I )  e. Rng )   =>    |-  ( ph  ->  I  e.  (NrmSGrp `  R ) )
 
20-Feb-20252idlelbas 14969 The base set of a two-sided ideal as structure is a left and right ideal. (Contributed by AV, 20-Feb-2025.)
 |-  ( ph  ->  I  e.  (2Ideal `  R )
 )   &    |-  J  =  ( R ↾s  I )   &    |-  B  =  (
 Base `  J )   =>    |-  ( ph  ->  ( B  e.  (LIdeal `  R )  /\  B  e.  (LIdeal `  (oppr `  R ) ) ) )
 
20-Feb-20252idlbas 14968 The base set of a two-sided ideal as structure. (Contributed by AV, 20-Feb-2025.)
 |-  ( ph  ->  I  e.  (2Ideal `  R )
 )   &    |-  J  =  ( R ↾s  I )   &    |-  B  =  (
 Base `  J )   =>    |-  ( ph  ->  B  =  I )
 
20-Feb-20252idlelb 14958 Membership in a two-sided ideal. (Contributed by Mario Carneiro, 14-Jun-2015.) (Revised by AV, 20-Feb-2025.)
 |-  I  =  (LIdeal `  R )   &    |-  O  =  (oppr `  R )   &    |-  J  =  (LIdeal `  O )   &    |-  T  =  (2Ideal `  R )   =>    |-  ( U  e.  T  <->  ( U  e.  I  /\  U  e.  J )
 )
 
20-Feb-2025aprap 14714 The relation given by df-apr 14706 for a local ring is an apartness relation. (Contributed by Jim Kingdon, 20-Feb-2025.)
 |-  ( R  e. LRing  ->  ( #r  `  R ) Ap  ( Base `  R ) )
 
20-Feb-2025setscomd 13456 Different components can be set in any order. (Contributed by Jim Kingdon, 20-Feb-2025.)
 |-  ( ph  ->  A  e.  Y )   &    |-  ( ph  ->  B  e.  Z )   &    |-  ( ph  ->  S  e.  V )   &    |-  ( ph  ->  A  =/=  B )   &    |-  ( ph  ->  C  e.  W )   &    |-  ( ph  ->  D  e.  X )   =>    |-  ( ph  ->  (
 ( S sSet  <. A ,  C >. ) sSet  <. B ,  D >. )  =  ( ( S sSet  <. B ,  D >. ) sSet  <. A ,  C >. ) )
 
20-Feb-2025ifnebibdc 3686 The converse of ifbi 3661 holds if the two values are not equal. (Contributed by Thierry Arnoux, 20-Feb-2025.)
 |-  ( (DECID 
 ph  /\ DECID  ps  /\  A  =/=  B )  ->  ( if ( ph ,  A ,  B )  =  if ( ps ,  A ,  B )  <->  ( ph  <->  ps ) ) )
 
20-Feb-2025ifnefals 3685 Deduce falsehood from a conditional operator value. (Contributed by Thierry Arnoux, 20-Feb-2025.)
 |-  ( ( A  =/=  B 
 /\  if ( ph ,  A ,  B )  =  B )  ->  -.  ph )
 
20-Feb-2025ifnetruedc 3684 Deduce truth from a conditional operator value. (Contributed by Thierry Arnoux, 20-Feb-2025.)
 |-  ( (DECID 
 ph  /\  A  =/=  B 
 /\  if ( ph ,  A ,  B )  =  A )  ->  ph )
 
18-Feb-2025rnglidlmcl 14933 A (left) ideal containing the zero element is closed under left-multiplication by elements of the full non-unital ring. If the ring is not a unital ring, and the ideal does not contain the zero element of the ring, then the closure cannot be proven. (Contributed by AV, 18-Feb-2025.)
 |- 
 .0.  =  ( 0g `  R )   &    |-  B  =  (
 Base `  R )   &    |-  .x.  =  ( .r `  R )   &    |-  U  =  (LIdeal `  R )   =>    |-  ( ( ( R  e. Rng  /\  I  e.  U  /\  .0.  e.  I
 )  /\  ( X  e.  B  /\  Y  e.  I ) )  ->  ( X  .x.  Y )  e.  I )
 
17-Feb-2025aprcotr 14713 The apartness relation given by df-apr 14706 for a local ring is cotransitive. (Contributed by Jim Kingdon, 17-Feb-2025.)
 |-  ( ph  ->  B  =  ( Base `  R )
 )   &    |-  ( ph  -> #  =  ( #r  `  R ) )   &    |-  ( ph  ->  R  e. LRing )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  Y  e.  B )   &    |-  ( ph  ->  Z  e.  B )   =>    |-  ( ph  ->  ( X #  Y  ->  ( X #  Z  \/  Y #  Z ) ) )
 
17-Feb-2025aprsym 14712 The apartness relation given by df-apr 14706 for a ring is symmetric. (Contributed by Jim Kingdon, 17-Feb-2025.)
 |-  ( ph  ->  B  =  ( Base `  R )
 )   &    |-  ( ph  -> #  =  ( #r  `  R ) )   &    |-  ( ph  ->  R  e.  Ring )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  Y  e.  B )   =>    |-  ( ph  ->  ( X #  Y  ->  Y #  X ) )
 
17-Feb-2025aprval 14707 Expand Definition df-apr 14706. (Contributed by Jim Kingdon, 17-Feb-2025.)
 |-  ( ph  ->  B  =  ( Base `  R )
 )   &    |-  ( ph  -> #  =  ( #r  `  R ) )   &    |-  ( ph  ->  .-  =  ( -g `  R ) )   &    |-  ( ph  ->  U  =  (Unit `  R ) )   &    |-  ( ph  ->  R  e.  Ring
 )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  Y  e.  B )   =>    |-  ( ph  ->  ( X #  Y  <->  ( X  .-  Y )  e.  U ) )
 
17-Feb-2025subrngpropd 14639 If two structures have the same ring components (properties), they have the same set of subrings. (Contributed by AV, 17-Feb-2025.)
 |-  ( ph  ->  B  =  ( Base `  K )
 )   &    |-  ( ph  ->  B  =  ( Base `  L )
 )   &    |-  ( ( ph  /\  ( x  e.  B  /\  y  e.  B )
 )  ->  ( x ( +g  `  K )
 y )  =  ( x ( +g  `  L ) y ) )   &    |-  ( ( ph  /\  ( x  e.  B  /\  y  e.  B )
 )  ->  ( x ( .r `  K ) y )  =  ( x ( .r `  L ) y ) )   =>    |-  ( ph  ->  (SubRng `  K )  =  (SubRng `  L ) )
 
17-Feb-2025rngm2neg 14361 Double negation of a product in a non-unital ring (mul2neg 8738 analog). (Contributed by Mario Carneiro, 4-Dec-2014.) Generalization of ringm2neg 14473. (Revised by AV, 17-Feb-2025.)
 |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   &    |-  N  =  ( invg `  R )   &    |-  ( ph  ->  R  e. Rng )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  Y  e.  B )   =>    |-  ( ph  ->  (
 ( N `  X )  .x.  ( N `  Y ) )  =  ( X  .x.  Y ) )
 
17-Feb-2025rngmneg2 14360 Negation of a product in a non-unital ring (mulneg2 8736 analog). In contrast to ringmneg2 14472, the proof does not (and cannot) make use of the existence of a ring unity. (Contributed by AV, 17-Feb-2025.)
 |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   &    |-  N  =  ( invg `  R )   &    |-  ( ph  ->  R  e. Rng )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  Y  e.  B )   =>    |-  ( ph  ->  ( X  .x.  ( N `  Y ) )  =  ( N `  ( X  .x.  Y ) ) )
 
17-Feb-2025rngmneg1 14359 Negation of a product in a non-unital ring (mulneg1 8735 analog). In contrast to ringmneg1 14471, the proof does not (and cannot) make use of the existence of a ring unity. (Contributed by AV, 17-Feb-2025.)
 |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   &    |-  N  =  ( invg `  R )   &    |-  ( ph  ->  R  e. Rng )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  Y  e.  B )   =>    |-  ( ph  ->  (
 ( N `  X )  .x.  Y )  =  ( N `  ( X  .x.  Y ) ) )
 
17-Feb-2025cntzsgrpcl 14172 Centralizers are closed under the semigroup operation. (Contributed by AV, 17-Feb-2025.)
 |-  B  =  ( Base `  M )   &    |-  Z  =  (Cntz `  M )   &    |-  C  =  ( Z `  S )   =>    |-  ( ( M  e. Smgrp  /\  S  C_  B )  ->  A. y  e.  C  A. z  e.  C  ( y ( +g  `  M ) z )  e.  C )
 
16-Feb-2025aprirr 14711 The apartness relation given by df-apr 14706 for a nonzero ring is irreflexive. (Contributed by Jim Kingdon, 16-Feb-2025.)
 |-  ( ph  ->  B  =  ( Base `  R )
 )   &    |-  ( ph  -> #  =  ( #r  `  R ) )   &    |-  ( ph  ->  R  e.  Ring )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  ( 1r `  R )  =/=  ( 0g `  R ) )   =>    |-  ( ph  ->  -.  X #  X )
 
16-Feb-2025rngrz 14358 The zero of a non-unital ring is a right-absorbing element. (Contributed by FL, 31-Aug-2009.) Generalization of ringrz 14462. (Revised by AV, 16-Feb-2025.)
 |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   &    |-  .0.  =  ( 0g `  R )   =>    |-  ( ( R  e. Rng  /\  X  e.  B ) 
 ->  ( X  .x.  .0.  )  =  .0.  )
 
16-Feb-2025rng0cl 14355 The zero element of a non-unital ring belongs to its base set. (Contributed by AV, 16-Feb-2025.)
 |-  B  =  ( Base `  R )   &    |-  .0.  =  ( 0g `  R )   =>    |-  ( R  e. Rng  ->  .0.  e.  B )
 
16-Feb-2025rngacl 14354 Closure of the addition operation of a non-unital ring. (Contributed by AV, 16-Feb-2025.)
 |-  B  =  ( Base `  R )   &    |-  .+  =  ( +g  `  R )   =>    |-  ( ( R  e. Rng  /\  X  e.  B  /\  Y  e.  B )  ->  ( X  .+  Y )  e.  B )
 
16-Feb-2025rnggrp 14350 A non-unital ring is a (additive) group. (Contributed by AV, 16-Feb-2025.)
 |-  ( R  e. Rng  ->  R  e.  Grp )
 
16-Feb-2025aptap 8992 Complex apartness (as defined at df-ap 8924) is a tight apartness (as defined at df-tap 7627). (Contributed by Jim Kingdon, 16-Feb-2025.)
 |- # TAp  CC
 
15-Feb-2025subsubrng2 14638 The set of subrings of a subring are the smaller subrings. (Contributed by AV, 15-Feb-2025.)
 |-  S  =  ( R ↾s  A )   =>    |-  ( A  e.  (SubRng `  R )  ->  (SubRng `  S )  =  ( (SubRng `  R )  i^i  ~P A ) )
 
15-Feb-2025subsubrng 14637 A subring of a subring is a subring. (Contributed by AV, 15-Feb-2025.)
 |-  S  =  ( R ↾s  A )   =>    |-  ( A  e.  (SubRng `  R )  ->  ( B  e.  (SubRng `  S ) 
 <->  ( B  e.  (SubRng `  R )  /\  B  C_  A ) ) )
 
15-Feb-2025subrngin 14636 The intersection of two subrings is a subring. (Contributed by AV, 15-Feb-2025.)
 |-  ( ( A  e.  (SubRng `  R )  /\  B  e.  (SubRng `  R ) )  ->  ( A  i^i  B )  e.  (SubRng `  R )
 )
 
15-Feb-2025subrngintm 14635 The intersection of a nonempty collection of subrings is a subring. (Contributed by AV, 15-Feb-2025.)
 |-  ( ( S  C_  (SubRng `  R )  /\  E. j  j  e.  S )  ->  |^| S  e.  (SubRng `  R ) )
 
15-Feb-2025opprsubrngg 14634 Being a subring is a symmetric property. (Contributed by AV, 15-Feb-2025.)
 |-  O  =  (oppr `  R )   =>    |-  ( R  e.  V  ->  (SubRng `  R )  =  (SubRng `  O )
 )
 
15-Feb-2025issubrng2 14633 Characterize the subrings of a ring by closure properties. (Contributed by AV, 15-Feb-2025.)
 |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   =>    |-  ( R  e. Rng  ->  ( A  e.  (SubRng `  R )  <->  ( A  e.  (SubGrp `  R )  /\  A. x  e.  A  A. y  e.  A  ( x  .x.  y )  e.  A ) ) )
 
15-Feb-2025opprrngbg 14498 A set is a non-unital ring if and only if its opposite is a non-unital ring. Bidirectional form of opprrng 14497. (Contributed by AV, 15-Feb-2025.)
 |-  O  =  (oppr `  R )   =>    |-  ( R  e.  V  ->  ( R  e. Rng  <->  O  e. Rng ) )
 
15-Feb-2025opprrng 14497 An opposite non-unital ring is a non-unital ring. (Contributed by AV, 15-Feb-2025.)
 |-  O  =  (oppr `  R )   =>    |-  ( R  e. Rng  ->  O  e. Rng )
 
15-Feb-2025rngpropd 14367 If two structures have the same base set, and the values of their group (addition) and ring (multiplication) operations are equal for all pairs of elements of the base set, one is a non-unital ring iff the other one is. (Contributed by AV, 15-Feb-2025.)
 |-  ( ph  ->  B  =  ( Base `  K )
 )   &    |-  ( ph  ->  B  =  ( Base `  L )
 )   &    |-  ( ( ph  /\  ( x  e.  B  /\  y  e.  B )
 )  ->  ( x ( +g  `  K )
 y )  =  ( x ( +g  `  L ) y ) )   &    |-  ( ( ph  /\  ( x  e.  B  /\  y  e.  B )
 )  ->  ( x ( .r `  K ) y )  =  ( x ( .r `  L ) y ) )   =>    |-  ( ph  ->  ( K  e. Rng  <->  L  e. Rng ) )
 
15-Feb-2025sgrppropd 13792 If two structures are sets, have the same base set, and the values of their group (addition) operations are equal for all pairs of elements of the base set, one is a semigroup iff the other one is. (Contributed by AV, 15-Feb-2025.)
 |-  ( ph  ->  K  e.  V )   &    |-  ( ph  ->  L  e.  W )   &    |-  ( ph  ->  B  =  (
 Base `  K ) )   &    |-  ( ph  ->  B  =  ( Base `  L )
 )   &    |-  ( ( ph  /\  ( x  e.  B  /\  y  e.  B )
 )  ->  ( x ( +g  `  K )
 y )  =  ( x ( +g  `  L ) y ) )   =>    |-  ( ph  ->  ( K  e. Smgrp  <->  L  e. Smgrp ) )
 
15-Feb-2025sgrpcl 13788 Closure of the operation of a semigroup. (Contributed by AV, 15-Feb-2025.)
 |-  B  =  ( Base `  G )   &    |-  .o.  =  (
 +g  `  G )   =>    |-  (
 ( G  e. Smgrp  /\  X  e.  B  /\  Y  e.  B )  ->  ( X  .o.  Y )  e.  B )
 
15-Feb-2025tapeq2 7631 Equality theorem for tight apartness predicate. (Contributed by Jim Kingdon, 15-Feb-2025.)
 |-  ( A  =  B  ->  ( R TAp  A  <->  R TAp  B )
 )
 
14-Feb-2025subrngmcl 14632 A subgroup is closed under multiplication. (Contributed by Mario Carneiro, 2-Dec-2014.) Generalization of subrgmcl 14657. (Revised by AV, 14-Feb-2025.)
 |- 
 .x.  =  ( .r `  R )   =>    |-  ( ( A  e.  (SubRng `  R )  /\  X  e.  A  /\  Y  e.  A )  ->  ( X  .x.  Y )  e.  A )
 
14-Feb-2025subrngacl 14631 A subring is closed under addition. (Contributed by AV, 14-Feb-2025.)
 |- 
 .+  =  ( +g  `  R )   =>    |-  ( ( A  e.  (SubRng `  R )  /\  X  e.  A  /\  Y  e.  A )  ->  ( X  .+  Y )  e.  A )
 
14-Feb-2025subrng0 14630 A subring always has the same additive identity. (Contributed by AV, 14-Feb-2025.)
 |-  S  =  ( R ↾s  A )   &    |-  .0.  =  ( 0g `  R )   =>    |-  ( A  e.  (SubRng `  R )  ->  .0.  =  ( 0g `  S ) )
 
14-Feb-2025subrngbas 14629 Base set of a subring structure. (Contributed by AV, 14-Feb-2025.)
 |-  S  =  ( R ↾s  A )   =>    |-  ( A  e.  (SubRng `  R )  ->  A  =  ( Base `  S )
 )
 
14-Feb-2025subrngsubg 14627 A subring is a subgroup. (Contributed by AV, 14-Feb-2025.)
 |-  ( A  e.  (SubRng `  R )  ->  A  e.  (SubGrp `  R )
 )
 
14-Feb-2025subrngrcl 14626 Reverse closure for a subring predicate. (Contributed by AV, 14-Feb-2025.)
 |-  ( A  e.  (SubRng `  R )  ->  R  e. Rng )
 
14-Feb-2025subrngrng 14625 A subring is a non-unital ring. (Contributed by AV, 14-Feb-2025.)
 |-  S  =  ( R ↾s  A )   =>    |-  ( A  e.  (SubRng `  R )  ->  S  e. Rng )
 
14-Feb-2025subrngid 14624 Every non-unital ring is a subring of itself. (Contributed by AV, 14-Feb-2025.)
 |-  B  =  ( Base `  R )   =>    |-  ( R  e. Rng  ->  B  e.  (SubRng `  R ) )
 
14-Feb-2025subrngss 14623 A subring is a subset. (Contributed by AV, 14-Feb-2025.)
 |-  B  =  ( Base `  R )   =>    |-  ( A  e.  (SubRng `  R )  ->  A  C_  B )
 
14-Feb-2025issubrng 14622 The subring of non-unital ring predicate. (Contributed by AV, 14-Feb-2025.)
 |-  B  =  ( Base `  R )   =>    |-  ( A  e.  (SubRng `  R )  <->  ( R  e. Rng  /\  ( R ↾s  A )  e. Rng  /\  A  C_  B ) )
 
14-Feb-2025df-subrng 14621 Define a subring of a non-unital ring as a set of elements that is a non-unital ring in its own right. In this section, a subring of a non-unital ring is simply called "subring", unless it causes any ambiguity with SubRing. (Contributed by AV, 14-Feb-2025.)
 |- SubRng  =  ( w  e. Rng  |->  { s  e.  ~P ( Base `  w )  |  ( w ↾s  s
 )  e. Rng } )
 
14-Feb-2025isrngd 14365 Properties that determine a non-unital ring. (Contributed by AV, 14-Feb-2025.)
 |-  ( ph  ->  B  =  ( Base `  R )
 )   &    |-  ( ph  ->  .+  =  ( +g  `  R )
 )   &    |-  ( ph  ->  .x.  =  ( .r `  R ) )   &    |-  ( ph  ->  R  e.  Abel )   &    |-  ( ( ph  /\  x  e.  B  /\  y  e.  B )  ->  ( x  .x.  y
 )  e.  B )   &    |-  ( ( ph  /\  ( x  e.  B  /\  y  e.  B  /\  z  e.  B )
 )  ->  ( ( x  .x.  y )  .x.  z )  =  ( x  .x.  ( y  .x.  z ) ) )   &    |-  ( ( ph  /\  ( x  e.  B  /\  y  e.  B  /\  z  e.  B )
 )  ->  ( x  .x.  ( y  .+  z
 ) )  =  ( ( x  .x.  y
 )  .+  ( x  .x.  z ) ) )   &    |-  ( ( ph  /\  ( x  e.  B  /\  y  e.  B  /\  z  e.  B )
 )  ->  ( ( x  .+  y )  .x.  z )  =  (
 ( x  .x.  z
 )  .+  ( y  .x.  z ) ) )   =>    |-  ( ph  ->  R  e. Rng )
 
14-Feb-2025rngdi 14352 Distributive law for the multiplication operation of a non-unital ring (left-distributivity). (Contributed by AV, 14-Feb-2025.)
 |-  B  =  ( Base `  R )   &    |-  .+  =  ( +g  `  R )   &    |-  .x.  =  ( .r `  R )   =>    |-  ( ( R  e. Rng  /\  ( X  e.  B  /\  Y  e.  B  /\  Z  e.  B )
 )  ->  ( X  .x.  ( Y  .+  Z ) )  =  (
 ( X  .x.  Y )  .+  ( X  .x.  Z ) ) )
 
14-Feb-2025exmidmotap 7639 The proposition that every class has at most one tight apartness is equivalent to excluded middle. (Contributed by Jim Kingdon, 14-Feb-2025.)
 |-  (EXMID  <->  A. x E* r  r TAp 
 x )
 
14-Feb-2025exmidapne 7638 Excluded middle implies there is only one tight apartness on any class, namely negated equality. (Contributed by Jim Kingdon, 14-Feb-2025.)
 |-  (EXMID 
 ->  ( R TAp  A  <->  R  =  { <. u ,  v >.  |  ( ( u  e.  A  /\  v  e.  A )  /\  u  =/=  v ) } )
 )
 
14-Feb-2025df-pap 7620 Apartness predicate. A relation  R is an apartness if it is irreflexive, symmetric, and cotransitive. (Contributed by Jim Kingdon, 14-Feb-2025.)
 |-  ( R Ap  A  <->  ( ( R 
 C_  ( A  X.  A )  /\  A. x  e.  A  -.  x R x )  /\  ( A. x  e.  A  A. y  e.  A  ( x R y  ->  y R x )  /\  A. x  e.  A  A. y  e.  A  A. z  e.  A  ( x R y  ->  ( x R z  \/  y R z ) ) ) ) )
 
13-Feb-20252idl1 14966 Every ring contains a unit two-sided ideal. (Contributed by AV, 13-Feb-2025.)
 |-  I  =  (2Ideal `  R )   &    |-  B  =  ( Base `  R )   =>    |-  ( R  e.  Ring  ->  B  e.  I )
 
13-Feb-20252idl0 14965 Every ring contains a zero two-sided ideal. (Contributed by AV, 13-Feb-2025.)
 |-  I  =  (2Ideal `  R )   &    |- 
 .0.  =  ( 0g `  R )   =>    |-  ( R  e.  Ring  ->  {  .0.  }  e.  I
 )
 
13-Feb-2025ridl1 14964 Every ring contains a unit right ideal. (Contributed by AV, 13-Feb-2025.)
 |-  U  =  (LIdeal `  (oppr `  R ) )   &    |-  B  =  (
 Base `  R )   =>    |-  ( R  e.  Ring 
 ->  B  e.  U )
 
13-Feb-2025ridl0 14963 Every ring contains a zero right ideal. (Contributed by AV, 13-Feb-2025.)
 |-  U  =  (LIdeal `  (oppr `  R ) )   &    |-  .0.  =  ( 0g `  R )   =>    |-  ( R  e.  Ring  ->  {  .0.  }  e.  U )
 
13-Feb-2025isridl 14957 A right ideal is a left ideal of the opposite ring. This theorem shows that this definition corresponds to the usual textbook definition of a right ideal of a ring to be a subgroup of the additive group of the ring which is closed under right-multiplication by elements of the full ring. (Contributed by AV, 13-Feb-2025.)
 |-  U  =  (LIdeal `  (oppr `  R ) )   &    |-  B  =  (
 Base `  R )   &    |-  .x.  =  ( .r `  R )   =>    |-  ( R  e.  Ring  ->  ( I  e.  U  <->  ( I  e.  (SubGrp `  R )  /\  A. x  e.  B  A. y  e.  I  ( y  .x.  x )  e.  I ) ) )
 
13-Feb-2025df-apr 14706 The relation between elements whose difference is invertible, which for a local ring is an apartness relation by aprap 14714. (Contributed by Jim Kingdon, 13-Feb-2025.)
 |- #r  =  ( w  e.  _V  |->  {
 <. x ,  y >.  |  ( ( x  e.  ( Base `  w )  /\  y  e.  ( Base `  w ) ) 
 /\  ( x (
 -g `  w )
 y )  e.  (Unit `  w ) ) }
 )
 
13-Feb-2025rngass 14351 Associative law for the multiplication operation of a non-unital ring. (Contributed by NM, 27-Aug-2011.) (Revised by AV, 13-Feb-2025.)
 |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   =>    |-  ( ( R  e. Rng  /\  ( X  e.  B  /\  Y  e.  B  /\  Z  e.  B ) )  ->  ( ( X  .x.  Y )  .x.  Z )  =  ( X  .x.  ( Y  .x.  Z ) ) )
 
13-Feb-2025issgrpd 13791 Deduce a semigroup from its properties. (Contributed by AV, 13-Feb-2025.)
 |-  ( ph  ->  B  =  ( Base `  G )
 )   &    |-  ( ph  ->  .+  =  ( +g  `  G )
 )   &    |-  ( ( ph  /\  x  e.  B  /\  y  e.  B )  ->  ( x  .+  y )  e.  B )   &    |-  ( ( ph  /\  ( x  e.  B  /\  y  e.  B  /\  z  e.  B ) )  ->  ( ( x  .+  y ) 
 .+  z )  =  ( x  .+  (
 y  .+  z )
 ) )   &    |-  ( ph  ->  G  e.  V )   =>    |-  ( ph  ->  G  e. Smgrp )
 
13-Feb-2025eqab 2373 One direction of eqabb 2374. (Contributed by Wolf Lammen, 13-Feb-2025.)
 |-  ( A. x ( x  e.  A  <->  ph )  ->  A  =  { x  |  ph } )
 
12-Feb-2025eqabb 2374 Equality of a class variable and a class abstraction (also called a class builder). Theorem 5.1 of [Quine] p. 34. This theorem shows the relationship between expressions with class abstractions and expressions with class variables. Note that abbib 2356 and its relatives are among those useful for converting theorems with class variables to equivalent theorems with wff variables, by first substituting a class abstraction for each class variable.

Class variables can always be eliminated from a theorem to result in an equivalent theorem with wff variables, and vice-versa. The idea is roughly as follows. To convert a theorem with a wff variable  ph (that has a free variable  x) to a theorem with a class variable  A, we substitute  x  e.  A for  ph throughout and simplify, where  A is a new class variable not already in the wff. An example is the conversion of sepgi 4254 to inex1 4269 (look at the instance of sepgi 4254 that occurs in the proof of inex1 4269). Conversely, to convert a theorem with a class variable  A to one with  ph, we substitute  { x  | 
ph } for  A throughout and simplify, where  x and  ph are new setvar and wff variables not already in the wff. For more information on class variables, see Quine pp. 15-21 and/or Takeuti and Zaring pp. 10-13.

(Contributed by NM, 26-May-1993.) (Proof shortened by Wolf Lammen, 12-Feb-2025.)

 |-  ( A  =  { x  |  ph }  <->  A. x ( x  e.  A  <->  ph ) )
 
8-Feb-2025rhmpsrfilem2 15212 Lemma for rhmpsr et al. (Contributed by SN, 8-Feb-2025.)
 |-  D  =  { f  e.  ( NN0  ^m  I
 )  |  ( `' f " NN )  e.  Fin }   &    |-  ( ph  ->  R  e.  Ring )   &    |-  ( ph  ->  I  e.  Fin )   &    |-  ( ph  ->  X : D --> ( Base `  R )
 )   &    |-  ( ph  ->  Y : D --> ( Base `  R ) )   =>    |-  ( ( ph  /\  k  e.  D )  ->  ( R  gsumg  ( x  e.  {
 y  e.  D  |  y  oR  <_  k }  |->  ( ( X `
  x ) ( .r `  R ) ( Y `  (
 k  oF  -  x ) ) ) ) )  e.  ( Base `  R ) )
 
8-Feb-20252oneel 7634  (/) and  1o are two unequal elements of  2o. (Contributed by Jim Kingdon, 8-Feb-2025.)
 |- 
 <. (/) ,  1o >.  e. 
 { <. u ,  v >.  |  ( ( u  e.  2o  /\  v  e.  2o )  /\  u  =/=  v ) }
 
8-Feb-2025tapeq1 7630 Equality theorem for tight apartness predicate. (Contributed by Jim Kingdon, 8-Feb-2025.)
 |-  ( R  =  S  ->  ( R TAp  A  <->  S TAp  A )
 )
 
7-Feb-2025psrgrp 15229 The ring of power series is a group. (Contributed by Mario Carneiro, 29-Dec-2014.) (Proof shortened by SN, 7-Feb-2025.)
 |-  S  =  ( I mPwSer  R )   &    |-  ( ph  ->  I  e.  V )   &    |-  ( ph  ->  R  e.  Grp )   =>    |-  ( ph  ->  S  e.  Grp )
 
7-Feb-2025resrhm2b 14673 Restriction of the codomain of a (ring) homomorphism. resghm2b 14129 analog. (Contributed by SN, 7-Feb-2025.)
 |-  U  =  ( T ↾s  X )   =>    |-  ( ( X  e.  (SubRing `  T )  /\  ran 
 F  C_  X )  ->  ( F  e.  ( S RingHom  T )  <->  F  e.  ( S RingHom  U ) ) )
 
6-Feb-2025zzlesq 11172 An integer is less than or equal to its square. (Contributed by BJ, 6-Feb-2025.)
 |-  ( N  e.  ZZ  ->  N  <_  ( N ^ 2 ) )
 
6-Feb-20252omotap 7637 If there is at most one tight apartness on  2o, excluded middle follows. Based on online discussions by Tom de Jong, Andrew W Swan, and Martin Escardo. (Contributed by Jim Kingdon, 6-Feb-2025.)
 |-  ( E* r  r TAp 
 2o  -> EXMID
 )
 
6-Feb-20252omotaplemst 7636 Lemma for 2omotap 7637. (Contributed by Jim Kingdon, 6-Feb-2025.)
 |-  ( ( E* r  r TAp  2o  /\  -.  -.  ph )  ->  ph )
 
6-Feb-20252omotaplemap 7635 Lemma for 2omotap 7637. (Contributed by Jim Kingdon, 6-Feb-2025.)
 |-  ( -.  -.  ph  ->  { <. u ,  v >.  |  ( ( u  e.  2o  /\  v  e.  2o )  /\  ( ph  /\  u  =/=  v
 ) ) } TAp  2o )
 
6-Feb-20252onetap 7633 Negated equality is a tight apartness on  2o. (Contributed by Jim Kingdon, 6-Feb-2025.)
 |- 
 { <. u ,  v >.  |  ( ( u  e.  2o  /\  v  e.  2o )  /\  u  =/=  v ) } TAp  2o
 
5-Feb-2025netap 7632 Negated equality on a set with decidable equality is a tight apartness. (Contributed by Jim Kingdon, 5-Feb-2025.)
 |-  ( A. x  e.  A  A. y  e.  A DECID  x  =  y  ->  { <. u ,  v >.  |  ( ( u  e.  A  /\  v  e.  A )  /\  u  =/=  v ) } TAp  A )
 
5-Feb-2025df-tap 7627 Tight apartness predicate. A relation  R is a tight apartness if it is irreflexive, symmetric, cotransitive, and tight. (Contributed by Jim Kingdon, 5-Feb-2025.)
 |-  ( R TAp  A  <->  ( R Ap  A  /\  A. x  e.  A  A. y  e.  A  ( -.  x R y 
 ->  x  =  y
 ) ) )
 
1-Feb-2025mulgnn0cld 14010 Closure of the group multiple (exponentiation) operation for a nonnegative multiplier in a monoid. Deduction associated with mulgnn0cl 14005. (Contributed by SN, 1-Feb-2025.)
 |-  B  =  ( Base `  G )   &    |-  .x.  =  (.g `  G )   &    |-  ( ph  ->  G  e.  Mnd )   &    |-  ( ph  ->  N  e.  NN0 )   &    |-  ( ph  ->  X  e.  B )   =>    |-  ( ph  ->  ( N  .x.  X )  e.  B )
 
31-Jan-20250subg 14066 The zero subgroup of an arbitrary group. (Contributed by Stefan O'Rear, 10-Dec-2014.) (Proof shortened by SN, 31-Jan-2025.)
 |- 
 .0.  =  ( 0g `  G )   =>    |-  ( G  e.  Grp  ->  {  .0.  }  e.  (SubGrp `  G ) )
 
29-Jan-2025grprinvd 13925 The right inverse of a group element. Deduction associated with grprinv 13920. (Contributed by SN, 29-Jan-2025.)
 |-  B  =  ( Base `  G )   &    |-  .+  =  ( +g  `  G )   &    |-  .0.  =  ( 0g `  G )   &    |-  N  =  ( invg `  G )   &    |-  ( ph  ->  G  e.  Grp )   &    |-  ( ph  ->  X  e.  B )   =>    |-  ( ph  ->  ( X  .+  ( N `
  X ) )  =  .0.  )
 
29-Jan-2025grplinvd 13924 The left inverse of a group element. Deduction associated with grplinv 13919. (Contributed by SN, 29-Jan-2025.)
 |-  B  =  ( Base `  G )   &    |-  .+  =  ( +g  `  G )   &    |-  .0.  =  ( 0g `  G )   &    |-  N  =  ( invg `  G )   &    |-  ( ph  ->  G  e.  Grp )   &    |-  ( ph  ->  X  e.  B )   =>    |-  ( ph  ->  ( ( N `  X )  .+  X )  =  .0.  )
 
29-Jan-2025grpinvcld 13918 A group element's inverse is a group element. (Contributed by SN, 29-Jan-2025.)
 |-  B  =  ( Base `  G )   &    |-  N  =  ( invg `  G )   &    |-  ( ph  ->  G  e.  Grp )   &    |-  ( ph  ->  X  e.  B )   =>    |-  ( ph  ->  ( N `  X )  e.  B )
 
29-Jan-2025grpridd 13903 The identity element of a group is a right identity. Deduction associated with grprid 13901. (Contributed by SN, 29-Jan-2025.)
 |-  B  =  ( Base `  G )   &    |-  .+  =  ( +g  `  G )   &    |-  .0.  =  ( 0g `  G )   &    |-  ( ph  ->  G  e.  Grp )   &    |-  ( ph  ->  X  e.  B )   =>    |-  ( ph  ->  ( X  .+  .0.  )  =  X )
 
29-Jan-2025grplidd 13902 The identity element of a group is a left identity. Deduction associated with grplid 13900. (Contributed by SN, 29-Jan-2025.)
 |-  B  =  ( Base `  G )   &    |-  .+  =  ( +g  `  G )   &    |-  .0.  =  ( 0g `  G )   &    |-  ( ph  ->  G  e.  Grp )   &    |-  ( ph  ->  X  e.  B )   =>    |-  ( ph  ->  (  .0.  .+  X )  =  X )
 
29-Jan-2025grpassd 13881 A group operation is associative. (Contributed by SN, 29-Jan-2025.)
 |-  B  =  ( Base `  G )   &    |-  .+  =  ( +g  `  G )   &    |-  ( ph  ->  G  e.  Grp )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  Y  e.  B )   &    |-  ( ph  ->  Z  e.  B )   =>    |-  ( ph  ->  (
 ( X  .+  Y )  .+  Z )  =  ( X  .+  ( Y  .+  Z ) ) )
 
28-Jan-2025dvdsrex 14520 Existence of the divisibility relation. (Contributed by Jim Kingdon, 28-Jan-2025.)
 |-  ( R  e. SRing  ->  (
 ||r `  R )  e.  _V )
 
24-Jan-2025reldvdsrsrg 14514 The divides relation is a relation. (Contributed by Mario Carneiro, 1-Dec-2014.) (Revised by Jim Kingdon, 24-Jan-2025.)
 |-  ( R  e. SRing  ->  Rel  ( ||r
 `  R ) )
 
18-Jan-2025rerecapb 9187 A real number has a multiplicative inverse if and only if it is apart from zero. Theorem 11.2.4 of [HoTT], p. (varies). (Contributed by Jim Kingdon, 18-Jan-2025.)
 |-  ( A  e.  RR  ->  ( A #  0  <->  E. x  e.  RR  ( A  x.  x )  =  1 )
 )
 
18-Jan-2025recapb 9015 A complex number has a multiplicative inverse if and only if it is apart from zero. Theorem 11.2.4 of [HoTT], p. (varies), generalized from real to complex numbers. (Contributed by Jim Kingdon, 18-Jan-2025.)
 |-  ( A  e.  CC  ->  ( A #  0  <->  E. x  e.  CC  ( A  x.  x )  =  1 )
 )
 
17-Jan-2025flddrngd 14731 A field is a division ring. (Contributed by SN, 17-Jan-2025.)
 |-  ( ph  ->  R  e. Field )   =>    |-  ( ph  ->  R  e. 
 DivRing )
 
17-Jan-2025ressval3d 13490 Value of structure restriction, deduction version. (Contributed by AV, 14-Mar-2020.) (Revised by Jim Kingdon, 17-Jan-2025.)
 |-  R  =  ( S ↾s  A )   &    |-  B  =  (
 Base `  S )   &    |-  E  =  ( Base `  ndx )   &    |-  ( ph  ->  S  e.  V )   &    |-  ( ph  ->  Fun  S )   &    |-  ( ph  ->  E  e.  dom  S )   &    |-  ( ph  ->  A  C_  B )   =>    |-  ( ph  ->  R  =  ( S sSet  <. E ,  A >. ) )
 
17-Jan-2025strressid 13489 Behavior of trivial restriction. (Contributed by Stefan O'Rear, 29-Nov-2014.) (Revised by Jim Kingdon, 17-Jan-2025.)
 |-  ( ph  ->  B  =  ( Base `  W )
 )   &    |-  ( ph  ->  W Struct  <. M ,  N >. )   &    |-  ( ph  ->  Fun  W )   &    |-  ( ph  ->  ( Base ` 
 ndx )  e.  dom  W )   =>    |-  ( ph  ->  ( W ↾s  B )  =  W )
 
17-Jan-2025snelpwg 4352 A singleton of a set is a member of the powerclass of a class if and only if that set is a member of that class. (Contributed by NM, 1-Apr-1998.) Put in closed form and avoid ax-nul 4261. (Revised by BJ, 17-Jan-2025.)
 |-  ( A  e.  V  ->  ( A  e.  B  <->  { A }  e.  ~P B ) )
 
16-Jan-2025ressex 13482 Existence of structure restriction. (Contributed by Jim Kingdon, 16-Jan-2025.)
 |-  ( ( W  e.  X  /\  A  e.  Y )  ->  ( W ↾s  A )  e.  _V )
 
16-Jan-2025ressvalsets 13481 Value of structure restriction. (Contributed by Jim Kingdon, 16-Jan-2025.)
 |-  ( ( W  e.  X  /\  A  e.  Y )  ->  ( W ↾s  A )  =  ( W sSet  <. ( Base ` 
 ndx ) ,  ( A  i^i  ( Base `  W ) ) >. ) )
 
15-Jan-2025vsnex 4350 A singleton built on a setvar is a set. (Contributed by BJ, 15-Jan-2025.)
 |- 
 { x }  e.  _V
 
12-Jan-2025isrim 14591 An isomorphism of rings is a bijective homomorphism. (Contributed by AV, 22-Oct-2019.) Remove sethood antecedent. (Revised by SN, 12-Jan-2025.)
 |-  B  =  ( Base `  R )   &    |-  C  =  (
 Base `  S )   =>    |-  ( F  e.  ( R RingIso  S )  <->  ( F  e.  ( R RingHom  S )  /\  F : B -1-1-onto-> C ) )
 
10-Jan-2025rimrhm 14593 A ring isomorphism is a homomorphism. (Contributed by AV, 22-Oct-2019.) Remove hypotheses. (Revised by SN, 10-Jan-2025.)
 |-  ( F  e.  ( R RingIso  S )  ->  F  e.  ( R RingHom  S )
 )
 
10-Jan-2025isrim0 14583 A ring isomorphism is a homomorphism whose converse is also a homomorphism. (Contributed by AV, 22-Oct-2019.) Remove sethood antecedent. (Revised by SN, 10-Jan-2025.)
 |-  ( F  e.  ( R RingIso  S )  <->  ( F  e.  ( R RingHom  S )  /\  `' F  e.  ( S RingHom  R ) ) )
 
10-Jan-2025opprex 14493 Existence of the opposite ring. If you know that  R is a ring, see opprring 14499. (Contributed by Jim Kingdon, 10-Jan-2025.)
 |-  O  =  (oppr `  R )   =>    |-  ( R  e.  V  ->  O  e.  _V )
 
10-Jan-2025mgpex 14336 Existence of the multiplication group. If  R is known to be a semiring, see srgmgp 14385. (Contributed by Jim Kingdon, 10-Jan-2025.)
 |-  M  =  (mulGrp `  R )   =>    |-  ( R  e.  V  ->  M  e.  _V )
 
6-Jan-2025ord3 6709 Ordinal 3 is an ordinal class. (Contributed by BTernaryTau, 6-Jan-2025.)
 |- 
 Ord  3o
 
5-Jan-2025imbibi 252 The antecedent of one side of a biconditional can be moved out of the biconditional to become the antecedent of the remaining biconditional. (Contributed by BJ, 1-Jan-2025.) (Proof shortened by Wolf Lammen, 5-Jan-2025.)
 |-  ( ( ( ph  ->  ps )  <->  ch )  ->  ( ph  ->  ( ps  <->  ch ) ) )
 
1-Jan-2025snss 3850 The singleton of an element of a class is a subset of the class (inference form of snssg 3849). Theorem 7.4 of [Quine] p. 49. (Contributed by NM, 21-Jun-1993.) (Proof shortened by BJ, 1-Jan-2025.)
 |-  A  e.  _V   =>    |-  ( A  e.  B 
 <->  { A }  C_  B )
 
1-Jan-2025snssg 3849 The singleton formed on a set is included in a class if and only if the set is an element of that class. Theorem 7.4 of [Quine] p. 49. (Contributed by NM, 22-Jul-2001.) (Proof shortened by BJ, 1-Jan-2025.)
 |-  ( A  e.  V  ->  ( A  e.  B  <->  { A }  C_  B ) )
 
1-Jan-2025snssb 3848 Characterization of the inclusion of a singleton in a class. (Contributed by BJ, 1-Jan-2025.)
 |-  ( { A }  C_  B  <->  ( A  e.  _V 
 ->  A  e.  B ) )
 
30-Dec-2024rex2dom 7121 A set that has at least 2 different members dominates ordinal 2. (Contributed by BTernaryTau, 30-Dec-2024.)
 |-  ( ( A  e.  V  /\  E. x  e.  A  E. y  e.  A  x  =/=  y
 )  ->  2o  ~<_  A )
 
23-Dec-2024en2prd 7117 Two proper unordered pairs are equinumerous. (Contributed by BTernaryTau, 23-Dec-2024.)
 |-  ( ph  ->  A  e.  V )   &    |-  ( ph  ->  B  e.  W )   &    |-  ( ph  ->  C  e.  X )   &    |-  ( ph  ->  D  e.  Y )   &    |-  ( ph  ->  A  =/=  B )   &    |-  ( ph  ->  C  =/=  D )   =>    |-  ( ph  ->  { A ,  B }  ~~  { C ,  D } )
 
11-Dec-2024elopabr 4427 Membership in an ordered-pair class abstraction defined by a binary relation. (Contributed by AV, 16-Feb-2021.) (Proof shortened by SN, 11-Dec-2024.)
 |-  ( A  e.  { <. x ,  y >.  |  x R y }  ->  A  e.  R )
 
10-Dec-2024cbvreuw 2781 Change the bound variable of a restricted unique existential quantifier using implicit substitution. Version of cbvreu 2784 with a disjoint variable condition. (Contributed by Mario Carneiro, 15-Oct-2016.) (Revised by GG, 10-Jan-2024.) (Revised by Wolf Lammen, 10-Dec-2024.)
 |- 
 F/ y ph   &    |-  F/ x ps   &    |-  ( x  =  y  ->  (
 ph 
 <->  ps ) )   =>    |-  ( E! x  e.  A  ph  <->  E! y  e.  A  ps )
 
9-Dec-2024nninfwlpoim 7531 Decidable equality for ℕ∞ implies the Weak Limited Principle of Omniscience (WLPO). (Contributed by Jim Kingdon, 9-Dec-2024.)
 |-  ( A. x  e. ℕ∞  A. y  e. ℕ∞ DECID  x  =  y  ->  om  e. WOmni )
 
8-Dec-2024nninfinfwlpolem 7530 Lemma for nninfinfwlpo 7532. (Contributed by Jim Kingdon, 8-Dec-2024.)
 |-  ( ph  ->  F : om --> 2o )   &    |-  G  =  ( i  e.  om  |->  if ( E. x  e. 
 suc  i ( F `
  x )  =  (/) ,  (/) ,  1o )
 )   &    |-  ( ph  ->  A. x  e. ℕ∞ DECID  x  =  ( i  e.  om  |->  1o ) )   =>    |-  ( ph  -> DECID  A. n  e.  om  ( F `  n )  =  1o )
 
8-Dec-2024nninfwlpoimlemdc 7529 Lemma for nninfwlpoim 7531. (Contributed by Jim Kingdon, 8-Dec-2024.)
 |-  ( ph  ->  F : om --> 2o )   &    |-  G  =  ( i  e.  om  |->  if ( E. x  e. 
 suc  i ( F `
  x )  =  (/) ,  (/) ,  1o )
 )   &    |-  ( ph  ->  A. x  e. ℕ∞  A. y  e. ℕ∞ DECID  x  =  y )   =>    |-  ( ph  -> DECID  A. n  e.  om  ( F `  n )  =  1o )
 
8-Dec-2024nninfwlpoimlemginf 7528 Lemma for nninfwlpoim 7531. (Contributed by Jim Kingdon, 8-Dec-2024.)
 |-  ( ph  ->  F : om --> 2o )   &    |-  G  =  ( i  e.  om  |->  if ( E. x  e. 
 suc  i ( F `
  x )  =  (/) ,  (/) ,  1o )
 )   =>    |-  ( ph  ->  ( G  =  ( i  e.  om  |->  1o )  <->  A. n  e.  om  ( F `  n )  =  1o ) )
 
8-Dec-2024nninfwlpoimlemg 7527 Lemma for nninfwlpoim 7531. (Contributed by Jim Kingdon, 8-Dec-2024.)
 |-  ( ph  ->  F : om --> 2o )   &    |-  G  =  ( i  e.  om  |->  if ( E. x  e. 
 suc  i ( F `
  x )  =  (/) ,  (/) ,  1o )
 )   =>    |-  ( ph  ->  G  e. ℕ∞ )
 
7-Dec-2024nninfwlpor 7526 The Weak Limited Principle of Omniscience (WLPO) implies that equality for ℕ∞ is decidable. (Contributed by Jim Kingdon, 7-Dec-2024.)
 |-  ( om  e. WOmni  ->  A. x  e. ℕ∞  A. y  e. ℕ∞ DECID  x  =  y )
 
7-Dec-2024nninfwlporlem 7525 Lemma for nninfwlpor 7526. The result. (Contributed by Jim Kingdon, 7-Dec-2024.)
 |-  ( ph  ->  X : om --> 2o )   &    |-  ( ph  ->  Y : om --> 2o )   &    |-  D  =  ( i  e.  om  |->  if ( ( X `  i )  =  ( Y `  i ) ,  1o ,  (/) ) )   &    |-  ( ph  ->  om  e. WOmni )   =>    |-  ( ph  -> DECID  X  =  Y )
 
7-Dec-2024domssr 7075 If  C is a superset of  B and  B dominates  A, then  C also dominates  A. (Contributed by BTernaryTau, 7-Dec-2024.)
 |-  ( ( C  e.  V  /\  B  C_  C  /\  A  ~<_  B )  ->  A 
 ~<_  C )
 
7-Dec-2024f1dom4g 7050 The domain of a one-to-one set function is dominated by its codomain when the latter is a set. This variation of f1domg 7055 does not require the Axiom of Collection nor the Axiom of Union. (Contributed by BTernaryTau, 7-Dec-2024.)
 |-  ( ( ( F  e.  V  /\  A  e.  W  /\  B  e.  X )  /\  F : A -1-1-> B )  ->  A  ~<_  B )
 
7-Dec-2024f1oen4g 7049 The domain and range of a one-to-one, onto set function are equinumerous. This variation of f1oeng 7054 does not require the Axiom of Collection nor the Axiom of Union. (Contributed by BTernaryTau, 7-Dec-2024.)
 |-  ( ( ( F  e.  V  /\  A  e.  W  /\  B  e.  X )  /\  F : A
 -1-1-onto-> B )  ->  A  ~~  B )
 
6-Dec-2024nninfwlporlemd 7524 Given two countably infinite sequences of zeroes and ones, they are equal if and only if a sequence formed by pointwise comparing them is all ones. (Contributed by Jim Kingdon, 6-Dec-2024.)
 |-  ( ph  ->  X : om --> 2o )   &    |-  ( ph  ->  Y : om --> 2o )   &    |-  D  =  ( i  e.  om  |->  if ( ( X `  i )  =  ( Y `  i ) ,  1o ,  (/) ) )   =>    |-  ( ph  ->  ( X  =  Y  <->  D  =  (
 i  e.  om  |->  1o ) ) )
 
3-Dec-2024nninfwlpo 7533 Decidability of equality for ℕ∞ is equivalent to the Weak Limited Principle of Omniscience (WLPO). (Contributed by Jim Kingdon, 3-Dec-2024.)
 |-  ( A. x  e. ℕ∞  A. y  e. ℕ∞ DECID  x  =  y  <->  om  e. WOmni )
 
3-Dec-2024nninfdcinf 7523 The Weak Limited Principle of Omniscience (WLPO) implies that it is decidable whether an element of ℕ∞ equals the point at infinity. (Contributed by Jim Kingdon, 3-Dec-2024.)
 |-  ( ph  ->  om  e. WOmni )   &    |-  ( ph  ->  N  e. ℕ∞ )   =>    |-  ( ph  -> DECID  N  =  ( i  e.  om  |->  1o ) )
 
29-Nov-2024brdom2g 7042 Dominance relation. This variation of brdomg 7043 does not require the Axiom of Union. (Contributed by NM, 15-Jun-1998.) Extract from a subproof of brdomg 7043. (Revised by BTernaryTau, 29-Nov-2024.)
 |-  ( ( A  e.  V  /\  B  e.  W )  ->  ( A  ~<_  B  <->  E. f  f : A -1-1-> B ) )
 
28-Nov-2024basmexd 13476 A structure whose base is inhabited is a set. (Contributed by Jim Kingdon, 28-Nov-2024.)
 |-  ( ph  ->  B  =  ( Base `  G )
 )   &    |-  ( ph  ->  A  e.  B )   =>    |-  ( ph  ->  G  e.  _V )
 
23-Nov-2024fldcrngd 14732 A field is a commutative ring. (Contributed by SN, 23-Nov-2024.)
 |-  ( ph  ->  R  e. Field )   =>    |-  ( ph  ->  R  e.  CRing )
 
22-Nov-2024eliotaeu 5373 An inhabited iota expression has a unique value. (Contributed by Jim Kingdon, 22-Nov-2024.)
 |-  ( A  e.  ( iota x ph )  ->  E! x ph )
 
22-Nov-2024eliota 5372 An element of an iota expression. (Contributed by Jim Kingdon, 22-Nov-2024.)
 |-  ( A  e.  ( iota x ph )  <->  E. y ( A  e.  y  /\  A. x ( ph  <->  x  =  y
 ) ) )
 
18-Nov-2024basmex 13475 A structure whose base is inhabited is a set. (Contributed by Jim Kingdon, 18-Nov-2024.)
 |-  B  =  ( Base `  G )   =>    |-  ( A  e.  B  ->  G  e.  _V )
 
14-Nov-2024dcand 945 A conjunction of two decidable propositions is decidable. (Contributed by Jim Kingdon, 12-Apr-2018.) (Revised by BJ, 14-Nov-2024.)
 |-  ( ph  -> DECID  ps )   &    |-  ( ph  -> DECID  ch )   =>    |-  ( ph  -> DECID 
 ( ps  /\  ch ) )
 
12-Nov-2024sravscag 14896 The scalar product operation of a subring algebra. (Contributed by Stefan O'Rear, 27-Nov-2014.) (Revised by Mario Carneiro, 4-Oct-2015.) (Revised by Thierry Arnoux, 16-Jun-2019.) (Proof shortened by AV, 12-Nov-2024.)
 |-  ( ph  ->  A  =  ( (subringAlg  `  W ) `
  S ) )   &    |-  ( ph  ->  S  C_  ( Base `  W ) )   &    |-  ( ph  ->  W  e.  X )   =>    |-  ( ph  ->  ( .r `  W )  =  ( .s `  A ) )
 
12-Nov-2024srascag 14895 The set of scalars of a subring algebra. (Contributed by Stefan O'Rear, 27-Nov-2014.) (Revised by Mario Carneiro, 4-Oct-2015.) (Revised by Thierry Arnoux, 16-Jun-2019.) (Proof shortened by AV, 12-Nov-2024.)
 |-  ( ph  ->  A  =  ( (subringAlg  `  W ) `
  S ) )   &    |-  ( ph  ->  S  C_  ( Base `  W ) )   &    |-  ( ph  ->  W  e.  X )   =>    |-  ( ph  ->  ( W ↾s  S )  =  (Scalar `  A ) )
 
12-Nov-2024slotsdifipndx 13593 The slot for the scalar is not the index of other slots. (Contributed by AV, 12-Nov-2024.)
 |-  ( ( .s `  ndx )  =/=  ( .i `  ndx )  /\  (Scalar `  ndx )  =/=  ( .i `  ndx ) )
 
11-Nov-2024bj-con1st 17068 Contraposition when the antecedent is a negated stable proposition. See con1dc 868. (Contributed by BJ, 11-Nov-2024.)
 |-  (STAB  ph  ->  ( ( -.  ph  ->  ps )  ->  ( -.  ps 
 ->  ph ) ) )
 
11-Nov-2024slotsdifdsndx 13643 The index of the slot for the distance is not the index of other slots. (Contributed by AV, 11-Nov-2024.)
 |-  ( ( *r `
  ndx )  =/=  ( dist `  ndx )  /\  ( le `  ndx )  =/=  ( dist `  ndx ) )
 
11-Nov-2024plendxnocndx 13632 The slot for the orthocomplementation is not the slot for the order in an extensible structure. (Contributed by AV, 11-Nov-2024.)
 |-  ( le `  ndx )  =/=  ( oc `  ndx )
 
11-Nov-2024basendxnocndx 13631 The slot for the orthocomplementation is not the slot for the base set in an extensible structure. (Contributed by AV, 11-Nov-2024.)
 |-  ( Base `  ndx )  =/=  ( oc `  ndx )
 
11-Nov-2024slotsdifplendx 13628 The index of the slot for the distance is not the index of other slots. (Contributed by AV, 11-Nov-2024.)
 |-  ( ( *r `
  ndx )  =/=  ( le `  ndx )  /\  (TopSet `  ndx )  =/=  ( le `  ndx ) )
 
11-Nov-2024tsetndxnstarvndx 13612 The slot for the topology is not the slot for the involution in an extensible structure. (Contributed by AV, 11-Nov-2024.)
 |-  (TopSet `  ndx )  =/=  ( *r `  ndx )
 
11-Nov-2024ofeqd 6311 Equality theorem for function operation, deduction form. (Contributed by SN, 11-Nov-2024.)
 |-  ( ph  ->  R  =  S )   =>    |-  ( ph  ->  oF R  =  oF S )
 
11-Nov-2024mpteq1i 4218 An equality theorem for the maps-to notation. (Contributed by Glauco Siliprandi, 17-Aug-2020.) Remove all disjoint variable conditions. (Revised by SN, 11-Nov-2024.)
 |-  A  =  B   =>    |-  ( x  e.  A  |->  C )  =  ( x  e.  B  |->  C )
 
11-Nov-2024const 864 Contraposition when the antecedent is a negated stable proposition. See comment of condc 865. (Contributed by BJ, 18-Nov-2023.) (Proof shortened by BJ, 11-Nov-2024.)
 |-  (STAB 
 ph  ->  ( ( -.  ph  ->  -.  ps )  ->  ( ps  ->  ph )
 ) )
 
10-Nov-2024slotsdifunifndx 13650 The index of the slot for the uniform set is not the index of other slots. (Contributed by AV, 10-Nov-2024.)
 |-  ( ( ( +g  ` 
 ndx )  =/=  ( UnifSet
 `  ndx )  /\  ( .r `  ndx )  =/=  ( UnifSet `  ndx )  /\  ( *r `  ndx )  =/=  ( UnifSet `  ndx ) )  /\  ( ( le `  ndx )  =/=  ( UnifSet `  ndx )  /\  ( dist `  ndx )  =/=  ( UnifSet `  ndx ) ) )
 
7-Nov-2024ressbasd 13485 Base set of a structure restriction. (Contributed by Stefan O'Rear, 26-Nov-2014.) (Proof shortened by AV, 7-Nov-2024.)
 |-  ( ph  ->  R  =  ( W ↾s  A ) )   &    |-  ( ph  ->  B  =  (
 Base `  W ) )   &    |-  ( ph  ->  W  e.  X )   &    |-  ( ph  ->  A  e.  V )   =>    |-  ( ph  ->  ( A  i^i  B )  =  ( Base `  R ) )
 
6-Nov-2024oppraddg 14496 Addition operation of an opposite ring. (Contributed by Mario Carneiro, 1-Dec-2014.) (Proof shortened by AV, 6-Nov-2024.)
 |-  O  =  (oppr `  R )   &    |- 
 .+  =  ( +g  `  R )   =>    |-  ( R  e.  V  ->  .+  =  ( +g  `  O ) )
 
6-Nov-2024opprbasg 14495 Base set of an opposite ring. (Contributed by Mario Carneiro, 1-Dec-2014.) (Proof shortened by AV, 6-Nov-2024.)
 |-  O  =  (oppr `  R )   &    |-  B  =  ( Base `  R )   =>    |-  ( R  e.  V  ->  B  =  ( Base `  O ) )
 
6-Nov-2024opprsllem 14494 Lemma for opprbasg 14495 and oppraddg 14496. (Contributed by Mario Carneiro, 1-Dec-2014.) (Revised by AV, 6-Nov-2024.)
 |-  O  =  (oppr `  R )   &    |-  ( E  = Slot  ( E `  ndx )  /\  ( E `  ndx )  e.  NN )   &    |-  ( E `  ndx )  =/=  ( .r `  ndx )   =>    |-  ( R  e.  V  ->  ( E `  R )  =  ( E `  O ) )
 
4-Nov-2024lgsfvalg 16413 Value of the function  F which defines the Legendre symbol at the primes. (Contributed by Mario Carneiro, 4-Feb-2015.) (Revised by Jim Kingdon, 4-Nov-2024.)
 |-  F  =  ( n  e.  NN  |->  if ( n  e.  Prime ,  ( if ( n  =  2 ,  if ( 2 
 ||  A ,  0 ,  if ( ( A  mod  8 )  e.  { 1 ,  7 } ,  1 ,  -u 1 ) ) ,  ( ( ( ( A ^ (
 ( n  -  1
 )  /  2 )
 )  +  1 ) 
 mod  n )  -  1 ) ) ^
 ( n  pCnt  N ) ) ,  1 ) )   =>    |-  ( ( A  e.  ZZ  /\  N  e.  NN  /\  M  e.  NN )  ->  ( F `  M )  =  if ( M  e.  Prime ,  ( if ( M  =  2 ,  if ( 2 
 ||  A ,  0 ,  if ( ( A  mod  8 )  e.  { 1 ,  7 } ,  1 ,  -u 1 ) ) ,  ( ( ( ( A ^ (
 ( M  -  1
 )  /  2 )
 )  +  1 ) 
 mod  M )  -  1
 ) ) ^ ( M  pCnt  N ) ) ,  1 ) )
 
3-Nov-2024znmul 15093 The multiplicative structure of ℤ/nℤ is the same as the quotient ring it is based on. (Contributed by Mario Carneiro, 15-Jun-2015.) (Revised by AV, 13-Jun-2019.) (Revised by AV, 3-Nov-2024.)
 |-  S  =  (RSpan ` ℤring )   &    |-  U  =  (ℤring  /.s  (ℤring ~QG  ( S `
  { N }
 ) ) )   &    |-  Y  =  (ℤ/nℤ `  N )   =>    |-  ( N  e.  NN0  ->  ( .r `  U )  =  ( .r `  Y ) )
 
3-Nov-2024znadd 15092 The additive structure of ℤ/nℤ is the same as the quotient ring it is based on. (Contributed by Mario Carneiro, 15-Jun-2015.) (Revised by AV, 13-Jun-2019.) (Revised by AV, 3-Nov-2024.)
 |-  S  =  (RSpan ` ℤring )   &    |-  U  =  (ℤring  /.s  (ℤring ~QG  ( S `
  { N }
 ) ) )   &    |-  Y  =  (ℤ/nℤ `  N )   =>    |-  ( N  e.  NN0  ->  ( +g  `  U )  =  ( +g  `  Y ) )
 
3-Nov-2024znbas2 15091 The base set of ℤ/nℤ is the same as the quotient ring it is based on. (Contributed by Mario Carneiro, 15-Jun-2015.) (Revised by AV, 13-Jun-2019.) (Revised by AV, 3-Nov-2024.)
 |-  S  =  (RSpan ` ℤring )   &    |-  U  =  (ℤring  /.s  (ℤring ~QG  ( S `
  { N }
 ) ) )   &    |-  Y  =  (ℤ/nℤ `  N )   =>    |-  ( N  e.  NN0  ->  ( Base `  U )  =  ( Base `  Y )
 )
 
3-Nov-2024znbaslemnn 15090 Lemma for znbas 15095. (Contributed by Mario Carneiro, 14-Jun-2015.) (Revised by Mario Carneiro, 14-Aug-2015.) (Revised by AV, 13-Jun-2019.) (Revised by AV, 9-Sep-2021.) (Revised by AV, 3-Nov-2024.)
 |-  S  =  (RSpan ` ℤring )   &    |-  U  =  (ℤring  /.s  (ℤring ~QG  ( S `
  { N }
 ) ) )   &    |-  Y  =  (ℤ/nℤ `  N )   &    |-  E  = Slot  ( E `  ndx )   &    |-  ( E `  ndx )  e. 
 NN   &    |-  ( E `  ndx )  =/=  ( le `  ndx )   =>    |-  ( N  e.  NN0  ->  ( E `  U )  =  ( E `  Y ) )
 
3-Nov-2024zlmmulrg 15082 Ring operation of a  ZZ-module (if present). (Contributed by Mario Carneiro, 2-Oct-2015.) (Revised by AV, 3-Nov-2024.)
 |-  W  =  ( ZMod `  G )   &    |-  .x.  =  ( .r `  G )   =>    |-  ( G  e.  V  ->  .x.  =  ( .r `  W ) )
 
3-Nov-2024zlmplusgg 15081 Group operation of a  ZZ-module. (Contributed by Mario Carneiro, 2-Oct-2015.) (Revised by AV, 3-Nov-2024.)
 |-  W  =  ( ZMod `  G )   &    |-  .+  =  ( +g  `  G )   =>    |-  ( G  e.  V  ->  .+  =  ( +g  `  W ) )
 
3-Nov-2024zlmbasg 15080 Base set of a  ZZ-module. (Contributed by Mario Carneiro, 2-Oct-2015.) (Revised by AV, 3-Nov-2024.)
 |-  W  =  ( ZMod `  G )   &    |-  B  =  (
 Base `  G )   =>    |-  ( G  e.  V  ->  B  =  (
 Base `  W ) )
 
3-Nov-2024zlmlemg 15079 Lemma for zlmbasg 15080 and zlmplusgg 15081. (Contributed by Mario Carneiro, 2-Oct-2015.) (Revised by AV, 3-Nov-2024.)
 |-  W  =  ( ZMod `  G )   &    |-  E  = Slot  ( E `  ndx )   &    |-  ( E `  ndx )  e. 
 NN   &    |-  ( E `  ndx )  =/=  (Scalar `  ndx )   &    |-  ( E `  ndx )  =/=  ( .s `  ndx )   =>    |-  ( G  e.  V  ->  ( E `  G )  =  ( E `  W ) )
 
2-Nov-2024psrvscafval 15221 The scalar multiplication operation of the multivariate power series structure. (Contributed by Mario Carneiro, 28-Dec-2014.) (Revised by Mario Carneiro, 2-Oct-2015.) (Proof shortened by AV, 2-Nov-2024.)
 |-  S  =  ( I mPwSer  R )   &    |-  .xb  =  ( .s `  S )   &    |-  K  =  ( Base `  R )   &    |-  B  =  ( Base `  S )   &    |-  .x.  =  ( .r `  R )   &    |-  D  =  { h  e.  ( NN0  ^m  I
 )  |  ( `' h " NN )  e.  Fin }   =>    |-  .xb  =  ( x  e.  K ,  f  e.  B  |->  ( ( D  X.  { x }
 )  oF  .x.  f ) )
 
2-Nov-2024zlmsca 15083 Scalar ring of a  ZZ-module. (Contributed by Mario Carneiro, 2-Oct-2015.) (Revised by AV, 12-Jun-2019.) (Proof shortened by AV, 2-Nov-2024.)
 |-  W  =  ( ZMod `  G )   =>    |-  ( G  e.  V  -> ℤring  =  (Scalar `  W )
 )
 
1-Nov-2024plendxnvscandx 13627 The slot for the "less than or equal to" ordering is not the slot for the scalar product in an extensible structure. (Contributed by AV, 1-Nov-2024.)
 |-  ( le `  ndx )  =/=  ( .s `  ndx )
 
1-Nov-2024plendxnscandx 13626 The slot for the "less than or equal to" ordering is not the slot for the scalar in an extensible structure. (Contributed by AV, 1-Nov-2024.)
 |-  ( le `  ndx )  =/=  (Scalar `  ndx )
 
1-Nov-2024plendxnmulrndx 13625 The slot for the "less than or equal to" ordering is not the slot for the ring multiplication operation in an extensible structure. (Contributed by AV, 1-Nov-2024.)
 |-  ( le `  ndx )  =/=  ( .r `  ndx )
 
1-Nov-2024qsqeqor 11113 The squares of two rational numbers are equal iff one number equals the other or its negative. (Contributed by Jim Kingdon, 1-Nov-2024.)
 |-  ( ( A  e.  QQ  /\  B  e.  QQ )  ->  ( ( A ^ 2 )  =  ( B ^ 2
 ) 
 <->  ( A  =  B  \/  A  =  -u B ) ) )
 
31-Oct-2024dsndxnmulrndx 13640 The slot for the distance function is not the slot for the ring multiplication operation in an extensible structure. (Contributed by AV, 31-Oct-2024.)
 |-  ( dist `  ndx )  =/=  ( .r `  ndx )
 
31-Oct-2024tsetndxnmulrndx 13611 The slot for the topology is not the slot for the ring multiplication operation in an extensible structure. (Contributed by AV, 31-Oct-2024.)
 |-  (TopSet `  ndx )  =/=  ( .r `  ndx )
 
31-Oct-2024tsetndxnbasendx 13609 The slot for the topology is not the slot for the base set in an extensible structure. (Contributed by AV, 21-Oct-2024.) (Proof shortened by AV, 31-Oct-2024.)
 |-  (TopSet `  ndx )  =/=  ( Base `  ndx )
 
31-Oct-2024basendxlttsetndx 13608 The index of the slot for the base set is less then the index of the slot for the topology in an extensible structure. (Contributed by AV, 31-Oct-2024.)
 |-  ( Base `  ndx )  < 
 (TopSet `  ndx )
 
31-Oct-2024tsetndxnn 13607 The index of the slot for the group operation in an extensible structure is a positive integer. (Contributed by AV, 31-Oct-2024.)
 |-  (TopSet `  ndx )  e. 
 NN
 
30-Oct-2024basendxltedgfndx 16540 The index value of the  Base slot is less than the index value of the .ef slot. (Contributed by AV, 21-Sep-2020.) (Proof shortened by AV, 30-Oct-2024.)
 |-  ( Base `  ndx )  < 
 (.ef `  ndx )
 
30-Oct-2024plendxnbasendx 13623 The slot for the order is not the slot for the base set in an extensible structure. (Contributed by AV, 21-Oct-2024.) (Proof shortened by AV, 30-Oct-2024.)
 |-  ( le `  ndx )  =/=  ( Base `  ndx )
 
30-Oct-2024basendxltplendx 13622 The index value of the  Base slot is less than the index value of the  le slot. (Contributed by AV, 30-Oct-2024.)
 |-  ( Base `  ndx )  < 
 ( le `  ndx )
 
30-Oct-2024plendxnn 13621 The index value of the order slot is a positive integer. This property should be ensured for every concrete coding because otherwise it could not be used in an extensible structure (slots must be positive integers). (Contributed by AV, 30-Oct-2024.)
 |-  ( le `  ndx )  e.  NN
 
29-Oct-2024sradsg 14901 Distance function of a subring algebra. (Contributed by Mario Carneiro, 4-Oct-2015.) (Revised by Thierry Arnoux, 16-Jun-2019.) (Revised by AV, 29-Oct-2024.)
 |-  ( ph  ->  A  =  ( (subringAlg  `  W ) `
  S ) )   &    |-  ( ph  ->  S  C_  ( Base `  W ) )   &    |-  ( ph  ->  W  e.  X )   =>    |-  ( ph  ->  ( dist `  W )  =  ( dist `  A )
 )
 
29-Oct-2024sratsetg 14898 Topology component of a subring algebra. (Contributed by Mario Carneiro, 4-Oct-2015.) (Revised by Thierry Arnoux, 16-Jun-2019.) (Revised by AV, 29-Oct-2024.)
 |-  ( ph  ->  A  =  ( (subringAlg  `  W ) `
  S ) )   &    |-  ( ph  ->  S  C_  ( Base `  W ) )   &    |-  ( ph  ->  W  e.  X )   =>    |-  ( ph  ->  (TopSet `  W )  =  (TopSet `  A ) )
 
29-Oct-2024sramulrg 14894 Multiplicative operation of a subring algebra. (Contributed by Stefan O'Rear, 27-Nov-2014.) (Revised by Mario Carneiro, 4-Oct-2015.) (Revised by Thierry Arnoux, 16-Jun-2019.) (Revised by AV, 29-Oct-2024.)
 |-  ( ph  ->  A  =  ( (subringAlg  `  W ) `
  S ) )   &    |-  ( ph  ->  S  C_  ( Base `  W ) )   &    |-  ( ph  ->  W  e.  X )   =>    |-  ( ph  ->  ( .r `  W )  =  ( .r `  A ) )
 
29-Oct-2024sraaddgg 14893 Additive operation of a subring algebra. (Contributed by Stefan O'Rear, 27-Nov-2014.) (Revised by Mario Carneiro, 4-Oct-2015.) (Revised by Thierry Arnoux, 16-Jun-2019.) (Revised by AV, 29-Oct-2024.)
 |-  ( ph  ->  A  =  ( (subringAlg  `  W ) `
  S ) )   &    |-  ( ph  ->  S  C_  ( Base `  W ) )   &    |-  ( ph  ->  W  e.  X )   =>    |-  ( ph  ->  ( +g  `  W )  =  ( +g  `  A ) )
 
29-Oct-2024srabaseg 14892 Base set of a subring algebra. (Contributed by Stefan O'Rear, 27-Nov-2014.) (Revised by Mario Carneiro, 4-Oct-2015.) (Revised by Thierry Arnoux, 16-Jun-2019.) (Revised by AV, 29-Oct-2024.)
 |-  ( ph  ->  A  =  ( (subringAlg  `  W ) `
  S ) )   &    |-  ( ph  ->  S  C_  ( Base `  W ) )   &    |-  ( ph  ->  W  e.  X )   =>    |-  ( ph  ->  ( Base `  W )  =  ( Base `  A )
 )
 
29-Oct-2024sralemg 14891 Lemma for srabaseg 14892 and similar theorems. (Contributed by Mario Carneiro, 4-Oct-2015.) (Revised by Thierry Arnoux, 16-Jun-2019.) (Revised by AV, 29-Oct-2024.)
 |-  ( ph  ->  A  =  ( (subringAlg  `  W ) `
  S ) )   &    |-  ( ph  ->  S  C_  ( Base `  W ) )   &    |-  ( ph  ->  W  e.  X )   &    |-  ( E  = Slot  ( E `  ndx )  /\  ( E `  ndx )  e.  NN )   &    |-  (Scalar ` 
 ndx )  =/=  ( E `  ndx )   &    |-  ( .s `  ndx )  =/=  ( E `  ndx )   &    |-  ( .i `  ndx )  =/=  ( E `  ndx )   =>    |-  ( ph  ->  ( E `  W )  =  ( E `  A ) )
 
29-Oct-2024dsndxntsetndx 13642 The slot for the distance function is not the slot for the topology in an extensible structure. (Contributed by AV, 29-Oct-2024.)
 |-  ( dist `  ndx )  =/=  (TopSet `  ndx )
 
29-Oct-2024slotsdnscsi 13641 The slots Scalar,  .s and  .i are different from the slot  dist. (Contributed by AV, 29-Oct-2024.)
 |-  ( ( dist `  ndx )  =/=  (Scalar `  ndx )  /\  ( dist `  ndx )  =/=  ( .s `  ndx )  /\  ( dist ` 
 ndx )  =/=  ( .i `  ndx ) )
 
29-Oct-2024slotstnscsi 13613 The slots Scalar,  .s and  .i are different from the slot TopSet. (Contributed by AV, 29-Oct-2024.)
 |-  ( (TopSet `  ndx )  =/=  (Scalar `  ndx )  /\  (TopSet `  ndx )  =/=  ( .s `  ndx )  /\  (TopSet `  ndx )  =/=  ( .i `  ndx ) )
 
29-Oct-2024ipndxnmulrndx 13592 The slot for the inner product is not the slot for the ring (multiplication) operation in an extensible structure. (Contributed by AV, 29-Oct-2024.)
 |-  ( .i `  ndx )  =/=  ( .r `  ndx )
 
29-Oct-2024ipndxnplusgndx 13591 The slot for the inner product is not the slot for the group operation in an extensible structure. (Contributed by AV, 29-Oct-2024.)
 |-  ( .i `  ndx )  =/=  ( +g  `  ndx )
 
29-Oct-2024vscandxnmulrndx 13579 The slot for the scalar product is not the slot for the ring (multiplication) operation in an extensible structure. (Contributed by AV, 29-Oct-2024.)
 |-  ( .s `  ndx )  =/=  ( .r `  ndx )
 
29-Oct-2024scandxnmulrndx 13574 The slot for the scalar field is not the slot for the ring (multiplication) operation in an extensible structure. (Contributed by AV, 29-Oct-2024.)
 |-  (Scalar `  ndx )  =/=  ( .r `  ndx )
 
29-Oct-2024fiubnn 11300 A finite set of natural numbers has an upper bound which is a a natural number. (Contributed by Jim Kingdon, 29-Oct-2024.)
 |-  ( ( A  C_  NN  /\  A  e.  Fin )  ->  E. x  e.  NN  A. y  e.  A  y 
 <_  x )
 
29-Oct-2024fiubz 11299 A finite set of integers has an upper bound which is an integer. (Contributed by Jim Kingdon, 29-Oct-2024.)
 |-  ( ( A  C_  ZZ  /\  A  e.  Fin )  ->  E. x  e.  ZZ  A. y  e.  A  y 
 <_  x )
 
29-Oct-2024fiubm 11298 Lemma for fiubz 11299 and fiubnn 11300. A general form of those theorems. (Contributed by Jim Kingdon, 29-Oct-2024.)
 |-  ( ph  ->  A  C_  B )   &    |-  ( ph  ->  B 
 C_  QQ )   &    |-  ( ph  ->  C  e.  B )   &    |-  ( ph  ->  A  e.  Fin )   =>    |-  ( ph  ->  E. x  e.  B  A. y  e.  A  y  <_  x )
 
28-Oct-2024edgfndxid 16539 The value of the edge function extractor is the value of the corresponding slot of the structure. (Contributed by AV, 21-Sep-2020.) (Proof shortened by AV, 28-Oct-2024.)
 |-  ( G  e.  V  ->  (.ef `  G )  =  ( G `  (.ef ` 
 ndx ) ) )
 
28-Oct-2024unifndxntsetndx 13649 The slot for the uniform set is not the slot for the topology in an extensible structure. (Contributed by AV, 28-Oct-2024.)
 |-  ( UnifSet `  ndx )  =/=  (TopSet `  ndx )
 
28-Oct-2024basendxltunifndx 13647 The index of the slot for the base set is less then the index of the slot for the uniform set in an extensible structure. (Contributed by AV, 28-Oct-2024.)
 |-  ( Base `  ndx )  < 
 ( UnifSet `  ndx )
 
28-Oct-2024unifndxnn 13646 The index of the slot for the uniform set in an extensible structure is a positive integer. (Contributed by AV, 28-Oct-2024.)
 |-  ( UnifSet `  ndx )  e. 
 NN
 
28-Oct-2024dsndxnbasendx 13638 The slot for the distance is not the slot for the base set in an extensible structure. (Contributed by AV, 21-Oct-2024.) (Proof shortened by AV, 28-Oct-2024.)
 |-  ( dist `  ndx )  =/=  ( Base `  ndx )
 
28-Oct-2024basendxltdsndx 13637 The index of the slot for the base set is less then the index of the slot for the distance in an extensible structure. (Contributed by AV, 28-Oct-2024.)
 |-  ( Base `  ndx )  < 
 ( dist `  ndx )
 
28-Oct-2024dsndxnn 13636 The index of the slot for the distance in an extensible structure is a positive integer. (Contributed by AV, 28-Oct-2024.)
 |-  ( dist `  ndx )  e. 
 NN
 
27-Oct-2024bj-nnst 17060 Double negation of stability of a formula. Intuitionistic logic refutes unstability (but does not prove stability) of any formula. This theorem can also be proved in classical refutability calculus (see https://us.metamath.org/mpeuni/bj-peircestab.html) but not in minimal calculus (see https://us.metamath.org/mpeuni/bj-stabpeirce.html). See nnnotnotr 17305 for the version not using the definition of stability. (Contributed by BJ, 9-Oct-2019.) Prove it in  (  ->  ,  -.  ) -intuitionistic calculus with definitions (uses of ax-ia1 106, ax-ia2 107, ax-ia3 108 are via sylibr 134, necessary for definition unpackaging), and in  (  ->  ,  <->  ,  -.  )-intuitionistic calculus, following a discussion with Jim Kingdon. (Revised by BJ, 27-Oct-2024.)
 |-  -.  -. STAB  ph
 
27-Oct-2024bj-imnimnn 17055 If a formula is implied by both a formula and its negation, then it is not refutable. There is another proof using the inference associated with bj-nnclavius 17054 as its last step. (Contributed by BJ, 27-Oct-2024.)
 |-  ( ph  ->  ps )   &    |-  ( -.  ph  ->  ps )   =>    |- 
 -.  -.  ps
 
25-Oct-2024nnwosdc 12846 Well-ordering principle: any inhabited decidable set of positive integers has a least element (schema form). (Contributed by NM, 17-Aug-2001.) (Revised by Jim Kingdon, 25-Oct-2024.)
 |-  ( x  =  y 
 ->  ( ph  <->  ps ) )   =>    |-  ( ( E. x  e.  NN  ph  /\  A. x  e.  NN DECID  ph )  ->  E. x  e.  NN  ( ph  /\  A. y  e.  NN  ( ps  ->  x  <_  y
 ) ) )
 
23-Oct-2024nnwodc 12843 Well-ordering principle: any inhabited decidable set of positive integers has a least element. Theorem I.37 (well-ordering principle) of [Apostol] p. 34. (Contributed by NM, 17-Aug-2001.) (Revised by Jim Kingdon, 23-Oct-2024.)
 |-  ( ( A  C_  NN  /\  E. w  w  e.  A  /\  A. j  e.  NN DECID  j  e.  A )  ->  E. x  e.  A  A. y  e.  A  x  <_  y )
 
22-Oct-2024uzwodc 12844 Well-ordering principle: any inhabited decidable subset of an upper set of integers has a least element. (Contributed by NM, 8-Oct-2005.) (Revised by Jim Kingdon, 22-Oct-2024.)
 |-  ( ( S  C_  ( ZZ>= `  M )  /\  E. x  x  e.  S  /\  A. x  e.  ( ZZ>= `  M )DECID  x  e.  S )  ->  E. j  e.  S  A. k  e.  S  j  <_  k
 )
 
21-Oct-2024nnnotnotr 17305 Double negation of double negation elimination. Suggested by an online post by Martin Escardo. Although this statement resembles nnexmid 862, it can be proved with reference only to implication and negation (that is, without use of disjunction). (Contributed by Jim Kingdon, 21-Oct-2024.)
 |-  -.  -.  ( -.  -.  ph  -> 
 ph )
 
21-Oct-2024unifndxnbasendx 13648 The slot for the uniform set is not the slot for the base set in an extensible structure. (Contributed by AV, 21-Oct-2024.)
 |-  ( UnifSet `  ndx )  =/=  ( Base `  ndx )
 
21-Oct-2024ipndxnbasendx 13590 The slot for the inner product is not the slot for the base set in an extensible structure. (Contributed by AV, 21-Oct-2024.)
 |-  ( .i `  ndx )  =/=  ( Base `  ndx )
 
21-Oct-2024scandxnbasendx 13572 The slot for the scalar is not the slot for the base set in an extensible structure. (Contributed by AV, 21-Oct-2024.)
 |-  (Scalar `  ndx )  =/=  ( Base `  ndx )
 
20-Oct-2024isprm5lem 12950 Lemma for isprm5 12951. The interesting direction (showing that one only needs to check prime divisors up to the square root of  P). (Contributed by Jim Kingdon, 20-Oct-2024.)
 |-  ( ph  ->  P  e.  ( ZZ>= `  2 )
 )   &    |-  ( ph  ->  A. z  e.  Prime  ( ( z ^ 2 )  <_  P  ->  -.  z  ||  P ) )   &    |-  ( ph  ->  X  e.  ( 2 ... ( P  -  1
 ) ) )   =>    |-  ( ph  ->  -.  X  ||  P )
 
19-Oct-2024resseqnbasd 13491 The components of an extensible structure except the base set remain unchanged on a structure restriction. (Contributed by Mario Carneiro, 26-Nov-2014.) (Revised by Mario Carneiro, 2-Dec-2014.) (Revised by AV, 19-Oct-2024.)
 |-  R  =  ( W ↾s  A )   &    |-  C  =  ( E `  W )   &    |-  ( E  = Slot  ( E `
  ndx )  /\  ( E `  ndx )  e. 
 NN )   &    |-  ( E `  ndx )  =/=  ( Base `  ndx )   &    |-  ( ph  ->  W  e.  X )   &    |-  ( ph  ->  A  e.  V )   =>    |-  ( ph  ->  C  =  ( E `  R ) )
 
18-Oct-2024rmodislmod 14804 The right module  R induces a left module  L by replacing the scalar multiplication with a reversed multiplication if the scalar ring is commutative. The hypothesis "rmodislmod.r" is a definition of a right module analogous to Definition df-lmod 14741 of a left module, see also islmod 14743. (Contributed by AV, 3-Dec-2021.) (Proof shortened by AV, 18-Oct-2024.)
 |-  V  =  ( Base `  R )   &    |-  .+  =  ( +g  `  R )   &    |-  .x.  =  ( .s `  R )   &    |-  F  =  (Scalar `  R )   &    |-  K  =  ( Base `  F )   &    |-  .+^  =  ( +g  `  F )   &    |-  .X.  =  ( .r `  F )   &    |-  .1.  =  ( 1r `  F )   &    |-  ( R  e.  Grp  /\  F  e.  Ring  /\  A. q  e.  K  A. r  e.  K  A. x  e.  V  A. w  e.  V  ( ( ( w  .x.  r )  e.  V  /\  ( ( w  .+  x ) 
 .x.  r )  =  ( ( w  .x.  r )  .+  ( x 
 .x.  r ) ) 
 /\  ( w  .x.  ( q  .+^  r ) )  =  ( ( w  .x.  q )  .+  ( w  .x.  r
 ) ) )  /\  ( ( w  .x.  ( q  .X.  r ) )  =  ( ( w  .x.  q )  .x.  r )  /\  ( w  .x.  .1.  )  =  w ) ) )   &    |-  .*  =  ( s  e.  K ,  v  e.  V  |->  ( v  .x.  s ) )   &    |-  L  =  ( R sSet  <. ( .s
 `  ndx ) ,  .*  >.
 )   =>    |-  ( F  e.  CRing  ->  L  e.  LMod )
 
18-Oct-2024mgpress 14343 Subgroup commutes with the multiplicative group operator. (Contributed by Mario Carneiro, 10-Jan-2015.) (Proof shortened by AV, 18-Oct-2024.)
 |-  S  =  ( R ↾s  A )   &    |-  M  =  (mulGrp `  R )   =>    |-  ( ( R  e.  V  /\  A  e.  W )  ->  ( M ↾s  A )  =  (mulGrp `  S ) )
 
18-Oct-2024dsndxnplusgndx 13639 The slot for the distance function is not the slot for the group operation in an extensible structure. (Contributed by AV, 18-Oct-2024.)
 |-  ( dist `  ndx )  =/=  ( +g  `  ndx )
 
18-Oct-2024plendxnplusgndx 13624 The slot for the "less than or equal to" ordering is not the slot for the group operation in an extensible structure. (Contributed by AV, 18-Oct-2024.)
 |-  ( le `  ndx )  =/=  ( +g  `  ndx )
 
18-Oct-2024tsetndxnplusgndx 13610 The slot for the topology is not the slot for the group operation in an extensible structure. (Contributed by AV, 18-Oct-2024.)
 |-  (TopSet `  ndx )  =/=  ( +g  `  ndx )
 
18-Oct-2024vscandxnscandx 13580 The slot for the scalar product is not the slot for the scalar field in an extensible structure. (Contributed by AV, 18-Oct-2024.)
 |-  ( .s `  ndx )  =/=  (Scalar `  ndx )
 
18-Oct-2024vscandxnplusgndx 13578 The slot for the scalar product is not the slot for the group operation in an extensible structure. (Contributed by AV, 18-Oct-2024.)
 |-  ( .s `  ndx )  =/=  ( +g  `  ndx )
 
18-Oct-2024vscandxnbasendx 13577 The slot for the scalar product is not the slot for the base set in an extensible structure. (Contributed by AV, 18-Oct-2024.)
 |-  ( .s `  ndx )  =/=  ( Base `  ndx )
 
18-Oct-2024scandxnplusgndx 13573 The slot for the scalar field is not the slot for the group operation in an extensible structure. (Contributed by AV, 18-Oct-2024.)
 |-  (Scalar `  ndx )  =/=  ( +g  `  ndx )
 
18-Oct-2024starvndxnmulrndx 13562 The slot for the involution function is not the slot for the base set in an extensible structure. (Contributed by AV, 18-Oct-2024.)
 |-  ( *r `  ndx )  =/=  ( .r `  ndx )
 
18-Oct-2024starvndxnplusgndx 13561 The slot for the involution function is not the slot for the base set in an extensible structure. (Contributed by AV, 18-Oct-2024.)
 |-  ( *r `  ndx )  =/=  ( +g  `  ndx )
 
18-Oct-2024starvndxnbasendx 13560 The slot for the involution function is not the slot for the base set in an extensible structure. (Contributed by AV, 18-Oct-2024.)
 |-  ( *r `  ndx )  =/=  ( Base `  ndx )
 
17-Oct-2024basendxltplusgndx 13531 The index of the slot for the base set is less then the index of the slot for the group operation in an extensible structure. (Contributed by AV, 17-Oct-2024.)
 |-  ( Base `  ndx )  < 
 ( +g  `  ndx )
 
17-Oct-2024plusgndxnn 13529 The index of the slot for the group operation in an extensible structure is a positive integer. (Contributed by AV, 17-Oct-2024.)
 |-  ( +g  `  ndx )  e.  NN
 
17-Oct-2024elnndc 10033 Membership of an integer in  NN is decidable. (Contributed by Jim Kingdon, 17-Oct-2024.)
 |-  ( N  e.  ZZ  -> DECID  N  e.  NN )
 
14-Oct-20242zinfmin 12039 Two ways to express the minimum of two integers. Because order of integers is decidable, we have more flexibility than for real numbers. (Contributed by Jim Kingdon, 14-Oct-2024.)
 |-  ( ( A  e.  ZZ  /\  B  e.  ZZ )  -> inf ( { A ,  B } ,  RR ,  <  )  =  if ( A  <_  B ,  A ,  B )
 )
 
14-Oct-2024mingeb 12038 Equivalence of  <_ and being equal to the minimum of two reals. (Contributed by Jim Kingdon, 14-Oct-2024.)
 |-  ( ( A  e.  RR  /\  B  e.  RR )  ->  ( A  <_  B  <-> inf ( { A ,  B } ,  RR ,  <  )  =  A ) )
 
13-Oct-2024edgfndxnn 16538 The index value of the edge function extractor is a positive integer. This property should be ensured for every concrete coding because otherwise it could not be used in an extensible structure (slots must be positive integers). (Contributed by AV, 21-Sep-2020.) (Proof shortened by AV, 13-Oct-2024.)
 |-  (.ef `  ndx )  e. 
 NN
 
13-Oct-2024edgfndx 16537 Index value of the df-edgf 16535 slot. (Contributed by AV, 13-Oct-2024.) (New usage is discouraged.)
 |-  (.ef `  ndx )  = ; 1
 8
 
13-Oct-2024prdsvallem 13685 Lemma for prdsval 14285. (Contributed by Stefan O'Rear, 3-Jan-2015.) Extracted from the former proof of prdsval 14285, dependency on df-hom 13519 removed. (Revised by AV, 13-Oct-2024.)
 |-  ( f  e.  v ,  g  e.  v  |->  X_ x  e.  dom  r ( ( f `
  x ) ( Hom  `  ( r `  x ) ) ( g `  x ) ) )  e.  _V
 
13-Oct-2024pcxnn0cl 13123 Extended nonnegative integer closure of the general prime count function. (Contributed by Jim Kingdon, 13-Oct-2024.)
 |-  ( ( P  e.  Prime  /\  N  e.  ZZ )  ->  ( P  pCnt  N )  e. NN0* )
 
13-Oct-2024xnn0letri 10227 Dichotomy for extended nonnegative integers. (Contributed by Jim Kingdon, 13-Oct-2024.)
 |-  ( ( A  e. NN0*  /\  B  e. NN0* )  ->  ( A  <_  B  \/  B  <_  A ) )
 
13-Oct-2024xnn0dcle 10226 Decidability of  <_ for extended nonnegative integers. (Contributed by Jim Kingdon, 13-Oct-2024.)
 |-  ( ( A  e. NN0*  /\  B  e. NN0* )  -> DECID  A  <_  B )
 
9-Oct-2024nn0leexp2 11175 Ordering law for exponentiation. (Contributed by Jim Kingdon, 9-Oct-2024.)
 |-  ( ( ( A  e.  RR  /\  M  e.  NN0  /\  N  e.  NN0 )  /\  1  <  A )  ->  ( M 
 <_  N  <->  ( A ^ M )  <_  ( A ^ N ) ) )
 
8-Oct-2024pclemdc 13101 Lemma for the prime power pre-function's properties. (Contributed by Jim Kingdon, 8-Oct-2024.)
 |-  A  =  { n  e.  NN0  |  ( P ^ n )  ||  N }   =>    |-  ( ( P  e.  ( ZZ>= `  2 )  /\  ( N  e.  ZZ  /\  N  =/=  0 ) )  ->  A. x  e. 
 ZZ DECID  x  e.  A )
 
8-Oct-2024elnn0dc 10032 Membership of an integer in  NN0 is decidable. (Contributed by Jim Kingdon, 8-Oct-2024.)
 |-  ( N  e.  ZZ  -> DECID  N  e.  NN0 )
 
7-Oct-2024pclemub 13100 Lemma for the prime power pre-function's properties. (Contributed by Mario Carneiro, 23-Feb-2014.) (Revised by Jim Kingdon, 7-Oct-2024.)
 |-  A  =  { n  e.  NN0  |  ( P ^ n )  ||  N }   =>    |-  ( ( P  e.  ( ZZ>= `  2 )  /\  ( N  e.  ZZ  /\  N  =/=  0 ) )  ->  E. x  e.  ZZ  A. y  e.  A  y  <_  x )
 
7-Oct-2024pclem0 13099 Lemma for the prime power pre-function's properties. (Contributed by Mario Carneiro, 23-Feb-2014.) (Revised by Jim Kingdon, 7-Oct-2024.)
 |-  A  =  { n  e.  NN0  |  ( P ^ n )  ||  N }   =>    |-  ( ( P  e.  ( ZZ>= `  2 )  /\  ( N  e.  ZZ  /\  N  =/=  0 ) )  ->  0  e.  A )
 
7-Oct-2024nn0ltexp2 11174 Special case of ltexp2 16261 which we use here because we haven't yet defined df-rpcxp 16172 which is used in the current proof of ltexp2 16261. (Contributed by Jim Kingdon, 7-Oct-2024.)
 |-  ( ( ( A  e.  RR  /\  M  e.  NN0  /\  N  e.  NN0 )  /\  1  <  A )  ->  ( M  <  N  <->  ( A ^ M )  <  ( A ^ N ) ) )
 
6-Oct-2024suprzcl2dc 10696 The supremum of a bounded-above decidable set of integers is a member of the set. (This theorem avoids ax-pre-suploc 8312.) (Contributed by Mario Carneiro, 21-Apr-2015.) (Revised by Jim Kingdon, 6-Oct-2024.)
 |-  ( ph  ->  A  C_ 
 ZZ )   &    |-  ( ph  ->  A. x  e.  ZZ DECID  x  e.  A )   &    |-  ( ph  ->  E. x  e.  ZZ  A. y  e.  A  y  <_  x )   &    |-  ( ph  ->  E. x  x  e.  A )   =>    |-  ( ph  ->  sup ( A ,  RR ,  <  )  e.  A )
 
5-Oct-2024zsupssdc 10695 An inhabited decidable bounded subset of integers has a supremum in the set. (The proof does not use ax-pre-suploc 8312.) (Contributed by Mario Carneiro, 21-Apr-2015.) (Revised by Jim Kingdon, 5-Oct-2024.)
 |-  ( ph  ->  A  C_ 
 ZZ )   &    |-  ( ph  ->  E. x  x  e.  A )   &    |-  ( ph  ->  A. x  e.  ZZ DECID  x  e.  A )   &    |-  ( ph  ->  E. x  e.  ZZ  A. y  e.  A  y  <_  x )   =>    |-  ( ph  ->  E. x  e.  A  ( A. y  e.  A  -.  x  < 
 y  /\  A. y  e.  B  ( y  < 
 x  ->  E. z  e.  A  y  <  z
 ) ) )
 
5-Oct-2024suprzubdc 10693 The supremum of a bounded-above decidable set of integers is greater than any member of the set. (Contributed by Mario Carneiro, 21-Apr-2015.) (Revised by Jim Kingdon, 5-Oct-2024.)
 |-  ( ph  ->  A  C_ 
 ZZ )   &    |-  ( ph  ->  A. x  e.  ZZ DECID  x  e.  A )   &    |-  ( ph  ->  E. x  e.  ZZ  A. y  e.  A  y  <_  x )   &    |-  ( ph  ->  B  e.  A )   =>    |-  ( ph  ->  B 
 <_  sup ( A ,  RR ,  <  ) )
 
3-Oct-2024ab0w 3550 The class of sets verifying a property is the empty class if and only if that property is a contradiction. (Contributed by GG, 3-Oct-2024.)
 |-  ( x  =  y 
 ->  ( ph  <->  ps ) )   =>    |-  ( { x  |  ph }  =  (/)  <->  A. y  -.  ps )
 
1-Oct-2024infex2g 7386 Existence of infimum. (Contributed by Jim Kingdon, 1-Oct-2024.)
 |-  ( A  e.  C  -> inf ( B ,  A ,  R )  e.  _V )
 
30-Sep-2024unbendc 13408 An unbounded decidable set of positive integers is infinite. (Contributed by NM, 5-May-2005.) (Revised by Jim Kingdon, 30-Sep-2024.)
 |-  ( ( A  C_  NN  /\  A. x  e. 
 NN DECID  x  e.  A  /\  A. m  e.  NN  E. n  e.  A  m  <  n )  ->  A  ~~ 
 NN )
 
30-Sep-2024prmdc 12938 Primality is decidable. (Contributed by Jim Kingdon, 30-Sep-2024.)
 |-  ( N  e.  NN  -> DECID  N  e.  Prime )
 
30-Sep-2024dcfi 7326 Decidability of a family of propositions indexed by a finite set. (Contributed by Jim Kingdon, 30-Sep-2024.)
 |-  ( ( A  e.  Fin  /\  A. x  e.  A DECID  ph )  -> DECID  A. x  e.  A  ph )
 
30-Sep-2024cbvriotavw 6056 Change bound variable in a restricted description binder. Version of cbvriotav 6058 with a disjoint variable condition. (Contributed by NM, 18-Mar-2013.) (Revised by GG, 30-Sep-2024.)
 |-  ( x  =  y 
 ->  ( ph  <->  ps ) )   =>    |-  ( iota_ x  e.  A  ph )  =  ( iota_ y  e.  A  ps )
 
30-Sep-2024cbviotavw 5350 Change bound variables in a description binder. Version of cbviotav 5351 with a disjoint variable condition. (Contributed by Andrew Salmon, 1-Aug-2011.) (Revised by GG, 30-Sep-2024.)
 |-  ( x  =  y 
 ->  ( ph  <->  ps ) )   =>    |-  ( iota x ph )  =  ( iota
 y ps )
 
29-Sep-2024ssnnct 13401 A decidable subset of  NN is countable. (Contributed by Jim Kingdon, 29-Sep-2024.)
 |-  ( ( A  C_  NN  /\  A. x  e. 
 NN DECID  x  e.  A )  ->  E. f  f : om -onto-> ( A ⊔  1o )
 )
 
29-Sep-2024ssnnctlemct 13400 Lemma for ssnnct 13401. The result. (Contributed by Jim Kingdon, 29-Sep-2024.)
 |-  G  = frec ( ( x  e.  ZZ  |->  ( x  +  1 ) ) ,  1 )   =>    |-  ( ( A  C_  NN  /\  A. x  e. 
 NN DECID  x  e.  A )  ->  E. f  f : om -onto-> ( A ⊔  1o )
 )
 
28-Sep-2024nninfdcex 10694 A decidable set of natural numbers has an infimum. (Contributed by Jim Kingdon, 28-Sep-2024.)
 |-  ( ph  ->  A  C_ 
 NN )   &    |-  ( ph  ->  A. x  e.  NN DECID  x  e.  A )   &    |-  ( ph  ->  E. y  y  e.  A )   =>    |-  ( ph  ->  E. x  e.  RR  ( A. y  e.  A  -.  y  < 
 x  /\  A. y  e. 
 RR  ( x  < 
 y  ->  E. z  e.  A  z  <  y
 ) ) )
 
27-Sep-2024infregelbex 10019 Any lower bound of a set of real numbers with an infimum is less than or equal to the infimum. (Contributed by Jim Kingdon, 27-Sep-2024.)
 |-  ( ph  ->  E. x  e.  RR  ( A. y  e.  A  -.  y  < 
 x  /\  A. y  e. 
 RR  ( x  < 
 y  ->  E. z  e.  A  z  <  y
 ) ) )   &    |-  ( ph  ->  A  C_  RR )   &    |-  ( ph  ->  B  e.  RR )   =>    |-  ( ph  ->  ( B  <_ inf ( A ,  RR ,  <  )  <->  A. z  e.  A  B  <_  z ) )
 
26-Sep-2024nninfdclemp1 13404 Lemma for nninfdc 13407. Each element of the sequence  F is greater than the previous element. (Contributed by Jim Kingdon, 26-Sep-2024.)
 |-  ( ph  ->  A  C_ 
 NN )   &    |-  ( ph  ->  A. x  e.  NN DECID  x  e.  A )   &    |-  ( ph  ->  A. m  e.  NN  E. n  e.  A  m  <  n )   &    |-  ( ph  ->  ( J  e.  A  /\  1  <  J ) )   &    |-  F  =  seq 1
 ( ( y  e. 
 NN ,  z  e. 
 NN  |-> inf ( ( A  i^i  ( ZZ>= `  (
 y  +  1 ) ) ) ,  RR ,  <  ) ) ,  ( i  e.  NN  |->  J ) )   &    |-  ( ph  ->  U  e.  NN )   =>    |-  ( ph  ->  ( F `  U )  < 
 ( F `  ( U  +  1 )
 ) )
 
26-Sep-2024nnminle 12842 The infimum of a decidable subset of the natural numbers is less than an element of the set. The infimum is also a minimum as shown at nnmindc 12841. (Contributed by Jim Kingdon, 26-Sep-2024.)
 |-  ( ( A  C_  NN  /\  A. x  e. 
 NN DECID  x  e.  A  /\  B  e.  A )  -> inf ( A ,  RR ,  <  )  <_  B )
 
25-Sep-2024nninfdclemcl 13402 Lemma for nninfdc 13407. (Contributed by Jim Kingdon, 25-Sep-2024.)
 |-  ( ph  ->  A  C_ 
 NN )   &    |-  ( ph  ->  A. x  e.  NN DECID  x  e.  A )   &    |-  ( ph  ->  A. m  e.  NN  E. n  e.  A  m  <  n )   &    |-  ( ph  ->  P  e.  A )   &    |-  ( ph  ->  Q  e.  A )   =>    |-  ( ph  ->  ( P ( y  e. 
 NN ,  z  e. 
 NN  |-> inf ( ( A  i^i  ( ZZ>= `  (
 y  +  1 ) ) ) ,  RR ,  <  ) ) Q )  e.  A )
 
24-Sep-2024nninfdclemlt 13405 Lemma for nninfdc 13407. The function from nninfdclemf 13403 is strictly monotonic. (Contributed by Jim Kingdon, 24-Sep-2024.)
 |-  ( ph  ->  A  C_ 
 NN )   &    |-  ( ph  ->  A. x  e.  NN DECID  x  e.  A )   &    |-  ( ph  ->  A. m  e.  NN  E. n  e.  A  m  <  n )   &    |-  ( ph  ->  ( J  e.  A  /\  1  <  J ) )   &    |-  F  =  seq 1
 ( ( y  e. 
 NN ,  z  e. 
 NN  |-> inf ( ( A  i^i  ( ZZ>= `  (
 y  +  1 ) ) ) ,  RR ,  <  ) ) ,  ( i  e.  NN  |->  J ) )   &    |-  ( ph  ->  U  e.  NN )   &    |-  ( ph  ->  V  e.  NN )   &    |-  ( ph  ->  U  <  V )   =>    |-  ( ph  ->  ( F `  U )  <  ( F `  V ) )
 
23-Sep-2024nninfdc 13407 An unbounded decidable set of positive integers is infinite. (Contributed by Jim Kingdon, 23-Sep-2024.)
 |-  ( ( A  C_  NN  /\  A. x  e. 
 NN DECID  x  e.  A  /\  A. m  e.  NN  E. n  e.  A  m  <  n )  ->  om  ~<_  A )
 
23-Sep-2024nninfdclemf1 13406 Lemma for nninfdc 13407. The function from nninfdclemf 13403 is one-to-one. (Contributed by Jim Kingdon, 23-Sep-2024.)
 |-  ( ph  ->  A  C_ 
 NN )   &    |-  ( ph  ->  A. x  e.  NN DECID  x  e.  A )   &    |-  ( ph  ->  A. m  e.  NN  E. n  e.  A  m  <  n )   &    |-  ( ph  ->  ( J  e.  A  /\  1  <  J ) )   &    |-  F  =  seq 1
 ( ( y  e. 
 NN ,  z  e. 
 NN  |-> inf ( ( A  i^i  ( ZZ>= `  (
 y  +  1 ) ) ) ,  RR ,  <  ) ) ,  ( i  e.  NN  |->  J ) )   =>    |-  ( ph  ->  F : NN -1-1-> A )
 
23-Sep-2024nninfdclemf 13403 Lemma for nninfdc 13407. A function from the natural numbers into  A. (Contributed by Jim Kingdon, 23-Sep-2024.)
 |-  ( ph  ->  A  C_ 
 NN )   &    |-  ( ph  ->  A. x  e.  NN DECID  x  e.  A )   &    |-  ( ph  ->  A. m  e.  NN  E. n  e.  A  m  <  n )   &    |-  ( ph  ->  ( J  e.  A  /\  1  <  J ) )   &    |-  F  =  seq 1
 ( ( y  e. 
 NN ,  z  e. 
 NN  |-> inf ( ( A  i^i  ( ZZ>= `  (
 y  +  1 ) ) ) ,  RR ,  <  ) ) ,  ( i  e.  NN  |->  J ) )   =>    |-  ( ph  ->  F : NN --> A )
 
23-Sep-2024nnmindc 12841 An inhabited decidable subset of the natural numbers has a minimum. (Contributed by Jim Kingdon, 23-Sep-2024.)
 |-  ( ( A  C_  NN  /\  A. x  e. 
 NN DECID  x  e.  A  /\  E. y  y  e.  A )  -> inf ( A ,  RR ,  <  )  e.  A )
 
23-Sep-2024breng 7040 Equinumerosity relation. This variation of bren 7041 does not require the Axiom of Union. (Contributed by NM, 15-Jun-1998.) Extract from a subproof of bren 7041. (Revised by BTernaryTau, 23-Sep-2024.)
 |-  ( ( A  e.  V  /\  B  e.  W )  ->  ( A  ~~  B 
 <-> 
 E. f  f : A -1-1-onto-> B ) )
 
23-Sep-2024dfnul3 3524 Alternate definition of the empty set. (Contributed by NM, 25-Mar-2004.) (Proof shortened by BJ, 23-Sep-2024.)
 |-  (/)  =  { x  e.  A  |  -.  x  e.  A }
 
23-Sep-2024dfnul2 3523 Alternate definition of the empty set. Definition 5.14 of [TakeutiZaring] p. 20. (Contributed by NM, 26-Dec-1996.) Reduce axiom dependencies. (Revised by Steven Nguyen, 3-May-2023.) (Proof shortened by BJ, 23-Sep-2024.)
 |-  (/)  =  { x  |  -.  x  =  x }
 
23-Sep-2024dfnul4 3522 Alternate definition of the empty class/set. (Contributed by BJ, 30-Nov-2019.) Avoid ax-13 2211, df-clel 2234. (Revised by GG, 3-Sep-2024.) Prove directly from definition to allow shortening dfnul2 3523. (Revised by BJ, 23-Sep-2024.)
 |-  (/)  =  { x  | F.  }
 
20-Sep-2024ineqcomi 3423 Two ways of expressing that two classes have a given intersection. Inference form of ineqcom 3422. Disjointness inference when  C  =  (/). (Contributed by Peter Mazsa, 26-Mar-2017.) (Proof shortened by SN, 20-Sep-2024.)
 |-  ( A  i^i  B )  =  C   =>    |-  ( B  i^i  A )  =  C
 
19-Sep-2024ssomct 13399 A decidable subset of  om is countable. (Contributed by Jim Kingdon, 19-Sep-2024.)
 |-  ( ( A  C_  om 
 /\  A. x  e.  om DECID  x  e.  A )  ->  E. f  f : om -onto-> ( A ⊔  1o ) )
 
19-Sep-20242oex 6714  2o is a set. (Contributed by BJ, 6-Apr-2019.) (Proof shortened by Zhi Wang, 19-Sep-2024.)
 |- 
 2o  e.  _V
 
19-Sep-2024ecase2d 1392 Deduction for elimination by cases. (Contributed by NM, 21-Apr-1994.) (Proof shortened by Wolf Lammen, 19-Sep-2024.)
 |-  ( ph  ->  ps )   &    |-  ( ph  ->  -.  ( ps  /\ 
 ch ) )   &    |-  ( ph  ->  -.  ( ps  /\ 
 th ) )   &    |-  ( ph  ->  ( ta  \/  ( ch  \/  th )
 ) )   =>    |-  ( ph  ->  ta )
 
18-Sep-2024fcof 5901 Composition of a function with domain and codomain and a function as a function with domain and codomain. Generalization of fco 5559. (Contributed by AV, 18-Sep-2024.)
 |-  ( ( F : A
 --> B  /\  Fun  G )  ->  ( F  o.  G ) : ( `' G " A ) --> B )
 
18-Sep-2024eqabbw 2375 Version of eqabb 2374 using implicit substitution. (Contributed by GG and AV, 18-Sep-2024.)
 |-  ( x  =  y 
 ->  ( ph  <->  ps ) )   =>    |-  ( A  =  { x  |  ph }  <->  A. y ( y  e.  A  <->  ps ) )
 
17-Sep-2024fncofn 5900 Composition of a function with domain and a function as a function with domain. Generalization of fnco 5498. (Contributed by AV, 17-Sep-2024.)
 |-  ( ( F  Fn  A  /\  Fun  G )  ->  ( F  o.  G )  Fn  ( `' G " A ) )
 
14-Sep-2024nnpredlt 4773 The predecessor (see nnpredcl 4772) of a nonzero natural number is less than (see df-iord 4513) that number. (Contributed by Jim Kingdon, 14-Sep-2024.)
 |-  ( ( A  e.  om 
 /\  A  =/=  (/) )  ->  U. A  e.  A )
 
13-Sep-2024nninfisollemeq 7484 Lemma for nninfisol 7485. The case where  N is a successor and  N and  X are equal. (Contributed by Jim Kingdon, 13-Sep-2024.)
 |-  ( ph  ->  X  e. ℕ∞ )   &    |-  ( ph  ->  ( X `  N )  =  (/) )   &    |-  ( ph  ->  N  e.  om )   &    |-  ( ph  ->  N  =/=  (/) )   &    |-  ( ph  ->  ( X `  U. N )  =  1o )   =>    |-  ( ph  -> DECID 
 ( i  e.  om  |->  if ( i  e.  N ,  1o ,  (/) ) )  =  X )
 
13-Sep-2024nninfisollemne 7483 Lemma for nninfisol 7485. A case where  N is a successor and  N and  X are not equal. (Contributed by Jim Kingdon, 13-Sep-2024.)
 |-  ( ph  ->  X  e. ℕ∞ )   &    |-  ( ph  ->  ( X `  N )  =  (/) )   &    |-  ( ph  ->  N  e.  om )   &    |-  ( ph  ->  N  =/=  (/) )   &    |-  ( ph  ->  ( X `  U. N )  =  (/) )   =>    |-  ( ph  -> DECID  ( i  e.  om  |->  if (
 i  e.  N ,  1o ,  (/) ) )  =  X )
 
13-Sep-2024nninfisollem0 7482 Lemma for nninfisol 7485. The case where  N is zero. (Contributed by Jim Kingdon, 13-Sep-2024.)
 |-  ( ph  ->  X  e. ℕ∞ )   &    |-  ( ph  ->  ( X `  N )  =  (/) )   &    |-  ( ph  ->  N  e.  om )   &    |-  ( ph  ->  N  =  (/) )   =>    |-  ( ph  -> DECID  ( i  e.  om  |->  if ( i  e.  N ,  1o ,  (/) ) )  =  X )
 
13-Sep-2024fset0 6959 The set of functions from the empty set is the singleton containing the empty set. (Contributed by AV, 13-Sep-2024.)
 |- 
 { f  |  f : (/) --> B }  =  { (/) }
 
13-Sep-2024fsetsspwxp 6958 The class of all functions from  A into  B is a subclass of the power class of the cartesion product of  A and 
B. (Contributed by AV, 13-Sep-2024.)
 |- 
 { f  |  f : A --> B }  C_ 
 ~P ( A  X.  B )
 
12-Sep-2024nninfisol 7485 Finite elements of ℕ∞ are isolated. That is, given a natural number and any element of ℕ∞, it is decidable whether the natural number (when converted to an element of ℕ∞) is equal to the given element of ℕ∞. Stated in an online post by Martin Escardo. One way to understand this theorem is that you do not need to look at an unbounded number of elements of the sequence  X to decide whether it is equal to  N (in fact, you only need to look at two elements and  N tells you where to look).

By contrast, the point at infinity being isolated is equivalent to the Weak Limited Principle of Omniscience (WLPO) (nninfinfwlpo 7532). (Contributed by BJ and Jim Kingdon, 12-Sep-2024.)

 |-  ( ( N  e.  om 
 /\  X  e. ℕ∞ )  -> DECID  ( i  e.  om  |->  if ( i  e.  N ,  1o ,  (/) ) )  =  X )
 
8-Sep-2024relopabv 4906 A class of ordered pairs is a relation. For a version without a disjoint variable condition, see relopab 4908. (Contributed by SN, 8-Sep-2024.)
 |- 
 Rel  { <. x ,  y >.  |  ph }
 
7-Sep-2024eulerthlemfi 13040 Lemma for eulerth 13045. The set  S is finite. (Contributed by Mario Carneiro, 28-Feb-2014.) (Revised by Jim Kingdon, 7-Sep-2024.)
 |-  ( ph  ->  ( N  e.  NN  /\  A  e.  ZZ  /\  ( A 
 gcd  N )  =  1 ) )   &    |-  S  =  {
 y  e.  ( 0..^ N )  |  ( y  gcd  N )  =  1 }   =>    |-  ( ph  ->  S  e.  Fin )
 
7-Sep-2024modqexp 11130 Exponentiation property of the modulo operation, see theorem 5.2(c) in [ApostolNT] p. 107. (Contributed by Mario Carneiro, 28-Feb-2014.) (Revised by Jim Kingdon, 7-Sep-2024.)
 |-  ( ph  ->  A  e.  ZZ )   &    |-  ( ph  ->  B  e.  ZZ )   &    |-  ( ph  ->  C  e.  NN0 )   &    |-  ( ph  ->  D  e.  QQ )   &    |-  ( ph  ->  0  <  D )   &    |-  ( ph  ->  ( A  mod  D )  =  ( B 
 mod  D ) )   =>    |-  ( ph  ->  ( ( A ^ C )  mod  D )  =  ( ( B ^ C )  mod  D ) )
 
5-Sep-2024eulerthlemh 13043 Lemma for eulerth 13045. A permutation of  ( 1 ... ( phi `  N ) ). (Contributed by Mario Carneiro, 28-Feb-2014.) (Revised by Jim Kingdon, 5-Sep-2024.)
 |-  ( ph  ->  ( N  e.  NN  /\  A  e.  ZZ  /\  ( A 
 gcd  N )  =  1 ) )   &    |-  S  =  {
 y  e.  ( 0..^ N )  |  ( y  gcd  N )  =  1 }   &    |-  ( ph  ->  F : ( 1 ... ( phi `  N ) ) -1-1-onto-> S )   &    |-  H  =  ( `' F  o.  ( y  e.  ( 1 ... ( phi `  N ) ) 
 |->  ( ( A  x.  ( F `  y ) )  mod  N ) ) )   =>    |-  ( ph  ->  H : ( 1 ... ( phi `  N ) ) -1-1-onto-> ( 1 ... ( phi `  N ) ) )
 
2-Sep-2024eulerthlemth 13044 Lemma for eulerth 13045. The result. (Contributed by Mario Carneiro, 28-Feb-2014.) (Revised by Jim Kingdon, 2-Sep-2024.)
 |-  ( ph  ->  ( N  e.  NN  /\  A  e.  ZZ  /\  ( A 
 gcd  N )  =  1 ) )   &    |-  S  =  {
 y  e.  ( 0..^ N )  |  ( y  gcd  N )  =  1 }   &    |-  ( ph  ->  F : ( 1 ... ( phi `  N ) ) -1-1-onto-> S )   =>    |-  ( ph  ->  ( ( A ^ ( phi `  N ) )  mod  N )  =  ( 1  mod 
 N ) )
 
2-Sep-2024eulerthlema 13042 Lemma for eulerth 13045. (Contributed by Mario Carneiro, 28-Feb-2014.) (Revised by Jim Kingdon, 2-Sep-2024.)
 |-  ( ph  ->  ( N  e.  NN  /\  A  e.  ZZ  /\  ( A 
 gcd  N )  =  1 ) )   &    |-  S  =  {
 y  e.  ( 0..^ N )  |  ( y  gcd  N )  =  1 }   &    |-  ( ph  ->  F : ( 1 ... ( phi `  N ) ) -1-1-onto-> S )   =>    |-  ( ph  ->  ( (
 ( A ^ ( phi `  N ) )  x.  prod_ x  e.  (
 1 ... ( phi `  N ) ) ( F `
  x ) ) 
 mod  N )  =  (
 prod_ x  e.  (
 1 ... ( phi `  N ) ) ( ( A  x.  ( F `
  x ) ) 
 mod  N )  mod  N ) )
 
2-Sep-2024eulerthlemrprm 13041 Lemma for eulerth 13045. 
N and  prod_ x  e.  ( 1 ... ( phi `  N ) ) ( F `  x
) are relatively prime. (Contributed by Mario Carneiro, 28-Feb-2014.) (Revised by Jim Kingdon, 2-Sep-2024.)
 |-  ( ph  ->  ( N  e.  NN  /\  A  e.  ZZ  /\  ( A 
 gcd  N )  =  1 ) )   &    |-  S  =  {
 y  e.  ( 0..^ N )  |  ( y  gcd  N )  =  1 }   &    |-  ( ph  ->  F : ( 1 ... ( phi `  N ) ) -1-1-onto-> S )   =>    |-  ( ph  ->  ( N  gcd  prod_ x  e.  (
 1 ... ( phi `  N ) ) ( F `
  x ) )  =  1 )
 
1-Sep-2024qusmul2 14982 Value of the ring operation in a quotient ring. (Contributed by Thierry Arnoux, 1-Sep-2024.)
 |-  Q  =  ( R 
 /.s 
 ( R ~QG  I ) )   &    |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   &    |-  .X. 
 =  ( .r `  Q )   &    |-  ( ph  ->  R  e.  Ring )   &    |-  ( ph  ->  I  e.  (2Ideal `  R ) )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  Y  e.  B )   =>    |-  ( ph  ->  ( [ X ] ( R ~QG  I )  .X.  [ Y ] ( R ~QG  I )
 )  =  [ ( X  .x.  Y ) ]
 ( R ~QG  I ) )
 
30-Aug-2024fprodap0f 12433 A finite product of terms apart from zero is apart from zero. A version of fprodap0 12418 using bound-variable hypotheses instead of distinct variable conditions. (Contributed by Glauco Siliprandi, 5-Apr-2020.) (Revised by Jim Kingdon, 30-Aug-2024.)
 |- 
 F/ k ph   &    |-  ( ph  ->  A  e.  Fin )   &    |-  (
 ( ph  /\  k  e.  A )  ->  B  e.  CC )   &    |-  ( ( ph  /\  k  e.  A ) 
 ->  B #  0 )   =>    |-  ( ph  ->  prod_
 k  e.  A  B #  0 )
 
28-Aug-2024fprodrec 12426 The finite product of reciprocals is the reciprocal of the product. (Contributed by Jim Kingdon, 28-Aug-2024.)
 |-  ( ph  ->  A  e.  Fin )   &    |-  ( ( ph  /\  k  e.  A ) 
 ->  B  e.  CC )   &    |-  (
 ( ph  /\  k  e.  A )  ->  B #  0 )   =>    |-  ( ph  ->  prod_ k  e.  A  ( 1  /  B )  =  (
 1  /  prod_ k  e.  A  B ) )
 
26-Aug-2024exmidontri2or 7614 Ordinal trichotomy is equivalent to excluded middle. (Contributed by Jim Kingdon, 26-Aug-2024.)
 |-  (EXMID  <->  A. x  e.  On  A. y  e.  On  ( x  C_  y  \/  y  C_  x ) )
 
26-Aug-2024exmidontri 7610 Ordinal trichotomy is equivalent to excluded middle. (Contributed by Jim Kingdon, 26-Aug-2024.)
 |-  (EXMID  <->  A. x  e.  On  A. y  e.  On  ( x  e.  y  \/  x  =  y  \/  y  e.  x )
 )
 
26-Aug-2024ontri2orexmidim 4721 Ordinal trichotomy implies excluded middle. Closed form of ordtri2or2exmid 4720. (Contributed by Jim Kingdon, 26-Aug-2024.)
 |-  ( A. x  e. 
 On  A. y  e.  On  ( x  C_  y  \/  y  C_  x )  -> DECID  ph )
 
26-Aug-2024ontriexmidim 4671 Ordinal trichotomy implies excluded middle. Closed form of ordtriexmid 4670. (Contributed by Jim Kingdon, 26-Aug-2024.)
 |-  ( A. x  e. 
 On  A. y  e.  On  ( x  e.  y  \/  x  =  y  \/  y  e.  x )  -> DECID  ph )
 
25-Aug-2024onntri2or 7617 Double negated ordinal trichotomy. (Contributed by Jim Kingdon, 25-Aug-2024.)
 |-  ( -.  -. EXMID  <->  A. x  e.  On  A. y  e.  On  -.  -.  ( x  C_  y  \/  y  C_  x ) )
 
25-Aug-2024onntri3or 7616 Double negated ordinal trichotomy. (Contributed by Jim Kingdon, 25-Aug-2024.)
 |-  ( -.  -. EXMID  <->  A. x  e.  On  A. y  e.  On  -.  -.  ( x  e.  y  \/  x  =  y  \/  y  e.  x ) )
 
25-Aug-2024csbcow 3158 Composition law for chained substitutions into a class. Version of csbco 3157 with a disjoint variable condition, which requires fewer axioms. (Contributed by NM, 10-Nov-2005.) (Revised by GG, 25-Aug-2024.)
 |-  [_ A  /  y ]_ [_ y  /  x ]_ B  =  [_ A  /  x ]_ B
 
25-Aug-2024cbvreuvw 2792 Version of cbvreuv 2788 with a disjoint variable condition. (Contributed by GG, 10-Jan-2024.) Reduce axiom usage. (Revised by GG, 25-Aug-2024.)
 |-  ( x  =  y 
 ->  ( ph  <->  ps ) )   =>    |-  ( E! x  e.  A  ph  <->  E! y  e.  A  ps )
 
25-Aug-2024cbvrexvw 2791 Version of cbvrexv 2787 with a disjoint variable condition. (Contributed by GG, 10-Jan-2024.) Reduce axiom usage. (Revised by GG, 25-Aug-2024.)
 |-  ( x  =  y 
 ->  ( ph  <->  ps ) )   =>    |-  ( E. x  e.  A  ph  <->  E. y  e.  A  ps )
 
25-Aug-2024cbvralvw 2790 Version of cbvralv 2786 with a disjoint variable condition. (Contributed by GG, 10-Jan-2024.) Reduce axiom usage. (Revised by GG, 25-Aug-2024.)
 |-  ( x  =  y 
 ->  ( ph  <->  ps ) )   =>    |-  ( A. x  e.  A  ph  <->  A. y  e.  A  ps )
 
25-Aug-2024cbvabw 2363 Version of cbvab 2364 with a disjoint variable condition. (Contributed by GG, 10-Jan-2024.) Reduce axiom usage. (Revised by GG, 25-Aug-2024.)
 |- 
 F/ y ph   &    |-  F/ x ps   &    |-  ( x  =  y  ->  (
 ph 
 <->  ps ) )   =>    |-  { x  |  ph
 }  =  { y  |  ps }
 
25-Aug-2024nfsbv 2007 If  z is not free in  ph, it is not free in  [ y  /  x ] ph when  z is distinct from  x and  y. Version of nfsb 2006 requiring more disjoint variables. (Contributed by Wolf Lammen, 7-Feb-2023.) Remove disjoint variable condition on  x ,  y. (Revised by Steven Nguyen, 13-Aug-2023.) Reduce axiom usage. (Revised by GG, 25-Aug-2024.)
 |- 
 F/ z ph   =>    |- 
 F/ z [ y  /  x ] ph
 
25-Aug-2024cbvexvw 1976 Change bound variable. See cbvexv 1974 for a version with fewer disjoint variable conditions. (Contributed by NM, 19-Apr-2017.) Avoid ax-7 1501. (Revised by GG, 25-Aug-2024.)
 |-  ( x  =  y 
 ->  ( ph  <->  ps ) )   =>    |-  ( E. x ph  <->  E. y ps )
 
25-Aug-2024cbvalvw 1975 Change bound variable. See cbvalv 1973 for a version with fewer disjoint variable conditions. (Contributed by NM, 9-Apr-2017.) Avoid ax-7 1501. (Revised by GG, 25-Aug-2024.)
 |-  ( x  =  y 
 ->  ( ph  <->  ps ) )   =>    |-  ( A. x ph  <->  A. y ps )
 
25-Aug-2024nfal 1629 If  x is not free in  ph, it is not free in  A. y ph. (Contributed by Mario Carneiro, 11-Aug-2016.) Remove dependency on ax-4 1563. (Revised by GG, 25-Aug-2024.)
 |- 
 F/ x ph   =>    |- 
 F/ x A. y ph
 
24-Aug-2024gcdcomd 12781 The  gcd operator is commutative, deduction version. (Contributed by SN, 24-Aug-2024.)
 |-  ( ph  ->  M  e.  ZZ )   &    |-  ( ph  ->  N  e.  ZZ )   =>    |-  ( ph  ->  ( M  gcd  N )  =  ( N  gcd  M ) )
 
22-Aug-2024fsetdmprc0 6960 The set of functions with a proper class as domain is empty. (Contributed by AV, 22-Aug-2024.)
 |-  ( A  e/  _V  ->  { f  |  f  Fn  A }  =  (/) )
 
22-Aug-2024abanssr 3502 A class abstraction with a conjunction is a subset of the class abstraction with the right conjunct only. (Contributed by AV, 7-Aug-2024.) (Proof shortened by SN, 22-Aug-2024.)
 |- 
 { f  |  (
 ph  /\  ps ) }  C_  { f  |  ps }
 
22-Aug-2024abanssl 3501 A class abstraction with a conjunction is a subset of the class abstraction with the left conjunct only. (Contributed by AV, 7-Aug-2024.) (Proof shortened by SN, 22-Aug-2024.)
 |- 
 { f  |  (
 ph  /\  ps ) }  C_  { f  | 
 ph }
 
21-Aug-2024dvds2addd 12626 Deduction form of dvds2add 12622. (Contributed by SN, 21-Aug-2024.)
 |-  ( ph  ->  K  e.  ZZ )   &    |-  ( ph  ->  M  e.  ZZ )   &    |-  ( ph  ->  N  e.  ZZ )   &    |-  ( ph  ->  K  ||  M )   &    |-  ( ph  ->  K 
 ||  N )   =>    |-  ( ph  ->  K 
 ||  ( M  +  N ) )
 
20-Aug-2024rspcedvdw 2936 Version of rspcedvd 2935 where the implicit substitution hypothesis does not have an antecedent, which also avoids a disjoint variable condition on  ph ,  x. (Contributed by SN, 20-Aug-2024.)
 |-  ( x  =  A  ->  ( ps  <->  ch ) )   &    |-  ( ph  ->  A  e.  B )   &    |-  ( ph  ->  ch )   =>    |-  ( ph  ->  E. x  e.  B  ps )
 
18-Aug-2024prdsmulr 14290 Multiplication in a structure product. (Contributed by Mario Carneiro, 11-Jan-2015.) (Revised by Mario Carneiro, 15-Aug-2015.) (Revised by Thierry Arnoux, 16-Jun-2019.) (Revised by Zhi Wang, 18-Aug-2024.)
 |-  P  =  ( S
 X_s
 R )   &    |-  ( ph  ->  S  e.  V )   &    |-  ( ph  ->  R  e.  W )   &    |-  B  =  ( Base `  P )   &    |-  ( ph  ->  dom 
 R  =  I )   &    |-  .x. 
 =  ( .r `  P )   =>    |-  ( ph  ->  .x.  =  ( f  e.  B ,  g  e.  B  |->  ( x  e.  I  |->  ( ( f `  x ) ( .r
 `  ( R `  x ) ) ( g `  x ) ) ) ) )
 
18-Aug-2024prdsplusg 14289 Addition in a structure product. (Contributed by Stefan O'Rear, 3-Jan-2015.) (Revised by Mario Carneiro, 15-Aug-2015.) (Revised by Thierry Arnoux, 16-Jun-2019.) (Revised by Zhi Wang, 18-Aug-2024.)
 |-  P  =  ( S
 X_s
 R )   &    |-  ( ph  ->  S  e.  V )   &    |-  ( ph  ->  R  e.  W )   &    |-  B  =  ( Base `  P )   &    |-  ( ph  ->  dom 
 R  =  I )   &    |-  .+  =  ( +g  `  P )   =>    |-  ( ph  ->  .+  =  ( f  e.  B ,  g  e.  B  |->  ( x  e.  I  |->  ( ( f `  x ) ( +g  `  ( R `  x ) ) ( g `
  x ) ) ) ) )
 
18-Aug-2024prdsbas 14288 Base set of a structure product. (Contributed by Stefan O'Rear, 3-Jan-2015.) (Revised by Mario Carneiro, 15-Aug-2015.) (Revised by Thierry Arnoux, 16-Jun-2019.) (Revised by Zhi Wang, 18-Aug-2024.)
 |-  P  =  ( S
 X_s
 R )   &    |-  ( ph  ->  S  e.  V )   &    |-  ( ph  ->  R  e.  W )   &    |-  B  =  ( Base `  P )   &    |-  ( ph  ->  dom 
 R  =  I )   =>    |-  ( ph  ->  B  =  X_ x  e.  I  (
 Base `  ( R `  x ) ) )
 
18-Aug-2024prdssca 14287 Scalar ring of a structure product. (Contributed by Stefan O'Rear, 5-Jan-2015.) (Revised by Mario Carneiro, 15-Aug-2015.) (Revised by Thierry Arnoux, 16-Jun-2019.) (Revised by Zhi Wang, 18-Aug-2024.)
 |-  P  =  ( S
 X_s
 R )   &    |-  ( ph  ->  S  e.  V )   &    |-  ( ph  ->  R  e.  W )   =>    |-  ( ph  ->  S  =  (Scalar `  P )
 )
 
18-Aug-2024prdsval 14285 Value of the structure product. (Contributed by Stefan O'Rear, 3-Jan-2015.) (Revised by Mario Carneiro, 7-Jan-2017.) (Revised by Thierry Arnoux, 16-Jun-2019.) (Revised by Zhi Wang, 18-Aug-2024.)
 |-  P  =  ( S
 X_s
 R )   &    |-  K  =  (
 Base `  S )   &    |-  ( ph  ->  dom  R  =  I )   &    |-  ( ph  ->  B  =  X_ x  e.  I  ( Base `  ( R `  x ) ) )   &    |-  ( ph  ->  .+  =  ( f  e.  B ,  g  e.  B  |->  ( x  e.  I  |->  ( ( f `  x ) ( +g  `  ( R `  x ) ) ( g `  x ) ) ) ) )   &    |-  ( ph  ->  .X. 
 =  ( f  e.  B ,  g  e.  B  |->  ( x  e.  I  |->  ( ( f `
  x ) ( .r `  ( R `
  x ) ) ( g `  x ) ) ) ) )   &    |-  ( ph  ->  .x. 
 =  ( f  e.  K ,  g  e.  B  |->  ( x  e.  I  |->  ( f ( .s `  ( R `
  x ) ) ( g `  x ) ) ) ) )   &    |-  ( ph  ->  .,  =  ( f  e.  B ,  g  e.  B  |->  ( S  gsumg  ( x  e.  I  |->  ( ( f `  x ) ( .i `  ( R `  x ) ) ( g `  x ) ) ) ) ) )   &    |-  ( ph  ->  O  =  ( Xt_ `  ( TopOpen  o.  R ) ) )   &    |-  ( ph  ->  .<_  =  { <. f ,  g >.  |  ( { f ,  g }  C_  B  /\  A. x  e.  I  ( f `  x ) ( le `  ( R `  x ) ) ( g `  x ) ) } )   &    |-  ( ph  ->  D  =  ( f  e.  B ,  g  e.  B  |->  sup (
 ( ran  ( x  e.  I  |->  ( ( f `  x ) ( dist `  ( R `  x ) ) ( g `  x ) ) )  u.  {
 0 } ) , 
 RR* ,  <  ) ) )   &    |-  ( ph  ->  H  =  ( f  e.  B ,  g  e.  B  |->  X_ x  e.  I  ( ( f `  x ) ( Hom  `  ( R `  x ) ) ( g `
  x ) ) ) )   &    |-  ( ph  ->  .xb 
 =  ( a  e.  ( B  X.  B ) ,  c  e.  B  |->  ( d  e.  ( ( 2nd `  a
 ) H c ) ,  e  e.  ( H `  a )  |->  ( x  e.  I  |->  ( ( d `  x ) ( <. ( ( 1st `  a ) `  x ) ,  (
 ( 2nd `  a ) `  x ) >. (comp `  ( R `  x ) ) ( c `  x ) ) ( e `  x ) ) ) ) ) )   &    |-  ( ph  ->  S  e.  W )   &    |-  ( ph  ->  R  e.  Z )   =>    |-  ( ph  ->  P  =  ( ( { <. (
 Base `  ndx ) ,  B >. ,  <. ( +g  ` 
 ndx ) ,  .+  >. ,  <. ( .r `  ndx ) ,  .X.  >. }  u.  {
 <. (Scalar `  ndx ) ,  S >. ,  <. ( .s
 `  ndx ) ,  .x.  >. ,  <. ( .i `  ndx ) ,  .,  >. } )  u.  ( { <. (TopSet `  ndx ) ,  O >. , 
 <. ( le `  ndx ) ,  .<_  >. ,  <. (
 dist `  ndx ) ,  D >. }  u.  { <. ( Hom  `  ndx ) ,  H >. , 
 <. (comp `  ndx ) , 
 .xb  >. } ) ) )
 
18-Aug-2024df-prds 14282 Define a structure product. This can be a product of groups, rings, modules, or ordered topological fields; any unused components will have garbage in them but this is usually not relevant for the purpose of inheriting the structures present in the factors. (Contributed by Stefan O'Rear, 3-Jan-2015.) (Revised by Thierry Arnoux, 15-Jun-2019.) (Revised by Zhi Wang, 18-Aug-2024.)
 |-  X_s  =  ( s  e.  _V ,  r  e.  _V  |->  [_ X_ x  e.  dom  r ( Base `  (
 r `  x )
 )  /  v ]_ [_ ( f  e.  v ,  g  e.  v  |->  X_ x  e.  dom  r ( ( f `
  x ) ( Hom  `  ( r `  x ) ) ( g `  x ) ) )  /  h ]_ ( ( { <. (
 Base `  ndx ) ,  v >. ,  <. ( +g  ` 
 ndx ) ,  (
 f  e.  v ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( ( f `  x ) ( +g  `  ( r `  x ) ) ( g `
  x ) ) ) ) >. ,  <. ( .r `  ndx ) ,  ( f  e.  v ,  g  e.  v  |->  ( x  e.  dom  r  |->  ( ( f `
  x ) ( .r `  ( r `
  x ) ) ( g `  x ) ) ) )
 >. }  u.  { <. (Scalar `  ndx ) ,  s >. ,  <. ( .s `  ndx ) ,  ( f  e.  ( Base `  s
 ) ,  g  e.  v  |->  ( x  e. 
 dom  r  |->  ( f ( .s `  (
 r `  x )
 ) ( g `  x ) ) ) ) >. ,  <. ( .i
 `  ndx ) ,  (
 f  e.  v ,  g  e.  v  |->  ( s  gsumg  ( x  e.  dom  r  |->  ( ( f `
  x ) ( .i `  ( r `
  x ) ) ( g `  x ) ) ) ) ) >. } )  u.  ( { <. (TopSet `  ndx ) ,  ( Xt_ `  ( TopOpen  o.  r )
 ) >. ,  <. ( le ` 
 ndx ) ,  { <. f ,  g >.  |  ( { f ,  g }  C_  v  /\  A. x  e.  dom  r ( f `  x ) ( le `  ( r `  x ) ) ( g `
  x ) ) } >. ,  <. ( dist ` 
 ndx ) ,  (
 f  e.  v ,  g  e.  v  |->  sup ( ( ran  ( x  e.  dom  r  |->  ( ( f `  x ) ( dist `  (
 r `  x )
 ) ( g `  x ) ) )  u.  { 0 } ) ,  RR* ,  <  ) ) >. }  u.  { <. ( Hom  `  ndx ) ,  h >. , 
 <. (comp `  ndx ) ,  ( a  e.  (
 v  X.  v ) ,  c  e.  v  |->  ( d  e.  (
 ( 2nd `  a ) h c ) ,  e  e.  ( h `
  a )  |->  ( x  e.  dom  r  |->  ( ( d `  x ) ( <. ( ( 1st `  a
 ) `  x ) ,  ( ( 2nd `  a
 ) `  x ) >. (comp `  ( r `  x ) ) ( c `  x ) ) ( e `  x ) ) ) ) ) >. } )
 ) )
 
17-Aug-2024fprodcl2lem 12402 Finite product closure lemma. (Contributed by Scott Fenton, 14-Dec-2017.) (Revised by Jim Kingdon, 17-Aug-2024.)
 |-  ( ph  ->  S  C_ 
 CC )   &    |-  ( ( ph  /\  ( x  e.  S  /\  y  e.  S ) )  ->  ( x  x.  y )  e.  S )   &    |-  ( ph  ->  A  e.  Fin )   &    |-  (
 ( ph  /\  k  e.  A )  ->  B  e.  S )   &    |-  ( ph  ->  A  =/=  (/) )   =>    |-  ( ph  ->  prod_ k  e.  A  B  e.  S )
 
16-Aug-2024fprodunsn 12401 Multiply in an additional term in a finite product. See also fprodsplitsn 12430 which is the same but with a  F/ k
ph hypothesis in place of the distinct variable condition between  ph and  k. (Contributed by Jim Kingdon, 16-Aug-2024.)
 |-  F/_ k D   &    |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  B  e.  V )   &    |-  ( ph  ->  -.  B  e.  A )   &    |-  ( ( ph  /\  k  e.  A ) 
 ->  C  e.  CC )   &    |-  ( ph  ->  D  e.  CC )   &    |-  ( k  =  B  ->  C  =  D )   =>    |-  ( ph  ->  prod_ k  e.  ( A  u.  { B } ) C  =  ( prod_ k  e.  A  C  x.  D ) )
 
16-Aug-2024if0ab 3641 Expression of a conditional class as a class abstraction when the False alternative is the empty class: in that case, the conditional class is the extension, in the True alternative, of the condition. (Contributed by BJ, 16-Aug-2024.)
 |- 
 if ( ph ,  A ,  (/) )  =  { x  e.  A  |  ph }
 
15-Aug-2024bj-charfundcALT 17124 Alternate proof of bj-charfundc 17123. It was expected to be much shorter since it uses bj-charfun 17122 for the main part of the proof and the rest is basic computations, but these turn out to be lengthy, maybe because of the limited library of available lemmas. (Contributed by BJ, 15-Aug-2024.) (Proof modification is discouraged.) (New usage is discouraged.)
 |-  ( ph  ->  F  =  ( x  e.  X  |->  if ( x  e.  A ,  1o ,  (/) ) ) )   &    |-  ( ph  ->  A. x  e.  X DECID  x  e.  A )   =>    |-  ( ph  ->  ( F : X --> 2o  /\  ( A. x  e.  ( X  i^i  A ) ( F `  x )  =  1o  /\  A. x  e.  ( X  \  A ) ( F `
  x )  =  (/) ) ) )
 
15-Aug-2024bj-charfun 17122 Properties of the characteristic function on the class  X of the class  A. (Contributed by BJ, 15-Aug-2024.)
 |-  ( ph  ->  F  =  ( x  e.  X  |->  if ( x  e.  A ,  1o ,  (/) ) ) )   =>    |-  ( ph  ->  (
 ( F : X --> ~P 1o  /\  ( F  |`  ( ( X  i^i  A )  u.  ( X 
 \  A ) ) ) : ( ( X  i^i  A )  u.  ( X  \  A ) ) --> 2o )  /\  ( A. x  e.  ( X  i^i  A ) ( F `  x )  =  1o  /\ 
 A. x  e.  ( X  \  A ) ( F `  x )  =  (/) ) ) )
 
15-Aug-2024cnstab 8987 Equality of complex numbers is stable. Stability here means  -.  -.  A  =  B  ->  A  =  B as defined at df-stab 843. This theorem for real numbers is Proposition 5.2 of [BauerHanson], p. 27. (Contributed by Jim Kingdon, 1-Aug-2023.) (Proof shortened by BJ, 15-Aug-2024.)
 |-  ( ( A  e.  CC  /\  B  e.  CC )  -> STAB 
 A  =  B )
 
15-Aug-2024subap0d 8986 Two numbers apart from each other have difference apart from zero. (Contributed by Jim Kingdon, 12-Aug-2021.) (Proof shortened by BJ, 15-Aug-2024.)
 |-  ( ph  ->  A  e.  CC )   &    |-  ( ph  ->  B  e.  CC )   &    |-  ( ph  ->  A #  B )   =>    |-  ( ph  ->  ( A  -  B ) #  0 )
 
15-Aug-2024ifexd 4632 Existence of a conditional class (deduction form). (Contributed by BJ, 15-Aug-2024.)
 |-  ( ph  ->  A  e.  V )   &    |-  ( ph  ->  B  e.  W )   =>    |-  ( ph  ->  if ( ps ,  A ,  B )  e.  _V )
 
15-Aug-2024ifelpwun 4631 Existence of a conditional class, quantitative version (inference form). (Contributed by BJ, 15-Aug-2024.)
 |-  A  e.  _V   &    |-  B  e.  _V   =>    |- 
 if ( ph ,  A ,  B )  e.  ~P ( A  u.  B )
 
15-Aug-2024ifelpwund 4630 Existence of a conditional class, quantitative version (deduction form). (Contributed by BJ, 15-Aug-2024.)
 |-  ( ph  ->  A  e.  V )   &    |-  ( ph  ->  B  e.  W )   =>    |-  ( ph  ->  if ( ps ,  A ,  B )  e.  ~P ( A  u.  B ) )
 
15-Aug-2024ifelpwung 4629 Existence of a conditional class, quantitative version (closed form). (Contributed by BJ, 15-Aug-2024.)
 |-  ( ( A  e.  V  /\  B  e.  W )  ->  if ( ph ,  A ,  B )  e.  ~P ( A  u.  B ) )
 
15-Aug-2024ifidss 3656 A conditional class whose two alternatives are equal is included in that alternative. With excluded middle, we can prove it is equal to it. (Contributed by BJ, 15-Aug-2024.)
 |- 
 if ( ph ,  A ,  A )  C_  A
 
15-Aug-2024ifssun 3655 A conditional class is included in the union of its two alternatives. (Contributed by BJ, 15-Aug-2024.)
 |- 
 if ( ph ,  A ,  B )  C_  ( A  u.  B )
 
14-Aug-2024hashf1lem1 11312 Lemma for hashf1 11314. (Contributed by Mario Carneiro, 17-Apr-2015.) (Proof shortened by AV, 14-Aug-2024.)
 |-  ( ph  ->  A  e.  Fin )   &    |-  ( ph  ->  B  e.  Fin )   &    |-  ( ph  ->  -.  z  e.  A )   &    |-  ( ph  ->  ( (♯ `  A )  +  1 )  <_  (♯ `  B ) )   &    |-  ( ph  ->  F : A -1-1-> B )   =>    |-  ( ph  ->  { f  |  ( ( f  |`  A )  =  F  /\  f : ( A  u.  { z }
 ) -1-1-> B ) }  ~~  ( B  \  ran  F ) )
 
14-Aug-2024f1setexg 6961 The set of injections between two sets exists. (Contributed by AV, 14-Aug-2024.)
 |-  ( ( A  e.  V  /\  B  e.  W )  ->  { f  |  f : A -1-1-> B }  e.  _V )
 
12-Aug-2024exmidontriimlem2 7590 Lemma for exmidontriim 7593. (Contributed by Jim Kingdon, 12-Aug-2024.)
 |-  ( ph  ->  B  e.  On )   &    |-  ( ph  -> EXMID )   &    |-  ( ph  ->  A. y  e.  B  ( A  e.  y  \/  A  =  y  \/  y  e.  A ) )   =>    |-  ( ph  ->  ( A  e.  B  \/  A. y  e.  B  y  e.  A ) )
 
12-Aug-2024exmidontriimlem1 7589 Lemma for exmidontriim 7593. A variation of r19.30dc 2698. (Contributed by Jim Kingdon, 12-Aug-2024.)
 |-  ( ( A. x  e.  A  ( ph  \/  ps 
 \/  ch )  /\ EXMID )  ->  ( E. x  e.  A  ph  \/  E. x  e.  A  ps  \/  A. x  e.  A  ch ) )
 
11-Aug-2024nndc 863 Double negation of decidability of a formula. Intuitionistic logic refutes the negation of decidability (but does not prove decidability) of any formula.

This should not trick the reader into thinking that  -.  -. EXMID is provable in intuitionistic logic. Indeed, if we could quantify over formula metavariables, then generalizing nnexmid 862 over  ph would give " |-  A. ph -.  -. DECID  ph", but EXMID is " A. phDECID 
ph", so proving 
-.  -. EXMID would amount to proving " -.  -.  A. phDECID  ph", which is not implied by the above theorem. Indeed, the converse of nnal 1702 does not hold. Since our system does not allow quantification over formula metavariables, we can reproduce this argument by representing formulas as subsets of  ~P 1o, like we do in our definition of EXMID (df-exmid 4334): then, we can prove  A. x  e. 
~P 1o -.  -. DECID  x  =  1o but we cannot prove  -.  -.  A. x  e.  ~P 1oDECID  x  =  1o because the converse of nnral 2540 does not hold.

Actually,  -.  -. EXMID is not provable in intuitionistic logic since intuitionistic logic has models satisfying  -. EXMID and noncontradiction holds (pm3.24 705). (Contributed by BJ, 9-Oct-2019.) Add explanation on non-provability of  -. 
-. EXMID. (Revised by BJ, 11-Aug-2024.)

 |- 
 -.  -. DECID  ph
 
10-Aug-2024exmidontriim 7593 Excluded middle implies ordinal trichotomy. Lemma 10.4.1 of [HoTT], p. (varies). The proof follows the proof from the HoTT book fairly closely. (Contributed by Jim Kingdon, 10-Aug-2024.)
 |-  (EXMID 
 ->  A. x  e.  On  A. y  e.  On  ( x  e.  y  \/  x  =  y  \/  y  e.  x )
 )
 
10-Aug-2024exmidontriimlem4 7592 Lemma for exmidontriim 7593. The induction step for the induction on  A. (Contributed by Jim Kingdon, 10-Aug-2024.)
 |-  ( ph  ->  A  e.  On )   &    |-  ( ph  ->  B  e.  On )   &    |-  ( ph  -> EXMID
 )   &    |-  ( ph  ->  A. z  e.  A  A. y  e. 
 On  ( z  e.  y  \/  z  =  y  \/  y  e.  z ) )   =>    |-  ( ph  ->  ( A  e.  B  \/  A  =  B  \/  B  e.  A )
 )
 
10-Aug-2024exmidontriimlem3 7591 Lemma for exmidontriim 7593. What we get to do based on induction on both  A and  B. (Contributed by Jim Kingdon, 10-Aug-2024.)
 |-  ( ph  ->  A  e.  On )   &    |-  ( ph  ->  B  e.  On )   &    |-  ( ph  -> EXMID
 )   &    |-  ( ph  ->  A. z  e.  A  A. y  e. 
 On  ( z  e.  y  \/  z  =  y  \/  y  e.  z ) )   &    |-  ( ph  ->  A. y  e.  B  ( A  e.  y  \/  A  =  y  \/  y  e.  A ) )   =>    |-  ( ph  ->  ( A  e.  B  \/  A  =  B  \/  B  e.  A )
 )
 
10-Aug-2024nnnninf2 7479 Canonical embedding of  suc  om into ℕ∞. (Contributed by BJ, 10-Aug-2024.)
 |-  ( N  e.  suc  om 
 ->  ( i  e.  om  |->  if ( i  e.  N ,  1o ,  (/) ) )  e. ℕ∞ )
 
10-Aug-2024infnninf 7476 The point at infinity in ℕ∞ is the constant sequence equal to  1o. Note that with our encoding of functions, that constant function can also be expressed as  ( om  X.  { 1o } ), as fconstmpt 4824 shows. (Contributed by Jim Kingdon, 14-Jul-2022.) Use maps-to notation. (Revised by BJ, 10-Aug-2024.)
 |-  ( i  e.  om  |->  1o )  e. ℕ∞
 
10-Aug-2024mapssfsetg 6956 The value of the set exponentiation 
( B  ^m  A
) is a subset of the class of functions from  A to  B. (Contributed by AV, 10-Aug-2024.)
 |-  ( B  e.  V  ->  ( B  ^m  A )  C_  { f  |  f : A --> B }
 )
 
9-Aug-2024ss1o0el1o 7231 Reformulation of ss1o0el1 4336 using  1o instead of 
{ (/) }. (Contributed by BJ, 9-Aug-2024.)
 |-  ( A  C_  1o  ->  ( (/)  e.  A  <->  A  =  1o ) )
 
9-Aug-2024pw1dc0el 7229 Another equivalent of excluded middle, which is a mere reformulation of the definition. (Contributed by BJ, 9-Aug-2024.)
 |-  (EXMID  <->  A. x  e.  ~P  1oDECID  (/)  e.  x )
 
9-Aug-2024ss1o0el1 4336 A subclass of  { (/) } contains the empty set if and only if it equals  { (/) }. (Contributed by BJ and Jim Kingdon, 9-Aug-2024.)
 |-  ( A  C_  { (/) }  ->  ( (/)  e.  A  <->  A  =  { (/)
 } ) )
 
8-Aug-2024pw1dc1 7232 If, in the set of truth values (the powerset of 1o), equality to 1o is decidable, then excluded middle holds (and conversely). (Contributed by BJ and Jim Kingdon, 8-Aug-2024.)
 |-  (EXMID  <->  A. x  e.  ~P  1oDECID  x  =  1o )
 
8-Aug-2024mapfset 6955 If  B is a set, the value of the set exponentiation  ( B  ^m  A
) is the class of all functions from  A to  B. Generalisation of mapvalg 6942 to arbitrary domains. Note that the class  { f  |  f : A --> B } can only contain set-functions, as opposed to arbitrary class-functions. When  A is a proper class, there can be no set-functions on it, so the above class is empty (see also fsetdmprc0 6960), hence a set. In this case, both sides of the equality in this theorem are the empty set. (Contributed by AV, 8-Aug-2024.)
 |-  ( B  e.  V  ->  { f  |  f : A --> B }  =  ( B  ^m  A ) )
 
8-Aug-2024fdmexb 5946 The domain of a function is a set iff the function is a set. (Contributed by AV, 8-Aug-2024.)
 |-  ( F : A --> B  ->  ( A  e.  _V  <->  F  e.  _V ) )
 
8-Aug-2024fndmexb 5945 The domain of a function is a set iff the function is a set. (Contributed by AV, 8-Aug-2024.)
 |-  ( F  Fn  A  ->  ( A  e.  _V  <->  F  e.  _V ) )
 
7-Aug-2024psrbagev2fi 15282 Closure of a sum using a bag of multipliers. (Contributed by Stefan O'Rear, 9-Mar-2015.) (Proof shortened by AV, 18-Jul-2019.) (Revised by AV, 11-Apr-2024.) Remove a sethood hypothesis. (Revised by SN, 7-Aug-2024.)
 |-  C  =  ( Base `  T )   &    |-  .x.  =  (.g `  T )   &    |-  ( ph  ->  T  e. CMnd )   &    |-  ( ph  ->  I  e.  Fin )   &    |-  ( ph  ->  B  e.  ( NN0  ^m  I ) )   &    |-  ( ph  ->  G : I
 --> C )   =>    |-  ( ph  ->  ( T  gsumg  ( B  oF  .x.  G ) )  e.  C )
 
7-Aug-2024psrbagev1fi 15281 A bag of multipliers provides the conditions for a valid sum. (Contributed by Stefan O'Rear, 9-Mar-2015.) (Revised by AV, 18-Jul-2019.) (Revised by AV, 11-Apr-2024.) Remove a sethood hypothesis. (Revised by SN, 7-Aug-2024.)
 |-  C  =  ( Base `  T )   &    |-  .x.  =  (.g `  T )   &    |-  .0.  =  ( 0g `  T )   &    |-  ( ph  ->  T  e. CMnd )   &    |-  ( ph  ->  I  e.  Fin )   &    |-  ( ph  ->  B  e.  ( NN0  ^m  I
 ) )   &    |-  ( ph  ->  G : I --> C )   =>    |-  ( ph  ->  ( ( B  oF  .x.  G ) : I --> C  /\  ( B  oF  .x.  G ) finSupp  .0.  )
 )
 
7-Aug-2024psrass1filem 15203 A group sum commutation used by psrass1fi 15235. (Contributed by Mario Carneiro, 5-Jan-2015.) Remove a sethood hypothesis. (Revised by SN, 7-Aug-2024.)
 |-  D  =  { f  e.  ( NN0  ^m  I
 )  |  ( `' f " NN )  e.  Fin }   &    |-  S  =  {
 y  e.  D  |  y  oR  <_  F }   &    |-  ( ph  ->  F  e.  D )   &    |-  B  =  (
 Base `  G )   &    |-  ( ph  ->  G  e. CMnd )   &    |-  ( ph  ->  I  e.  Fin )   &    |-  ( ( ph  /\  (
 j  e.  S  /\  k  e.  { x  e.  D  |  x  oR  <_  ( F  oF  -  j ) } ) )  ->  X  e.  B )   &    |-  (
 k  =  ( n  oF  -  j
 )  ->  X  =  Y )   =>    |-  ( ph  ->  ( G  gsumg  ( n  e.  S  |->  ( G  gsumg  ( j  e.  { x  e.  D  |  x  oR  <_  n }  |->  Y ) ) ) )  =  ( G  gsumg  ( j  e.  S  |->  ( G  gsumg  ( k  e.  { x  e.  D  |  x  oR  <_  ( F  oF  -  j
 ) }  |->  X ) ) ) ) )
 
7-Aug-2024pw1fin 7228 Excluded middle is equivalent to the power set of  1o being finite. (Contributed by SN and Jim Kingdon, 7-Aug-2024.)
 |-  (EXMID  <->  ~P 1o  e.  Fin )
 
7-Aug-2024mapfoss 6957 The value of the set exponentiation 
( B  ^m  A
) is a superset of the set of all functions from  A onto  B. (Contributed by AV, 7-Aug-2024.)
 |- 
 { f  |  f : A -onto-> B }  C_  ( B  ^m  A )
 
7-Aug-2024elomssom 4754 A natural number ordinal is, as a set, included in the set of natural number ordinals. (Contributed by NM, 21-Jun-1998.) Extract this result from the previous proof of elnn 4755. (Revised by BJ, 7-Aug-2024.)
 |-  ( A  e.  om  ->  A  C_  om )
 
6-Aug-2024bj-charfunbi 17126 In an ambient set  X, if membership in  A is stable, then it is decidable if and only if  A has a characteristic function.

This characterization can be applied to singletons when the set  X has stable equality, which is the case as soon as it has a tight apartness relation. (Contributed by BJ, 6-Aug-2024.)

 |-  ( ph  ->  X  e.  V )   &    |-  ( ph  ->  A. x  e.  X STAB  x  e.  A )   =>    |-  ( ph  ->  ( A. x  e.  X DECID  x  e.  A 
 <-> 
 E. f  e.  ( 2o  ^m  X ) (
 A. x  e.  ( X  i^i  A ) ( f `  x )  =  1o  /\  A. x  e.  ( X  \  A ) ( f `
  x )  =  (/) ) ) )
 
6-Aug-2024bj-charfunr 17125 If a class  A has a "weak" characteristic function on a class  X, then negated membership in 
A is decidable (in other words, membership in  A is testable) in  X.

The hypothesis imposes that 
X be a set. As usual, it could be formulated as  |-  ( ph  ->  ( F : X --> om  /\  ... ) ) to deal with general classes, but that extra generality would not make the theorem much more useful.

The theorem would still hold if the codomain of  f were any class with testable equality to the point where  ( X  \  A ) is sent. (Contributed by BJ, 6-Aug-2024.)

 |-  ( ph  ->  E. f  e.  ( om  ^m  X ) (
 A. x  e.  ( X  i^i  A ) ( f `  x )  =/=  (/)  /\  A. x  e.  ( X  \  A ) ( f `  x )  =  (/) ) )   =>    |-  ( ph  ->  A. x  e.  X DECID 
 -.  x  e.  A )
 
6-Aug-2024bj-charfundc 17123 Properties of the characteristic function on the class  X of the class  A, provided membership in  A is decidable in  X. (Contributed by BJ, 6-Aug-2024.)
 |-  ( ph  ->  F  =  ( x  e.  X  |->  if ( x  e.  A ,  1o ,  (/) ) ) )   &    |-  ( ph  ->  A. x  e.  X DECID  x  e.  A )   =>    |-  ( ph  ->  ( F : X --> 2o  /\  ( A. x  e.  ( X  i^i  A ) ( F `  x )  =  1o  /\  A. x  e.  ( X  \  A ) ( F `
  x )  =  (/) ) ) )
 
6-Aug-2024gsumbagdiagfi 15202 Two-dimensional commutation of a group sum over a "triangular" region. fisum0diag 12238 analogue for finite bags. (Contributed by Mario Carneiro, 5-Jan-2015.) Remove a sethood hypothesis. (Revised by SN, 6-Aug-2024.)
 |-  D  =  { f  e.  ( NN0  ^m  I
 )  |  ( `' f " NN )  e.  Fin }   &    |-  S  =  {
 y  e.  D  |  y  oR  <_  F }   &    |-  ( ph  ->  F  e.  D )   &    |-  B  =  (
 Base `  G )   &    |-  ( ph  ->  G  e. CMnd )   &    |-  ( ph  ->  I  e.  Fin )   &    |-  ( ( ph  /\  (
 j  e.  S  /\  k  e.  { x  e.  D  |  x  oR  <_  ( F  oF  -  j ) } ) )  ->  X  e.  B )   =>    |-  ( ph  ->  ( G  gsumg  ( j  e.  S ,  k  e.  { x  e.  D  |  x  oR  <_  ( F  oF  -  j ) }  |->  X ) )  =  ( G  gsumg  ( k  e.  S ,  j  e.  { x  e.  D  |  x  oR  <_  ( F  oF  -  k ) }  |->  X ) ) )
 
6-Aug-2024gsumbagdiaglem 15201 Lemma for gsumbagdiagfi 15202. (Contributed by Mario Carneiro, 5-Jan-2015.) Remove a sethood hypothesis. (Revised by SN, 6-Aug-2024.)
 |-  D  =  { f  e.  ( NN0  ^m  I
 )  |  ( `' f " NN )  e.  Fin }   &    |-  S  =  {
 y  e.  D  |  y  oR  <_  F }   &    |-  ( ph  ->  F  e.  D )   =>    |-  ( ( ph  /\  ( X  e.  S  /\  Y  e.  { x  e.  D  |  x  oR  <_  ( F  oF  -  X ) } ) )  ->  ( Y  e.  S  /\  X  e.  { x  e.  D  |  x  oR  <_  ( F  oF  -  Y ) } ) )
 
6-Aug-2024psrbagconf1o 15184 Bag complementation is a bijection on the set of bags dominated by a given bag  F. (Contributed by Mario Carneiro, 29-Dec-2014.) Remove a sethood antecedent. (Revised by SN, 6-Aug-2024.)
 |-  D  =  { f  e.  ( NN0  ^m  I
 )  |  ( `' f " NN )  e.  Fin }   &    |-  S  =  {
 y  e.  D  |  y  oR  <_  F }   =>    |-  ( F  e.  D  ->  ( x  e.  S  |->  ( F  oF  -  x ) ) : S -1-1-onto-> S )
 
6-Aug-2024psrbagconcl 15183 The complement of a bag is a bag. If the index set is finite, it may be more convenient to use psrbagconclfi 15189. (Contributed by Mario Carneiro, 29-Dec-2014.) Remove a sethood antecedent. (Revised by SN, 6-Aug-2024.)
 |-  D  =  { f  e.  ( NN0  ^m  I
 )  |  ( `' f " NN )  e.  Fin }   &    |-  S  =  {
 y  e.  D  |  y  oR  <_  F }   =>    |-  ( ( F  e.  D  /\  X  e.  S )  ->  ( F  oF  -  X )  e.  S )
 
6-Aug-2024prodssdc 12386 Change the index set to a subset in an upper integer product. (Contributed by Scott Fenton, 11-Dec-2017.) (Revised by Jim Kingdon, 6-Aug-2024.)
 |-  ( ph  ->  A  C_  B )   &    |-  ( ( ph  /\  k  e.  A ) 
 ->  C  e.  CC )   &    |-  ( ph  ->  E. n  e.  ( ZZ>=
 `  M ) E. y ( y #  0 
 /\  seq n (  x. 
 ,  ( k  e.  ( ZZ>= `  M )  |->  if ( k  e.  B ,  C , 
 1 ) ) )  ~~>  y ) )   &    |-  ( ph  ->  A. j  e.  ( ZZ>=
 `  M )DECID  j  e.  A )   &    |-  ( ph  ->  M  e.  ZZ )   &    |-  (
 ( ph  /\  k  e.  ( B  \  A ) )  ->  C  =  1 )   &    |-  ( ph  ->  B 
 C_  ( ZZ>= `  M ) )   &    |-  ( ph  ->  A. j  e.  ( ZZ>= `  M )DECID  j  e.  B )   =>    |-  ( ph  ->  prod_ k  e.  A  C  =  prod_ k  e.  B  C )
 
5-Aug-2024fnmptd 17121 The maps-to notation defines a function with domain (deduction form). (Contributed by BJ, 5-Aug-2024.)
 |-  ( ph  ->  F  =  ( x  e.  A  |->  B ) )   &    |-  ( ( ph  /\  x  e.  A ) 
 ->  B  e.  V )   =>    |-  ( ph  ->  F  Fn  A )
 
5-Aug-2024funmptd 17120 The maps-to notation defines a function (deduction form).

Note: one should similarly prove a deduction form of funopab4 5421, then prove funmptd 17120 from it, and then prove funmpt 5422 from that: this would reduce global proof length. (Contributed by BJ, 5-Aug-2024.)

 |-  ( ph  ->  F  =  ( x  e.  A  |->  B ) )   =>    |-  ( ph  ->  Fun  F )
 
5-Aug-2024bj-dcfal 17072 The false truth value is decidable. (Contributed by BJ, 5-Aug-2024.)
 |- DECID F.
 
5-Aug-2024bj-dctru 17070 The true truth value is decidable. (Contributed by BJ, 5-Aug-2024.)
 |- DECID T.
 
5-Aug-2024bj-stfal 17059 The false truth value is stable. (Contributed by BJ, 5-Aug-2024.)
 |- STAB F.
 
5-Aug-2024bj-sttru 17057 The true truth value is stable. (Contributed by BJ, 5-Aug-2024.)
 |- STAB T.
 
5-Aug-2024psrbagcon 15181 The analogue of the statement " 0  <_  G  <_  F implies  0  <_  F  -  G  <_  F " for finite bags. (Contributed by Mario Carneiro, 29-Dec-2014.) Remove a sethood antecedent. (Revised by SN, 5-Aug-2024.)
 |-  D  =  { f  e.  ( NN0  ^m  I
 )  |  ( `' f " NN )  e.  Fin }   =>    |-  ( ( F  e.  D  /\  G : I --> NN0  /\  G  oR  <_  F )  ->  (
 ( F  oF  -  G )  e.  D  /\  ( F  oF  -  G )  oR  <_  F ) )
 
5-Aug-2024psrbaglecl 15180 The set of finite bags is downward-closed. (Contributed by Mario Carneiro, 29-Dec-2014.) Remove a sethood antecedent. (Revised by SN, 5-Aug-2024.)
 |-  D  =  { f  e.  ( NN0  ^m  I
 )  |  ( `' f " NN )  e.  Fin }   =>    |-  ( ( F  e.  D  /\  G : I --> NN0  /\  G  oR  <_  F )  ->  G  e.  D )
 
5-Aug-2024psrbaglesupp 15179 The support of a dominated bag is smaller than the dominating bag. (Contributed by Mario Carneiro, 29-Dec-2014.) Remove a sethood antecedent. (Revised by SN, 5-Aug-2024.)
 |-  D  =  { f  e.  ( NN0  ^m  I
 )  |  ( `' f " NN )  e.  Fin }   =>    |-  ( ( F  e.  D  /\  G : I --> NN0  /\  G  oR  <_  F )  ->  ( `' G " NN )  C_  ( `' F " NN ) )
 
5-Aug-2024prod1dc 12383 Any product of one over a valid set is one. (Contributed by Scott Fenton, 7-Dec-2017.) (Revised by Jim Kingdon, 5-Aug-2024.)
 |-  ( ( ( M  e.  ZZ  /\  A  C_  ( ZZ>= `  M )  /\  A. j  e.  ( ZZ>=
 `  M )DECID  j  e.  A )  \/  A  e.  Fin )  ->  prod_ k  e.  A  1  =  1 )
 
5-Aug-2024fcdmnn0suppg 9633 Version of fcdmnn0supp 9632 avoiding ax-coll 4248 by assuming  F is a set rather than its domain  I. (Contributed by SN, 5-Aug-2024.)
 |-  ( ( F  e.  V  /\  F : I --> NN0 )  ->  ( F supp  0 )  =  ( `' F " NN )
 )
 
5-Aug-20242ssom 6807 The ordinal 2 is included in the set of natural number ordinals. (Contributed by BJ, 5-Aug-2024.)
 |- 
 2o  C_  om
 
5-Aug-2024suppssdc 6509 Show that the support of a function is contained in a set. (Contributed by Mario Carneiro, 19-Dec-2014.) (Revised by AV, 28-May-2019.) (Proof shortened by SN, 5-Aug-2024.)
 |-  ( ph  ->  F : A --> B )   &    |-  (
 ( ph  /\  k  e.  ( A  \  W ) )  ->  ( F `
  k )  =  Z )   &    |-  ( ph  ->  A. x  e.  A DECID  x  e.  W )   =>    |-  ( ph  ->  ( F supp  Z )  C_  W )
 
5-Aug-2024elsuppfng 6491 An element of the support of a function with a given domain. This version of elsuppfn 6492 assumes  F is a set rather than its domain  X, avoiding ax-coll 4248. (Contributed by SN, 5-Aug-2024.)
 |-  ( ( F  Fn  X  /\  F  e.  V  /\  Z  e.  W ) 
 ->  ( S  e.  ( F supp  Z )  <->  ( S  e.  X  /\  ( F `  S )  =/=  Z ) ) )
 
5-Aug-2024suppvalfng 6489 The value of the operation constructing the support of a function with a given domain. This version of suppvalfn 6490 assumes  F is a set rather than its domain  X, avoiding ax-coll 4248. (Contributed by SN, 5-Aug-2024.)
 |-  ( ( F  Fn  X  /\  F  e.  V  /\  Z  e.  W ) 
 ->  ( F supp  Z )  =  { i  e.  X  |  ( F `
  i )  =/= 
 Z } )
 
4-Aug-2024en3d 7066 Equinumerosity inference from an implicit one-to-one onto function. (Contributed by NM, 27-Jul-2004.) (Revised by Mario Carneiro, 12-May-2014.) (Revised by AV, 4-Aug-2024.)
 |-  ( ph  ->  A  e.  V )   &    |-  ( ph  ->  B  e.  W )   &    |-  ( ph  ->  ( x  e.  A  ->  C  e.  B ) )   &    |-  ( ph  ->  ( y  e.  B  ->  D  e.  A ) )   &    |-  ( ph  ->  ( ( x  e.  A  /\  y  e.  B )  ->  ( x  =  D  <->  y  =  C ) ) )   =>    |-  ( ph  ->  A 
 ~~  B )
 
4-Aug-2024en2d 7065 Equinumerosity inference from an implicit one-to-one onto function. (Contributed by NM, 27-Jul-2004.) (Revised by Mario Carneiro, 12-May-2014.) (Revised by AV, 4-Aug-2024.)
 |-  ( ph  ->  A  e.  V )   &    |-  ( ph  ->  B  e.  W )   &    |-  ( ph  ->  ( x  e.  A  ->  C  e.  X ) )   &    |-  ( ph  ->  ( y  e.  B  ->  D  e.  Y ) )   &    |-  ( ph  ->  ( ( x  e.  A  /\  y  =  C )  <->  ( y  e.  B  /\  x  =  D ) ) )   =>    |-  ( ph  ->  A  ~~  B )
 
2-Aug-2024onntri52 7615 Double negated ordinal trichotomy. (Contributed by James E. Hanson and Jim Kingdon, 2-Aug-2024.)
 |-  ( -.  -. EXMID  ->  -.  -.  A. x  e.  On  A. y  e.  On  ( x  C_  y  \/  y  C_  x ) )
 
2-Aug-2024onntri24 7613 Double negated ordinal trichotomy. (Contributed by James E. Hanson and Jim Kingdon, 2-Aug-2024.)
 |-  ( -.  -.  A. x  e.  On  A. y  e.  On  ( x  C_  y  \/  y  C_  x )  ->  A. x  e.  On  A. y  e.  On  -.  -.  ( x  C_  y  \/  y  C_  x ) )
 
2-Aug-2024onntri45 7612 Double negated ordinal trichotomy. (Contributed by James E. Hanson and Jim Kingdon, 2-Aug-2024.)
 |-  ( A. x  e. 
 On  A. y  e.  On  -. 
 -.  ( x  C_  y  \/  y  C_  x )  ->  -.  -. EXMID )
 
2-Aug-2024onntri51 7611 Double negated ordinal trichotomy. (Contributed by James E. Hanson and Jim Kingdon, 2-Aug-2024.)
 |-  ( -.  -. EXMID  ->  -.  -.  A. x  e.  On  A. y  e.  On  ( x  e.  y  \/  x  =  y  \/  y  e.  x )
 )
 
2-Aug-2024onntri13 7609 Double negated ordinal trichotomy. (Contributed by James E. Hanson and Jim Kingdon, 2-Aug-2024.)
 |-  ( -.  -.  A. x  e.  On  A. y  e.  On  ( x  e.  y  \/  x  =  y  \/  y  e.  x )  ->  A. x  e.  On  A. y  e. 
 On  -.  -.  ( x  e.  y  \/  x  =  y  \/  y  e.  x )
 )
 
2-Aug-2024onntri35 7608 Double negated ordinal trichotomy.

There are five equivalent statements: (1)  -.  -.  A. x  e.  On A. y  e.  On ( x  e.  y  \/  x  =  y  \/  y  e.  x ), (2)  -.  -.  A. x  e.  On A. y  e.  On ( x  C_  y  \/  y  C_  x ), (3)  A. x  e.  On A. y  e.  On -.  -.  (
x  e.  y  \/  x  =  y  \/  y  e.  x ), (4)  A. x  e.  On A. y  e.  On -.  -.  (
x  C_  y  \/  y  C_  x ), and (5)  -.  -. EXMID. That these are all equivalent is expressed by (1) implies (3) (onntri13 7609), (3) implies (5) (onntri35 7608), (5) implies (1) (onntri51 7611), (2) implies (4) (onntri24 7613), (4) implies (5) (onntri45 7612), and (5) implies (2) (onntri52 7615).

Another way of stating this is that EXMID is equivalent to trichotomy, either the  x  e.  y  \/  x  =  y  \/  y  e.  x or the  x  C_  y  \/  y  C_  x form, as shown in exmidontri 7610 and exmidontri2or 7614, respectively. Thus  -.  -. EXMID is equivalent to (1) or (2). In addition, 
-.  -. EXMID is equivalent to (3) by onntri3or 7616 and (4) by onntri2or 7617.

(Contributed by James E. Hanson and Jim Kingdon, 2-Aug-2024.)

 |-  ( A. x  e. 
 On  A. y  e.  On  -. 
 -.  ( x  e.  y  \/  x  =  y  \/  y  e.  x )  ->  -.  -. EXMID )
 
1-Aug-2024nnral 2540 The double negation of a universal quantification implies the universal quantification of the double negation. Restricted quantifier version of nnal 1702. (Contributed by Jim Kingdon, 1-Aug-2024.)
 |-  ( -.  -.  A. x  e.  A  ph  ->  A. x  e.  A  -.  -.  ph )
 
31-Jul-20243nsssucpw1 7607 Negated excluded middle implies that  3o is not a subset of the successor of the power set of 
1o. (Contributed by James E. Hanson and Jim Kingdon, 31-Jul-2024.)
 |-  ( -. EXMID  ->  -.  3o  C_  suc  ~P 1o )
 
31-Jul-2024sucpw1nss3 7606 Negated excluded middle implies that the successor of the power set of  1o is not a subset of  3o. (Contributed by James E. Hanson and Jim Kingdon, 31-Jul-2024.)
 |-  ( -. EXMID  ->  -.  suc  ~P 1o  C_ 
 3o )
 
30-Jul-2024psrbagf 15172 A finite bag is a function. (Contributed by Mario Carneiro, 29-Dec-2014.) Remove a sethood antecedent. (Revised by SN, 30-Jul-2024.)
 |-  D  =  { f  e.  ( NN0  ^m  I
 )  |  ( `' f " NN )  e.  Fin }   =>    |-  ( F  e.  D  ->  F : I --> NN0 )
 
30-Jul-20243nelsucpw1 7605 Three is not an element of the successor of the power set of  1o. (Contributed by James E. Hanson and Jim Kingdon, 30-Jul-2024.)
 |- 
 -.  3o  e.  suc  ~P 1o
 
30-Jul-2024sucpw1nel3 7604 The successor of the power set of 
1o is not an element of  3o. (Contributed by James E. Hanson and Jim Kingdon, 30-Jul-2024.)
 |- 
 -.  suc  ~P 1o  e.  3o
 
30-Jul-2024sucpw1ne3 7603 Negated excluded middle implies that the successor of the power set of  1o is not three . (Contributed by James E. Hanson and Jim Kingdon, 30-Jul-2024.)
 |-  ( -. EXMID  ->  suc  ~P 1o  =/=  3o )
 
30-Jul-2024pw1nel3 7602 Negated excluded middle implies that the power set of  1o is not an element of  3o. (Contributed by James E. Hanson and Jim Kingdon, 30-Jul-2024.)
 |-  ( -. EXMID  ->  -.  ~P 1o  e.  3o )
 
30-Jul-2024pw1ne3 7601 The power set of  1o is not three. (Contributed by James E. Hanson and Jim Kingdon, 30-Jul-2024.)
 |- 
 ~P 1o  =/=  3o
 
30-Jul-2024pw1ne1 7600 The power set of  1o is not one. (Contributed by Jim Kingdon, 30-Jul-2024.)
 |- 
 ~P 1o  =/=  1o
 
30-Jul-2024pw1ne0 7599 The power set of  1o is not zero. (Contributed by Jim Kingdon, 30-Jul-2024.)
 |- 
 ~P 1o  =/=  (/)
 
30-Jul-2024fsuppeqg 6497 Version of fsuppeq 6496 avoiding ax-coll 4248 by assuming  F is a set rather than its domain  I. (Contributed by SN, 30-Jul-2024.)
 |-  ( ( F  e.  V  /\  Z  e.  W )  ->  ( F : I
 --> S  ->  ( F supp  Z )  =  ( `' F " ( S 
 \  { Z }
 ) ) ) )
 
29-Jul-2024ringcld 14435 Closure of the multiplication operation of a ring. (Contributed by SN, 29-Jul-2024.)
 |-  B  =  ( Base `  R )   &    |-  .x.  =  ( .r `  R )   &    |-  ( ph  ->  R  e.  Ring )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  Y  e.  B )   =>    |-  ( ph  ->  ( X  .x.  Y )  e.  B )
 
29-Jul-2024grpcld 13883 Closure of the operation of a group. (Contributed by SN, 29-Jul-2024.)
 |-  B  =  ( Base `  G )   &    |-  .+  =  ( +g  `  G )   &    |-  ( ph  ->  G  e.  Grp )   &    |-  ( ph  ->  X  e.  B )   &    |-  ( ph  ->  Y  e.  B )   =>    |-  ( ph  ->  ( X  .+  Y )  e.  B )
 
29-Jul-2024pw1on 7597 The power set of  1o is an ordinal. (Contributed by Jim Kingdon, 29-Jul-2024.)
 |- 
 ~P 1o  e.  On
 
28-Jul-2024exmidpweq 7227 Excluded middle is equivalent to the power set of  1o being  2o. (Contributed by Jim Kingdon, 28-Jul-2024.)
 |-  (EXMID  <->  ~P 1o  =  2o )
 
27-Jul-2024dcapnconstALT 17403 Decidability of real number apartness implies the existence of a certain non-constant function from real numbers to integers. A proof of dcapnconst 17402 by means of dceqnconst 17401. (Contributed by Jim Kingdon, 27-Jul-2024.) (New usage is discouraged.) (Proof modification is discouraged.)
 |-  ( A. x  e.  RR DECID  x #  0 
 ->  E. f ( f : RR --> ZZ  /\  ( f `  0
 )  =  0  /\  A. x  e.  RR+  ( f `
  x )  =/=  0 ) )
 
27-Jul-2024reap0 17399 Real number trichotomy is equivalent to decidability of apartness from zero. (Contributed by Jim Kingdon, 27-Jul-2024.)
 |-  ( A. x  e.  RR  A. y  e.  RR  ( x  <  y  \/  x  =  y  \/  y  <  x )  <->  A. z  e.  RR DECID  z #  0 )
 
26-Jul-2024nconstwlpolemgt0 17405 Lemma for nconstwlpo 17407. If one of the terms of series is positive, so is the sum. (Contributed by Jim Kingdon, 26-Jul-2024.)
 |-  ( ph  ->  G : NN --> { 0 ,  1 } )   &    |-  A  =  sum_ i  e.  NN  ( ( 1  /  ( 2 ^ i ) )  x.  ( G `  i ) )   &    |-  ( ph  ->  E. x  e.  NN  ( G `  x )  =  1 )   =>    |-  ( ph  ->  0  <  A )
 
26-Jul-2024nconstwlpolem0 17404 Lemma for nconstwlpo 17407. If all the terms of the series are zero, so is their sum. (Contributed by Jim Kingdon, 26-Jul-2024.)
 |-  ( ph  ->  G : NN --> { 0 ,  1 } )   &    |-  A  =  sum_ i  e.  NN  ( ( 1  /  ( 2 ^ i ) )  x.  ( G `  i ) )   &    |-  ( ph  ->  A. x  e.  NN  ( G `  x )  =  0 )   =>    |-  ( ph  ->  A  =  0 )
 
26-Jul-2024fvmptd4 5807 Deduction version of fvmpt 5789 (where the substitution hypothesis does not have the antecedent  ph). (Contributed by SN, 26-Jul-2024.)
 |-  ( x  =  A  ->  B  =  C )   &    |-  ( ph  ->  F  =  ( x  e.  D  |->  B ) )   &    |-  ( ph  ->  A  e.  D )   &    |-  ( ph  ->  C  e.  V )   =>    |-  ( ph  ->  ( F `  A )  =  C )
 
24-Jul-2024tridceq 17397 Real trichotomy implies decidability of real number equality. Or in other words, analytic LPO implies analytic WLPO (see trilpo 17383 and redcwlpo 17396). Thus, this is an analytic analogue to lpowlpo 7520. (Contributed by Jim Kingdon, 24-Jul-2024.)
 |-  ( A. x  e.  RR  A. y  e.  RR  ( x  <  y  \/  x  =  y  \/  y  <  x )  ->  A. x  e.  RR  A. y  e. 
 RR DECID  x  =  y )
 
24-Jul-2024iswomni0 17392 Weak omniscience stated in terms of equality with  0. Like iswomninn 17391 but with zero in place of one. (Contributed by Jim Kingdon, 24-Jul-2024.)
 |-  ( A  e.  V  ->  ( A  e. WOmni  <->  A. f  e.  ( { 0 ,  1 }  ^m  A )DECID  A. x  e.  A  (
 f `  x )  =  0 ) )
 
24-Jul-2024asclmulg 15160 Apply group multiplication to the algebra scalars. (Contributed by Thierry Arnoux, 24-Jul-2024.)
 |-  A  =  (algSc `  W )   &    |-  F  =  (Scalar `  W )   &    |-  K  =  (
 Base `  F )   &    |-  .^  =  (.g `  W )   &    |-  .*  =  (.g `  F )   =>    |-  ( ( W  e. AssAlg  /\  N  e.  NN0  /\  X  e.  K )  ->  ( A `  ( N  .*  X ) )  =  ( N  .^  ( A `  X ) ) )
 
24-Jul-2024lpowlpo 7520 LPO implies WLPO. Easy corollary of the more general omniwomnimkv 7519. There is an analogue in terms of analytic omniscience principles at tridceq 17397. (Contributed by Jim Kingdon, 24-Jul-2024.)
 |-  ( om  e. Omni  ->  om  e. WOmni )
 
23-Jul-2024nconstwlpolem 17406 Lemma for nconstwlpo 17407. (Contributed by Jim Kingdon, 23-Jul-2024.)
 |-  ( ph  ->  F : RR --> ZZ )   &    |-  ( ph  ->  ( F `  0 )  =  0 )   &    |-  (
 ( ph  /\  x  e.  RR+ )  ->  ( F `
  x )  =/=  0 )   &    |-  ( ph  ->  G : NN --> { 0 ,  1 } )   &    |-  A  =  sum_ i  e.  NN  ( ( 1  /  ( 2 ^ i
 ) )  x.  ( G `  i ) )   =>    |-  ( ph  ->  ( A. y  e.  NN  ( G `  y )  =  0  \/  -.  A. y  e.  NN  ( G `  y )  =  0 ) )
 
23-Jul-2024dceqnconst 17401 Decidability of real number equality implies the existence of a certain non-constant function from real numbers to integers. Variation of Exercise 11.6(i) of [HoTT], p. (varies). See redcwlpo 17396 for more discussion of decidability of real number equality. (Contributed by BJ and Jim Kingdon, 24-Jun-2024.) (Revised by Jim Kingdon, 23-Jul-2024.)
 |-  ( A. x  e.  RR DECID  x  =  0  ->  E. f
 ( f : RR --> ZZ  /\  ( f `  0 )  =  0  /\  A. x  e.  RR+  ( f `  x )  =/=  0 ) )
 
23-Jul-2024redc0 17398 Two ways to express decidability of real number equality. (Contributed by Jim Kingdon, 23-Jul-2024.)
 |-  ( A. x  e.  RR  A. y  e.  RR DECID  x  =  y 
 <-> 
 A. z  e.  RR DECID  z  =  0 )
 
23-Jul-2024canth 6043 No set  A is equinumerous to its power set (Cantor's theorem), i.e., no function can map  A onto its power set. Compare Theorem 6B(b) of [Enderton] p. 132. (Use nex 1553 if you want the form  -.  E. f
f : A -onto-> ~P A.) (Contributed by NM, 7-Aug-1994.) (Revised by Noah R Kingdon, 23-Jul-2024.)
 |-  A  e.  _V   =>    |-  -.  F : A -onto-> ~P A
 
22-Jul-2024nconstwlpo 17407 Existence of a certain non-constant function from reals to integers implies  om  e. WOmni (the Weak Limited Principle of Omniscience or WLPO). Based on Exercise 11.6(ii) of [HoTT], p. (varies). (Contributed by BJ and Jim Kingdon, 22-Jul-2024.)
 |-  ( ph  ->  F : RR --> ZZ )   &    |-  ( ph  ->  ( F `  0 )  =  0 )   &    |-  (
 ( ph  /\  x  e.  RR+ )  ->  ( F `
  x )  =/=  0 )   =>    |-  ( ph  ->  om  e. WOmni )
 
16-Jul-2024unexd 4894 The union of two sets is a set. (Contributed by SN, 16-Jul-2024.)
 |-  ( ph  ->  A  e.  V )   &    |-  ( ph  ->  B  e.  W )   =>    |-  ( ph  ->  ( A  u.  B )  e.  _V )
 
16-Jul-2024difexd 4279 Existence of a difference. (Contributed by SN, 16-Jul-2024.)
 |-  ( ph  ->  A  e.  V )   =>    |-  ( ph  ->  ( A  \  B )  e. 
 _V )
 
15-Jul-2024fprodseq 12380 The value of a product over a nonempty finite set. (Contributed by Scott Fenton, 6-Dec-2017.) (Revised by Jim Kingdon, 15-Jul-2024.)
 |-  ( k  =  ( F `  n ) 
 ->  B  =  C )   &    |-  ( ph  ->  M  e.  NN )   &    |-  ( ph  ->  F : ( 1 ...
 M ) -1-1-onto-> A )   &    |-  ( ( ph  /\  k  e.  A ) 
 ->  B  e.  CC )   &    |-  (
 ( ph  /\  n  e.  ( 1 ... M ) )  ->  ( G `
  n )  =  C )   =>    |-  ( ph  ->  prod_ k  e.  A  B  =  ( 
 seq 1 (  x. 
 ,  ( n  e. 
 NN  |->  if ( n  <_  M ,  ( G `  n ) ,  1 ) ) ) `  M ) )
 
14-Jul-2024rexbid2 2555 Formula-building rule for restricted existential quantifier (deduction form). (Contributed by BJ, 14-Jul-2024.)
 |- 
 F/ x ph   &    |-  ( ph  ->  ( ( x  e.  A  /\  ps )  <->  ( x  e.  B  /\  ch )
 ) )   =>    |-  ( ph  ->  ( E. x  e.  A  ps 
 <-> 
 E. x  e.  B  ch ) )
 
14-Jul-2024ralbid2 2554 Formula-building rule for restricted universal quantifier (deduction form). (Contributed by BJ, 14-Jul-2024.)
 |- 
 F/ x ph   &    |-  ( ph  ->  ( ( x  e.  A  ->  ps )  <->  ( x  e.  B  ->  ch )
 ) )   =>    |-  ( ph  ->  ( A. x  e.  A  ps 
 <-> 
 A. x  e.  B  ch ) )
 
12-Jul-20242irrexpqap 16298 There exist real numbers  a and  b which are irrational (in the sense of being apart from any rational number) such that  ( a ^ b ) is rational. Statement in the Metamath book, section 1.1.5, footnote 27 on page 17, and the "constructive proof" for theorem 1.2 of [Bauer], p. 483. This is a constructive proof because it is based on two explicitly named irrational numbers  ( sqr `  2 ) and  ( 2 logb  9 ), see sqrt2irrap 12990, 2logb9irrap 16297 and sqrt2cxp2logb9e3 16295. Therefore, this proof is acceptable/usable in intuitionistic logic. (Contributed by Jim Kingdon, 12-Jul-2024.)
 |- 
 E. a  e.  RR  E. b  e.  RR  ( A. p  e.  QQ  a #  p  /\  A. q  e.  QQ  b #  q  /\  ( a  ^c  b )  e.  QQ )
 
12-Jul-20242logb9irrap 16297 Example for logbgcd1irrap 16290. The logarithm of nine to base two is irrational (in the sense of being apart from any rational number). (Contributed by Jim Kingdon, 12-Jul-2024.)
 |-  ( Q  e.  QQ  ->  ( 2 logb  9 ) #  Q )
 
12-Jul-2024erlecpbl 13717 Translate the relation compatibility relation to a quotient set. (Contributed by Mario Carneiro, 24-Feb-2015.) (Revised by Mario Carneiro, 12-Aug-2015.) (Revised by AV, 12-Jul-2024.)
 |-  ( ph  ->  .~  Er  V )   &    |-  ( ph  ->  V  e.  W )   &    |-  F  =  ( x  e.  V  |->  [ x ]  .~  )   &    |-  ( ph  ->  ( ( A 
 .~  C  /\  B  .~  D )  ->  ( A N B  <->  C N D ) ) )   =>    |-  ( ( ph  /\  ( A  e.  V  /\  B  e.  V )  /\  ( C  e.  V  /\  D  e.  V ) )  ->  ( (
 ( F `  A )  =  ( F `  C )  /\  ( F `  B )  =  ( F `  D ) )  ->  ( A N B  <->  C N D ) ) )
 
12-Jul-2024ercpbl 13716 Translate the function compatibility relation to a quotient set. (Contributed by Mario Carneiro, 24-Feb-2015.) (Revised by Mario Carneiro, 12-Aug-2015.) (Revised by AV, 12-Jul-2024.)
 |-  ( ph  ->  .~  Er  V )   &    |-  ( ph  ->  V  e.  W )   &    |-  F  =  ( x  e.  V  |->  [ x ]  .~  )   &    |-  (
 ( ph  /\  ( a  e.  V  /\  b  e.  V ) )  ->  ( a  .+  b )  e.  V )   &    |-  ( ph  ->  ( ( A 
 .~  C  /\  B  .~  D )  ->  ( A  .+  B )  .~  ( C  .+  D ) ) )   =>    |-  ( ( ph  /\  ( A  e.  V  /\  B  e.  V )  /\  ( C  e.  V  /\  D  e.  V ) )  ->  ( (
 ( F `  A )  =  ( F `  C )  /\  ( F `  B )  =  ( F `  D ) )  ->  ( F `
  ( A  .+  B ) )  =  ( F `  ( C  .+  D ) ) ) )
 
12-Jul-2024ercpbllemg 13715 Lemma for ercpbl 13716. (Contributed by Mario Carneiro, 24-Feb-2015.) (Revised by AV, 12-Jul-2024.)
 |-  ( ph  ->  .~  Er  V )   &    |-  ( ph  ->  V  e.  W )   &    |-  F  =  ( x  e.  V  |->  [ x ]  .~  )   &    |-  ( ph  ->  A  e.  V )   &    |-  ( ph  ->  B  e.  V )   =>    |-  ( ph  ->  (
 ( F `  A )  =  ( F `  B )  <->  A  .~  B ) )
 
12-Jul-2024divsfvalg 13714 Value of the function in qusval 13708. (Contributed by Mario Carneiro, 24-Feb-2015.) (Revised by Mario Carneiro, 12-Aug-2015.) (Revised by AV, 12-Jul-2024.)
 |-  ( ph  ->  .~  Er  V )   &    |-  ( ph  ->  V  e.  W )   &    |-  F  =  ( x  e.  V  |->  [ x ]  .~  )   &    |-  ( ph  ->  A  e.  V )   =>    |-  ( ph  ->  ( F `  A )  =  [ A ]  .~  )
 
12-Jul-2024divsfval 13713 Value of the function in qusval 13708. (Contributed by Mario Carneiro, 24-Feb-2015.) (Revised by Mario Carneiro, 12-Aug-2015.) (Revised by AV, 12-Jul-2024.)
 |-  ( ph  ->  .~  Er  V )   &    |-  ( ph  ->  V  e.  W )   &    |-  F  =  ( x  e.  V  |->  [ x ]  .~  )   =>    |-  ( ph  ->  ( F `  A )  =  [ A ]  .~  )
 
11-Jul-2024logbgcd1irraplemexp 16288 Lemma for logbgcd1irrap 16290. Apartness of  X ^ N and  B ^ M. (Contributed by Jim Kingdon, 11-Jul-2024.)
 |-  ( ph  ->  X  e.  ( ZZ>= `  2 )
 )   &    |-  ( ph  ->  B  e.  ( ZZ>= `  2 )
 )   &    |-  ( ph  ->  ( X  gcd  B )  =  1 )   &    |-  ( ph  ->  M  e.  ZZ )   &    |-  ( ph  ->  N  e.  NN )   =>    |-  ( ph  ->  ( X ^ N ) #  ( B ^ M ) )
 
11-Jul-2024reapef 16088 Apartness and the exponential function for reals. (Contributed by Jim Kingdon, 11-Jul-2024.)
 |-  ( ( A  e.  RR  /\  B  e.  RR )  ->  ( A #  B  <->  ( exp `  A ) #  ( exp `  B )
 ) )
 
10-Jul-2024apcxp2 16258 Apartness and real exponentiation. (Contributed by Jim Kingdon, 10-Jul-2024.)
 |-  ( ( ( A  e.  RR+  /\  A #  1
 )  /\  ( B  e.  RR  /\  C  e.  RR ) )  ->  ( B #  C  <->  ( A  ^c  B ) #  ( A 
 ^c  C ) ) )
 
9-Jul-2024logbgcd1irraplemap 16289 Lemma for logbgcd1irrap 16290. The result, with the rational number expressed as numerator and denominator. (Contributed by Jim Kingdon, 9-Jul-2024.)
 |-  ( ph  ->  X  e.  ( ZZ>= `  2 )
 )   &    |-  ( ph  ->  B  e.  ( ZZ>= `  2 )
 )   &    |-  ( ph  ->  ( X  gcd  B )  =  1 )   &    |-  ( ph  ->  M  e.  ZZ )   &    |-  ( ph  ->  N  e.  NN )   =>    |-  ( ph  ->  ( B logb  X ) #  ( M  /  N ) )
 
9-Jul-2024apexp1 11183 Exponentiation and apartness. (Contributed by Jim Kingdon, 9-Jul-2024.)
 |-  ( ( A  e.  CC  /\  B  e.  CC  /\  N  e.  NN )  ->  ( ( A ^ N ) #  ( B ^ N )  ->  A #  B ) )
 
5-Jul-2024logrpap0 16191 The logarithm is apart from 0 if its argument is apart from 1. (Contributed by Jim Kingdon, 5-Jul-2024.)
 |-  ( ( A  e.  RR+  /\  A #  1 )  ->  ( log `  A ) #  0 )
 
3-Jul-2024rplogbval 16265 Define the value of the logb function, the logarithm generalized to an arbitrary base, when used as infix. Most Metamath statements select variables in order of their use, but to make the order clearer we use "B" for base and "X" for the argument of the logarithm function here. (Contributed by David A. Wheeler, 21-Jan-2017.) (Revised by Jim Kingdon, 3-Jul-2024.)
 |-  ( ( B  e.  RR+  /\  B #  1  /\  X  e.  RR+ )  ->  ( B logb  X )  =  (
 ( log `  X )  /  ( log `  B ) ) )
 
3-Jul-2024logrpap0d 16192 Deduction form of logrpap0 16191. (Contributed by Jim Kingdon, 3-Jul-2024.)
 |-  ( ph  ->  A  e.  RR+ )   &    |-  ( ph  ->  A #  1 )   =>    |-  ( ph  ->  ( log `  A ) #  0 )
 
3-Jul-2024logrpap0b 16190 The logarithm is apart from 0 if and only if its argument is apart from 1. (Contributed by Jim Kingdon, 3-Jul-2024.)
 |-  ( A  e.  RR+  ->  ( A #  1  <->  ( log `  A ) #  0 ) )
 
28-Jun-20242o01f 17313 Mapping zero and one between  om and  NN0 style integers. (Contributed by Jim Kingdon, 28-Jun-2024.)
 |-  G  = frec ( ( x  e. 
 ZZ  |->  ( x  +  1 ) ) ,  0 )   =>    |-  ( G  |`  2o ) : 2o --> { 0 ,  1 }

  Copyright terms: Public domain W3C HTML validation [external]