Theorem List for Intuitionistic Logic Explorer - 16301-16400 *Has distinct variable
group(s)
| Type | Label | Description |
| Statement |
| |
| Theorem | gausslemma2dlem1f1o 16301* |
Lemma for gausslemma2dlem1 16302. (Contributed by Jim Kingdon,
9-Aug-2025.)
|
 
      
         
                           |
| |
| Theorem | gausslemma2dlem1 16302* |
Lemma 1 for gausslemma2d 16310. (Contributed by AV, 5-Jul-2021.)
|
 
      
         
                 
           |
| |
| Theorem | gausslemma2dlem2 16303* |
Lemma 2 for gausslemma2d 16310. (Contributed by AV, 4-Jul-2021.)
|
 
      
         
                  
         
    |
| |
| Theorem | gausslemma2dlem3 16304* |
Lemma 3 for gausslemma2d 16310. (Contributed by AV, 4-Jul-2021.)
|
 
      
         
                  
           
      |
| |
| Theorem | gausslemma2dlem4 16305* |
Lemma 4 for gausslemma2d 16310. (Contributed by AV, 16-Jun-2021.)
|
 
      
         
                  
     
                        |
| |
| Theorem | gausslemma2dlem5a 16306* |
Lemma for gausslemma2dlem5 16307. (Contributed by AV, 8-Jul-2021.)
|
 
      
         
                  
            
                  |
| |
| Theorem | gausslemma2dlem5 16307* |
Lemma 5 for gausslemma2d 16310. (Contributed by AV, 9-Jul-2021.)
|
 
      
         
                 
                                      |
| |
| Theorem | gausslemma2dlem6 16308* |
Lemma 6 for gausslemma2d 16310. (Contributed by AV, 16-Jun-2021.)
|
 
      
         
                 
                          
   |
| |
| Theorem | gausslemma2dlem7 16309* |
Lemma 7 for gausslemma2d 16310. (Contributed by AV, 13-Jul-2021.)
|
 
      
         
                 
                  |
| |
| Theorem | gausslemma2d 16310* |
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.4.7 Quadratic reciprocity
|
| |
| Theorem | lgseisenlem1 16311* |
Lemma for lgseisen 16315. 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 16312* |
Lemma for lgseisen 16315. The function is an injection (and hence
a bijection by the pigeonhole principle). (Contributed by Mario
Carneiro, 17-Jun-2015.)
|
 
                

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

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

      
                   
ℤ/nℤ  mulGrp   RHom                        
        
        |
| |
| Theorem | lgseisen 16315* |
Eisenstein's lemma, an expression for     when  are
distinct odd primes. (Contributed by Mario Carneiro, 18-Jun-2015.)
|
 
                
                           |
| |
| Theorem | lgsquadlemsfi 16316* |
Lemma for lgsquad 16321. is finite. (Contributed by Jim Kingdon,
16-Sep-2025.)
|
 
              
                   
         |
| |
| Theorem | lgsquadlemofi 16317* |
Lemma for lgsquad 16321. There are finitely many members of with odd
first part. (Contributed by Jim Kingdon, 16-Sep-2025.)
|
 
              
                   
       
       |
| |
| Theorem | lgsquadlem1 16318* |
Lemma for lgsquad 16321. Count the members of with odd coordinates.
(Contributed by Mario Carneiro, 19-Jun-2015.)
|
 
              
                   
                                        ♯           |
| |
| Theorem | lgsquadlem2 16319* |
Lemma for lgsquad 16321. Count the members of with even coordinates,
and combine with lgsquadlem1 16318 to get the total count of lattice
points
in (up to
parity). (Contributed by Mario Carneiro,
18-Jun-2015.)
|
 
              
                   
          
    ♯     |
| |
| Theorem | lgsquadlem3 16320* |
Lemma for lgsquad 16321. (Contributed by Mario Carneiro,
18-Jun-2015.)
|
 
              
                   
           
              |
| |
| Theorem | lgsquad 16321 |
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 16322 |
Lemma for lgsquad2 16324. (Contributed by Mario Carneiro,
19-Jun-2015.)
|
  
                                   
             
                
    
                 
         |
| |
| Theorem | lgsquad2lem2 16323* |
Lemma for lgsquad2 16324. (Contributed by Mario Carneiro,
19-Jun-2015.)
|
  
          
     
                        
                                     
          
                
     |
| |
| Theorem | lgsquad2 16324 |
Extend lgsquad 16321 to coprime odd integers (the domain of the
Jacobi
symbol). (Contributed by Mario Carneiro, 19-Jun-2015.)
|
  
              
                
     |
| |
| Theorem | lgsquad3 16325 |
Extend lgsquad2 16324 to integers which share a factor.
(Contributed by Mario
Carneiro, 19-Jun-2015.)
|
    
 
                
          |
| |
| Theorem | m1lgs 16326 |
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 16327* |
Lemma 1 for 2lgslem1a 16329. (Contributed by AV, 16-Jun-2021.)
|
  
      
       
   |
| |
| Theorem | 2lgslem1a2 16328 |
Lemma 2 for 2lgslem1a 16329. (Contributed by AV, 18-Jun-2021.)
|
                 |
| |
| Theorem | 2lgslem1a 16329* |
Lemma 1 for 2lgslem1 16332. (Contributed by AV, 18-Jun-2021.)
|
  
       
     
                              |
| |
| Theorem | 2lgslem1b 16330* |
Lemma 2 for 2lgslem1 16332. (Contributed by AV, 18-Jun-2021.)
|
             

   |
| |
| Theorem | 2lgslem1c 16331 |
Lemma 3 for 2lgslem1 16332. (Contributed by AV, 19-Jun-2021.)
|
  
        
   |
| |
| Theorem | 2lgslem1 16332* |
Lemma 1 for 2lgs 16345. (Contributed by AV, 19-Jun-2021.)
|
  
♯        
     
          
          |
| |
| Theorem | 2lgslem2 16333 |
Lemma 2 for 2lgs 16345. (Contributed by AV, 20-Jun-2021.)
|
   
          
  |
| |
| Theorem | 2lgslem3a 16334 |
Lemma for 2lgslem3a1 16338. (Contributed by AV, 14-Jul-2021.)
|
   
                   |
| |
| Theorem | 2lgslem3b 16335 |
Lemma for 2lgslem3b1 16339. (Contributed by AV, 16-Jul-2021.)
|
   
                     |
| |
| Theorem | 2lgslem3c 16336 |
Lemma for 2lgslem3c1 16340. (Contributed by AV, 16-Jul-2021.)
|
   
                     |
| |
| Theorem | 2lgslem3d 16337 |
Lemma for 2lgslem3d1 16341. (Contributed by AV, 16-Jul-2021.)
|
   
                     |
| |
| Theorem | 2lgslem3a1 16338 |
Lemma 1 for 2lgslem3 16342. (Contributed by AV, 15-Jul-2021.)
|
   
           

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

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

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

    |
| |
| Theorem | 2lgslem3 16342 |
Lemma 3 for 2lgs 16345. (Contributed by AV, 16-Jul-2021.)
|
   
          
              |
| |
| Theorem | 2lgs2 16343 |
The Legendre symbol for
at is . (Contributed by AV,
20-Jun-2021.)
|
     |
| |
| Theorem | 2lgslem4 16344 |
Lemma 4 for 2lgs 16345: special case of 2lgs 16345
for . (Contributed
by AV, 20-Jun-2021.)
|
            |
| |
| Theorem | 2lgs 16345 |
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 16258) 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 16346 |
Lemma 1 for 2lgsoddprm . (Contributed by AV, 19-Jul-2021.)
|
             
                    
    |
| |
| Theorem | 2lgsoddprmlem2 16347 |
Lemma 2 for 2lgsoddprm . (Contributed by AV, 19-Jul-2021.)
|
    
       

           |
| |
| Theorem | 2lgsoddprmlem3a 16348 |
Lemma 1 for 2lgsoddprmlem3 16352. (Contributed by AV, 20-Jul-2021.)
|
      
  |
| |
| Theorem | 2lgsoddprmlem3b 16349 |
Lemma 2 for 2lgsoddprmlem3 16352. (Contributed by AV, 20-Jul-2021.)
|
      
  |
| |
| Theorem | 2lgsoddprmlem3c 16350 |
Lemma 3 for 2lgsoddprmlem3 16352. (Contributed by AV, 20-Jul-2021.)
|
      
  |
| |
| Theorem | 2lgsoddprmlem3d 16351 |
Lemma 4 for 2lgsoddprmlem3 16352. (Contributed by AV, 20-Jul-2021.)
|
      
    |
| |
| Theorem | 2lgsoddprmlem3 16352 |
Lemma 3 for 2lgsoddprm . (Contributed by AV, 20-Jul-2021.)
|
    
       
       |
| |
| Theorem | 2lgsoddprmlem4 16353 |
Lemma 4 for 2lgsoddprm . (Contributed by AV, 20-Jul-2021.)
|
  
          
      |
| |
| Theorem | 2lgsoddprm 16354 |
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.4.8 All primes 4n+1 are the sum of two
squares
|
| |
| Theorem | 2sqlem1 16355* |
Lemma for 2sq . (Contributed by Mario Carneiro, 19-Jun-2015.)
|

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

              
            |
| |
| Theorem | mul2sq 16357 |
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 16358 |
Lemma for 2sqlem5 16360. (Contributed by Mario Carneiro,
20-Jun-2015.)
|

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

                
                                    |
| |
| Theorem | 2sqlem5 16360 |
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 16361* |
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 16362* |
Lemma for 2sq . (Contributed by Mario Carneiro, 19-Jun-2015.)
|

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

                                       

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

                                       

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

                                       

  
        |
| |
| Theorem | 2sqlem10 16366* |
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 16367 |
Extend class notation with an edge function.
|
.ef |
| |
| Definition | df-edgf 16368 |
Define the edge function (indexed edges) of a graph. (Contributed by AV,
18-Jan-2020.) Use its index-independent form edgfid 16369 instead.
(New usage is discouraged.)
|
.ef Slot ;  |
| |
| Theorem | edgfid 16369 |
Utility theorem: index-independent form of df-edgf 16368. (Contributed by
AV, 16-Nov-2021.)
|
.ef Slot .ef   |
| |
| Theorem | edgfndx 16370 |
Index value of the df-edgf 16368 slot. (Contributed by AV, 13-Oct-2024.)
(New usage is discouraged.)
|
.ef  ;  |
| |
| Theorem | edgfndxnn 16371 |
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 16372 |
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 16373 |
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 16374 |
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 16375 |
Extend class notation with the vertices of "graphs".
|
Vtx |
| |
| Syntax | ciedg 16376 |
Extend class notation with the indexed edges of "graphs".
|
iEdg |
| |
| Definition | df-vtx 16377 |
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 16378 |
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 16379 |
The set of vertices of a graph. (Contributed by AV, 9-Jan-2020.)
(Revised by AV, 21-Sep-2020.)
|
 Vtx           
       |
| |
| Theorem | iedgvalg 16380 |
The set of indexed edges of a graph. (Contributed by AV,
21-Sep-2020.)
|
 iEdg           
.ef     |
| |
| Theorem | vtxex 16381 |
Applying the vertex function yields a set. (Contributed by Jim Kingdon,
29-Dec-2025.)
|
 Vtx    |
| |
| Theorem | iedgex 16382 |
Applying the indexed edge function yields a set. (Contributed by Jim
Kingdon, 29-Dec-2025.)
|
 iEdg    |
| |
| Theorem | 1vgrex 16383 |
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 16384 |
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 16385 |
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 16386 |
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 16387 |
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 16388 |
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 16389 |
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 16390 |
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 16391 |
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 16392 |
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 16393 |
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 16394 |
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 16395 |
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 16396 |
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 16397 |
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    |
| |
| Theorem | edgfiedgval2dom 16398 |
The set of indexed edges of a graph represented as an extensible
structure with the indexed edges in the slot for edge functions.
(Contributed by AV, 14-Oct-2020.) (Revised by AV, 12-Nov-2021.)
|
 Struct        .ef  
   iEdg    |
| |
| Theorem | funvtxvalg 16399 |
The set of vertices of a graph represented as an extensible structure with
vertices as base set and indexed edges. (Contributed by AV, 22-Sep-2020.)
(Revised by AV, 7-Jun-2021.) (Revised by AV, 12-Nov-2021.)
|
 
          .ef    Vtx        |
| |
| Theorem | funiedgvalg 16400 |
The set of indexed edges of a graph represented as an extensible structure
with vertices as base set and indexed edges. (Contributed by AV,
21-Sep-2020.) (Revised by AV, 7-Jun-2021.) (Revised by AV,
12-Nov-2021.)
|
 
          .ef    iEdg  .ef    |