Theorem List for Intuitionistic Logic Explorer - 15701-15800 *Has distinct variable
group(s)
| Type | Label | Description |
| Statement |
| |
| Theorem | gausslemma2dlem0i 15701 |
Auxiliary lemma 9 for gausslemma2d 15713. (Contributed by AV,
14-Jul-2021.)
|
 
         
      
     
       
            |
| |
| Theorem | gausslemma2dlem1a 15702* |
Lemma for gausslemma2dlem1 15705. (Contributed by AV, 1-Jul-2021.)
|
 
      
         
                   |
| |
| Theorem | gausslemma2dlem1cl 15703 |
Lemma for gausslemma2dlem1 15705. Closure of the body of the
definition
of .
(Contributed by Jim Kingdon, 10-Aug-2025.)
|
 
      
         
                      
             |
| |
| Theorem | gausslemma2dlem1f1o 15704* |
Lemma for gausslemma2dlem1 15705. (Contributed by Jim Kingdon,
9-Aug-2025.)
|
 
      
         
                           |
| |
| Theorem | gausslemma2dlem1 15705* |
Lemma 1 for gausslemma2d 15713. (Contributed by AV, 5-Jul-2021.)
|
 
      
         
                 
           |
| |
| Theorem | gausslemma2dlem2 15706* |
Lemma 2 for gausslemma2d 15713. (Contributed by AV, 4-Jul-2021.)
|
 
      
         
                  
         
    |
| |
| Theorem | gausslemma2dlem3 15707* |
Lemma 3 for gausslemma2d 15713. (Contributed by AV, 4-Jul-2021.)
|
 
      
         
                  
           
      |
| |
| Theorem | gausslemma2dlem4 15708* |
Lemma 4 for gausslemma2d 15713. (Contributed by AV, 16-Jun-2021.)
|
 
      
         
                  
     
                        |
| |
| Theorem | gausslemma2dlem5a 15709* |
Lemma for gausslemma2dlem5 15710. (Contributed by AV, 8-Jul-2021.)
|
 
      
         
                  
            
                  |
| |
| Theorem | gausslemma2dlem5 15710* |
Lemma 5 for gausslemma2d 15713. (Contributed by AV, 9-Jul-2021.)
|
 
      
         
                 
                                      |
| |
| Theorem | gausslemma2dlem6 15711* |
Lemma 6 for gausslemma2d 15713. (Contributed by AV, 16-Jun-2021.)
|
 
      
         
                 
                          
   |
| |
| Theorem | gausslemma2dlem7 15712* |
Lemma 7 for gausslemma2d 15713. (Contributed by AV, 13-Jul-2021.)
|
 
      
         
                 
                  |
| |
| Theorem | gausslemma2d 15713* |
Gauss' Lemma (see also theorem 9.6 in [ApostolNT] p. 182) for integer
: Let p be an odd
prime. Let S = {2, 4, 6, ..., p - 1}. Let n
denote the number of elements of S whose least positive residue modulo p
is greater than p/2. Then ( 2 | p ) = (-1)^n. (Contributed by AV,
14-Jul-2021.)
|
 
      
         
                 
      
       |
| |
| 11.3.6 Quadratic reciprocity
|
| |
| Theorem | lgseisenlem1 15714* |
Lemma for lgseisen 15718. If      and
              , then for any even
,    is also an even integer
  
. To simplify these
statements, we divide
all the even numbers by , so that it becomes the statement that
              is an
integer between
and   . (Contributed by Mario
Carneiro, 17-Jun-2015.)
|
 
                

      
                      
              |
| |
| Theorem | lgseisenlem2 15715* |
Lemma for lgseisen 15718. The function is an injection (and hence
a bijection by the pigeonhole principle). (Contributed by Mario
Carneiro, 17-Jun-2015.)
|
 
                

      
                    
       
         
    |
| |
| Theorem | lgseisenlem3 15716* |
Lemma for lgseisen 15718. (Contributed by Mario Carneiro,
17-Jun-2015.) (Proof shortened by AV, 28-Jul-2019.)
|
 
                

      
                   
ℤ/nℤ  mulGrp   RHom    g       
                     |
| |
| Theorem | lgseisenlem4 15717* |
Lemma for lgseisen 15718. (Contributed by Mario Carneiro,
18-Jun-2015.) (Proof shortened by AV, 15-Jun-2019.)
|
 
                

      
                   
ℤ/nℤ  mulGrp   RHom                        
        
        |
| |
| Theorem | lgseisen 15718* |
Eisenstein's lemma, an expression for     when  are
distinct odd primes. (Contributed by Mario Carneiro, 18-Jun-2015.)
|
 
                
                           |
| |
| Theorem | lgsquadlemsfi 15719* |
Lemma for lgsquad 15724. is finite. (Contributed by Jim Kingdon,
16-Sep-2025.)
|
 
              
                   
         |
| |
| Theorem | lgsquadlemofi 15720* |
Lemma for lgsquad 15724. There are finitely many members of with odd
first part. (Contributed by Jim Kingdon, 16-Sep-2025.)
|
 
              
                   
       
       |
| |
| Theorem | lgsquadlem1 15721* |
Lemma for lgsquad 15724. Count the members of with odd coordinates.
(Contributed by Mario Carneiro, 19-Jun-2015.)
|
 
              
                   
                                        ♯           |
| |
| Theorem | lgsquadlem2 15722* |
Lemma for lgsquad 15724. Count the members of with even coordinates,
and combine with lgsquadlem1 15721 to get the total count of lattice
points
in (up to
parity). (Contributed by Mario Carneiro,
18-Jun-2015.)
|
 
              
                   
          
    ♯     |
| |
| Theorem | lgsquadlem3 15723* |
Lemma for lgsquad 15724. (Contributed by Mario Carneiro,
18-Jun-2015.)
|
 
              
                   
           
              |
| |
| Theorem | lgsquad 15724 |
The Law of Quadratic Reciprocity, see also theorem 9.8 in [ApostolNT]
p. 185. If
and are distinct odd
primes, then the product of
the Legendre symbols     and     is the parity of
 
      . This uses Eisenstein's
proof, which also has a nice geometric interpretation - see
https://en.wikipedia.org/wiki/Proofs_of_quadratic_reciprocity.
This
is Metamath 100 proof #7. (Contributed by Mario Carneiro,
19-Jun-2015.)
|
  
  

  

                 
         |
| |
| Theorem | lgsquad2lem1 15725 |
Lemma for lgsquad2 15727. (Contributed by Mario Carneiro,
19-Jun-2015.)
|
  
                                   
             
                
    
                 
         |
| |
| Theorem | lgsquad2lem2 15726* |
Lemma for lgsquad2 15727. (Contributed by Mario Carneiro,
19-Jun-2015.)
|
  
          
     
                        
                                     
          
                
     |
| |
| Theorem | lgsquad2 15727 |
Extend lgsquad 15724 to coprime odd integers (the domain of the
Jacobi
symbol). (Contributed by Mario Carneiro, 19-Jun-2015.)
|
  
              
                
     |
| |
| Theorem | lgsquad3 15728 |
Extend lgsquad2 15727 to integers which share a factor.
(Contributed by Mario
Carneiro, 19-Jun-2015.)
|
    
 
                
          |
| |
| Theorem | m1lgs 15729 |
The first supplement to the law of quadratic reciprocity. Negative one is
a square mod an odd prime iff (mod ). See first
case of theorem 9.4 in [ApostolNT] p.
181. (Contributed by Mario
Carneiro, 19-Jun-2015.)
|
    
     
 
   |
| |
| Theorem | 2lgslem1a1 15730* |
Lemma 1 for 2lgslem1a 15732. (Contributed by AV, 16-Jun-2021.)
|
  
      
       
   |
| |
| Theorem | 2lgslem1a2 15731 |
Lemma 2 for 2lgslem1a 15732. (Contributed by AV, 18-Jun-2021.)
|
                 |
| |
| Theorem | 2lgslem1a 15732* |
Lemma 1 for 2lgslem1 15735. (Contributed by AV, 18-Jun-2021.)
|
  
       
     
                              |
| |
| Theorem | 2lgslem1b 15733* |
Lemma 2 for 2lgslem1 15735. (Contributed by AV, 18-Jun-2021.)
|
             

   |
| |
| Theorem | 2lgslem1c 15734 |
Lemma 3 for 2lgslem1 15735. (Contributed by AV, 19-Jun-2021.)
|
  
        
   |
| |
| Theorem | 2lgslem1 15735* |
Lemma 1 for 2lgs 15748. (Contributed by AV, 19-Jun-2021.)
|
  
♯        
     
          
          |
| |
| Theorem | 2lgslem2 15736 |
Lemma 2 for 2lgs 15748. (Contributed by AV, 20-Jun-2021.)
|
   
          
  |
| |
| Theorem | 2lgslem3a 15737 |
Lemma for 2lgslem3a1 15741. (Contributed by AV, 14-Jul-2021.)
|
   
                   |
| |
| Theorem | 2lgslem3b 15738 |
Lemma for 2lgslem3b1 15742. (Contributed by AV, 16-Jul-2021.)
|
   
                     |
| |
| Theorem | 2lgslem3c 15739 |
Lemma for 2lgslem3c1 15743. (Contributed by AV, 16-Jul-2021.)
|
   
                     |
| |
| Theorem | 2lgslem3d 15740 |
Lemma for 2lgslem3d1 15744. (Contributed by AV, 16-Jul-2021.)
|
   
                     |
| |
| Theorem | 2lgslem3a1 15741 |
Lemma 1 for 2lgslem3 15745. (Contributed by AV, 15-Jul-2021.)
|
   
           

    |
| |
| Theorem | 2lgslem3b1 15742 |
Lemma 2 for 2lgslem3 15745. (Contributed by AV, 16-Jul-2021.)
|
   
           

    |
| |
| Theorem | 2lgslem3c1 15743 |
Lemma 3 for 2lgslem3 15745. (Contributed by AV, 16-Jul-2021.)
|
   
           

    |
| |
| Theorem | 2lgslem3d1 15744 |
Lemma 4 for 2lgslem3 15745. (Contributed by AV, 15-Jul-2021.)
|
   
           

    |
| |
| Theorem | 2lgslem3 15745 |
Lemma 3 for 2lgs 15748. (Contributed by AV, 16-Jul-2021.)
|
   
          
              |
| |
| Theorem | 2lgs2 15746 |
The Legendre symbol for
at is . (Contributed by AV,
20-Jun-2021.)
|
     |
| |
| Theorem | 2lgslem4 15747 |
Lemma 4 for 2lgs 15748: special case of 2lgs 15748
for . (Contributed
by AV, 20-Jun-2021.)
|
            |
| |
| Theorem | 2lgs 15748 |
The second supplement to the law of quadratic reciprocity (for the
Legendre symbol extended to arbitrary primes as second argument). Two
is a square modulo a prime iff
 (mod ), see
first case of theorem 9.5 in [ApostolNT] p. 181. This theorem justifies
our definition of     (lgs2 15661) to some degree, by demanding
that reciprocity extend to the case . (Proposed
by Mario
Carneiro, 19-Jun-2015.) (Contributed by AV, 16-Jul-2021.)
|
              |
| |
| Theorem | 2lgsoddprmlem1 15749 |
Lemma 1 for 2lgsoddprm . (Contributed by AV, 19-Jul-2021.)
|
             
                    
    |
| |
| Theorem | 2lgsoddprmlem2 15750 |
Lemma 2 for 2lgsoddprm . (Contributed by AV, 19-Jul-2021.)
|
    
       

           |
| |
| Theorem | 2lgsoddprmlem3a 15751 |
Lemma 1 for 2lgsoddprmlem3 15755. (Contributed by AV, 20-Jul-2021.)
|
      
  |
| |
| Theorem | 2lgsoddprmlem3b 15752 |
Lemma 2 for 2lgsoddprmlem3 15755. (Contributed by AV, 20-Jul-2021.)
|
      
  |
| |
| Theorem | 2lgsoddprmlem3c 15753 |
Lemma 3 for 2lgsoddprmlem3 15755. (Contributed by AV, 20-Jul-2021.)
|
      
  |
| |
| Theorem | 2lgsoddprmlem3d 15754 |
Lemma 4 for 2lgsoddprmlem3 15755. (Contributed by AV, 20-Jul-2021.)
|
      
    |
| |
| Theorem | 2lgsoddprmlem3 15755 |
Lemma 3 for 2lgsoddprm . (Contributed by AV, 20-Jul-2021.)
|
    
       
       |
| |
| Theorem | 2lgsoddprmlem4 15756 |
Lemma 4 for 2lgsoddprm . (Contributed by AV, 20-Jul-2021.)
|
  
          
      |
| |
| Theorem | 2lgsoddprm 15757 |
The second supplement to the law of quadratic reciprocity for odd primes
(common representation, see theorem 9.5 in [ApostolNT] p. 181): The
Legendre symbol for
at an odd prime is minus one to the power of the
square of the odd prime minus one divided by eight (    =
-1^(((P^2)-1)/8) ). (Contributed by AV, 20-Jul-2021.)
|
    
              
    |
| |
| 11.3.7 All primes 4n+1 are the sum of two
squares
|
| |
| Theorem | 2sqlem1 15758* |
Lemma for 2sq . (Contributed by Mario Carneiro, 19-Jun-2015.)
|

                
          |
| |
| Theorem | 2sqlem2 15759* |
Lemma for 2sq . (Contributed by Mario Carneiro, 19-Jun-2015.)
|

              
            |
| |
| Theorem | mul2sq 15760 |
Fibonacci's identity (actually due to Diophantus). The product of two
sums of two squares is also a sum of two squares. We can take advantage
of Gaussian integers here to trivialize the proof. (Contributed by
Mario Carneiro, 19-Jun-2015.)
|

                
  |
| |
| Theorem | 2sqlem3 15761 |
Lemma for 2sqlem5 15763. (Contributed by Mario Carneiro,
20-Jun-2015.)
|

                
                                     
      |
| |
| Theorem | 2sqlem4 15762 |
Lemma for 2sqlem5 15763. (Contributed by Mario Carneiro,
20-Jun-2015.)
|

                
                                    |
| |
| Theorem | 2sqlem5 15763 |
Lemma for 2sq . If a number that is a sum of two squares is divisible
by a prime that is a sum of two squares, then the quotient is a sum of
two squares. (Contributed by Mario Carneiro, 20-Jun-2015.)
|

                
        |
| |
| Theorem | 2sqlem6 15764* |
Lemma for 2sq . If a number that is a sum of two squares is divisible
by a number whose prime divisors are all sums of two squares, then the
quotient is a sum of two squares. (Contributed by Mario Carneiro,
20-Jun-2015.)
|

                            |
| |
| Theorem | 2sqlem7 15765* |
Lemma for 2sq . (Contributed by Mario Carneiro, 19-Jun-2015.)
|

                                 |
| |
| Theorem | 2sqlem8a 15766* |
Lemma for 2sqlem8 15767. (Contributed by Mario Carneiro,
4-Jun-2016.)
|

                                       

  
                                
                
    |
| |
| Theorem | 2sqlem8 15767* |
Lemma for 2sq . (Contributed by Mario Carneiro, 20-Jun-2015.)
|

                                       

  
                                
               
           |
| |
| Theorem | 2sqlem9 15768* |
Lemma for 2sq . (Contributed by Mario Carneiro, 19-Jun-2015.)
|

                                       

  
        |
| |
| Theorem | 2sqlem10 15769* |
Lemma for 2sq . Every factor of a "proper" sum of two squares (where
the summands are coprime) is a sum of two squares. (Contributed by
Mario Carneiro, 19-Jun-2015.)
|

                                
  |
| |
| PART 12 GRAPH THEORY
|
| |
| 12.1 Vertices and edges
|
| |
| 12.1.1 The edge function extractor for
extensible structures
|
| |
| Syntax | cedgf 15770 |
Extend class notation with an edge function.
|
.ef |
| |
| Definition | df-edgf 15771 |
Define the edge function (indexed edges) of a graph. (Contributed by AV,
18-Jan-2020.) Use its index-independent form edgfid 15772 instead.
(New usage is discouraged.)
|
.ef Slot ;  |
| |
| Theorem | edgfid 15772 |
Utility theorem: index-independent form of df-edgf 15771. (Contributed by
AV, 16-Nov-2021.)
|
.ef Slot .ef   |
| |
| Theorem | edgfndx 15773 |
Index value of the df-edgf 15771 slot. (Contributed by AV, 13-Oct-2024.)
(New usage is discouraged.)
|
.ef  ;  |
| |
| Theorem | edgfndxnn 15774 |
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   |
| |
| Theorem | edgfndxid 15775 |
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.)
|
 .ef     .ef     |
| |
| Theorem | basendxltedgfndx 15776 |
The index value of the slot is less than the index value of the
.ef slot. (Contributed by AV, 21-Sep-2020.) (Proof shortened by AV,
30-Oct-2024.)
|
    .ef   |
| |
| Theorem | basendxnedgfndx 15777 |
The slots and
.ef are different. (Contributed by AV,
21-Sep-2020.)
|
    .ef   |
| |
| 12.1.2 Vertices and indexed edges
|
| |
| 12.1.2.1 Definitions and basic
properties
|
| |
| Syntax | cvtx 15778 |
Extend class notation with the vertices of "graphs".
|
Vtx |
| |
| Syntax | ciedg 15779 |
Extend class notation with the indexed edges of "graphs".
|
iEdg |
| |
| Definition | df-vtx 15780 |
Define the function mapping a graph to the set of its vertices. This
definition is very general: It defines the set of vertices for any
ordered pair as its first component, and for any other class as its
"base
set". It is meaningful, however, only if the ordered pair represents
a
graph resp. the class is an extensible structure representing a graph.
(Contributed by AV, 9-Jan-2020.) (Revised by AV, 20-Sep-2020.)
|
Vtx      
            |
| |
| Definition | df-iedg 15781 |
Define the function mapping a graph to its indexed edges. This definition
is very general: It defines the indexed edges for any ordered pair as its
second component, and for any other class as its "edge
function". It is
meaningful, however, only if the ordered pair represents a graph resp. the
class is an extensible structure (containing a slot for "edge
functions")
representing a graph. (Contributed by AV, 20-Sep-2020.)
|
iEdg            .ef     |
| |
| Theorem | vtxvalg 15782 |
The set of vertices of a graph. (Contributed by AV, 9-Jan-2020.)
(Revised by AV, 21-Sep-2020.)
|
 Vtx           
       |
| |
| Theorem | iedgvalg 15783 |
The set of indexed edges of a graph. (Contributed by AV,
21-Sep-2020.)
|
 iEdg           
.ef     |
| |
| Theorem | vtxex 15784 |
Applying the vertex function yields a set. (Contributed by Jim Kingdon,
29-Dec-2025.)
|
 Vtx    |
| |
| Theorem | iedgex 15785 |
Applying the indexed edge function yields a set. (Contributed by Jim
Kingdon, 29-Dec-2025.)
|
 iEdg    |
| |
| Theorem | 1vgrex 15786 |
A graph with at least one vertex is a set. (Contributed by AV,
2-Mar-2021.)
|
Vtx     |
| |
| 12.1.2.2 The vertices and edges of a graph
represented as ordered pair
|
| |
| Theorem | opvtxval 15787 |
The set of vertices of a graph represented as an ordered pair of vertices
and indexed edges. (Contributed by AV, 9-Jan-2020.) (Revised by AV,
21-Sep-2020.)
|
   Vtx        |
| |
| Theorem | opvtxfv 15788 |
The set of vertices of a graph represented as an ordered pair of vertices
and indexed edges as function value. (Contributed by AV, 21-Sep-2020.)
|
   Vtx       |
| |
| Theorem | opvtxov 15789 |
The set of vertices of a graph represented as an ordered pair of vertices
and indexed edges as operation value. (Contributed by AV,
21-Sep-2020.)
|
    Vtx
  |
| |
| Theorem | opiedgval 15790 |
The set of indexed edges of a graph represented as an ordered pair of
vertices and indexed edges. (Contributed by AV, 21-Sep-2020.)
|
   iEdg        |
| |
| Theorem | opiedgfv 15791 |
The set of indexed edges of a graph represented as an ordered pair of
vertices and indexed edges as function value. (Contributed by AV,
21-Sep-2020.)
|
   iEdg       |
| |
| Theorem | opiedgov 15792 |
The set of indexed edges of a graph represented as an ordered pair of
vertices and indexed edges as operation value. (Contributed by AV,
21-Sep-2020.)
|
    iEdg
  |
| |
| Theorem | opvtxfvi 15793 |
The set of vertices of a graph represented as an ordered pair of
vertices and indexed edges as function value. (Contributed by AV,
4-Mar-2021.)
|
Vtx      |
| |
| Theorem | opiedgfvi 15794 |
The set of indexed edges of a graph represented as an ordered pair of
vertices and indexed edges as function value. (Contributed by AV,
4-Mar-2021.)
|
iEdg      |
| |
| 12.1.2.3 The vertices and edges of a graph
represented as extensible structure
|
| |
| Theorem | funvtxdm2domval 15795 |
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.)
|
 
     Vtx        |
| |
| Theorem | funiedgdm2domval 15796 |
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.)
|
 
     iEdg  .ef    |
| |
| Theorem | funvtxdm2vald 15797 |
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.)
|
  
     
       Vtx        |
| |
| Theorem | funiedgdm2vald 15798 |
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.)
|
  
     
       iEdg  .ef    |
| |
| Theorem | funvtxval0d 15799 |
The set of vertices of an extensible structure with a base set and (at
least) another slot. (Contributed by AV, 22-Sep-2020.) (Revised by AV,
7-Jun-2021.) (Revised by AV, 12-Nov-2021.)
|
              
         Vtx        |
| |
| Theorem | basvtxval2dom 15800 |
The set of vertices of a graph represented as an extensible structure
with the set of vertices as base set. (Contributed by AV,
14-Oct-2020.) (Revised by AV, 12-Nov-2021.)
|
 Struct            
   Vtx    |