Theorem List for Intuitionistic Logic Explorer - 11201-11300 *Has distinct variable
group(s)
| Type | Label | Description |
| Statement |
| |
| Theorem | hashen 11201 |
Two finite sets have the same number of elements iff they are
equinumerous. (Contributed by Paul Chapman, 22-Jun-2011.) (Revised by
Mario Carneiro, 15-Sep-2013.)
|
    ♯ 
♯     |
| |
| Theorem | hasheqf1o 11202* |
The size of two finite sets is equal if and only if there is a bijection
mapping one of the sets onto the other. (Contributed by Alexander van
der Vekens, 17-Dec-2017.)
|
    ♯ 
♯          |
| |
| Theorem | fiinfnf1o 11203* |
There is no bijection between a finite set and an infinite set. By
infnfi 7189 the theorem would also hold if
"infinite" were expressed as
. (Contributed by
Alexander van der Vekens,
25-Dec-2017.)
|
  
       |
| |
| Theorem | fihasheqf1oi 11204 |
The size of two finite sets is equal if there is a bijection mapping one
of the sets onto the other. (Contributed by Jim Kingdon,
21-Feb-2022.)
|
       ♯  ♯    |
| |
| Theorem | fihashf1rn 11205 |
The size of a finite set which is a one-to-one function is equal to the
size of the function's range. (Contributed by Jim Kingdon,
21-Feb-2022.)
|
       ♯  ♯    |
| |
| Theorem | fihasheqf1od 11206 |
The size of two finite sets is equal if there is a bijection mapping one
of the sets onto the other. (Contributed by Jim Kingdon,
21-Feb-2022.)
|
         ♯  ♯    |
| |
| Theorem | fz1eqb 11207 |
Two possibly-empty 1-based finite sets of sequential integers are equal
iff their endpoints are equal. (Contributed by Paul Chapman,
22-Jun-2011.) (Proof shortened by Mario Carneiro, 29-Mar-2014.)
|
           
   |
| |
| Theorem | filtinf 11208 |
The size of an infinite set is greater than the size of a finite set.
(Contributed by Jim Kingdon, 21-Feb-2022.)
|
   ♯  ♯    |
| |
| Theorem | isfinite4im 11209 |
A finite set is equinumerous to the range of integers from one up to the
hash value of the set. (Contributed by Jim Kingdon, 22-Feb-2022.)
|
    ♯     |
| |
| Theorem | fihasheq0 11210 |
Two ways of saying a finite set is empty. (Contributed by Paul Chapman,
26-Oct-2012.) (Revised by Mario Carneiro, 27-Jul-2014.) (Intuitionized
by Jim Kingdon, 23-Feb-2022.)
|
  ♯ 
   |
| |
| Theorem | fihashneq0 11211 |
Two ways of saying a finite set is not empty. Also, "A is inhabited"
would be equivalent by fin0 7179. (Contributed by Alexander van der Vekens,
23-Sep-2018.) (Intuitionized by Jim Kingdon, 23-Feb-2022.)
|
  ♯ 
   |
| |
| Theorem | hashnncl 11212 |
Positive natural closure of the hash function. (Contributed by Mario
Carneiro, 16-Jan-2015.)
|
  ♯ 
   |
| |
| Theorem | hash0 11213 |
The empty set has size zero. (Contributed by Mario Carneiro,
8-Jul-2014.)
|
♯   |
| |
| Theorem | fihashelne0d 11214 |
A finite set with an element has nonzero size. (Contributed by Rohan
Ridenour, 3-Aug-2023.)
|
     ♯    |
| |
| Theorem | hashsng 11215 |
The size of a singleton. (Contributed by Paul Chapman, 26-Oct-2012.)
(Proof shortened by Mario Carneiro, 13-Feb-2013.)
|
 ♯      |
| |
| Theorem | fihashen1 11216 |
A finite set has size 1 if and only if it is equinumerous to the ordinal
1. (Contributed by AV, 14-Apr-2019.) (Intuitionized by Jim Kingdon,
23-Feb-2022.)
|
  ♯ 
   |
| |
| Theorem | en1hash 11217 |
A set equinumerous to the ordinal one has size 1 . (Contributed by Jim
Kingdon, 11-Mar-2026.)
|
 ♯    |
| |
| Theorem | fihashfn 11218 |
A function on a finite set is equinumerous to its domain. (Contributed by
Mario Carneiro, 12-Mar-2015.) (Intuitionized by Jim Kingdon,
24-Feb-2022.)
|
   ♯  ♯    |
| |
| Theorem | fseq1hash 11219 |
The value of the size function on a finite 1-based sequence. (Contributed
by Paul Chapman, 26-Oct-2012.) (Proof shortened by Mario Carneiro,
12-Mar-2015.)
|
       ♯    |
| |
| Theorem | omgadd 11220 |
Mapping ordinal addition to integer addition. (Contributed by Jim
Kingdon, 24-Feb-2022.)
|
frec             
              |
| |
| Theorem | fihashdom 11221 |
Dominance relation for the size function. (Contributed by Jim Kingdon,
24-Feb-2022.)
|
    ♯  ♯     |
| |
| Theorem | hashunlem 11222 |
Lemma for hashun 11223. Ordinal size of the union. (Contributed
by Jim
Kingdon, 25-Feb-2022.)
|
                   
   |
| |
| Theorem | hashun 11223 |
The size of the union of disjoint finite sets is the sum of their sizes.
(Contributed by Paul Chapman, 30-Nov-2012.) (Revised by Mario Carneiro,
15-Sep-2013.)
|
  
  ♯   
 ♯  ♯     |
| |
| Theorem | fihashgt0 11224 |
The cardinality of a finite nonempty set is greater than zero.
(Contributed by Thierry Arnoux, 2-Mar-2017.)
|
  
♯    |
| |
| Theorem | 1elfz0hash 11225 |
1 is an element of the finite set of sequential nonnegative integers
bounded by the size of a nonempty finite set. (Contributed by AV,
9-May-2020.)
|
      ♯     |
| |
| Theorem | hashunsng 11226 |
The size of the union of a finite set with a disjoint singleton is one
more than the size of the set. (Contributed by Paul Chapman,
30-Nov-2012.)
|
    ♯       ♯      |
| |
| Theorem | hashprg 11227 |
The size of an unordered pair. (Contributed by Mario Carneiro,
27-Sep-2013.) (Revised by Mario Carneiro, 5-May-2016.) (Revised by AV,
18-Sep-2021.)
|
    ♯        |
| |
| Theorem | prhash2ex 11228 |
There is (at least) one set with two different elements: the unordered
pair containing and
. In contrast to pr0hash2ex 11234, numbers
are used instead of sets because their representation is shorter (and more
comprehensive). (Contributed by AV, 29-Jan-2020.)
|
♯      |
| |
| Theorem | hashp1i 11229 |
Size of a natural number ordinal. (Contributed by Mario Carneiro,
5-Jan-2016.)
|
♯ 
 
♯   |
| |
| Theorem | hash1 11230 |
Size of a natural number ordinal. (Contributed by Mario Carneiro,
5-Jan-2016.)
|
♯   |
| |
| Theorem | hash2 11231 |
Size of a natural number ordinal. (Contributed by Mario Carneiro,
5-Jan-2016.)
|
♯   |
| |
| Theorem | hash3 11232 |
Size of a natural number ordinal. (Contributed by Mario Carneiro,
5-Jan-2016.)
|
♯   |
| |
| Theorem | hash4 11233 |
Size of a natural number ordinal. (Contributed by Mario Carneiro,
5-Jan-2016.)
|
♯   |
| |
| Theorem | pr0hash2ex 11234 |
There is (at least) one set with two different elements: the unordered
pair containing the empty set and the singleton containing the empty set.
(Contributed by AV, 29-Jan-2020.)
|
♯        |
| |
| Theorem | fihashss 11235 |
The size of a subset is less than or equal to the size of its superset.
(Contributed by Alexander van der Vekens, 14-Jul-2018.)
|
   ♯  ♯    |
| |
| Theorem | fiprsshashgt1 11236 |
The size of a superset of a proper unordered pair is greater than 1.
(Contributed by AV, 6-Feb-2021.)
|
    
  

♯     |
| |
| Theorem | fihashssdif 11237 |
The size of the difference of a finite set and a finite subset is the
set's size minus the subset's. (Contributed by Jim Kingdon,
31-May-2022.)
|
   ♯     ♯  ♯     |
| |
| Theorem | hashdifsn 11238 |
The size of the difference of a finite set and a singleton subset is the
set's size minus 1. (Contributed by Alexander van der Vekens,
6-Jan-2018.)
|
   ♯       ♯     |
| |
| Theorem | hashdifpr 11239 |
The size of the difference of a finite set and a proper ordered pair
subset is the set's size minus 2. (Contributed by AV, 16-Dec-2020.)
|
     ♯        ♯     |
| |
| Theorem | hashfz 11240 |
Value of the numeric cardinality of a nonempty integer range.
(Contributed by Stefan O'Rear, 12-Sep-2014.) (Proof shortened by Mario
Carneiro, 15-Apr-2015.)
|
     ♯        
   |
| |
| Theorem | hashfzo 11241 |
Cardinality of a half-open set of integers. (Contributed by Stefan
O'Rear, 15-Aug-2015.)
|
     ♯  ..^ 
    |
| |
| Theorem | hashfzo0 11242 |
Cardinality of a half-open set of integers based at zero. (Contributed by
Stefan O'Rear, 15-Aug-2015.)
|
 ♯  ..^ 
  |
| |
| Theorem | hashfzp1 11243 |
Value of the numeric cardinality of a (possibly empty) integer range.
(Contributed by AV, 19-Jun-2021.)
|
     ♯            |
| |
| Theorem | hashfz0 11244 |
Value of the numeric cardinality of a nonempty range of nonnegative
integers. (Contributed by Alexander van der Vekens, 21-Jul-2018.)
|
 ♯          |
| |
| Theorem | hashxp 11245 |
The size of the Cartesian product of two finite sets is the product of
their sizes. (Contributed by Paul Chapman, 30-Nov-2012.)
|
   ♯     ♯  ♯     |
| |
| Theorem | hashmap 11246 |
The size of the set exponential of two finite sets is the exponential of
their sizes. (This is the original motivation behind the notation for
set exponentiation.) (Contributed by Mario Carneiro, 5-Aug-2014.)
(Proof shortened by AV, 18-Jul-2022.)
|
   ♯     ♯    ♯     |
| |
| Theorem | hashpwfi 11247 |
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 7310. For the number of subsets (which
need not be finite) of a set, see pw1mapen 16940. (Contributed by Jim
Kingdon, 5-Jun-2026.)
|
 ♯        ♯     |
| |
| Theorem | fimaxq 11248* |
A finite set of rational numbers has a maximum. (Contributed by Jim
Kingdon, 6-Sep-2022.)
|
   
   |
| |
| Theorem | fiubm 11249* |
Lemma for fiubz 11250 and fiubnn 11251. A general form of those theorems.
(Contributed by Jim Kingdon, 29-Oct-2024.)
|
             |
| |
| Theorem | fiubz 11250* |
A finite set of integers has an upper bound which is an integer.
(Contributed by Jim Kingdon, 29-Oct-2024.)
|
       |
| |
| Theorem | fiubnn 11251* |
A finite set of natural numbers has an upper bound which is a a natural
number. (Contributed by Jim Kingdon, 29-Oct-2024.)
|
       |
| |
| Theorem | resunimafz0 11252 |
The union of a restriction by an image over an open range of nonnegative
integers and a singleton of an ordered pair is a restriction by an image
over an interval of nonnegative integers. (Contributed by Mario
Carneiro, 8-Apr-2015.) (Revised by AV, 20-Feb-2021.)
|
      ..^ ♯        ..^ ♯     
               ..^                       |
| |
| Theorem | fnfz0hash 11253 |
The size of a function on a finite set of sequential nonnegative integers.
(Contributed by Alexander van der Vekens, 25-Jun-2018.)
|
       ♯      |
| |
| Theorem | ffz0hash 11254 |
The size of a function on a finite set of sequential nonnegative integers
equals the upper bound of the sequence increased by 1. (Contributed by
Alexander van der Vekens, 15-Mar-2018.) (Proof shortened by AV,
11-Apr-2021.)
|
           ♯      |
| |
| Theorem | ffzo0hash 11255 |
The size of a function on a half-open range of nonnegative integers.
(Contributed by Alexander van der Vekens, 25-Mar-2018.)
|
   ..^  ♯    |
| |
| Theorem | fnfzo0hash 11256 |
The size of a function on a half-open range of nonnegative integers equals
the upper bound of this range. (Contributed by Alexander van der Vekens,
26-Jan-2018.) (Proof shortened by AV, 11-Apr-2021.)
|
     ..^    ♯    |
| |
| Theorem | sseqn 11257* |
Two ways to express the subsets of a class of a given size. It might
seem that  
♯   would suffice, but that
would require the converse of hashcl 11198 or something similar. Although
each side of the equality would be well defined if we changed
to , they
would give different results for the
(degenerate) case of a negative size, as shown at ssenneg 11258 and
sshashneg 11259. (Contributed by Jim Kingdon, 22-May-2026.)
|
 

    

   ♯     |
| |
| Theorem | ssenneg 11258* |
Subsets of a class of a negative size (a degenerate case). Together
with sshashneg 11259 this shows that sseqn 11257 could not be extended beyond
. (Contributed by Jim Kingdon,
22-May-2026.)
|
  
      
    |
| |
| Theorem | sshashneg 11259* |
Subsets of a class of a negative size (a degenerate case). Together
with ssenneg 11258 this shows that sseqn 11257 could not be extended beyond
. (Contributed by Jim Kingdon,
22-May-2026.)
|
  
    ♯ 
   |
| |
| Theorem | hashfibclem 11260* |
Lemma for hashfibc 11261: inductive step. (Contributed by Mario
Carneiro, 13-Jul-2014.)
|
    
  ♯   ♯     ♯ 
       ♯     
 ♯       
 ♯      |
| |
| Theorem | hashfibc 11261* |
The binomial coefficient counts the number of subsets of a finite set of
a given size. This is Metamath 100 proof #58 (formula for the number of
combinations). For more on the notation for subsets of a given size,
see sseqn 11257. (Contributed by Mario Carneiro,
13-Jul-2014.)
|
    ♯   ♯     ♯ 
    |
| |
| Theorem | hashfacen 11262* |
The number of bijections between two sets is a cardinal invariant.
(Contributed by Mario Carneiro, 21-Jan-2015.)
|
                 |
| |
| Theorem | hashf1lem1 11263* |
Lemma for hashf1 11265. (Contributed by Mario Carneiro,
17-Apr-2015.)
(Proof shortened by AV, 14-Aug-2024.)
|
    
   ♯   ♯   
         
          
   |
| |
| Theorem | hashf1lem2 11264* |
Lemma for hashf1 11265. (Contributed by Mario Carneiro,
17-Apr-2015.)
|
    
   ♯   ♯   
♯              ♯  ♯  
♯           |
| |
| Theorem | hashf1 11265* |
The permutation number
 counts
the number of injections from
to . (Contributed by Mario
Carneiro, 21-Jan-2015.)
|
   ♯       
    ♯    ♯  ♯      |
| |
| Theorem | hashfac 11266* |
A factorial counts the number of bijections on a finite set.
(Contributed by Mario Carneiro, 21-Jan-2015.) (Proof shortened by Mario
Carneiro, 17-Apr-2015.)
|
 ♯           ♯     |
| |
| Theorem | leisorel 11267 |
Version of isorel 6004 for strictly increasing functions on the
reals.
(Contributed by Mario Carneiro, 6-Apr-2015.) (Revised by Mario Carneiro,
9-Sep-2015.)
|
    

   
    
       |
| |
| Theorem | zfz1isolemsplit 11268 |
Lemma for zfz1iso 11271. Removing one element from an integer
range.
(Contributed by Jim Kingdon, 8-Sep-2022.)
|
        ♯  
    ♯        ♯      |
| |
| Theorem | zfz1isolemiso 11269* |
Lemma for zfz1iso 11271. Adding one element to the order
isomorphism.
(Contributed by Jim Kingdon, 8-Sep-2022.)
|
              ♯                  ♯        ♯          ♯  
          ♯  
         |
| |
| Theorem | zfz1isolem1 11270* |
Lemma for zfz1iso 11271. Existence of an order isomorphism given
the
existence of shorter isomorphisms. (Contributed by Jim Kingdon,
7-Sep-2022.)
|
       
  
    ♯       
   
       
    ♯       |
| |
| Theorem | zfz1iso 11271* |
A finite set of integers has an order isomorphism to a one-based finite
sequence. (Contributed by Jim Kingdon, 3-Sep-2022.)
|
        ♯       |
| |
| Theorem | seq3coll 11272* |
The function contains
a sparse set of nonzero values to be summed.
The function
is an order isomorphism from the set of nonzero
values of to a
1-based finite sequence, and collects these
nonzero values together. Under these conditions, the sum over the
values in
yields the same result as the sum over the original set
. (Contributed
by Mario Carneiro, 2-Apr-2014.) (Revised by Jim
Kingdon, 9-Apr-2023.)
|
          
  
   
         ♯          ♯                
           
              ♯            
   ♯       
                     
      |
| |
| 4.6.10.1 Proper unordered pairs and triples
(sets of size 2 and 3)
|
| |
| Theorem | hash2en 11273 |
Two equivalent ways to say a set has two elements. (Contributed by Jim
Kingdon, 4-Dec-2025.)
|
 
♯     |
| |
| Theorem | hashdmprop2dom 11274 |
A class which contains two ordered pairs with different first components
has at least two elements. (Contributed by AV, 12-Nov-2021.)
|
                          |
| |
| Theorem | hashtpgim 11275 |
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.)
|
      ♯   
     |
| |
| Theorem | hashtpglem 11276 |
Lemma for hashtpg 11277. This is one of the three not-equal
conclusions
required for the reverse direction. (Contributed by Jim Kingdon,
18-Apr-2026.)
|
       ♯          |
| |
| Theorem | hashtpg 11277 |
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.)
|
      ♯   
     |
| |
| 4.6.10.2 Functions with a domain containing at
least two different elements
|
| |
| Theorem | fundm2domnop0 11278 |
A function with a domain containing (at least) two different elements is
not an ordered pair. This theorem (which requires that
    needs to be a function
instead of ) is useful
for proofs for extensible structures, see structn0fun 13343. (Contributed
by AV, 12-Oct-2020.) (Revised by AV, 7-Jun-2021.) (Proof shortened by
AV, 15-Nov-2021.)
|
     
     |
| |
| Theorem | fundm2domnop 11279 |
A function with a domain containing (at least) two different elements is
not an ordered pair. (Contributed by AV, 12-Oct-2020.) (Proof
shortened by AV, 9-Jun-2021.)
|
 
     |
| |
| Theorem | fun2dmnop0 11280 |
A function with a domain containing (at least) two different elements is
not an ordered pair. This stronger version of fun2dmnop 11281 (with the
less restrictive requirement that 
   needs to be a
function instead of ) is useful for proofs for extensible
structures, see structn0fun 13343. (Contributed by AV, 21-Sep-2020.)
(Revised by AV, 7-Jun-2021.)
|
              |
| |
| Theorem | fun2dmnop 11281 |
A function with a domain containing (at least) two different elements is
not an ordered pair. (Contributed by AV, 21-Sep-2020.) (Proof
shortened by AV, 9-Jun-2021.)
|
          |
| |
| 4.7 Words over a set
This section is about words (or strings) over a set (alphabet) defined
as finite sequences of symbols (or characters) being elements of the
alphabet. Although it is often required that the underlying set/alphabet be
nonempty, finite and not a proper class, these restrictions are not made in
the current definition df-word 11283. Note that the empty word (i.e.,
the empty set) is the only word over an empty alphabet, see 0wrd0 11308.
The set Word of words over is the free monoid over , where
the monoid law is concatenation and the monoid unit is the empty word.
Besides the definition of words themselves, several operations on words are
defined in this section:
| Name | Reference | Explanation | Example |
Remarks |
| Length (or size) of a word | df-ihash 11193: ♯  |
Operation which determines the number of the symbols
within the word. |
   ..^    Word ♯  |
This is not a special definition for words,
but for arbitrary sets. |
| First symbol of a word | df-fv 5380:     |
Operation which extracts the first symbol of a word. The result is the
symbol at the first place in the sequence representing the word. |
   ..^    Word     |
This is not a special definition for words,
but for arbitrary functions with a half-open range of nonnegative
integers as domain. |
| Last symbol of a word | df-lsw 11328: lastS  |
Operation which extracts the last symbol of a word. The result is the
symbol at the last place in the sequence representing the word. |
   ..^    Word lastS      |
Note that the index of the last symbol is less by 1 than the length of
the word. |
| Subword (or substring) of a word |
df-substr 11396:  substr     |
Operation which extracts a portion of a word. The result is a
consecutive, reindexed part of the sequence representing the word. |
   ..^    Word  substr     Word ♯  substr      |
Note that the last index of the range defining the subword is greater
by 1 than the index of the last symbol of the subword in the sequence
of the original word. |
| Concatenation of two words |
df-concat 11337:  ++  |
Operation combining two words to one new word. The result is a
combined, reindexed sequence build from the sequences representing
the two words. |
 Word Word  ♯  ++    ♯  ♯   |
Note that the index of the first symbol of the second concatenated
word is the length of the first word in the concatenation. |
| Singleton word |
df-s1 11362:     |
Constructor building a word of length 1 from a symbol. |
♯      |
|
Conventions:
- Words are usually represented by class variable
, or if two words
are involved, by and or by and .
- The alphabets are usually represented by class variable
(because
any arbitrary set can be an alphabet), sometimes also by (especially
as codomain of the function representing a word, because the alphabet is the
set of symbols).
- The symbols are usually represented by class variables
or ,
or if two symbols are involved, by and or by and .
- The indices of the sequence representing a word are usually represented
by class variable
, if two indices are involved (especially for
subwords) by and , or by and .
- The length of a word is usually represented by class variables
or .
- The number of positions by which to cyclically shift a word is usually
represented by class variables
or .
|
| |
| 4.7.1 Definitions and basic
theorems
|
| |
| Syntax | cword 11282 |
Syntax for the Word operator.
|
Word  |
| |
| Definition | df-word 11283* |
Define the class of words over a set. A word (sometimes also called a
string) is a finite sequence of symbols from a set (alphabet)
.
Definition in Section 9.1 of [AhoHopUll] p. 318. The domain is forced
to be an initial segment of so that two words with the same
symbols in the same order be equal. The set Word is sometimes
denoted by S*, using the Kleene star, although the Kleene star, or
Kleene closure, is sometimes reserved to denote an operation on
languages. The set Word equipped with concatenation is the free
monoid over ,
and the monoid unit is the empty word. (Contributed
by FL, 14-Jan-2014.) (Revised by Stefan O'Rear, 14-Aug-2015.) (Revised
by Mario Carneiro, 26-Feb-2016.)
|
Word
     ..^     |
| |
| Theorem | iswrd 11284* |
Property of being a word over a set with an existential quantifier over
the length. (Contributed by Stefan O'Rear, 15-Aug-2015.) (Revised by
Mario Carneiro, 26-Feb-2016.) (Proof shortened by AV, 13-May-2020.)
|
 Word     ..^     |
| |
| Theorem | wrdval 11285* |
Value of the set of words over a set. (Contributed by Stefan O'Rear,
10-Aug-2015.) (Revised by Mario Carneiro, 26-Feb-2016.)
|
 Word    ..^    |
| |
| Theorem | lencl 11286 |
The length of a word is a nonnegative integer. This corresponds to the
definition in Section 9.1 of [AhoHopUll] p. 318. (Contributed by Stefan
O'Rear, 27-Aug-2015.)
|
 Word ♯    |
| |
| Theorem | iswrdinn0 11287 |
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.)
|
     ..^   
Word   |
| |
| Theorem | wrdf 11288 |
A word is a zero-based sequence with a recoverable upper limit.
(Contributed by Stefan O'Rear, 15-Aug-2015.)
|
 Word    ..^ ♯       |
| |
| Theorem | iswrdiz 11289 |
A zero-based sequence is a word. In iswrdinn0 11287 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.)
|
     ..^   
Word   |
| |
| Theorem | wrddm 11290 |
The indices of a word (i.e. its domain regarded as function) are elements
of an open range of nonnegative integers (of length equal to the length of
the word). (Contributed by AV, 2-May-2020.)
|
 Word  ..^ ♯     |
| |
| Theorem | sswrd 11291 |
The set of words respects ordering on the base set. (Contributed by
Stefan O'Rear, 15-Aug-2015.) (Revised by Mario Carneiro, 26-Feb-2016.)
(Proof shortened by AV, 13-May-2020.)
|
 Word
Word   |
| |
| Theorem | snopiswrd 11292 |
A singleton of an ordered pair (with 0 as first component) is a word.
(Contributed by AV, 23-Nov-2018.) (Proof shortened by AV,
18-Apr-2021.)
|
      Word
  |
| |
| Theorem | wrdexg 11293 |
The set of words over a set is a set. (Contributed by Mario Carneiro,
26-Feb-2016.) (Proof shortened by JJ, 18-Nov-2022.)
|
 Word   |
| |
| Theorem | wrdexb 11294 |
The set of words over a set is a set, bidirectional version.
(Contributed by Mario Carneiro, 26-Feb-2016.) (Proof shortened by AV,
23-Nov-2018.)
|
 Word   |
| |
| Theorem | wrdexi 11295 |
The set of words over a set is a set, inference form. (Contributed by
AV, 23-May-2021.)
|
Word
 |
| |
| Theorem | wrdsymbcl 11296 |
A symbol within a word over an alphabet belongs to the alphabet.
(Contributed by Alexander van der Vekens, 28-Jun-2018.)
|
  Word  ..^ ♯          |
| |
| Theorem | wrdfn 11297 |
A word is a function with a zero-based sequence of integers as domain.
(Contributed by Alexander van der Vekens, 13-Apr-2018.)
|
 Word  ..^ ♯     |
| |
| Theorem | wrdv 11298 |
A word over an alphabet is a word over the universal class. (Contributed
by AV, 8-Feb-2021.) (Proof shortened by JJ, 18-Nov-2022.)
|
 Word Word
  |
| |
| Theorem | wrdlndm 11299 |
The length of a word is not in the domain of the word (regarded as a
function). (Contributed by AV, 3-Mar-2021.) (Proof shortened by JJ,
18-Nov-2022.)
|
 Word ♯    |
| |
| Theorem | iswrdsymb 11300* |
An arbitrary word is a word over an alphabet if all of its symbols
belong to the alphabet. (Contributed by AV, 23-Jan-2021.)
|
  Word   ..^ ♯       
 Word   |