Theorem List for Intuitionistic Logic Explorer - 15801-15900 *Has distinct variable
group(s)
| Type | Label | Description |
| Statement |
| |
| Theorem | lgsquadlem3 15801* |
Lemma for lgsquad 15802. (Contributed by Mario Carneiro,
18-Jun-2015.)
|
 
              
                   
           
              |
| |
| Theorem | lgsquad 15802 |
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 15803 |
Lemma for lgsquad2 15805. (Contributed by Mario Carneiro,
19-Jun-2015.)
|
  
                                   
             
                
    
                 
         |
| |
| Theorem | lgsquad2lem2 15804* |
Lemma for lgsquad2 15805. (Contributed by Mario Carneiro,
19-Jun-2015.)
|
  
          
     
                        
                                     
          
                
     |
| |
| Theorem | lgsquad2 15805 |
Extend lgsquad 15802 to coprime odd integers (the domain of the
Jacobi
symbol). (Contributed by Mario Carneiro, 19-Jun-2015.)
|
  
              
                
     |
| |
| Theorem | lgsquad3 15806 |
Extend lgsquad2 15805 to integers which share a factor.
(Contributed by Mario
Carneiro, 19-Jun-2015.)
|
    
 
                
          |
| |
| Theorem | m1lgs 15807 |
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 15808* |
Lemma 1 for 2lgslem1a 15810. (Contributed by AV, 16-Jun-2021.)
|
  
      
       
   |
| |
| Theorem | 2lgslem1a2 15809 |
Lemma 2 for 2lgslem1a 15810. (Contributed by AV, 18-Jun-2021.)
|
                 |
| |
| Theorem | 2lgslem1a 15810* |
Lemma 1 for 2lgslem1 15813. (Contributed by AV, 18-Jun-2021.)
|
  
       
     
                              |
| |
| Theorem | 2lgslem1b 15811* |
Lemma 2 for 2lgslem1 15813. (Contributed by AV, 18-Jun-2021.)
|
             

   |
| |
| Theorem | 2lgslem1c 15812 |
Lemma 3 for 2lgslem1 15813. (Contributed by AV, 19-Jun-2021.)
|
  
        
   |
| |
| Theorem | 2lgslem1 15813* |
Lemma 1 for 2lgs 15826. (Contributed by AV, 19-Jun-2021.)
|
  
♯        
     
          
          |
| |
| Theorem | 2lgslem2 15814 |
Lemma 2 for 2lgs 15826. (Contributed by AV, 20-Jun-2021.)
|
   
          
  |
| |
| Theorem | 2lgslem3a 15815 |
Lemma for 2lgslem3a1 15819. (Contributed by AV, 14-Jul-2021.)
|
   
                   |
| |
| Theorem | 2lgslem3b 15816 |
Lemma for 2lgslem3b1 15820. (Contributed by AV, 16-Jul-2021.)
|
   
                     |
| |
| Theorem | 2lgslem3c 15817 |
Lemma for 2lgslem3c1 15821. (Contributed by AV, 16-Jul-2021.)
|
   
                     |
| |
| Theorem | 2lgslem3d 15818 |
Lemma for 2lgslem3d1 15822. (Contributed by AV, 16-Jul-2021.)
|
   
                     |
| |
| Theorem | 2lgslem3a1 15819 |
Lemma 1 for 2lgslem3 15823. (Contributed by AV, 15-Jul-2021.)
|
   
           

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

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

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

    |
| |
| Theorem | 2lgslem3 15823 |
Lemma 3 for 2lgs 15826. (Contributed by AV, 16-Jul-2021.)
|
   
          
              |
| |
| Theorem | 2lgs2 15824 |
The Legendre symbol for
at is . (Contributed by AV,
20-Jun-2021.)
|
     |
| |
| Theorem | 2lgslem4 15825 |
Lemma 4 for 2lgs 15826: special case of 2lgs 15826
for . (Contributed
by AV, 20-Jun-2021.)
|
            |
| |
| Theorem | 2lgs 15826 |
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 15739) 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 15827 |
Lemma 1 for 2lgsoddprm . (Contributed by AV, 19-Jul-2021.)
|
             
                    
    |
| |
| Theorem | 2lgsoddprmlem2 15828 |
Lemma 2 for 2lgsoddprm . (Contributed by AV, 19-Jul-2021.)
|
    
       

           |
| |
| Theorem | 2lgsoddprmlem3a 15829 |
Lemma 1 for 2lgsoddprmlem3 15833. (Contributed by AV, 20-Jul-2021.)
|
      
  |
| |
| Theorem | 2lgsoddprmlem3b 15830 |
Lemma 2 for 2lgsoddprmlem3 15833. (Contributed by AV, 20-Jul-2021.)
|
      
  |
| |
| Theorem | 2lgsoddprmlem3c 15831 |
Lemma 3 for 2lgsoddprmlem3 15833. (Contributed by AV, 20-Jul-2021.)
|
      
  |
| |
| Theorem | 2lgsoddprmlem3d 15832 |
Lemma 4 for 2lgsoddprmlem3 15833. (Contributed by AV, 20-Jul-2021.)
|
      
    |
| |
| Theorem | 2lgsoddprmlem3 15833 |
Lemma 3 for 2lgsoddprm . (Contributed by AV, 20-Jul-2021.)
|
    
       
       |
| |
| Theorem | 2lgsoddprmlem4 15834 |
Lemma 4 for 2lgsoddprm . (Contributed by AV, 20-Jul-2021.)
|
  
          
      |
| |
| Theorem | 2lgsoddprm 15835 |
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 15836* |
Lemma for 2sq . (Contributed by Mario Carneiro, 19-Jun-2015.)
|

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

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

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

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

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

                                       

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

                                       

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

                                       

  
        |
| |
| Theorem | 2sqlem10 15847* |
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 15848 |
Extend class notation with an edge function.
|
.ef |
| |
| Definition | df-edgf 15849 |
Define the edge function (indexed edges) of a graph. (Contributed by AV,
18-Jan-2020.) Use its index-independent form edgfid 15850 instead.
(New usage is discouraged.)
|
.ef Slot ;  |
| |
| Theorem | edgfid 15850 |
Utility theorem: index-independent form of df-edgf 15849. (Contributed by
AV, 16-Nov-2021.)
|
.ef Slot .ef   |
| |
| Theorem | edgfndx 15851 |
Index value of the df-edgf 15849 slot. (Contributed by AV, 13-Oct-2024.)
(New usage is discouraged.)
|
.ef  ;  |
| |
| Theorem | edgfndxnn 15852 |
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 15853 |
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 15854 |
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 15855 |
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 15856 |
Extend class notation with the vertices of "graphs".
|
Vtx |
| |
| Syntax | ciedg 15857 |
Extend class notation with the indexed edges of "graphs".
|
iEdg |
| |
| Definition | df-vtx 15858 |
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 15859 |
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 15860 |
The set of vertices of a graph. (Contributed by AV, 9-Jan-2020.)
(Revised by AV, 21-Sep-2020.)
|
 Vtx           
       |
| |
| Theorem | iedgvalg 15861 |
The set of indexed edges of a graph. (Contributed by AV,
21-Sep-2020.)
|
 iEdg           
.ef     |
| |
| Theorem | vtxex 15862 |
Applying the vertex function yields a set. (Contributed by Jim Kingdon,
29-Dec-2025.)
|
 Vtx    |
| |
| Theorem | iedgex 15863 |
Applying the indexed edge function yields a set. (Contributed by Jim
Kingdon, 29-Dec-2025.)
|
 iEdg    |
| |
| Theorem | 1vgrex 15864 |
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 15865 |
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 15866 |
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 15867 |
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 15868 |
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 15869 |
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 15870 |
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 15871 |
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 15872 |
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 15873 |
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 15874 |
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 15875 |
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 15876 |
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 15877 |
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 15878 |
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 15879 |
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 15880 |
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 15881 |
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    |
| |
| Theorem | struct2slots2dom 15882 |
There are at least two elements in an extensible structure with a base
set and another slot. (Contributed by AV, 23-Sep-2020.) (Revised by
AV, 12-Nov-2021.)
|
                   
  |
| |
| Theorem | structvtxval 15883 |
The set of vertices of an extensible structure with a base set and
another slot. (Contributed by AV, 23-Sep-2020.) (Proof shortened by
AV, 12-Nov-2021.)
|
                    Vtx 
  |
| |
| Theorem | structiedg0val 15884 |
The set of indexed edges of an extensible structure with a base set and
another slot not being the slot for edge functions is empty.
(Contributed by AV, 23-Sep-2020.) (Proof shortened by AV,
12-Nov-2021.)
|
                   .ef   iEdg    |
| |
| Theorem | structgr2slots2dom 15885 |
There are at least two elements in a graph represented as an extensible
structure with vertices as base set and indexed edges. (Contributed by
AV, 14-Oct-2020.) (Proof shortened by AV, 12-Nov-2021.)
|
 Struct                 .ef         |
| |
| Theorem | structgrssvtx 15886 |
The set of vertices of a graph represented as an extensible structure
with vertices as base set and indexed edges. (Contributed by AV,
14-Oct-2020.) (Proof shortened by AV, 12-Nov-2021.)
|
 Struct                 .ef       Vtx    |
| |
| Theorem | structgrssiedg 15887 |
The set of indexed edges of a graph represented as an extensible
structure with vertices as base set and indexed edges. (Contributed by
AV, 14-Oct-2020.) (Proof shortened by AV, 12-Nov-2021.)
|
 Struct                 .ef       iEdg    |
| |
| Theorem | struct2grstrg 15888 |
A graph represented as an extensible structure with vertices as base set
and indexed edges is actually an extensible structure. (Contributed by
AV, 23-Nov-2020.)
|
          .ef       
Struct       .ef     |
| |
| Theorem | struct2grvtx 15889 |
The set of vertices of a graph represented as an extensible structure
with vertices as base set and indexed edges. (Contributed by AV,
23-Sep-2020.)
|
          .ef        Vtx 
  |
| |
| Theorem | struct2griedg 15890 |
The set of indexed edges of a graph represented as an extensible
structure with vertices as base set and indexed edges. (Contributed by
AV, 23-Sep-2020.) (Proof shortened by AV, 12-Nov-2021.)
|
          .ef        iEdg 
  |
| |
| Theorem | gropd 15891* |
If any representation of a graph with vertices and edges has
a certain property , then the ordered pair    of the
set of vertices and the set of edges (which is such a representation of
a graph with vertices and edges )
has this property.
(Contributed by AV, 11-Oct-2020.)
|
     Vtx 
iEdg               ![]. ].](_drbrack.gif)   |
| |
| Theorem | grstructd2dom 15892* |
If any representation of a graph with vertices and edges has
a certain property , then any structure with base set and
value in the
slot for edge functions (which is such a
representation of a graph with vertices and edges ) has this
property. (Contributed by AV, 12-Oct-2020.) (Revised by AV,
9-Jun-2021.)
|
     Vtx 
iEdg                          .ef      ![]. ].](_drbrack.gif)   |
| |
| Theorem | gropeld 15893* |
If any representation of a graph with vertices and edges is
an element of an arbitrary class , then the ordered pair
   of the set of vertices and the set of edges (which is
such a representation of a graph with vertices and edges )
is an element of this class . (Contributed by AV,
11-Oct-2020.)
|
     Vtx 
iEdg               |
| |
| Theorem | grstructeld2dom 15894* |
If any representation of a graph with vertices and edges is
an element of an arbitrary class , then any structure with base
set and value
in the slot for edge
functions (which is such
a representation of a graph with vertices and edges ) is an
element of this class . (Contributed by AV, 12-Oct-2020.)
(Revised by AV, 9-Jun-2021.)
|
     Vtx 
iEdg           
     
        .ef      |
| |
| Theorem | setsvtx 15895 |
The vertices of a structure with a base set and an inserted resp.
replaced slot for the edge function. (Contributed by AV, 18-Jan-2020.)
(Revised by AV, 16-Nov-2021.)
|
.ef   Struct           Vtx  sSet            |
| |
| Theorem | setsiedg 15896 |
The (indexed) edges of a structure with a base set and an inserted resp.
replaced slot for the edge function. (Contributed by AV, 7-Jun-2021.)
(Revised by AV, 16-Nov-2021.)
|
.ef   Struct           iEdg  sSet        |
| |
| 12.1.2.4 Degenerated cases of representations
of graphs
|
| |
| Theorem | vtxval0 15897 |
Degenerated case 1 for vertices: The set of vertices of the empty set is
the empty set. (Contributed by AV, 24-Sep-2020.)
|
Vtx   |
| |
| Theorem | iedgval0 15898 |
Degenerated case 1 for edges: The set of indexed edges of the empty set
is the empty set. (Contributed by AV, 24-Sep-2020.)
|
iEdg   |
| |
| Theorem | vtxvalprc 15899 |
Degenerated case 4 for vertices: The set of vertices of a proper class is
the empty set. (Contributed by AV, 12-Oct-2020.)
|
 Vtx    |
| |
| Theorem | iedgvalprc 15900 |
Degenerated case 4 for edges: The set of indexed edges of a proper class
is the empty set. (Contributed by AV, 12-Oct-2020.)
|
 iEdg    |