Andrzej Trybulec
Andrzej Trybulec
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Built-in Concepts
By Andrzej Trybulec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Properties of Subsets
By Zinaida Trybulec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
1
2 CONTENTS
Families of Sets
By Beata Padlewska . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Finite Sets
By Agata Darmochwal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Graphs of Functions.
By Czeslaw Byliński . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Binary Operations
By Czeslaw Byliński . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Boolean Domains
By Andrzej Trybulec and Agata Darmochwal . . . . . . . . . . . . . . 187
Axioms of Incidence
By Wojciech A. Trybulec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Connected Spaces
By Beata Padlewska . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
In recent years, several projects have aimed at providing computer assistance for do-
ing mathematics. The project discussed here is called Mizar and concerns computer
oriented formalization of mathematics, begun in 1973. The author of the Mizar
language is Prof.Andrzej Trybulec (Warsaw University), who is also the leader of the
group which prepared the majority of implementations. The project original goal was to
design and implement a software environment to assist the process of preparing math-
ematical papers: the human writes mathematical texts and the machine verifies their
correctness.
In the current issue of ”Formalized Mathematics...” all the papers appear in chrono-
logical order, since they form the very beginning of MML. They concern both very general
and very specialized, narrow subjects. In the future we intend to classify the papers into
groups according to the mathematical domains i.e. foundations of mathematics, geome-
try, etc.
The MizTEX system, used for the automatic editing of this publication is constantly
being developed.
5
6
Finally, I would like to add that for MizUG members we also publish the technical
report ”Main Mizar Library”, containing the list of summaries of the articles; names of
the authors, titles of the articles and names of files; publicity – ranking of theorems and
articles as well as the list of contents of the articles so far published in the ”Formalized
Mathematics...”.
Roman Matuszewski
Introduction
The Mizar project started many years ago and, as it developed, the emphasis on its
different applications varied. It is therefore worthwhile to take this opportunity to recall
that one of the main applications originally considered was using Mizar articles as source
texts for mathematical publications. Of course, none of the following papers, or, rather,
their abstracts, fulfils that expectation. Neverthelless, they let us see how close or how
far are we still from our aim.In order to explain what exactly is published here it is
necessary to at least give an outline of the project itself.
The Mizar language is a strongly standarized mathematial language, or, if one prefers,
an extensively extended formalized language, for writing mathematical papers. Its struc-
ture allows for using a database; the final goal of the project is to provide a knowledge
management system for mathematics. Thus it is possible to write mathematical papers in
Mizar. They are usually 1000 - 2000 line texts corresponding to a short six- to nine-page
publication or to one chapter of a textbook.
An article consists of two parts. The first, usually very short, is the description of the
environment. It contains a list of publications where the notions used in the paper were
introduced or where the theorems we refer to were proved, and other similar information.
The second part is the text proper, where we define new notions, prove the correctness
of the proposed definitions and where we prove new theorems. From the construction of
the article follows that to write a new one we have to have access to the Mizar library
of papers we can refer to. Obviously, to write the first papers we have to start with
some axiomatics. The papers presented below make use of Main Mizar Library (MML),
which was first created at the beginning of 1989 owing to the financial help obtained
from the Ministry of National Education of the Republic Poland (grant RPBP III.24).
The axiomatic foundation of this library is the Tarski-Grothendieck set theory which is
quite a strong theory quaranteeing the existence of universal classes. To enable the Mizar
processor to perform natural number computations, several additional axioms were also
introduced, namely the axiomatics of strong real number arithmetic. So far the Main
Mizar Library comprises of about 80 papers but their number is growing fast.
However, to verify the correctness of a paper the PC Mizar system used to build the
library refers not to the library direct, but to a database automatically created from the
papers there included. The data introduced into the database from a paper pass through
an intermediate stage where the abstract of the paper is created. The abstractor program
removes from the paper all data which are not stored in the database, i.e. justification
of theorems, lemmas and private object definitions.
The evolution of the library requires writing many papers containing well-known
theorems with uninteresting proofs. It seemed to us, therefore, that publication of whole
papers is not justified. To tell the truth, only some of the authors were inclined to devote
7
8
their time to the systematic development of the database; others agreed to write down
only that part of mathematical folklore which makes work on an ambitious paper possible.
Some of the papers submitted to the library concern new, unpublished mathematical
results; thus the level of the papers varies.
As we prepared this collection, we wondered whether it should not be restricted
to chosen, more interesting papers. There were doubts concerning the publication of
such monotonous articles as, for example [2]. Actually, this paper was written mainly
because, while justifying some trivial facts, the checker (system module checking inference
correctness) exceeded certain quantitative limitations and we wanted to show how this
can be overcome. Those who write in Mizar may have found the proofs in this paper
interesting, they were removed, however, when the abstract was created.
Still, there are good reasons for publishing all papers. First, in this way we obtain a
true picture of what the library looks like. It does not seem fair to remove trivial papers,
even though the reader is warned that it’s been done. Second, this publication will serve
to write new papers, and Mizar authors need the information what has been proved and
where. This actually was our original aim, similar to [1].
The abstracts of Mizar papers do not look as well as the present publication would
lead to think, if only because they are ASCII files. These abstracts were automatically
converted into source files of the TEX language. Some fragments were automatically
translated into English, or to be precise, into a language which reminds English a little
and others were left in original Mizar form with slight modifications, for example the
keywords are in bold type. The obtained texts, with the exception of abstracts containing
axiomatics, were not post-edited. The programs used were implemented by the following
group: Grzegorz Bancerek, Czeslaw Byliński, Wojciech Leończuk, Krzysztof Prażmowski,
Michal Muzalewski and the author. They include a program in Turbo Pascal converting
Mizar into TEX and a special TEX format (a set of TEX macros).
Andrzej Trybulec
References
[1] Piotr Rudnicki and Andrzej Trybulec. A Collection of TEXed Mizar Abstracts. Tech-
nical Report University of Alberta, 1989.
Andrzej Trybulec1
Warsaw University
Bialystok
Summary. This is the first part of the axiomatics of the Mizar system. It
includes the axioms of the Tarski Grothendieck set theory. They are: the axiom
stating that everything is a set, the extensionality axiom, the definitional axiom of
the singleton, the definitional axiom of the pair, the definitional axiom of the union
of a family of sets, the definitional axiom of the boolean (the power set) of a set, the
regularity axiom, the definitional axiom of the ordered pair, the Tarski’s axiom A
introduced in [2] (see also [1]), and the Frænkel scheme. Also, the definition of
equinumerosity is introduced.
For simplicity we adopt the following convention: x, y, z, u will denote objects of the
type Any; N , M , X, Y , Z will denote objects of the type set. Next we state two
axioms:
(1) x is set ,
{y},
x ∈ it iff x = y.
x ∈ it iff x = y or x = z.
1
Supported by RPBP.III-24.B1.
x ∈ it iff ex Y st x ∈ Y & Y ∈ X.
Then we get
[
(5) X= Y iff for x holds x ∈ X iff ex Z st x ∈ Z & Z ∈ Y,
The scheme Fraenkel deals with a constant A that has the type set and a binary
predicate P and states that the following holds
hx, yi,
is defined by
it = {{x, y},{x}}.
X≈Y
Tarski Grothendieck Set Theory 11
is defined by
References
[1] Alfred Tarski. On well-ordered subsets of any set. Fundamenta Mathematicae,
32:176–183, 1939.
Built-in Concepts
Andrzej Trybulec1
Warsaw University
Bialystok
Summary. This abstract contains the second part of the axiomatics of the
Mizar system (the first part is in abstract [1]). The axioms listed here characterize
the Mizar built-in concepts that are automatically attached to every Mizar article.
We give definitional axioms of the following concepts: element, subset, Cartesian
product, domain (non empty subset), subdomain (non empty subset of a domain),
set domain (domain consisting of sets). Axioms of strong arithmetics of real num-
bers are also included.
The notation and terminology used here have been introduced in the axiomatics [1]. For
simplicity we adopt the following convention: x, y, z denote objects of the type Any;
X, X1, X2, X3, X4, Y denote objects of the type set. The following axioms hold:
In the sequel D1, D2, D3, D4 will denote objects of the type DOMAIN. Let us
introduce the consecutive axioms:
In the sequel D has the type DOMAIN. The following axioms hold:
(10) D1 is SUBDOMAIN of D2 iff D1 ⊆ D2,
In the sequel x, y, z denote objects of the type Element of REAL. The following
axioms are true:
(12) x + y = y + x,
(13) x + (y + z) = (x + y) + z,
(14) x + 0 = x,
(15) x · y = y · x,
(16) x · (y · z) = (x · y) · z,
(17) x · 1 = x,
(18) x · (y + z) = x · y + x · z,
(19) ex y st x + y = 0,
(20) x 6= 0 implies ex y st x · y = 1,
(23) x ≤ y or y ≤ x,
(24) x ≤ y implies x + z ≤ y + z,
(27) x is Real ,
References
[1] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
The terminology and notation used here are introduced in the article [1]. For simplicity
we adopt the following convention: x will have the type Any; X, Y , Z, V will have
the type set. The scheme Separation concerns a constant A that has the type set and
a unary predicate P and states that the following holds
not ex x st x ∈ it .
x ∈ it iff x ∈ X or x ∈ Y.
The functor
X ∩ Y,
1
Supported by RPBP.III-24.C1.
2
Supported by RPBP.III-24.C1.
f
c 1990 Fondation Philippe le Hodey
17 ISSN 0777-4028
18 Zinaida Trybulec and Halina Świeczkowska
‘
x ∈ it iff x ∈ X & x ∈ Y.
The functor
X \ Y,
yields the type set and is defined by
The predicate
The predicate
it = (X \ Y ) ∪ (Y \ X).
Let us consider X, Y . Let us note that one can characterize the predicate
X=Y
X ⊆ Y & Y ⊆ X.
(8) x ∈ X ∪ Y iff x ∈ X or x ∈ Y,
Boolean Properties of Sets 19
(14) x ∈ X implies X 6= ∅,
(25) . Z,
(for x holds not x ∈ X iff (x ∈ Y iff x ∈ Z)) implies X = Y −
(26) X ⊆ X,
(27) ∅ ⊆ X,
(30) X ⊆ ∅ implies X = ∅,
(31) X ⊆ X ∪ Y & Y ⊆ X ∪ Y,
(36) X ∪ Y = Y or Y ∪ X = Y implies X ⊆ Y,
(37) X ∩ Y ⊆ X & X ∩ Y ⊆ Y,
(38) X ∩ Y ⊆ X ∪ Z,
(43) X ∩ Y = X or Y ∩ X = X implies X ⊆ Y,
(44) X ⊆ Z implies X ∪ Y ∩ Z = (X ∪ Y ) ∩ Z,
(45) X \ Y = ∅ iff X ⊆ Y,
(46) X ⊆ Y implies X \ Z ⊆ Y \ Z,
(47) X ⊆ Y implies Z \ Y ⊆ Z \ X,
(49) X \ Y ⊆ X,
(50) X ⊆ Y \ X implies X = ∅,
(53) (X ∩ Y ) ∪ (X ∩ Z) = X implies X ⊆ Y ∪ Z,
(58) . Y,
X \Y ⊆X −
Boolean Properties of Sets 21
(60) X ∪ ∅ = X & ∅ ∪ X = X,
(61) X ∩ ∅ = ∅ & ∅ ∩ X = ∅,
(62) X ∪ X = X,
(63) X ∪ Y = Y ∪ X,
(64) (X ∪ Y ) ∪ Z = X ∪ (Y ∪ Z),
(65) X ∩ X = X,
(66) X ∩ Y = Y ∩ X,
(67) (X ∩ Y ) ∩ Z = X ∩ (Y ∩ Z),
(68) X ∩ (X ∪ Y ) = X
& (X ∪ Y ) ∩ X = X & X ∩ (Y ∪ X) = X & (Y ∪ X) ∩ X = X,
(69) X ∪ (X ∩ Y ) = X
& (X ∩ Y ) ∪ X = X & X ∪ (Y ∩ X) = X & (Y ∩ X) ∪ X = X,
(70) X ∩ (Y ∪ Z) = X ∩ Y ∪ X ∩ Z & (Y ∪ Z) ∩ X = Y ∩ X ∪ Z ∩ X,
(72) (X ∩ Y ) ∪ (Y ∩ Z) ∪ (Z ∩ X) = (X ∪ Y ) ∩ (Y ∪ Z) ∩ (Z ∪ X),
(73) X \ X = ∅,
(74) X \ ∅ = X,
(75) ∅ \ X = ∅,
(76) X \ (X ∪ Y ) = ∅ & X \ (Y ∪ X) = ∅,
(77) X \ X ∩ Y = X \ Y & X \ Y ∩ X = X \ Y,
(78) (X \ Y ) ∩ Y = ∅ & Y ∩ (X \ Y ) = ∅,
(79) X ∪ (Y \ X) = X ∪ Y & (Y \ X) ∪ X = Y ∪ X,
(80) X ∩ Y ∪ (X \ Y ) = X & (X \ Y ) ∪ X ∩ Y = X,
(81) X \ (Y \ Z) = (X \ Y ) ∪ X ∩ Z,
(82) X \ (X \ Y ) = X ∩ Y,
22 Zinaida Trybulec and Halina Świeczkowska
‘
(83) (X ∪ Y ) \ Y = X \ Y,
(84) X ∩ Y = ∅ iff X \ Y = X,
(85) X \ (Y ∪ Z) = (X \ Y ) ∩ (X \ Z),
(86) X \ (Y ∩ Z) = (X \ Y ) ∪ (X \ Z),
(87) (X ∪ Y ) \ (X ∩ Y ) = (X \ Y ) ∪ (Y \ X),
(88) (X \ Y ) \ Z = X \ (Y ∪ Z),
(89) (X ∪ Y ) \ Z = (X \ Z) ∪ (Y \ Z),
(90) X \ Y = Y \ X implies X = Y,
(91) . Y = (X \ Y ) ∪ (Y \ X),
X−
(93) . X = ∅,
X−
(94) . Y =Y −
X− . X,
(95) . Y ) ∪ X ∩ Y,
X ∪ Y = (X −
(96) . Y = (X ∪ Y ) \ X ∩ Y,
X−
(98) . Z) = X \ (Y ∪ Z) ∪ X ∩ Y ∩ Z,
X \ (Y −
(99) . Y)−
(X − . Z=X−
. (Y −
. Z),
(111) X ∩ Y misses X \ Y,
(112) . Y,
X ∩ Y misses X −
(115) . Y ⊆ Z,
X \ Y ⊆ Z & Y \ X ⊆ Z implies X −
(116) X ∩ (Y \ Z) = (X ∩ Y ) \ Z,
(117) X ∩ (Y \ Z) = X ∩ Y \ X ∩ Z & (Y \ Z) ∩ X = Y ∩ X \ Z ∩ X,
References
[1] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
Enumerated Sets
Andrzej Trybulec1
Warsaw University
Bialystok
The terminology and notation used in this paper have been introduced in the papers [1]
and [2]. For simplicity we adopt the following convention: x, x1, x2, x3, x4, x5, x6,
x7, x8 have the type Any; X has the type set. In the article we present several logical
schemes. The scheme UI1 concerns a constant A and a unary predicate P and states
that the following holds
P[A]
The scheme UI2 deals with a constant A, a constant B and a binary predicate P
and states that the following holds
P[A, B]
P[A, B,C]
1
Supported by RPBP.III-24.C1.
f
c 1990 Fondation Philippe le Hodey
25 ISSN 0777-4028
26 Andrzej Trybulec
P[A, B,C,D]
P[A, B,C,D,E]
P[A, B,C,D,E,F]
P[A, B,C,D,E,F,G]
P[A, B,C,D,E,F,G,H]
P[A, B,C,D,E,F,G,H,I]
(1) for x1,X holds X = {x1} iff for x holds x ∈ X iff x = x1,
(4) x ∈ {x},
(6) for x1,x2,X holds X = {x1,x2} iff for x holds x ∈ X iff x = x1 or x = x2,
{x1,x2,x3},
x ∈ it iff x = x1 or x = x2 or x = x3.
{x1,x2,x3,x4},
x ∈ it iff x = x1 or x = x2 or x = x3 or x = x4.
{x1,x2,x3,x4,x5},
x ∈ it iff x = x1 or x = x2 or x = x3 or x = x4 or x = x5.
(23) x ∈ {x1,x2,x3,x4,x5}
implies x = x1 or x = x2 or x = x3 or x = x4 or x = x5,
(24) x = x1 or x = x2 or x = x3 or x = x4 or x = x5
implies x ∈ {x1,x2,x3,x4,x5},
Enumerated Sets 29
Let us consider x1, x2, x3, x4, x5, x6. The functor
{x1,x2,x3,x4,x5,x6},
x ∈ it iff x = x1 or x = x2 or x = x3 or x = x4 or x = x5 or x = x6.
(27) x ∈ {x1,x2,x3,x4,x5,x6}
iff x = x1 or x = x2 or x = x3 or x = x4 or x = x5 or x = x6,
(28) x ∈ {x1,x2,x3,x4,x5,x6}
implies x = x1 or x = x2 or x = x3 or x = x4 or x = x5 or x = x6,
(29) x = x1 or x = x2 or x = x3 or x = x4 or x = x5 or x = x6
implies x ∈ {x1,x2,x3,x4,x5,x6},
Let us consider x1, x2, x3, x4, x5, x6, x7. The functor
{x1,x2,x3,x4,x5,x6,x7},
x ∈ it iff x = x1 or x = x2 or x = x3 or x = x4 or x = x5 or x = x6 or x = x7.
(32) x ∈ {x1,x2,x3,x4,x5,x6,x7}
iff x = x1 or x = x2 or x = x3 or x = x4 or x = x5 or x = x6 or x = x7,
(34) x = x1 or x = x2 or x = x3 or x = x4 or x = x5 or x = x6 or x = x7
implies x ∈ {x1,x2,x3,x4,x5,x6,x7},
Let us consider x1, x2, x3, x4, x5, x6, x7, x8. The functor
{x1,x2,x3,x4,x5,x6,x7,x8},
x ∈ it
iff x = x1 or x = x2 or x = x3 or x = x4 or x = x5 or x = x6 or x = x7 or x = x8.
(39) x = x1
or x = x2 or x = x3 or x = x4 or x = x5 or x = x6 or x = x7 or x = x8
implies x ∈ {x1,x2,x3,x4,x5,x6,x7,x8},
References
[1] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[2] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Krzysztof Hryniewiecki1
Warsaw University
For simplicity we adopt the following convention: x, y, z, t will denote objects of the
type Real; r will denote an object of the type Any. Let us consider x, y. Let us note
that it makes sense to consider the following functors on restricted areas. Then
x+y is Real ,
x·y is Real .
(2) x + y = y + x,
(3) x + (y + z) = (x + y) + z,
(4) x + 0 = x & 0 + x = x,
(5) x · y = y · x,
(6) x · (y · z) = (x · y) · z,
(7) x · 1 = x & 1 · x = x,
(8) (x + y) · z = x · z + y · z & z · (x + y) = z · x + z · y,
(10) z + x = z + y or x + z = y + z or z + x = y + z or x + z = z + y
implies x = y,
(11) x 6= y iff x + z 6= y + z,
(12) z 6= 0 & (x · z = y · z or z · x = z · y or x · z = z · y or z · x = y · z)
implies x = y.
− x,
x + it = 0.
x 6= 0.
The functor
x -1 ,
x · it = 1.
x − y,
it = x + (− y).
y 6= 0.
The functor
x/y,
it = x · y -1 .
(13) x + − x = 0 & − x + x = 0,
(14) x − y = x + − y,
Basic Properties of Real Numbers 37
(17) x + y − z = x + (y − z),
(18) − (− x) = x,
(19) 0 − x = − x,
(20) x · 0 = 0 & 0 · x = 0,
(22) x 6= 0 iff − x 6= 0,
(23) x · y = 0 iff x = 0 or y = 0,
(25) x − 0 = x,
(26) − 0 = 0,
(27) x − (y + z) = x − y − z,
(28) x − (y − z) = x − y + z,
(29) x · (y − z) = x · y − x · z & (y − z) · x = y · x − z · x,
(31) x 6= 0 implies x -1 6= 0,
(32) x 6= 0 implies x -1 -1 = x,
(36) x − x = 0,
(41) y 6= 0 & t 6= 0
implies x/y + z/t = (x · t + z · y)/(y · t) & x/y − z/t = (x · t − z · y)/(y · t),
(48) x ≤ y or y ≤ x,
(50) x ≤ y iff − y ≤ − x,
(53) x ≤ y iff x + z ≤ y + z,
(54) x ≤ y iff x − z ≤ y − z,
(55) x≤y&z≤t
implies x + z ≤ y + t & x + z ≤ t + y & z + x ≤ t + y & z + x ≤ y + t,
(56) x ≤ x.
(58) x ≤ y & y < z or x < y & y ≤ z or x < y & y < z implies x < z,
(65) 0 < 1,
(70) 0 < z & x < y implies x · z < y · z & z · x < z · y & x · z < z · y & z · x < y · z,
(71) z < 0 & x < y implies y · z < x · z & z · y < z · x & y · z < z · x & z · y < x · z,
The scheme SepReal concerns a unary predicate P states that the following holds
(79) y = − x iff x + y = 0,
(83) − (x − y) = y − x,
(84) x + y ≤ z iff x ≤ z − y,
(85) x + y ≤ z iff y ≤ z − x,
(86) x ≤ y + z iff x − y ≤ z,
(87) x ≤ y + z iff x − z ≤ y,
(93) 0 ≤ x · x.
Grzegorz Bancerek1
Warsaw University
Bialystok
The article [1] provides the terminology and notation for this paper. For simplicity we
adopt the following convention: x will denote an object of the type Real; k, l, m, n
will denote objects of the type Nat; X will denote an object of the type set of Real.
One can prove the following propositions:
(3) k + n = n + k,
(4) k + m + n = k + (m + n),
(5) k + 0 = k & 0 + k = k,
(6) k · n = n · k,
(7) k · (m · n) = (k · m) · n,
(8) k · 1 = k & 1 · k = k,
(9) k · (n + m) = k · n + k · m & (n + m) · k = n · k + m · k,
(10) k + m = n + m or k + m = m + n or m + k = m + n implies k = n,
1
Supported by RPBP III.24 C1
f
c 1990 Fondation Philippe le Hodey
41 ISSN 0777-4028
42 Grzegorz Bancerek
(11) k · 0 = 0 & 0 · k = 0.
Let us consider n, k. Let us note that it makes sense to consider the following functor
on a restricted area. Then
n+k is Nat .
The scheme Ind deals with a unary predicate P states that the following holds
• P[0],
Let us consider n, k. Let us note that it makes sense to consider the following functor
on a restricted area. Then
n·k is Nat .
(14) k ≤ n or n ≤ k,
(15) k ≤ k,
(16) k ≤ n implies
k + m ≤ n + m & k + m ≤ m + n & m + k ≤ m + n & m + k ≤ n + m,
(17) k + m ≤ n + m or k + m ≤ m + n or m + k ≤ m + n or m + k ≤ n + m
implies k ≤ n,
(21) 0 6= k + 1,
(22) k = 0 or ex n st k = n + 1,
(25) k · n = 0 implies k = 0 or n = 0.
The scheme Def by Ind concerns a constant A that has the type Nat, a binary functor
F yielding values of the type Nat and a binary predicate P and states that the following
holds
(for k ex n st P[k, n]) & for k,n,m st P[k, n] & P[k, m] holds n = m
(29) k ≤ k + m,
Now we present three schemes. The scheme Comp Ind deals with a unary predicate
P states that the following holds
The scheme Min concerns a unary predicate P states that the following holds
• ex k st P[k].
The scheme Max concerns a unary predicate P and a constant A that has the type
Nat, and states that the following holds
• ex k st P[k].
(37) k ≤ n implies k ≤ n + m,
(39) k ≤ n & n < m or k < n & n ≤ m or k < n & n < m implies k < m,
The scheme Regr concerns a unary predicate P states that the following holds
P[0]
• ex k st P[k],
In the sequel k1, t, t1 will denote objects of the type Nat. The following
propositions are true:
We now define two new functors. Let k, l have the type Nat. The functor
k ÷ l,
The functor
k mod l,
k|l is defined by ex t st l = k · t.
(53) k | 0 & 1 | k,
(56) n | k implies n | k · m,
k lcm n,
46 Grzegorz Bancerek
k gcd n,
The scheme Euklides deals with a unary functor F yielding values of the type Nat,
a constant A that has the type Nat and a constant B that has the type Nat, and states
that the following holds
References
[1] Krzysztof Hryniewiecki. Basic properties of real numbers. Formalized Mathematics,
1, 1990.
Czeslaw Byliński1
Warsaw University
Bialystok
Summary. In this article some basic theorems about singletons, pairs, power
sets, unions of families of sets, and the cartesian product of two sets are proved.
The articles [1] and [2] provide the terminology and notation for this paper. One can
prove the following propositions:
For simplicity we adopt the following convention: x, x1, x2, y, y1, y2, z will denote
objects of the type Any; A, B, X, X1, X2, Y , Y 1, Y 2, Z will denote objects of the
type set. One can prove the following propositions:
(3) {x} 6= ∅,
(4) {x, y} 6= ∅,
(36) [:{x},{y, z}:] = {hx, yi,hx, zi} & [:{x, y},{z}:] = {hx, zi,hy, zi},
(43) {z} = X ∪ Y
implies X = {z} & Y = {z} or X = ∅ & Y = {z} or X = {z} & Y = ∅,
(74) {x, y} \ X = ∅
or {x, y} \ X = {x} or {x, y} \ X = {y} or {x, y} \ X = {x, y},
(76) ∅ ∈ bool A,
(77) A ∈ bool A,
(78) bool A 6= ∅,
(86) . B),
bool(A \ B) ∪ bool(B \ A) ⊆ bool(A −
(91) . Y ∈ bool A,
X ∈ bool A & Y ∈ bool A implies X −
[
(92) X ∈ A implies X ⊆ A,
[
(93) {X, Y } = X ∪ Y,
[
(94) (for X st X ∈ A holds X ⊆ Z) implies A ⊆ Z,
[ [
(95) A ⊆ B implies A⊆ B,
[ [ [
(96) (A ∪ B) = A∪ B,
[ [ [
(97) (A ∩ B) ⊆ A∩ B,
[
(98) (for X st X ∈ A holds X ∩ B = ∅) implies (A) ∩ B = ∅,
[
(99) bool A = A,
[
(100) A ⊆ bool A,
(108) (for x,y holds hx, yi ∈ [:X1,Y 1:] iff hx, yi ∈ [:X2,Y 2:])
implies [:X1,Y 1:] = [:X2,Y 2:],
(110) A ⊆ [:X1,Y 1:] & B ⊆ [:X2,Y 2:] & (for x,y holds hx, yi ∈ A iff hx, yi ∈ B)
implies A = B,
(111) (for z st z ∈ A ex x,y st z = hx, yi) & (for x,y st hx, yi ∈ A holds hx, yi ∈ B)
implies A ⊆ B,
(117) Z 6= ∅ & ([:X, Z:] ⊆ [:Y, Z:] or [:Z, X:] ⊆ [:Z, Y :]) implies X ⊆ Y,
(118) X ⊆ Y implies [:X, Z:] ⊆ [:Y, Z:] & [:Z, X:] ⊆ [:Z, Y :],
(120) [:X ∪ Y,Z:] = [:X, Z:] ∪ [:Y, Z:] & [:Z, X ∪ Y :] = [:Z, X:] ∪ [:Z, Y :],
(121) [:X1 ∪ X2,Y 1 ∪ Y 2:] = [:X1,Y 1:] ∪ [:X1,Y 2:] ∪ [:X2,Y 1:] ∪ [:X2,Y 2:],
(122) [:X ∩ Y,Z:] = [:X, Z:] ∩ [:Y, Z:] & [:Z, X ∩ Y :] = [:Z, X:] ∩ [:Z, Y :],
(125) [:X \ Y,Z:] = [:X, Z:] \ [:Y, Z:] & [:Z, X \ Y :] = [:Z, X:] \ [:Z, Y :],
(132) [:{x, y},X:] = [:{x},X:] ∪ [:{y},X:] & [:X, {x, y}:] = [:X, {x}:] ∪ [:X, {y}:],
(133) Z = [:X, Y :] iff for z holds z ∈ Z iff ex x,y st x ∈ X & y ∈ Y & z = hx, yi,
References
[1] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[2] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Czeslaw Byliński1
Warsaw University
Bialystok
Summary. The definitions of the mode Function and the graph of a function
are introduced. The graph of a function is defined to be identical with the function.
The following concepts are also defined: the domain of a function, the range of
a function, the identity function, the composition of functions, the 1-1 function,
the inverse function, the restriction of a function, the image and the inverse image.
Certain basic facts about functions and the notions defined in the article are proved.
The notation and terminology used here are introduced in the papers [1] and [2]. For
simplicity we adopt the following convention: X, X1, X2, Y , Y 1, Y 2 have the type
set; p, x, x1, x2, y, y1, y2, z have the type Any. The mode
Function ,
In the sequel f , g, h will have the type Function. Let us consider f . The functor
graph f,
f = it .
(1) graph f = f,
1
Supported by RPBP.III-24.C1.
f
c 1990 Fondation Philippe le Hodey
55 ISSN 0777-4028
56 Czeslaw Byliński
(4) hx, y1i ∈ graph f & hx, y2i ∈ graph f implies y1 = y2,
The scheme GraphFunc concerns a constant A that has the type set and a binary
predicate P and states that the following holds
x ∈ dom f.
The functor
f .x,
Now we present two schemes. The scheme FuncEx concerns a constant A that has
the type set and a binary predicate P and states that the following holds
• for x,y1,y2 st x ∈ A & P[x, y1] & P[x, y2] holds y1 = y2,
The scheme Lambda concerns a constant A that has the type set and a unary functor
F and states that the following holds
(17) dom f = dom g & rng f = {y} & rng g = {y} implies f = g,
(30) h · (g · f ) = (h · g) · f,
(33) rng f ⊆ Y & (for g,h st dom g = Y & dom h = Y & g · f = h · f holds g = h)
implies Y = rng f.
f is one-to-one
is defined by
for x1,x2 st x1 ∈ dom f & x2 ∈ dom f & f .x1 = f .x2 holds x1 = x2.
(45) f is one-to-one
iff for x1,x2 st x1 ∈ dom f & x2 ∈ dom f & f .x1 = f .x2 holds x1 = x2,
(52) id X is one-to-one ,
f is one-to-one .
The functor
f -1 ,
with values of the type Function, is defined by
dom it = rng f & for y,x holds y ∈ rng f & x = it.y iff x ∈ dom f & y = f .x.
f | X,
(75) dom (f | X) ⊆ X,
(79) f | (dom f ) = f,
(80) (f | X) | Y = f | (X ∩ Y ),
(81) (f | X) | X = f | X,
(83) (g · f ) | X = g · (f | X),
Y | f,
(88) rng (Y | f ) ⊆ Y,
(92) Y | f = (id Y ) · f,
(94) (rng f ) | f = f,
(95) Y | (X | f ) = (Y ∩ X) | f,
(96) Y | (Y | f ) = Y | f,
(98) Y | (g · f ) = (Y | g) · f,
(100) (Y | f ) | X = Y | (f | X).
f ◦ X,
(103) f ◦ X ⊆ rng f,
(106) f ◦ X ⊆ f ◦ (dom f ),
Functions and Their Basic Properties 63
(107) rng (f | X) = f ◦ X,
(109) f ◦ ∅ = ∅,
(115) (g · f ) ◦ X = g ◦ (f ◦ X),
(119) (f | Y ) ◦ X ⊆ f ◦ X,
(120) (Y | f ) ◦ X ⊆ f ◦ X,
(126) (Y | f ) ◦ X = Y ∩ f ◦ X.
f -1 Y,
(129) f -1 Y ⊆ dom f,
(130) f -1 Y = f -1 (rng f ∩ Y ),
(132) f -1 ∅ = ∅,
(135) Y 1 ⊆ Y 2 implies f -1 Y 1 ⊆ f -1 Y 2,
(136) f -1 (Y 1 ∪ Y 2) = f -1 Y 1 ∪ f -1 Y 2,
(137) f -1 (Y 1 ∩ Y 2) = f -1 Y 1 ∩ f -1 Y 2,
(138) f -1 (Y 1 \ Y 2) = f -1 Y 1 \ f -1 Y 2,
(139) (f | X) -1 Y = X ∩ (f -1 Y ),
(140) (g · f ) -1 Y = f -1 (g -1 Y ),
(145) f ◦ (f -1 Y ) ⊆ Y,
(148) f ◦ (f -1 Y ) = Y ∩ f ◦ (dom f ),
(149) f ◦ (X ∩ f -1 Y ) ⊆ (f ◦ X) ∩ Y,
(150) f ◦ (X ∩ f -1 Y ) = (f ◦ X) ∩ Y,
Functions and Their Basic Properties 65
(151) X ∩ f -1 Y ⊆ f -1 (f ◦ X ∩ Y ),
References
[1] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[2] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Properties of Subsets
Zinaida Trybulec1
Warsaw University
Bialystok
The articles [2], [3], and [1] provide the terminology and notation for this paper. In
the sequel E, X denote objects of the type set; x denotes an object of the type Any.
One can prove the following propositions:
∅E,
it = ∅.
The functor
Ω E,
with values of the type Subset of E, is defined by
it = E.
(4) ∅ is Subset of X,
1
Supported by RPBP.III-24.C1.
f
c 1990 Fondation Philippe le Hodey
67 ISSN 0777-4028
68 Zinaida Trybulec
(5) X is Subset of X.
(9) x ∈ A implies x ∈ E,
Ac,
it = E \ A.
Let us consider B. Let us note that it makes sense to consider the following functors on
restricted areas. Then
A∪B is Subset of E,
A∩B is Subset of E,
A\B is Subset of E,
. B
A− is Subset of E.
One can prove the following propositions:
(19) ∅E = ∅,
(20) Ω E = E,
(21) ∅E = (Ω E) c ,
(22) Ω E = (∅E) c ,
(23) A c = E \ A,
(24) A c c = A,
(25) A ∪ A c = Ω E & A c ∪ A = Ω E,
(28) A ∪ Ω E = Ω E & Ω E ∪ A = Ω E,
(29) (A ∪ B) c = A c ∩ B c ,
(30) (A ∩ B) c = A c ∪ B c ,
(31) A ⊆ B iff B c ⊆ A c ,
(33) (A \ B) c = A c ∪ B,
(34) . B) c = A ∩ B ∪ A c ∩ B c ,
(A −
(35) A ⊆ B c implies B ⊆ A c ,
(36) A c ⊆ B implies B c ⊆ A,
(37) ∅E ⊆ E,
(39) A c ⊆ A iff A = Ω E,
(41) (A ∪ B) c ⊆ A c & (A ∪ B) c ⊆ B c ,
70 Zinaida Trybulec
(42) A c ⊆ (A ∩ B) c & B c ⊆ (A ∩ B) c ,
(45) A misses A c ,
In the sequel x1, x2, x3, x4, x5, x6, x7, x8 will have the type Element of X. One
can prove the following propositions:
In the sequel x1, x2, x3, x4, x5, x6, x7, x8 denote objects of the type Any. We
now state several propositions:
(69) x1 ∈ X
& x2 ∈ X & x3 ∈ X & x4 ∈ X & x5 ∈ X & x6 ∈ X & x7 ∈ X & x8 ∈ X
implies {x1,x2,x3,x4,x5,x6,x7,x8} is Subset of X.
The scheme Subset Ex concerns a constant A that has the type set and a unary
predicate P and states that the following holds
References
[1] Andrzej Trybulec. Enumerated sets. Formalized Mathematics, 1, 1990.
[2] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[3] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Edmund Woronowicz1
Warsaw University
Bialystok
The terminology and notation used in this paper have been introduced in the articles [1]
and [2]. For simplicity we adopt the following convention: A, B, X, Y , Y 1, Y 2 denote
objects of the type set; a, b, c, d, x, y, z denote objects of the type Any. The mode
Relation ,
The scheme Rel Existence deals with a constant A that has the type set, a constant
B that has the type set and a binary predicate P and states that the following holds
ex R being Relation st for x,y holds hx, yi ∈ R iff x ∈ A & y ∈ B & P[x, y]
P =R
For convenience we may adopt another formulas defining notions considered in the
paper. From now on we shall treat them as new definitions.
Let us consider P , R. Let us note that it makes sense to consider the following
functors on restricted areas. Then
P ∩R is Relation ,
P ∪R is Relation ,
P \R is Relation .
P ⊆R
(10) R \ X is Relation .
x ∈ it iff ex y st hx, yi ∈ R.
Relations and Their Basic Properties 75
y ∈ it iff ex x st hx, yi ∈ R.
(24) R = {ha, bi,hx, yi} implies dom R = {a, x} & rng R = {b, y},
it = dom R ∪ rng R.
(37) (R˜)˜ = R,
P · R,
(42) Q = P · R iff for x,y holds hx, yi ∈ Q iff ex z st hx, zi ∈ P & hz, yi ∈ R,
Relations and Their Basic Properties 77
(48) P ⊆ R implies Q · P ⊆ Q · R,
(49) P ⊆ Q implies P · R ⊆ Q · R,
(51) P · (R ∪ Q) = (P · R) ∪ (P · Q),
(52) P · (R ∩ Q) ⊆ (P · R) ∩ (P · Q),
(53) (P · R) \ (P · Q) ⊆ P · (R \ Q),
(55) (P · R) · Q = P · (R · Q).
not hx, yi ∈ it .
(59) Ø ⊆ R,
(61) Ø ∩ R = Ø & Ø ∪ R = R,
(62) Ø · R = Ø & R · Ø = Ø,
(63) R · Ø = Ø · R,
(66) ؘ = Ø ,
(72) (4 X)˜ = 4 X,
(76) R · (4 X) ⊆ R & (4 X) · R ⊆ R,
(78) (4 dom R) · R = R,
(80) R · (4 rng R) = R,
(81) 4∅ = Ø,
R | X,
(87) dom (R | X) ⊆ X,
(88) R | X ⊆ R,
(92) (R | X) · P ⊆ R · P,
(93) P · (R | X) ⊆ P · R,
(94) R | X = (4 X) · R,
(98) R | dom R = R,
(100) (R | X) | Y = R | (X ∩ Y ),
(101) (R | X) | X = R | X,
(102) X ⊆ Y implies (R | X) | Y = R | X,
(103) Y ⊆ X implies (R | X) | Y = R | Y,
(104) X ⊆ Y implies R | X ⊆ R | Y,
80 Edmund Woronowicz
(105) P ⊆ R implies P | X ⊆ R | X,
(107) R | (X ∪ Y ) = (R | X) ∪ (R | Y ),
(108) R | (X ∩ Y ) = (R | X) ∩ (R | Y ),
(109) R | (X \ Y ) = R | X \ R | Y,
(110) R |∅ = Ø,
(111) Ø|X = Ø,
(112) (P · R) | X = (P | X) · R.
Y | R,
(116) rng (Y | R) ⊆ Y,
(117) Y | R ⊆ R,
(121) (Y | R) · P ⊆ R · P,
(122) P · (Y | R) ⊆ P · R,
(123) Y | R = R · (4 Y ),
(126) rng R | R = R,
(127) Y | (X | R) = (Y ∩ X) | R,
(128) Y | (Y | R) = Y | R,
(129) X ⊆ Y implies Y | (X | R) = X | R,
(130) Y ⊆ X implies Y | (X | R) = Y | R,
(131) X ⊆ Y implies X | R ⊆ Y | R,
(132) P 1 ⊆ P 2 implies Y | P 1 ⊆ Y | P 2,
(134) (X ∪ Y ) | R = (X | R) ∪ (Y | R),
(135) (X ∩ Y ) | R = X | R ∩ Y | R,
(136) (X \ Y ) | R = X | R \ Y | R,
(137) ∅|R = Ø,
(138) Y |Ø = Ø,
(139) Y | (P · R) = P · (Y | R),
(140) (Y | R) | X = Y | (R | X).
R ◦ X,
(144) R ◦ X ⊆ rng R,
(148) rng (R | X) = R ◦ X,
(149) R ◦ ∅ = ∅,
(150) Ø ◦ X = ∅,
(153) R ◦ (X ∪ Y ) = R ◦ X ∪ R ◦ Y,
(154) R ◦ (X ∩ Y ) ⊆ R ◦ X ∩ R ◦ Y,
(155) R ◦ X \ R ◦ Y ⊆ R ◦ (X \ Y ),
(156) X ⊆ Y implies R ◦ X ⊆ R ◦ Y,
(157) P ⊆ R implies P ◦ X ⊆ R ◦ X,
(159) (P · R) ◦ X = R ◦ (P ◦ X),
(161) (R | X) ◦ Y ⊆ R ◦ Y,
R -1 Y,
(167) R -1 Y ⊆ dom R,
Relations and Their Basic Properties 83
(168) R -1 Y = R -1 (rng R ∩ Y ),
(170) R -1 Y ⊆ R -1 rng R,
(171) R -1 ∅ = ∅,
(172) Ø -1 Y = ∅,
(175) R -1 (X ∪ Y ) = R -1 X ∪ R -1 Y,
(176) R -1 (X ∩ Y ) ⊆ R -1 Y ∩ R -1 Y,
(177) R -1 X \ R -1 Y ⊆ R -1 (X \ Y ),
(178) X ⊆ Y implies R -1 X ⊆ R -1 Y,
(179) P ⊆ R implies P -1 Y ⊆ R -1 Y,
(181) (P · R) -1 Y = P -1 (R -1 Y ),
References
[1] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[2] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
The terminology and notation used here have been introduced in the following articles:
[1], [2], and [3]. For simplicity we adopt the following convention: X will have the type
set; x, y, z will have the type Any; P , R will have the type Relation. We now define
several new predicates. Let us consider R, X. The predicate
The predicate
The predicate
R is symmetric in X
is defined by
The predicate
R is antisymmetric in X
is defined by
The predicate
R is asymmetric in X
is defined by
The predicate
R is connected in X
is defined by
The predicate
R is strongly connected in X
is defined by
The predicate
R is transitive in X
is defined by
(3) R is symmetric in X
iff for x,y st x ∈ X & y ∈ X & hx, yi ∈ R holds hy, xi ∈ R,
(4) R is antisymmetric in X
iff for x,y st x ∈ X & y ∈ X & hx, yi ∈ R & hy, xi ∈ R holds x = y,
(5) R is asymmetric in X
iff for x,y st x ∈ X & y ∈ X & hx, yi ∈ R holds not hy, xi ∈ R,
(6) R is connected in X
iff for x,y st x ∈ X & y ∈ X & x 6= y holds hx, yi ∈ R or hy, xi ∈ R,
The predicate
The predicate
The predicate
The predicate
The predicate
The predicate
The predicate
(29) R is reflexive implies dom R = dom (R˜) & rng R = rng (R˜),
(41) P is antisymmetric
implies P ∩ R is antisymmetric & P \ R is antisymmetric ,
References
[1] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[2] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
[3] Edmund Woronowicz. Relations and their basic properties. Formalized Mathematics,
1, 1990.
Grzegorz Bancerek1
Warsaw University
Bialystok
The notation and terminology used in this paper have been introduced in the following
articles: [2], [3], and [1]. For simplicity we adopt the following convention: X, Y , Z,
A, B, X1, X2, X3, X4, X5, X6 will denote objects of the type set; x will denote an
object of the type Any. Next we state several propositions:
(1) not X ∈ X,
The scheme Comprehension deals with a constant A that has the type set and a
unary predicate P and states that the following holds
it = X ∪ {X}.
(10) X ∈ succ X,
(11) succ X 6= ∅,
(14) X 6= succ X.
For simplicity we adopt the following convention: a has the type Any; X, Y , Z,
x, y have the type set. We now define two new predicates. Let us consider X. The
predicate
The predicate
X is ∈-connected
is defined by
The mode
Ordinal ,
In the sequel A, B, C will have the type Ordinal. The following propositions are
true:
(18) x ∈ A implies x ⊆ A,
(24) A ∈ B or A = B or B ∈ A,
(25) A ⊆ B or B ⊆ A,
(26) A ⊆ B or B ∈ A,
(27) ∅ is Ordinal .
it = ∅.
(28) 0 = ∅,
Let us consider A. Let us note that it makes sense to consider the following functors
on restricted areas. Then
succ A is Ordinal ,
[
A is Ordinal .
Now we present two schemes. The scheme Ordinal Min concerns a unary predicate
P states that the following holds
• ex A st P[A].
The scheme Transfinite Ind concerns a unary predicate P states that the following
holds
Transfinite-Sequence ,
ex A st dom it = A.
The Ordinal Numbers 95
Transfinite-Sequence of Z,
rng it ⊆ Z.
(45) ∅ is Transfinite-Sequence of Z.
In the sequel L, L1, L2 will have the type Transfinite-Sequence. The following
proposition is true
Let us consider L. Let us note that it makes sense to consider the following functor
on a restricted area. Then
dom L is Ordinal .
We now state a proposition
(47) X ⊆ Y implies
for L being Transfinite-Sequence of X holds L is Transfinite-Sequence of Y.
Let us consider L, A. Let us note that it makes sense to consider the following functor
on a restricted area. Then
Now we present three schemes. The scheme TS Uniq deals with a constant A that has
the type Ordinal, a unary functor F, a constant B that has the type Transfinite-Sequence
and a constant C that has the type Transfinite-Sequence, and states that the following
holds
B=C
96 Grzegorz Bancerek
The scheme TS Exist deals with a constant A that has the type Ordinal and a unary
functor F and states that the following holds
References
[1] Czeslaw Byliński. Functions and their basic properties. Formalized Mathematics, 1,
1990.
[2] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[3] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Andrzej Trybulec1
Warsaw University
Bialystok
The notation and terminology used here are introduced in the following papers: [3], [4],
and [2]. For simplicity we adopt the following convention: v, x, x1, x2, x3, x4, y, y1,
y2, y3, y4, z denote objects of the type Any; X, X1, X2, X3, X4, Y , Y 1, Y 2, Y 3, Y 4,
Y 5, Z denote objects of the type set. One can prove the following propositions:
(3) X 6= ∅ implies
ex Y st Y ∈ X & for Y 1,Y 2 st Y 1 ∈ Y 2 & Y 2 ∈ Y holds Y 1 misses X,
(4) X 6= ∅ implies ex Y st Y ∈ X
& for Y 1,Y 2,Y 3 st Y 1 ∈ Y 2 & Y 2 ∈ Y 3 & Y 3 ∈ Y holds Y 1 misses X,
We now define two new functors. Let us consider x. Assume there exist x1, x2, of
the type Any such that
x = hx1,x2i.
The functor
x1 ,
is defined by
The functor
x2 ,
is defined by
(11) (ex x,y st z = hx, yi) & z 1 ∈ X & z 2 ∈ Y implies z ∈ [:X, Y :],
(19) z ∈ [:{x1,x2},{y1,y2}:]
implies (z 1 = x1 or z 1 = x2) & (z 2 = y1 or z 2 = y2),
In the sequel xx will have the type Element of X; yy will have the type Element
of Y . One can prove the following propositions:
(26) X 6= ∅ & Y 6= ∅
implies for x being Element of [:X, Y :] holds x 6= x 1 & x 6= x 2 .
hx1,x2,x3i,
is defined by
it = hhx1,x2i,x3i.
(29) X 6= ∅
implies ex v st v ∈ X & not ex x,y,z st (x ∈ X or y ∈ X) & v = hx, y, zi.
hx1,x2,x3,x4i,
is defined by
it = hhx1,x2,x3i,x4i.
(34) X 6= ∅ implies ex v
st v ∈ X & not ex x1,x2,x3,x4 st (x1 ∈ X or x2 ∈ X) & v = hx1,x2,x3,x4i,
In the sequel xx1 has the type Element of X1; xx2 has the type Element of X2;
xx3 has the type Element of X3. One can prove the following propositions:
We now define three new functors. Let us consider X1, X2, X3. Assume that the
following holds
X1 6= ∅ & X2 6= ∅ & X3 6= ∅.
x1 ,
The functor
x2 ,
Tuples, Projections and Cartesian . . . 101
The functor
x3 ,
with values of the type Element of X3, is defined by
In the sequel xx4 will have the type Element of X4. We now define four new
functors. Let us consider X1, X2, X3, X4. Assume that the following holds
X1 6= ∅ & X2 6= ∅ & X3 6= ∅ & X4 6= ∅.
102 Andrzej Trybulec
x1 ,
The functor
x2 ,
with values of the type Element of X2, is defined by
The functor
x3 ,
yields the type Element of X3 and is defined by
The functor
x4 ,
with values of the type Element of X4, is defined by
(63) X1 ⊆ [:X1,X2,X3,X4:] or
X1 ⊆ [:X2,X3,X4,X1:] or X1 ⊆ [:X3,X4,X1,X2:] or X1 ⊆ [:X4,X1,X2,X3:]
implies X1 = ∅,
Tuples, Projections and Cartesian . . . 103
For simplicity we adopt the following convention: A1 will denote an object of the
type Subset of X1; A2 will denote an object of the type Subset of X2; A3 will denote
an object of the type Subset of X3; A4 will denote an object of the type Subset of
X4; x will denote an object of the type Element of [:X1,X2,X3:]. We now state a
number of propositions:
(69) X1 6= ∅ &
X2 6= ∅ & X3 6= ∅ & (for xx1,xx2,xx3 st x = hxx1,xx2,xx3i holds y1 = xx1)
implies y1 = x 1 ,
(70) X1 6= ∅ &
X2 6= ∅ & X3 6= ∅ & (for xx1,xx2,xx3 st x = hxx1,xx2,xx3i holds y2 = xx2)
implies y2 = x 2 ,
(71) X1 6= ∅ &
X2 6= ∅ & X3 6= ∅ & (for xx1,xx2,xx3 st x = hxx1,xx2,xx3i holds y3 = xx3)
implies y3 = x 3 ,
(72) z ∈ [:X1,X2,X3:]
implies ex x1,x2,x3 st x1 ∈ X1 & x2 ∈ X2 & x3 ∈ X3 & z = hx1,x2,x3i,
In the sequel x has the type Element of [:X1,X2,X3,X4:]. We now state a number
of propositions:
(86) X1 6= ∅
& X2 6= ∅ & X3 6= ∅ & X4 6= ∅ & Y 1 6= ∅ & Y 2 6= ∅ & Y 3 6= ∅ & Y 4 6= ∅
implies
for x being Element of [:X1,X2,X3,X4:], y being Element of [:Y 1,Y 2,Y 3,Y 4:]
holds x = y implies x 1 = y 1 & x 2 = y 2 & x 3 = y 3 & x 4 = y 4 ,
Tuples, Projections and Cartesian . . . 105
Let us consider X1, X2, A1, A2. Let us note that it makes sense to consider the
following functor on a restricted area. Then
Let us consider X1, X2, X3, A1, A2, A3. Let us note that it makes sense to consider
the following functor on a restricted area. Then
Let us consider X1, X2, X3, X4, A1, A2, A3, A4. Let us note that it makes sense
to consider the following functor on a restricted area. Then
References
[1] Czeslaw Byliński. Some basic properties of sets. Formalized Mathematics, 1, 1990.
[3] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[4] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
The papers [4], [5], [2], [3], and [1] provide the notation and terminology for this paper.
For simplicity we adopt the following convention: k, l, m, n, k1, k2 denote objects of
the type Nat; X denotes an object of the type set; x, y, z, y1, y2 denote objects of the
type Any; f denotes an object of the type Function. Let us consider n. The functor
Seg n,
it = { k : 1 ≤ k & k ≤ n }.
Let us consider n. Let us note that it makes sense to consider the following functor
on a restricted area. Then
(5) n = 0 or n ∈ Seg n,
The mode
FinSequence ,
ex n st dom it = Seg n.
Seg it = dom p.
(14) ∅ is FinSequence ,
In the article we present several logical schemes. The scheme SeqEx concerns a
constant A that has the type Nat and a binary predicate P and states that the following
holds
• for k,y1,y2 st k ∈ Seg A & P[k, y1] & P[k, y2] holds y1 = y2,
Segments of Natural Numbers and Finite . . . 109
The scheme SeqLambda deals with a constant A that has the type Nat and a unary
functor F and states that the following holds
(17) X = dom p & X = dom q & (for k st k ∈ X holds p.k = q.k) implies p = q,
FinSequence of D,
rng it ⊆ D.
In the sequel D will have the type DOMAIN. The following three propositions
are true:
len it = 0.
(28) graph ε = ∅,
ε D,
it = ε .
(31) ε (D) = ε ,
p _ q,
(36) for k st len p + 1 ≤ k & k ≤ len p + len q holds (p _ q).k = q.(k − len p),
(37) len p < k & k ≤ len (p _ q) implies (p _ q).k = q.(k − len p),
(45) p _ q _ r = p _ (q _ r),
(46) p _ r = q _ r or r _ p = r _ q implies p = q,
(47) p _ ε = p & ε _ p = p,
The arguments of the notions defined below are the following: D which is an object
of the type reserved above; p, q which are objects of the type FinSequence of D. Let
us note that it makes sense to consider the following functor on a restricted area. Then
p_q is FinSequence of D.
(50) p _ q is FinSequence of D
implies p is FinSequence of D & q is FinSequence of D.
<x, y>,
it = <x> _ <y>.
(59) (p _ <x>).(len p + 1) = x,
(60) <x, y, z> = <x> _ <y, z> & <x, y, z> = <x, y> _ <z>,
(62) p = <x, y, z> iff len p = 3 & p.1 = x & p.2 = y & p.3 = z,
The arguments of the notions defined below are the following: D which is an object
of the type reserved above; x which is an object of the type Element of D. Let us note
that it makes sense to consider the following functor on a restricted area. Then
<x> is FinSequence of D.
The arguments of the notions defined below are the following: D which is an object
of the type reserved above; S which is an object of the type SUBDOMAIN of D; x
which is an object of the type Element of S. Let us note that it makes sense to consider
the following functor on a restricted area. Then
<x> is FinSequence of S.
The arguments of the notions defined below are the following: S which is an object
of the type SUBDOMAIN of REAL; x which is an object of the type Element of S.
Let us note that it makes sense to consider the following functor on a restricted area.
Then
<x> is FinSequence of S.
The scheme IndSeq concerns a unary predicate P states that the following holds
• P[ε],
x ∈ it iff x is FinSequence of D.
(66) ε ∈ D*.
The scheme SepSeq deals with a constant A that has the type DOMAIN and a unary
predicate P and states that the following holds
ex k st dom it ⊆ Seg k.
In the sequel p0 has the type FinSubsequence. Let us consider X. Assume there
exists k, such that
X ⊆ Seg k.
The functor
Sgm X,
114 Grzegorz Bancerek and Krzysztof Hryniewiecki
rng it = X &
for l,m,k1,k2 st 1 ≤ l & l < m & m ≤ len it & k1 = it.l & k2 = it.m holds k1 < k2.
it = p0 · Sgm (dom p0 ).
References
[1] Grzegorz Bancerek. The fundamental properties of natural numbers. Formalized
Mathematics, 1, 1990.
[2] Czeslaw Byliński. Functions and their basic properties. Formalized Mathematics, 1,
1990.
[4] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[5] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Andrzej Trybulec1
Warsaw University
Bialystok
The terminology and notation used in this paper have been introduced in the following
articles: [2], [5], [1], [4], and [3]. For simplicity we adopt the following convention: a,
b, c, d will have the type Any; A, B will have the type set; D, X1, X2, X3, X4, Y 1,
Y 2, Y 3, Y 4 will have the type DOMAIN; x1, y1, z1 will have the type Element of
X1; x2 will have the type Element of X2; x3 will have the type Element of X3; x4
will have the type Element of X4. The following three propositions are true:
(2) D 6= ∅,
In the sequel A1, B1 will denote objects of the type Subset of X1. One can prove
the following propositions:
In the sequel x denotes an object of the type Element of [:X1,X2:]. One can prove
the following propositions:
(10) x = hx 1 ,x 2 i,
(11) x 6= x 1 & x 6= x 2 ,
(13) [:A, D:] ⊆ [:B, D:] or [:D, A:] ⊆ [:D, B:] implies A ⊆ B,
Let us consider X1, X2, x1, x2. Let us note that it makes sense to consider the
following functor on a restricted area. Then
The arguments of the notions defined below are the following: X1, X2 which are
objects of the type reserved above; x which is an object of the type Element of [:X1,X2:].
Let us note that it makes sense to consider the following functors on restricted areas.
Then
x1 is Element of X1,
x2 is Element of X2.
In the sequel x, y will have the type Element of [:X1,X2,X3:]. Next we state
several propositions:
(20) x = hx 1 ,x 2 ,x 3 i,
Let us consider X1, X2, X3, x1, x2, x3. Let us note that it makes sense to consider
the following functor on a restricted area. Then
The arguments of the notions defined below are the following: X1, X2, X3 which
are objects of the type reserved above; x which is an object of the type Element of
[:X1,X2,X3:]. Let us note that it makes sense to consider the following functors on
restricted areas. Then
x1 is Element of X1,
x2 is Element of X2,
x3 is Element of X3.
The following propositions are true:
(27) hx 1 ,x 2 ,x 3 i = x,
(30) for x being Element of [:X1,X2,X3:], y being Element of [:Y 1,Y 2,Y 3:]
holds x = y implies x 1 = y 1 & x 2 = y 2 & x 3 = y 3 ,
(33) D = [:X1,X2,X3,X4:]
iff for a holds a ∈ D iff ex x1,x2,x3,x4 st a = hx1,x2,x3,x4i.
(36) x = hx 1 ,x 2 ,x 3 ,x 4 i,
Let us consider X1, X2, X3, X4, x1, x2, x3, x4. Let us note that it makes sense to
consider the following functor on a restricted area. Then
The arguments of the notions defined below are the following: X1, X2, X3, X4
which are objects of the type reserved above; x which is an object of the type Element
of [:X1,X2,X3,X4:]. Let us note that it makes sense to consider the following functors
on restricted areas. Then
x1 is Element of X1,
x2 is Element of X2,
x3 is Element of X3,
x4 is Element of X4.
(46) hx1,x2,x3,x4i 1 = x1
& hx1,x2,x3,x4i 2 = x2 & hx1,x2,x3,x4i 3 = x3 & hx1,x2,x3,x4i 4 = x4,
(47) for x being Element of [:X1,X2,X3,X4:], y being Element of [:Y 1,Y 2,Y 3,Y 4:]
holds x = y implies x 1 = y 1 & x 2 = y 2 & x 3 = y 3 & x 4 = y 4 .
Domains and Their Cartesian Products 119
In the sequel A2 will denote an object of the type Subset of X2; A3 will denote
an object of the type Subset of X3; A4 will denote an object of the type Subset of
X4. In the article we present several logical schemes. The scheme Fraenkel1 deals with
a unary predicate P states that the following holds
for X1,X2,X3,X4
holds { hx1,x2,x3,x4i : P[x1,x2,x3,x4] } is Subset of [:X1,X2,X3,X4:]
(52) A1 = { x1 : x1 ∈ A1 }.
120 Andrzej Trybulec
Let us consider X1, X2, A1, A2. Let us note that it makes sense to consider the
following functor on a restricted area. Then
Let us consider X1, X2, X3, A1, A2, A3. Let us note that it makes sense to consider
the following functor on a restricted area. Then
Let us consider X1, X2, X3, X4, A1, A2, A3, A4. Let us note that it makes sense
to consider the following functor on a restricted area. Then
(55) [:A1,A2,A3,A4:]
= { hx1,x2,x3,x4i : x1 ∈ A1 & x2 ∈ A2 & x3 ∈ A3 & x4 ∈ A4 },
(57) A1 c = { x1 : not x1 ∈ A1 },
(58) A1 ∩ B1 = { x1 : x1 ∈ A1 & x1 ∈ B1 },
(59) A1 ∪ B1 = { x1 : x1 ∈ A1 or x1 ∈ B1 },
In the sequel x1, x2, x3, x4, x5, x6, x7, x8 will have the type Element of D. We
now state several propositions:
Let us consider D. Let x1 have the type Element of D. Let us note that it makes
sense to consider the following functor on a restricted area. Then
{x1} is Subset of D.
Let x2 have the type Element of D. Let us note that it makes sense to consider the
following functor on a restricted area. Then
{x1,x2} is Subset of D.
Let x3 have the type Element of D. Let us note that it makes sense to consider the
following functor on a restricted area. Then
{x1,x2,x3} is Subset of D.
Let x4 have the type Element of D. Let us note that it makes sense to consider the
following functor on a restricted area. Then
{x1,x2,x3,x4} is Subset of D.
Let x5 have the type Element of D. Let us note that it makes sense to consider the
following functor on a restricted area. Then
{x1,x2,x3,x4,x5} is Subset of D.
Let x6 have the type Element of D. Let us note that it makes sense to consider the
following functor on a restricted area. Then
{x1,x2,x3,x4,x5,x6} is Subset of D.
Let x7 have the type Element of D. Let us note that it makes sense to consider the
following functor on a restricted area. Then
{x1,x2,x3,x4,x5,x6,x7} is Subset of D.
122 Andrzej Trybulec
Let x8 have the type Element of D. Let us note that it makes sense to consider the
following functor on a restricted area. Then
{x1,x2,x3,x4,x5,x6,x7,x8} is Subset of D.
Let us consider X1, A1. Let us note that it makes sense to consider the following
functor on a restricted area. Then
A1 c is Subset of X1.
Let us consider B1. Let us note that it makes sense to consider the following functors
on restricted areas. Then
A1 ∪ B1 is Subset of X1,
A1 ∩ B1 is Subset of X1,
A1 \ B1 is Subset of X1,
. B1
A1 − is Subset of X1.
References
[1] Andrzej Trybulec. Enumerated sets. Formalized Mathematics, 1, 1990.
[2] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[3] Andrzej Trybulec. Tuples, projections and Cartesian products. Formalized Mathe-
matics, 1, 1990.
[5] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Grzegorz Bancerek1
Warsaw University
Bialystok
Summary. Some theorems about well ordering relations are proved. The goal
of the article is to prove that every two well ordering relations are either isomorphic
or one of them is isomorphic to a segment of the other. The following concepts are
defined: the segment of a relation induced by an element, well founded relations,
well ordering relations, the restriction of a relation to a set, and the isomorphism
of two relations. A number of simple facts is presented.
The terminology and notation used here are introduced in the following papers: [2], [3],
[4], [5], and [1]. For simplicity we adopt the following convention: a, b, c, x denote
objects of the type Any; X, Y , Z denote objects of the type set. The scheme
Extensionality concerns a constant A that has the type set, a constant B that has the
type set and a unary predicate P and states that the following holds
A=B
In the sequel R, S, T will have the type Relation. Let us consider R, a. The
functor
R −Seg a,
with values of the type set, is defined by
(1) for R,Y,a holds Y = R −Seg (a) iff for b holds b ∈ Y iff b 6= a & hb, ai ∈ R,
1
Supported by RPBP III.24 C1.
R is well founded
is defined by
R is well founded in X
is defined by
R is well-ordering-relation
is defined by
R is reflexive
& R is transitive & R is antisymmetric & R is connected & R is well founded .
R well orders X
is defined by
(7) for R,X holds R well orders X iff R is reflexive in X & R is transitive in X
& R is antisymmetric in X & R is connected in X & R is well founded in X,
R |2 Y,
it = R ∩ [:Y, Y :].
(17) R |2 X = X | R | X,
(18) R |2 X = X | (R | X),
(26) (R |2 X) |2 Y = R |2 (X ∩ Y ),
(27) (R |2 X) |2 Y = (R |2 Y ) |2 X,
(28) (R |2 Y ) |2 Y = R |2 Y,
(29) Z ⊆ Y implies (R |2 Y ) |2 Z = R |2 Z,
(30) R |2 field R = R,
(33) R is well-ordering-relation
implies R −Seg (a) ⊆ R −Seg (b) or R −Seg (b) ⊆ R −Seg (a),
F is isomorphism of R, S
is defined by
(45) F is isomorphism of R, S
implies for a,b st ha, bi ∈ R & a 6= b holds hF .a,F .bi ∈ S & F .a 6= F .b.
The functor
canonical isomorphism of (R, S),
it is isomorphism of R, S.
(57) R is well-ordering-relation
implies for a st a ∈ field R holds not R, R |2 (R −Seg (a)) are isomorphic ,
References
[1] Czeslaw Byliński. Functions and their basic properties. Formalized Mathematics, 1,
1990.
[2] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[3] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
[4] Edmund Woronowicz. Relations and their basic properties. Formalized Mathematics,
1, 1990.
[5] Edmund Woronowicz and Anna Zalewska. Properties of binary relations. Formalized
Mathematics, 1, 1990.
Grzegorz Bancerek1
Warsaw University
Bialystok
Summary. The goal of this article is to construct a language of the ZF set the-
ory and to develop a notational and conceptual base which facilitates a convenient
usage of the language.
The articles [5], [6], [3], [4], [1], and [2] provide the terminology and notation for this
paper. For simplicity we adopt the following convention: k, n will have the type Nat;
D will have the type DOMAIN; a will have the type Any; p, q will have the type
FinSequence of NAT. The constant VAR has the type SUBDOMAIN of NAT, and is
defined by
it = { k : 5 ≤ k }.
(1) VAR = { k : 5 ≤ k }.
it = 5 + n.
In the sequel x, y, z, t denote objects of the type Variable. Let us consider x. Let
us note that it makes sense to consider the following functor on a restricted area. Then
x - y,
The functor
x y,
¬ p,
it = <2> _ p.
it = <3> _ p _ q.
(8) ¬ p = <2> _ p,
(9) p ∧ q = <3> _ p _ q,
(10) ¬ p = ¬ q implies p = q.
A Model of ZF Set Theory Language 133
∀ (x, p),
it = <4> _ <x> _ p.
The mode
ZF-formula ,
it is Element of WFF .
134 Grzegorz Bancerek
Let us consider G. Let us note that it makes sense to consider the following functor on
a restricted area. Then
H ∧G is ZF-formula .
Let us consider x, H. Let us note that it makes sense to consider the following functor
on a restricted area. Then
∀ (x, H) is ZF-formula .
The predicate
H is a membership is defined by ex x,y st H = x y.
The predicate
H is negative is defined by ex H1 st H = ¬ H1.
The predicate
H is conjunctive is defined by ex F,G st H = F ∧ G.
The predicate
H is universal is defined by ex x,H1 st H = ∀ (x, H1).
F ∨ G,
it = ¬ (¬ F ∧ ¬ G).
The functor
F ⇒ G,
it = ¬ (F ∧ ¬ G).
(18) F ∨ G = ¬ (¬ F ∧ ¬ G),
(19) F ⇒ G = ¬ (F ∧ ¬ G).
F ⇔ G,
it = (F ⇒ G) ∧ (G ⇒ F ).
(20) F ⇔ G = (F ⇒ G) ∧ (G ⇒ F ).
∃ (x, H),
it = ¬ ∀ (x, ¬ H).
The predicate
The predicate
The predicate
∀ (x, y, H),
The functor
∃ (x, y, H),
yields the type ZF-formula and is defined by
(23) ∀ (x, y, H) = ∀ (x, ∀ (y, H)) & ∃ (x, y, H) = ∃ (x, ∃ (y, H)).
∀ (x, y, z, H),
The functor
∃ (x, y, z, H),
A Model of ZF Set Theory Language 137
(24) ∀ (x, y, z, H) = ∀ (x, ∀ (y, z, H)) & ∃ (x, y, z, H) = ∃ (x, ∃ (y, z, H)),
(25) H is a equality
or H is a membership or H is negative or H is conjunctive or H is universal ,
(29) 3 ≤ len H,
In the sequel sq denotes an object of the type FinSequence. We now state several
propositions:
(46) H =F _
sq implies H = F,
We now define two new functors. Let us consider H. Assume that the following
holds
H is atomic .
The functor
Var1 H,
it = H .2.
The functor
Var2 H,
it = H .3.
H is negative .
A Model of ZF Set Theory Language 139
The functor
the argument of H,
with values of the type ZF-formula, is defined by
¬ it = H.
We now define two new functors. Let us consider H. Assume that the following
holds
H is conjunctive or H is disjunctive .
The functor
the left argument of H,
with values of the type ZF-formula, is defined by
ex H1 st it ∧ H1 = H, if H is conjunctive ,
ex H1 st it ∨ H1 = H, otherwise.
The functor
the right argument of H,
with values of the type ZF-formula, is defined by
ex H1 st H1 ∧ it = H, if H is conjunctive ,
ex H1 st H1 ∨ it = H, otherwise.
(58) H is conjunctive
implies H = (the left argument of H) ∧ the right argument of H,
(59) H is disjunctive
implies H = (the left argument of H) ∨ the right argument of H.
We now define two new functors. Let us consider H. Assume that the following
holds
H is universal or H is existential .
140 Grzegorz Bancerek
The functor
bound in H,
with values of the type Variable, is defined by
The functor
the scope of H,
with values of the type ZF-formula, is defined by
We now define two new functors. Let us consider H. Assume that the following
holds
H is conditional .
The functor
the antecedent of H,
with values of the type ZF-formula, is defined by
ex H1 st H = it ⇒ H1.
The functor
the consequent of H,
with values of the type ZF-formula, is defined by
ex H1 st H = H1 ⇒ it .
We now define two new functors. Let us consider H. Assume that the following
holds
H is biconditional .
The functor
the left side of H,
ex H1 st H = it ⇔ H1.
The functor
the right side of H,
ex H1 st H = H1 ⇔ it .
H is immediate constituent of F
is defined by
(75) H is negative
implies (F is immediate constituent of H iff F = the argument of H),
(77) H is universal
implies (F is immediate constituent of H iff F = the scope of H).
In the sequel L will denote an object of the type FinSequence. Let us consider H,
F . The predicate
H is subformula of F
is defined by
ex n,L st 1 ≤ n & len L = n & L.1 = H & L.n = F & for k st 1 ≤ k & k < n
ex H1,F 1 st L.k = H1 & L.(k + 1) = F 1 & H1 is immediate constituent of F 1.
(78) H is subformula of F iff ex n,L st 1 ≤ n & len L = n & L.1 = H & L.n = F &
for k st 1 ≤ k & k < n ex H1,F 1
st L.k = H1 & L.(k + 1) = F 1 & H1 is immediate constituent of F 1,
(79) H is subformula of H.
Subformulae H,
(108) H is negative
implies Subformulae H = Subformulae the argument of H ∪ {H},
In the article we present several logical schemes. The scheme ZF Ind deals with a
unary predicate P states that the following holds
• for H st
H is conjunctive & P[the left argument of H] & P[the right argument of H]
holds P[H],
The scheme ZF CompInd deals with a unary predicate P states that the following
holds
References
[1] Grzegorz Bancerek. The fundamental properties of natural numbers. Formalized
Mathematics, 1, 1990.
[2] Grzegorz Bancerek and Krzysztof Hryniewiecki. Segments of natural numbers and
finite sequences. Formalized Mathematics, 1, 1990.
[3] Czeslaw Byliński. Functions and their basic properties. Formalized Mathematics, 1,
1990.
[5] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[6] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Families of Sets
Beata Padlewska1
Warsaw University
Bialystok
The terminology and notation used in this paper are introduced in the following papers:
[1], [3], and [2]. For simplicity we adopt the following convention: X, Y , Z, Z1, D
will denote objects of the type set; x, y will denote objects of the type Any. Let us
consider X. The functor
\
X,
\ \
(7) X 6= ∅ & X ⊆ Y implies Y ⊆ X,
\
(8) X ∈ Y & X ⊆ Z implies Y ⊆ Z,
\
(9) X ∈ Y & X ∩ Z = ∅ implies Y ∩ Z = ∅,
\ \ \
(10) X 6= ∅ & Y 6= ∅ implies (X ∪ Y ) = X∩ Y,
\
(11) {x} = x,
\
(12) {X, Y } = X ∩ Y.
In the sequel SF X, SF Y , SF Z will have the type Set-Family. One can prove
the following two propositions:
(13) x is Set-Family ,
SF X is finer than SF Y
is defined by
for X st X ∈ SF X ex Y st Y ∈ SF Y & X ⊆ Y.
The predicate
SF X is coarser than SF Y
is defined by
for Y st Y ∈ SF Y ex X st X ∈ SF X & X ⊆ Y.
Let us note that it makes sense to consider the following constant. Then ∅ is
Set-Family . Let us consider x. Let us note that it makes sense to consider the following
functor on a restricted area. Then
{x} is Set-Family .
Let us consider y. Let us note that it makes sense to consider the following functor on a
restricted area. Then
{x, y} is Set-Family .
One can prove the following propositions:
The functor
INTERSECTION (SF X,SF Y ),
with values of the type Set-Family, is defined by
The functor
DIFFERENCE (SF X,SF Y ),
with values of the type Set-Family, is defined by
(34) SF X ∩ SF Y 6= ∅
\ \ \
implies SF X ∩ SF Y = INTERSECTION (SF X,SF Y ),
\ \
(35) SF Y 6= ∅ implies X ∪ SF Y = UNION ({X},SF Y ),
[ [
(36) X∩ SF Y = INTERSECTION ({X},SF Y ),
[ \
(37) SF Y 6= ∅ implies X \ SF Y = DIFFERENCE ({X},SF Y ),
\ [
(38) SF Y 6= ∅ implies X \ SF Y = DIFFERENCE ({X},SF Y ),
[ [ [
(39) INTERSECTION (SF X,SF Y ) ⊆ SF X ∩ SF Y,
\ \ \
(40) SF X 6= ∅ & SF Y 6= ∅ implies SF X ∪ SF Y ⊆ UNION (SF X,SF Y ),
(41) SF X 6= ∅ & SF Y 6= ∅
\ \ \
implies DIFFERENCE (SF X,SF Y ) ⊆ SF X \ SF Y.
In the sequel F , G have the type Subset-Family of D; P has the type Subset of
D. Let us consider D, F , G. Let us note that it makes sense to consider the following
functors on restricted areas. Then
F ∪G is Subset-Family of D,
Families of Sets 151
F ∩G is Subset-Family of D,
F \G is Subset-Family of D.
Let us consider D, F . Let us note that it makes sense to consider the following functor
on a restricted area. Then
[
F is Subset of D.
Let us consider D, F . Let us note that it makes sense to consider the following functor
on a restricted area. Then
\
F is Subset of D.
The scheme SubFamEx deals with a constant A that has the type set and a unary
predicate P and states that the following holds
F c,
(46) F 6= ∅ implies F c =
6 ∅,
[ \
(47) F 6= ∅ implies Ω D \ F = (F c ),
[ \
(48) F 6= ∅ implies F c = ΩD \ F.
152 Beata Padlewska
References
[1] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[3] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Czeslaw Byliński1
Warsaw University
Bialystok
The notation and terminology used in this paper are introduced in the following articles:
[2], [3], and [1]. For simplicity we adopt the following convention: P , Q, X, Y , Y 1,
Y 2, Z will denote objects of the type set; x, x1, x2, y, y1, y2, z, z1, z2 will denote
objects of the type Any. Let us consider X, Y . Assume that the following holds
Y = ∅ implies X = ∅.
The mode
Function of X, Y,
In the article we present several logical schemes. The scheme FuncEx1 deals with
a constant A that has the type set, a constant B that has the type set and a binary
predicate P and states that the following holds
• for x,y1,y2 st x ∈ A & P[x, y1] & P[x, y2] holds y1 = y2.
The scheme Lambda1 concerns a constant A that has the type set, a constant B that
has the type set and a unary functor F and states that the following holds
Funcs (X, Y ),
(56) for f 1 being Function of ∅,Y 1 for f 2 being Function of ∅,Y 2 holds f 1 = f 2,
158 Czeslaw Byliński
The arguments of the notions defined below are the following: X which is an object
of the type reserved above; f , g which are objects of the type Function of X, X. Let
us note that it makes sense to consider the following functor on a restricted area. Then
g·f is Function of X, X.
Let us consider X. Let us note that it makes sense to consider the following functor
on a restricted area. Then
id X is Function of X, X.
The arguments of the notions defined below are the following: X which is an object
of the type reserved above; f which is an object of the type Function of X, X; P which
is an object of the type reserved above. Let us note that it makes sense to consider the
following functor on a restricted area. Then
f◦P is Subset of X.
The arguments of the notions defined below are the following: X which is an object
of the type reserved above; f which is an object of the type Function of X, X; Q which
is an object of the type reserved above. Let us note that it makes sense to consider the
following functor on a restricted area. Then
f -1 Q is Subset of X.
Permutation of X,
The arguments of the notions defined below are the following: X which is an object
of the type reserved above; f , g which are objects of the type Permutation of X. Let
us note that it makes sense to consider the following functor on a restricted area. Then
g·f is Permutation of X.
Let us consider X. Let us note that it makes sense to consider the following functor
on a restricted area. Then
id X is Permutation of X.
The arguments of the notions defined below are the following: X which is an object
of the type reserved above; f which is an object of the type Permutation of X. Let us
note that it makes sense to consider the following functor on a restricted area. Then
f -1 is Permutation of X.
g·f is Function of X, E.
Let us consider X, D. Let us note that one can characterize the mode
Function of X, D
The arguments of the notions defined below are the following: X, D which are
objects of the type reserved above; f which is an object of the type Function of X,
D; P which is an object of the type reserved above. Let us note that it makes sense to
consider the following functor on a restricted area. Then
f◦P is Subset of D.
162 Czeslaw Byliński
The arguments of the notions defined below are the following: X, D which are
objects of the type reserved above; f which is an object of the type Function of X,
D; Q which is an object of the type reserved above. Let us note that it makes sense to
consider the following functor on a restricted area. Then
f -1 Q is Subset of X.
f .c is Element of D.
Now we present two schemes. The scheme FuncExD concerns a constant A that has
the type DOMAIN, a constant B that has the type DOMAIN and a binary predicate P
and states that the following holds
The scheme LambdaD concerns a constant A that has the type DOMAIN, a constant
B that has the type DOMAIN and a unary functor F yielding values of the type Element
of B and states that the following holds
(113) for f 1,f 2 being Function of C, D st for c holds f 1.c = f 2.c holds f 1 = f 2,
Now we present two schemes. The scheme FuncEx2 concerns a constant A that has
the type set, a constant B that has the type set, a constant C that has the type set and
a ternary predicate P and states that the following holds
ex f being Function of [:A,B:],C st for x,y st x ∈ A & y ∈ B holds P[x, y, f .hx, yi]
• for x,y,z1,z2 st x ∈ A & y ∈ B & P[x, y, z1] & P[x, y, z2] holds z1 = z2.
The scheme Lambda2 concerns a constant A that has the type set, a constant B that
has the type set, a constant C that has the type set and a binary functor F and states
that the following holds
Now we present two schemes. The scheme FuncEx2D deals with a constant A that
has the type DOMAIN, a constant B that has the type DOMAIN, a constant C that has
the type DOMAIN and a ternary predicate P and states that the following holds
The scheme Lambda2D concerns a constant A that has the type DOMAIN, a constant
B that has the type DOMAIN, a constant C that has the type DOMAIN and a binary
functor F yielding values of the type Element of C and states that the following holds
References
[1] Czeslaw Byliński. Functions and their basic properties. Formalized Mathematics, 1,
1990.
[2] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[3] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Finite Sets
Agata Darmochwal1
Warsaw University
Bialystok
Summary. The article contains the definition of a finite set based on the
notion of finite sequence. Some theorems about properties of finite sets and finite
families of sets are proved.
The terminology and notation used here are introduced in the following papers: [5], [6],
[4], [2], [1], and [3]. Let A have the type set. The predicate
(4) ∅ is finite ,
The scheme Finite deals with a constant A that has the type set and a unary predicate
P and states that the following holds
P[A]
• A is finite ,
• P[∅],
• for x,B being set st x ∈ A & B ⊆ A & P[B] holds P[B ∪ {x}].
(20) A is finite & B is finite & C is finite implies [:A, B, C:] is finite ,
References
[1] Grzegorz Bancerek and Krzysztof Hryniewiecki. Segments of natural numbers and
finite sequences. Formalized Mathematics, 1, 1990.
[2] Czeslaw Byliński. Functions and their basic properties. Formalized Mathematics, 1,
1990.
[5] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[6] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Graphs of Functions.
Czeslaw Byliński1
Warsaw University
Bialystok
Summary. The graph of a function is defined in [1]. In this paper the graph of
a function is redefined as a Relation. Operations on functions are interpreted as the
corresponding operations on relations. Some theorems about graphs of functions
are proved.
The terminology and notation used in this paper have been introduced in the following
papers: [2], [3], [1], and [4]. For simplicity we adopt the following convention: X, X1,
X2, Y , Y 1, Y 2 denote objects of the type set; x, x1, x2, y, y1, y2, z denote objects of
the type Any; f , f 1, f 2, g, g1, g2, h, h1 denote objects of the type Function. Let
us consider f . Let us note that it makes sense to consider the following functor on a
restricted area. Then
graph f is Relation .
(5) (for x,y holds hx, yi ∈ graph f 1 iff hx, yi ∈ graph f 2) implies f 1 = f 2,
(8) graph f ⊆ graph g iff dom f ⊆ dom g & for x st x ∈ dom f holds f .x = g .x,
(12) hx, zi ∈ graph (g · f ) implies hx, f .xi ∈ graph f & hf .x,zi ∈ graph g,
(17) graph f = {hx, yi} implies dom f = {x} & rng f = {y},
(20) ex f st graph f = ∅,
(25) f is one-to-one
iff for x1,x2,y st hx1,yi ∈ graph f & hx2,yi ∈ graph f holds x1 = x2,
(29) graph h = graph f ∩ graph g & x ∈ dom h implies h.x = f .x & h.x = g .x,
Graphs of Functions. 171
(36) x ∈ dom h & graph h = graph f ∪ graph g implies h.x = f .x or h.x = g .x,
(37) f is one-to-one
& g is one-to-one & graph h = graph f ∪ graph g & rng f ∩ rng g = ∅
implies h is one-to-one ,
(40) graph id X = 4 X,
(45) graph id ∅ = ∅,
(47) f is one-to-one implies for x,y holds hy, xi ∈ graph (f -1 ) iff hx, yi ∈ graph f,
(62) graph (f | ∅) = ∅,
(77) graph (∅ | f ) = ∅,
(81) f ◦ X = (graph f ) ◦ X,
(86) f -1 Y = (graph f ) -1 Y,
References
[1] Czeslaw Byliński. Functions and their basic properties. Formalized Mathematics, 1,
1990.
[2] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[3] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
[4] Edmund Woronowicz. Relations and their basic properties. Formalized Mathematics,
1, 1990.
Binary Operations
Czeslaw Byliński1
Warsaw University
Bialystok
The articles [3], [1], and [2] provide the notation and terminology for this paper. The
arguments of the notions defined below are the following: f which is an object of the
type Function; a, b which are objects of the type Any. The functor
f .(a, b),
it = f .ha, bi.
(1) for f being Function for a,b being Any holds f .(a, b) = f .ha, bi.
In the sequel A, B, C will denote objects of the type DOMAIN. The arguments
of the notions defined below are the following: A, B, C which are objects of the type
reserved above; f which is an object of the type Function of [:A, B:], C; a which is an
object of the type Element of A; b which is an object of the type Element of B. Let
us note that it makes sense to consider the following functor on a restricted area. Then
f .(a, b) is Element of C.
In the article we present several logical schemes. The scheme UnOpEx concerns a
constant A that has the type DOMAIN and a binary predicate P and states that the
following holds
• for x,y1,y2 being Element of A st P[x, y1] & P[x, y2] holds y1 = y2.
The scheme UnOpLambda concerns a constant A that has the type DOMAIN and a
unary functor F yielding values of the type Element of A and states that the following
holds
o.(a, b) is Element of A.
Now we present two schemes. The scheme BinOpEx concerns a constant A that has
the type DOMAIN and a ternary predicate P and states that the following holds
The scheme BinOpLambda concerns a constant A that has the type DOMAIN and a
binary functor F yielding values of the type Element of A and states that the following
holds
The predicate
o is associative is defined by for a,b,c holds o.(a, o.(b, c)) = o.(o.(a, b),c).
The predicate
(6) o is associative iff for a,b,c holds o.(a, o.(b, c)) = o.(o.(a, b),c),
The predicate
e is a unity wrt o is defined by e is a left unity wrt o & e is a right unity wrt o.
(10) e is a unity wrt o iff e is a left unity wrt o & e is a right unity wrt o,
(12) o is commutative implies (e is a unity wrt o iff for a holds o.(e, a) = a),
(13) o is commutative implies (e is a unity wrt o iff for a holds o.(a, e) = a),
(14) o is commutative implies (e is a unity wrt o iff e is a left unity wrt o),
(15) o is commutative implies (e is a unity wrt o iff e is a right unity wrt o),
(16) o is commutative implies (e is a left unity wrt o iff e is a right unity wrt o),
(17) e1 is a left unity wrt o & e2 is a right unity wrt o implies e1 = e2,
ex e st e is a unity wrt o.
The functor
the unity wrt o,
it is a unity wrt o.
is defined by
for a,b,c holds o0 .(a, o.(b, c)) = o.(o0 .(a, b),o0 .(a, c)).
The predicate
o0 is right distributive wrt o
is defined by
for a,b,c holds o0 .(o.(a, b),c) = o.(o0 .(a, c),o0 .(b, c)).
Binary Operations 179
o0 is distributive wrt o
is defined by
(26) o0 is commutative
implies (o0 is distributive wrt o iff o0 is left distributive wrt o),
(27) o0 is commutative
implies (o0 is distributive wrt o iff o0 is right distributive wrt o),
(28) o0 is commutative
implies (o0 is right distributive wrt o iff o0 is left distributive wrt o).
(29) u is distributive wrt o iff for a,b holds u.(o.(a, b)) = o.((u.a),(u.b)).
180 Czeslaw Byliński
References
[1] Czeslaw Byliński. Functions and their basic properties. Formalized Mathematics, 1,
1990.
[2] Czeslaw Byliński. Functions from a set to a set. Formalized Mathematics, 1, 1990.
[3] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
Edmund Woronowicz1
Warsaw University
Bialystok
The articles [1], [2], and [3] provide the terminology and notation for this paper. For
simplicity we adopt the following convention: A, B, X, X1, Y , Y 1, Z will denote
objects of the type set; a, x, y will denote objects of the type Any. Let us consider
X, Y . The mode
Relation of X, Y,
it ⊆ [:X, Y :].
In the sequel P , R will denote objects of the type Relation of X, Y . The following
propositions are true:
Let us consider X, Y , P , R. Let us note that it makes sense to consider the following
functors on restricted areas. Then
P ∪R is Relation of X, Y,
P ∩R is Relation of X, Y,
P \R is Relation of X, Y.
(18) R ∩ [:X, Y :] = R.
Let us consider X, Y , R. Let us note that it makes sense to consider the following
functors on restricted areas. Then
dom R is Subset of X,
rng R is Subset of Y.
(19) field R ⊆ X ∪ Y,
Let us consider X, Y , R. Let us note that it makes sense to consider the following
functor on a restricted area. Then
R˜ is Relation of Y, X.
The arguments of the notions defined below are the following: X, Y , Z which are
objects of the type reserved above; P which is an object of the type Relation of X, Y ;
R which is an object of the type Relation of Y , Z. Let us note that it makes sense to
consider the following functor on a restricted area. Then
P ·R is Relation of X, Z.
(25) Ø is Relation of X, Y,
(29) 4 X is Relation of X, X,
Let us consider X, Y , R, A. Let us note that it makes sense to consider the following
functor on a restricted area. Then
R|A is Relation of X, Y.
Let us consider X, Y , B, R. Let us note that it makes sense to consider the following
functor on a restricted area. Then
B|R is Relation of X, Y.
(34) X ⊆ X1 implies R | X1 = R,
(35) Y 1 | R is Relation of X, Y 1,
(36) Y ⊆ Y 1 implies Y 1 | R = R.
Let us consider X, Y , R, A. Let us note that it makes sense to consider the following
functors on restricted areas. Then
R◦A is Subset of Y,
R -1 A is Subset of X.
(37) R ◦ A ⊆ Y & R -1 A ⊆ X,
The scheme Rel On Set Ex deals with a constant A that has the type set, a constant
B that has the type set and a binary predicate P and states that the following holds
ex R being Relation of A,B st for x,y holds hx, yi ∈ R iff x ∈ A & y ∈ B & P[x, y]
In the sequel R denotes an object of the type Relation of X. One can prove the
following propositions:
(43) 4 X is Relation of X,
(45) R · (4 X) = R & (4 X) · R = R.
For simplicity we adopt the following convention: D, D1, D2, E, F denote objects
of the type DOMAIN; R denotes an object of the type Relation of D, E; x denotes
Relations Defined on Sets 185
Let us consider D, E, R. Let us note that it makes sense to consider the following
functors on restricted areas. Then
dom R is Element of bool D,
Let us consider D, E, R, D1. Let us note that it makes sense to consider the following
functors on restricted areas. Then
R ◦ D1 is Element of bool E,
R -1 D1 is Element of bool D.
We now state two propositions:
(52) y ∈ R ◦ D1 iff ex x being Element of D st hx, yi ∈ R & x ∈ D1,
The scheme Rel On Dom Ex concerns a constant A that has the type DOMAIN, a
constant B that has the type DOMAIN and a binary predicate P and states that the
following holds
ex R being Relation of A,B st for x being Element of A, y being Element of B
holds hx, yi ∈ R iff x ∈ A & y ∈ B & P[x, y]
References
[1] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[2] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
[3] Edmund Woronowicz. Relations and their basic properties. Formalized Mathematics,
1, 1990.
Boolean Domains
The articles [4], [5], [3], and [2] provide the notation and terminology for this paper. In
the sequel X, Y will denote objects of the type set. The following propositions are
true:
(3) . (Y \ X),
X ∪Y =X −
(4) . Y −
X ∪Y =X − . X ∩ Y,
(5) . (X ∩ Y ),
X \Y =X −
(6) . Y −
X ∩Y =X − . (X ∪ Y ),
Let us consider X. Let us note that it makes sense to consider the following functor
on a restricted area. Then
The mode
BOOLE DOMAIN ,
In the sequel A will denote an object of the type BOOLE DOMAIN. One can
prove the following propositions:
The arguments of the notions defined below are the following: A which is an object
of the type reserved above; X, Y which are objects of the type Element of A. Let us
note that it makes sense to consider the following functors on restricted areas. Then
X ∪Y is Element of A,
X \Y is Element of A.
(14) . Y is Element of A,
X is Element of A & Y is Element of A implies X −
The arguments of the notions defined below are the following: A which is an object
of the type reserved above; X, Y which are objects of the type Element of A. Let us
note that it makes sense to consider the following functors on restricted areas. Then
X ∩Y is Element of A,
. Y
X− is Element of A.
(18) ∅ ∈ A,
(19) ∅ is Element of A,
In the sequel A, B will denote objects of the type set. Let us consider A. The
functor
Fin A,
Let us consider A.
The arguments of the notions defined below are the following: A which is an object
of the type reserved above; X, Y which are objects of the type Finite Subset of A. Let
us note that it makes sense to consider the following functors on restricted areas. Then
X ∪Y is Finite Subset of A,
X ∩Y is Finite Subset of A,
X \Y is Finite Subset of A,
. Y
X− is Finite Subset of A.
References
[1] Grzegorz Bancerek. The ordinal numbers. Formalized Mathematics, 1, 1990.
[4] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[5] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Grzegorz Bancerek1
Warsaw University
Bialystok
The articles [6], [7], [3], [1], [4], [5], and [2] provide the notation and terminology for this
paper. For simplicity we adopt the following convention: H, H 0 will have the type
ZF-formula; x, y, z will have the type Variable; a, b, c will have the type Any; A, X
will have the type set. In the article we present several logical schemes. The scheme
ZFsch ex deals with a binary functor F, a binary functor G, a unary functor H, a binary
functor I, a binary functor J and a constant A that has the type ZF-formula, and states
that the following holds
ex a,A st (for x,y holds hx - y,F(x, y)i ∈ A & hx y,G(x, y)i ∈ A) & hA,ai ∈ A &
for H,a st hH, ai ∈ A holds (H is a equality implies a = F(Var1 H,Var2 H)) &
(H is a membership implies a = G(Var1 H,Var2 H)) &
(H is negative implies ex b st a = H(b) & hthe argument of H,bi ∈ A) &
(H is conjunctive implies ex b,c
st a = I(b, c) & hthe left argument of H,bi ∈ A & hthe right argument of H,ci ∈ A)
& (H is universal
implies ex b,x st x = bound in H & a = J (x, b) & hthe scope of H,bi ∈ A)
The scheme ZFsch uniq deals with a binary functor F, a binary functor G, a unary
functor H, a binary functor I, a binary functor J , a constant A that has the type
ZF-formula, a constant B and a constant C and states that the following holds
B=C
• ex A st (for x,y holds hx - y,F(x, y)i ∈ A & hx y,G(x, y)i ∈ A) & hA,Bi ∈ A
& for H,a st hH, ai ∈ A holds
(H is a equality implies a = F(Var1 H,Var2 H)) &
(H is a membership implies a = G(Var1 H,Var2 H)) &
(H is negative implies ex b st a = H(b) & hthe argument of H,bi ∈ A) &
(H is conjunctive implies ex b,c st a = I(b, c)
& hthe left argument of H,bi ∈ A & hthe right argument of H,ci ∈ A)
& (H is universal
implies ex b,x st x = bound in H & a = J (x, b) & hthe scope of H,bi ∈ A),
• ex A st (for x,y holds hx - y,F(x, y)i ∈ A & hx y,G(x, y)i ∈ A) & hA,Ci ∈ A
& for H,a st hH, ai ∈ A holds
(H is a equality implies a = F(Var1 H,Var2 H)) &
(H is a membership implies a = G(Var1 H,Var2 H)) &
(H is negative implies ex b st a = H(b) & hthe argument of H,bi ∈ A) &
(H is conjunctive implies ex b,c st a = I(b, c)
& hthe left argument of H,bi ∈ A & hthe right argument of H,ci ∈ A)
& (H is universal
implies ex b,x st x = bound in H & a = J (x, b) & hthe scope of H,bi ∈ A).
The scheme ZFsch result deals with a binary functor F, a binary functor G, a unary
functor H, a binary functor I, a binary functor J , a constant A that has the type
ZF-formula and a unary functor K and states that the following holds
The scheme ZFsch property concerns a binary functor F, a binary functor G, a unary
functor H, a binary functor I, a binary functor J , a unary functor K, a constant A that
has the type ZF-formula and a unary predicate P and states that the following holds
P[K(A)]
ex A st (for x,y holds hx - y,{x, y}i ∈ A & hx y,{x, y}i ∈ A) & hH, iti ∈ A &
for H 0 ,a st hH 0 ,ai ∈ A holds (H 0 is a equality implies a = {Var1 H 0 ,Var2 H 0 }) &
(H 0 is a membership implies a = {Var1 H 0 ,Var2 H 0 }) &
(H 0 is negative implies ex b st a = b & hthe argument of H 0 ,bi ∈ A) &
(H 0 is conjunctive implies ex b,c
[
st a = {b, c} & hthe left argument of H 0 ,bi ∈ A & hthe right argument of H 0 ,ci ∈ A)
& (H 0 is universal
[
implies ex b,x st x = bound in H 0 & a = ( {b}) \ {x} & hthe scope of H 0 ,bi ∈ A).
Let us consider H. Let us note that it makes sense to consider the following functor
on a restricted area. Then
(1) for H holds (H is a equality implies Free H = {Var1 H,Var2 H}) &
(H is a membership implies Free H = {Var1 H,Var2 H}) &
(H is negative implies Free H = Free the argument of H) &
(H is conjunctive implies
Free H = Free the left argument of H ∪ Free the right argument of H)
& (H is universal implies Free H = (Free the scope of H) \ {bound in H}).
VAL D,
The arguments of the notions defined below are the following: D1 which is an object
of the type SET DOMAIN; f which is an object of the type Function of VAR, D1;
x which is an object of the type reserved above. Let us note that it makes sense to
consider the following functor on a restricted area. Then
f .x is Element of D1.
For simplicity we adopt the following convention: E will denote an object of the
type SET DOMAIN; f , g will denote objects of the type Function of VAR, E; v1,
v2, v3, v4, v5 will denote objects of the type Element of VAL E. Let us consider H,
E. The functor
St (H, E),
Models and Satisfiability 195
ex A st
(for x,y holds hx - y,{ v1 : for f st f = v1 holds f .x = f .y }i ∈ A
& hx y,{ v2 : for f st f = v2 holds f .x ∈ f .y }i ∈ A)
& hH, iti ∈ A & for H 0 ,a st hH 0 ,ai ∈ A holds
(H 0 is a equality
implies a = { v3 : for f st f = v3 holds f .(Var1 H 0 ) = f .(Var2 H 0 ) })
&
0
(H is a membership
implies a = { v4 : for f st f = v4 holds f .(Var1 H 0 ) ∈ f .(Var2 H 0 ) })
[
& (H 0 is negative implies ex b st a = (VAL E) \ {b} & hthe argument of H 0 ,bi ∈ A)
&
[ [
0
(H is conjunctive implies ex b,c st a = ( {b}) ∩ {c}
& hthe left argument of H 0 ,bi ∈ A & hthe right argument of H 0 ,ci ∈ A)
& (H 0 is universal implies ex b,x st x = bound in H 0 &
a = { v5 :
for X,f st X = b & f = v5
holds f ∈ X & for g st for y st g .y 6= f .y holds x = y holds g ∈ X }
& hthe scope of H 0 ,bi ∈ A).
Let us consider H, E. Let us note that it makes sense to consider the following
functor on a restricted area. Then
(7) H is a equality
implies for f holds f .(Var1 H) = f .(Var2 H) iff f ∈ St (H, E),
196 Grzegorz Bancerek
(8) H is a membership
implies for f holds f .(Var1 H) ∈ f .(Var2 H) iff f ∈ St (H, E),
(9) H is negative
implies for f holds not f ∈ St (the argument of H,E) iff f ∈ St (H, E),
The arguments of the notions defined below are the following: D which is an object
of the type SET DOMAIN; f which is an object of the type Function of VAR, D; H
which is an object of the type reserved above. The predicate
(22) E, f |= ∀ (x, y, H)
iff for g st for z st g .z 6= f .z holds x = z or y = z holds E, g |= H,
(23) E, f |= ∃ (x, y, H)
iff ex g st (for z st g .z 6= f .z holds x = z or y = z) & E, g |= H.
We now define five new functors. The constant the axiom of extensionality has the
type ZF-formula, and is defined by
The constant the axiom of pairs has the type ZF-formula, and is defined by
The constant the axiom of unions has the type ZF-formula, and is defined by
The constant the axiom of infinity has the type ZF-formula, and is defined by
it = ∃ (ξ 0,
ξ 1, ξ 1 ξ 0 ∧ ∀ (ξ 2,ξ 2 ξ 0 ⇒ ∃ (ξ 3,ξ 3 ξ 0 ∧ ¬ ξ 3 - ξ 2 ∧ ∀ (ξ 4,ξ 4 ξ 2 ⇒ ξ 4 ξ 3)))).
The constant the axiom of power sets has the type ZF-formula, and is defined by
Let H have the type ZF-formula. Assume that the following holds
The functor
the axiom of substitution for H,
it =
∀ (ξ 3,∃ (ξ 0,∀ (ξ 4,H ⇔ ξ 4 - ξ 0))) ⇒ ∀ (ξ 1,∃ (ξ 2,∀ (ξ 4,ξ 4 ξ 2 ⇔ ∃ (ξ 3,ξ 3 ξ 1 ∧ H)))).
198 Grzegorz Bancerek
(31) {ξ 0,ξ 1,ξ 2} misses Free H implies the axiom of substitution for H =
∀ (ξ 3, ∃ (ξ 0,
∀ (ξ 4, H ⇔ ξ 4 - ξ 0))) ⇒ ∀ (ξ 1,∃ (ξ 2,∀ (ξ 4,ξ 4 ξ 2 ⇔ ∃ (ξ 3,ξ 3 ξ 1 ∧ H)))).
E is a model of ZF
is defined by
E is ∈-transitive & E |= the axiom of pairs & E |= the axiom of unions &
E |= the axiom of infinity & E |= the axiom of power sets
& for H st {ξ 0,ξ 1,ξ 2} misses Free H holds E |= the axiom of substitution for H.
References
[1] Grzegorz Bancerek. A model of ZF set theory language. Formalized Mathematics, 1,
1990.
[3] Czeslaw Byliński. Functions and their basic properties. Formalized Mathematics, 1,
1990.
[4] Czeslaw Byliński. Functions from a set to a set. Formalized Mathematics, 1, 1990.
[6] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[7] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Grzegorz Bancerek1
Warsaw University
Bialystok
Summary. The article includes the proof of the contraction lemma which
claims that every class in which the axiom of extensionality is valid is isomorphic
with a transitive class. In this article the isomorphism (wrt membership relation)
of two sets is defined. It is based on [6].
The articles [7], [8], [4], [1], [5], [3], and [2] provide the terminology and notation for this
paper. For simplicity we adopt the following convention: X, Y , Z denote objects of
the type set; x, y denote objects of the type Any; E denotes an object of the type
SET DOMAIN; A, B, C denote objects of the type Ordinal; L denotes an object of
the type Transfinite-Sequence; f denotes an object of the type Function; d, d1, d0
denote objects of the type Element of E. Let us consider E, A. The functor
Mµ (E, A),
(7) Mµ (E, A) ⊆ E,
f is ∈-isomorphism of X, Y
is defined by
In the sequel u, v, w will denote objects of the type Element of E. Next we state
two propositions:
References
[1] Grzegorz Bancerek. A model of ZF set theory language. Formalized Mathematics, 1,
1990.
[4] Czeslaw Byliński. Functions and their basic properties. Formalized Mathematics, 1,
1990.
[5] Czeslaw Byliński. Functions from a set to a set. Formalized Mathematics, 1, 1990.
[7] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[8] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Axioms of Incidence
Wojciech A. Trybulec1
Warsaw University
The articles [3], [2], and [4] provide the terminology and notation for this paper. We
consider structures IncStruct, which are systems
where Points, Lines, Planes have the type DOMAIN, Inc1 has the type Relation of
the Points, the Lines, Inc2 has the type Relation of the Points, the Planes, and Inc3
has the type Relation of the Lines, the Planes. We now define three new modes. Let
S have the type IncStruct.
In the sequel S will have the type IncStruct; A will have the type Element of
the Points of S; L will have the type Element of the Lines of S; P will have the type
Element of the Planes of S. The following propositions are true:
(1) A is POINT of S,
(2) L is LINE of S,
1
Supported by RPBP.III-24.C1.
f
c 1990 Fondation Philippe le Hodey
205 ISSN 0777-4028
206 Wojciech A. Trybulec
(3) P is PLANE of S.
The arguments of the notions defined below are the following: S which is an object
of the type reserved above; A which is an object of the type POINT of S; P which is
an object of the type PLANE of S. The predicate
The arguments of the notions defined below are the following: S which is an object
of the type reserved above; L which is an object of the type LINE of S; P which is an
object of the type PLANE of S. The predicate
The arguments of the notions defined below are the following: S which is an object
of the type reserved above; F which is an object of the type set of POINT of S; L
which is an object of the type LINE of S. The predicate
The arguments of the notions defined below are the following: S which is an object
of the type reserved above; F which is an object of the type set of POINT of S; P
which is an object of the type PLANE of S. The predicate
The arguments of the notions defined below are the following: S which is an object
of the type reserved above; F which is an object of the type set of POINT of S. The
predicate
F is linear is defined by ex L st F on L.
The arguments of the notions defined below are the following: S which is an object
of the type reserved above; F which is an object of the type set of POINT of S. The
predicate
F is planar is defined by ex P st F on P.
The mode
IncSpace ,
For simplicity we adopt the following convention: S will denote an object of the type
IncSpace; A, B, C, D will denote objects of the type POINT of S; K, L, L1, L2 will
denote objects of the type LINE of S; P , Q will denote objects of the type PLANE
of S; F will denote an object of the type Subset of the Points of S. The following
propositions are true:
(26) ex L st {A, B} on L,
(28) ex A st A on P,
(29) ex P st {A, B, C} on P,
(44) ex P st A on P & L on P,
A 6= B.
The functor
Line (A, B),
{A, B} on it .
The functor
Plane (A, B, C),
{A, B, C} on it .
not A on L.
The functor
Plane (A, L),
A on it & L on it .
K 6= L.
Axioms of Incidence 211
ex A st A on K & A on L.
The functor
Plane (K, L),
K on it & L on it .
(53) not {A, B, C} is linear & {A, B, C} on Q implies Q = Plane (A, B, C),
(58) not {A, B, C} is linear implies Plane (A, B, C) = Plane (A, C, B),
(59) not {A, B, C} is linear implies Plane (A, B, C) = Plane (B, A, C),
(60) not {A, B, C} is linear implies Plane (A, B, C) = Plane (B, C, A),
(61) not {A, B, C} is linear implies Plane (A, B, C) = Plane (C, A, B),
(62) not {A, B, C} is linear implies Plane (A, B, C) = Plane (C, B, A),
(64) K 6= L & (ex A st A on K & A on L) implies Plane (K, L) = Plane (L, K),
(66) A 6= B & A 6= C & {A, B, C} is linear implies Line (A, B) = Line (A, C),
(67) not {A, B, C} is linear implies Plane (A, B, C) = Plane (C, Line (A, B)),
212 Wojciech A. Trybulec
(69) not C on L & {A, B} on L & A 6= B implies Plane (C, L) = Plane (A, B, C),
(73) ex B st A 6= B & B on L,
(81) ex L,L1,L2
st A on L & A on L1 & A on L2 & not ex P st L on P & L1 on P & L2 on P,
References
[1] Karol Borsuk and Wanda Szmielew. Foundations of Geometry. North Holland, 1960.
[2] Andrzej Trybulec. Domains and their Cartesian products. Formalized Mathematics,
1, 1990.
[3] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
Stanislaw Żukowski1
Warsaw University
Bialystok
The terminology and notation used in this paper are introduced in the papers [1] and
[2]. The scheme BooleDomBinOpLam deals with a constant A that has the type
BOOLE DOMAIN and a binary functor F yielding values of the type Element of A
and states that the following holds
where carrier has the type DOMAIN, and join, meet have the type Binary Operation
of the carrier. In the sequel G has the type LattStr; p, q, r have the type Element
of the carrier of G. We now define two new functors. Let us consider G, p, q. The
functor
p t q,
The functor
p u q,
pvq is defined by p t q = q.
(3) p v q iff p t q = q.
The mode
Lattice ,
In the sequel L has the type Lattice; a, b, c have the type Element of the carrier of L.
One can prove the following propositions:
(5) a t b = b t a,
(6) a u b = b u a,
(7) a t (b t c) = (a t b) t c,
Introduction to Lattice Theory 217
(8) a u (b u c) = (a u b) u c,
The mode
Distributive Lattice ,
The mode
Modular Lattice ,
The mode
Lower Bound Lattice ,
The mode
Upper Bound Lattice ,
The mode
Bound Lattice ,
ex c st for a holds c u a = c.
The functor
⊥ L,
it u a = it .
Let L have the type Lower Bound Lattice. Let us note that it makes sense to consider
the following functor on a restricted area. Then
ex c st for a holds c t a = c.
The functor
> L,
it t a = it .
Let L have the type Upper Bound Lattice. Let us note that it makes sense to consider
the following functor on a restricted area. Then
Let L have the type Bound Lattice. Let us note that it makes sense to consider the
following functors on restricted areas. Then
L is Bound Lattice .
The predicate
The mode
Lattice with Complement ,
The mode
Boolean Lattice ,
which widens to the type Lattice with Complement, is defined by
it is Distributive Lattice .
(16) a t b = b iff a u b = a,
(17) a t a = a,
(18) a u a = a,
(20) a v b iff a t b = b,
(21) a v b iff a u b = a,
(22) a v a t b,
(23) a u b v a,
(24) a v a,
(27) a v b implies a u c v b u c,
220 Stanislaw Żukowski
(28) a v b implies c u a v c u b,
(34) (a t b) u (b t c) u (c t a) = (a u b) t (b u c) t (c u a),
In the sequel L has the type Modular Lattice; a, b, c have the type Element of
the carrier of L. One can prove the following two propositions:
(36) a v c implies a t (b u c) = (a t b) u c,
(37) c v a implies a u (b t c) = (a u b) t c.
In the sequel L has the type Lower Bound Lattice; a, c have the type Element of
the carrier of L. We now state four propositions:
(39) ⊥ L t a = a & a t ⊥ L = a,
(40) ⊥ L u a = ⊥ L & a u ⊥ L = ⊥ L,
(41) ⊥ L v a.
In the sequel L denotes an object of the type Upper Bound Lattice; a, c denote
objects of the type Element of the carrier of L. The following four propositions are
true:
(45) a v > L.
In the sequel L has the type Lattice with Complement; a, b have the type Element
of the carrier of L. One can prove the following proposition
(46) ex a st a is a complement of b.
In the sequel L has the type Lattice. The arguments of the notions defined below
are the following: L which is an object of the type reserved above; x which is an object
of the type Element of the carrier of L. Assume that the following holds
L is Boolean Lattice .
The functor
xc ,
it is a complement of x.
The arguments of the notions defined below are the following: L which is an object of
the type Boolean Lattice; x which is an object of the type Element of the carrier of L.
Let us note that it makes sense to consider the following functor on a restricted area.
Then
xc is Element of the carrier of L.
In the sequel L will denote an object of the type Boolean Lattice; a, b will denote
objects of the type Element of the carrier of L. We now state several propositions:
(47) a c u a = ⊥ L & a u a c = ⊥ L,
(49) a c c = a,
(50) (a u b) c = a c t b c ,
(51) (a t b) c = a c u b c ,
(52) b u a = ⊥ L iff b v a c ,
(53) a v b implies b c v a c .
In the sequel L will have the type Bound Lattice; a, b will have the type Element
of the carrier of L. We now state three propositions:
In the sequel L has the type Lattice with Complement. One can prove the
following proposition
In the sequel L has the type Boolean Lattice. The following two propositions are
true:
References
[1] Czeslaw Byliński. Binary operations. Formalized Mathematics, 1, 1990.
[2] Andrzej Trybulec and Agata Darmochwal. Boolean domains. Formalized Mathemat-
ics, 1, 1990.
The articles [5], [7], [6], [1], [4], [2], and [3] provide the terminology and notation for this
paper. We consider structures TopStruct, which are systems
hhcarrier , topologyii
where carrier has the type DOMAIN, and topology has the type Subset-Family of
the carrier. In the sequel T has the type TopStruct. The mode
TopSpace ,
[
st a ⊆ the topology of T holds a ∈ the topology of T )
& (for p,q being Subset of the carrier of T st
p ∈ the topology of T & q ∈ the topology of T
holds p ∩ q ∈ the topology of T )
implies T is TopSpace .
Let us consider T .
In the sequel P , Q will have the type Subset of T ; p will have the type Point of
T . Let us consider T .
In the sequel F will denote an object of the type Subset-Family of T . The scheme
SubFamEx1 concerns a constant A that has the type TopSpace and a unary predicate
P and states that the following holds
∅T,
it = ∅ the carrier of T.
The functor
Ω T,
it = Ω the carrier of T.
(11) ∅(T ) = ∅,
P c,
it = P c .
Let us consider T , P , Q. Let us note that it makes sense to consider the following
functors on restricted areas. Then
P ∪Q is Subset of T,
P ∩Q is Subset of T,
P \Q is Subset of T,
. Q
P− is Subset of T.
(13) p ∈ Ω (T ),
(14) P ⊆ Ω (T ),
226 Beata Padlewska and Agata Darmochwal
(15) P ∩ Ω (T ) = P,
(17) P c = Ω (T ) \ P,
(18) P ∪ P c = Ω (T ),
(19) P ⊆ Q iff Q c ⊆ P c ,
cc
(20) P =P ,
(21) P ⊆ Q c iff P ∩ Q = ∅,
(22) Ω (T ) \ (Ω (T ) \ P ) = P,
(23) P 6= Ω (T ) iff Ω (T ) \ P 6= ∅,
(24) Ω (T ) \ P = Q implies Ω (T ) = P ∪ Q,
(26) P ∩ P c = ∅(T ),
(27) Ω (T ) = (∅T ) c ,
(28) P \Q = P ∩Qc,
(29) P = Q implies Ω (T ) \ P = Ω (T ) \ Q.
Let us consider T , F . Let us note that it makes sense to consider the following functor
on a restricted area. Then
[
F is Subset of T.
Let us consider T , F . Let us note that it makes sense to consider the following functor
on a restricted area. Then
\
F is Subset of T.
SubSpace of T,
P 6= ∅(T ).
The functor
T | P,
with values of the type SubSpace of T , is defined by
Ω (it) = P.
228 Beata Padlewska and Agata Darmochwal
Let us consider T , S.
In the sequel f has the type map of T , S; P 1 has the type Subset of S. Let us
consider T , S, f , P . Let us note that it makes sense to consider the following functor on
a restricted area. Then
f◦P is Subset of S.
Let us consider T , S, f , P 1. Let us note that it makes sense to consider the following
functor on a restricted area. Then
f -1 P 1 is Subset of T.
f is continuous
is defined by
The scheme TopAbstr concerns a constant A that has the type TopSpace and a unary
predicate P and states that the following holds
(40) for A being Subset of GX, x being Any st x ∈ A holds x is Point of GX,
The arguments of the notions defined below are the following: GX which is an object
of the type TopSpace; A which is an object of the type Subset of GX. The functor
Cl A,
(47) for
X being SubSpace of GX, A being Subset of GX, A1 being Subset of X 0
0
References
[1] Czeslaw Byliński. Functions and their basic properties. Formalized Mathematics, 1,
1990.
[2] Czeslaw Byliński. Functions from a set to a set. Formalized Mathematics, 1, 1990.
[4] Andrzej Trybulec. Domains and their Cartesian products. Formalized Mathematics,
1, 1990.
[5] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[7] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Summary. The article contains some theorems about open and closed sets.
The following topological operations on sets are defined: closure, interior and fron-
tier. The following notions are introduced: dense set, boundary set, nowheredense
set and set being domain (closed domain and open domain), and some basic facts
concerning them are proved.
The papers [4], [5], [3], [1], and [2] provide the notation and terminology for this paper.
For simplicity we adopt the following convention: T S denotes an object of the type
TopSpace; x denotes an object of the type Any; P , Q, G denote objects of the type
Subset of T S; p denotes an object of the type Point of T S. One can prove the
following propositions:
(2) P ∪ Ω T S = Ω T S & Ω T S ∪ P = Ω T S,
(3) P ∩ Ω T S = P & Ω T S ∩ P = P,
(4) P ∩ ∅T S = ∅T S & ∅T S ∩ P = ∅T S,
(5) P c = Ω T S \ P,
(8) (Ω T S) c = ∅T S,
(9) Ω T S = (∅T S) c ,
(10) (P c ) c = P,
1
Supported by RPBP.III-24.C1.
f
c 1990 Fondation Philippe le Hodey
231 ISSN 0777-4028
232 Miroslaw Wysocki and Agata Darmochwal
(11) P ∪ P c = Ω T S & P c ∪ P = Ω T S,
(12) P ∩ P c = ∅T S & P c ∩ P = ∅T S,
(13) (P ∪ Q) c = (P c ) ∩ (Q c ),
(14) (P ∩ Q) c = (P c ) ∪ (Q c ),
(15) P ⊆ Q iff Q c ⊆ P c ,
(16) P \Q = P ∩Qc,
(17) (P \ Q) c = P c ∪ Q,
(18) P ⊆ Q c implies Q ⊆ P c ,
(19) P c ⊆ Q implies Q c ⊆ P,
(20) P ⊆ Q iff P ∩ Q c = ∅,
(21) P c = Q c implies P = Q,
(22) ∅T S is closed ,
(23) Cl (∅T S) = ∅T S,
(24) P ⊆ Cl P,
(25) P ⊆ Q implies Cl P ⊆ Cl Q,
(26) Cl (Cl P ) = Cl P,
(27) Cl (Ω T S) = Ω T S,
(28) Ω T S is closed ,
(32) Cl P \ Cl Q ⊆ Cl (P \ Q),
(33) Cl (P ∩ Q) ⊆ Cl P ∩ Cl Q,
Int P,
it = (Cl (P c )) c .
(43) Int (Ω T S) = Ω T S,
(44) Int P ⊆ P,
(52) ∅T S is open ,
(53) Ω T S is open ,
Fr P,
it = Cl P ∩ Cl (P c ).
(60) Fr P = Cl P ∩ Cl (P c ),
(62) Fr P = Fr (P c ),
(63) Fr P ⊆ Cl P,
(64) Fr P = Cl (P c ) ∩ P ∪ (Cl P \ P ),
(65) Cl P = P ∪ Fr P,
(66) Fr (P ∩ Q) ⊆ Fr P ∪ Fr Q,
(67) Fr (P ∪ Q) ⊆ Fr P ∪ Fr Q,
(68) Fr (Fr P ) ⊆ Fr P,
(71) Fr (Int P ) ⊆ Fr P,
(72) Fr (Cl P ) ⊆ Fr P,
(73) Int P ∩ Fr P = ∅,
(74) Int P = P \ Fr P,
P is dense is defined by Cl P = Ω T S.
The predicate
The predicate
(105) P is open & P is closed implies (P is closed domain iff P is open domain),
References
[1] Beata Padlewska. Families of sets. Formalized Mathematics, 1, 1990.
[2] Beata Padlewska and Agata Darmochwal. Topological spaces and continuous func-
tions. Formalized Mathematics, 1, 1990.
[3] Andrzej Trybulec. Domains and their Cartesian products. Formalized Mathematics,
1, 1990.
[4] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[5] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
Connected Spaces
Beata Padlewska1
Warsaw University
Bialystok
The articles [3], [4], [1], [2], and [5] provide the notation and terminology for this paper.
For simplicity we adopt the following convention: GX, GY will have the type TopSpace;
A, A1, B, B1, C will have the type Subset of GX. The arguments of the notions defined
below are the following: GX which is an object of the type TopSpace; A, B which are
objects of the type Subset of GX. The predicate
(6) for X 0
being SubSpace of GX, P 1,Q1 being Subset of GX, P,Q being Subset of X 0
st P = P 1 & Q = Q1 holds P, Q are separated implies P 1,Q1 are separated ,
(7) for X 0
being SubSpace of GX, P,Q being Subset of GX, P 1,Q1 being Subset of X 0
st P = P 1 & Q = Q1 & P ∪ Q ⊆ Ω (X 0 )
holds P, Q are separated implies P 1,Q1 are separated ,
GX is connected
is defined by
The arguments of the notions defined below are the following: GX which is an object
of the type TopSpace; A which is an object of the type Subset of GX. The predicate
A is connected is defined by GX | A is connected .
(21) GX is connected
& A 6= ∅(GX) & A is connected & Ω (GX) \ A = B ∪ C & B, C are separated
implies A ∪ B is connected & A ∪ C is connected ,
(24) for X 0 being SubSpace of GX, A being Subset of GX, B being Subset of X 0
st A 6= ∅(GX) & A = B holds A is connected iff B is connected ,
The arguments of the notions defined below are the following: GX which is an object
of the type TopSpace; x which is an object of the type Point of GX. Let us note that
it makes sense to consider the following functor on a restricted area. Then
The arguments of the notions defined below are the following: GX which is an object
of the type TopSpace; x, y which are objects of the type Point of GX. The predicate
x, y are joined
is defined by
(30) (ex x being Point of GX st for y being Point of GX holds x, y are joined)
implies GX is connected ,
(31) (ex x being Point of GX st for y being Point of GX holds x, y are joined)
iff for x,y being Point of GX holds x, y are joined ,
(32) (for x,y being Point of GX holds x, y are joined) implies GX is connected ,
The arguments of the notions defined below are the following: GX which is an object
of the type TopSpace; A which is an object of the type Subset of GX. The predicate
A is a component of GX
is defined by
A is connected
& for B being Subset of GX st B is connected holds A ⊆ B implies A = B.
The arguments of the notions defined below are the following: GX which is an object
of the type TopSpace; A, B which are objects of the type Subset of GX. The
predicate
B is a component of A
is defined by
The arguments of the notions defined below are the following: GX which is an object
of the type TopSpace; x which is an object of the type Point of GX. The functor
skl x,
ex F being Subset-Family of GX
[
st (for A being Subset of GX holds A ∈ F iff A is connected & x ∈ A) & F = it .
In the sequel x has the type Point of GX. One can prove the following propositions:
(40) x ∈ skl x,
References
[1] Beata Padlewska. Families of sets. Formalized Mathematics, 1, 1990.
[2] Beata Padlewska and Agata Darmochwal. Topological spaces and continuous func-
tions. Formalized Mathematics, 1, 1990.
[3] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[4] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.
[5] Miroslaw Wysocki and Agata Darmochwal. Subsets of topological spaces. Formalized
Mathematics, 1, 1990.
Czeslaw Byliński1
Warsaw University
Bialystok
The terminology and notation used in this paper are introduced in the following papers:
[3], [4], [1], and [2]. For simplicity we adopt the following convention: x, y, z, z1, z2
denote objects of the type Any; A, B, V , X, X1, X2, Y , Y 1, Y 2, Z denote objects of
the type set; C, C1, C2, D, D1, D2 denote objects of the type DOMAIN. We now
state several propositions:
(5) for f,g being Function st Y ⊆ rng g & g -1 Y ⊆ rng f holds Y ⊆ rng (g · f ).
1
Supported by RPBP.III-24.C1.
f
c 1990 Fondation Philippe le Hodey
245 ISSN 0777-4028
246 Czeslaw Byliński
In the article we present several logical schemes. The scheme FuncEx 3 concerns a
constant A that has the type set, a constant B that has the type set and a ternary
predicate P and states that the following holds
ex f being Function
st dom f = [:A,B:] & for x,y st x ∈ A & y ∈ B holds P[x, y, f .hx, yi]
• for x,y,z1,z2 st x ∈ A & y ∈ B & P[x, y, z1] & P[x, y, z2] holds z1 = z2,
The scheme Lambda 3 concerns a constant A that has the type set, a constant B
that has the type set and a binary functor F and states that the following holds
ex f being Function
st dom f = [:A,B:] & for x,y st x ∈ A & y ∈ B holds f .hx, yi = F(x, y)
(21) for f being Function holds ◦ f is Function of bool dom f,bool rng f,
The arguments of the notions defined below are the following: X, D which are
objects of the type reserved above; f which is an object of the type Function of X, D.
Let us note that it makes sense to consider the following functor on a restricted area.
Then
◦f is Function of bool X,bool D.
Let f have the type Function. The functor
-1 f,
(39) for f being Function holds -1 f is Function of bool rng f,bool dom f.
χ (A, X),
dom it = X
& for x st x ∈ X holds (x ∈ A implies it.x = 1) & (not x ∈ A implies it.x = 0).
(40) for f being Function holds f = χ (A, X) iff dom f = X & for x
st x ∈ X holds (x ∈ A implies f .x = 1) & (not x ∈ A implies f .x = 0),
Let us consider A, X. Let us note that it makes sense to consider the following
functor on a restricted area. Then
The arguments of the notions defined below are the following: Y which is an object
of the type reserved above; A which is an object of the type Subset of Y . The functor
incl A,
it = id A.
(54) for A being Subset of Y holds dom incl A = A & rng incl A = A,
π1 (X, Y ),
250 Czeslaw Byliński
The functor
π2 (X, Y ),
Let us consider X, Y . Let us note that it makes sense to consider the following
functors on restricted areas. Then
Let us consider X. Let us note that it makes sense to consider the following functor
on a restricted area. Then
[(f, g)],
dom it = dom f ∩ dom g & for x st x ∈ dom it holds it.x = hf .x,g .xi.
(68) for f,g being Function st x ∈ dom f ∩ dom g holds [(f, g)].x = hf .x,g .xi,
(70) for f,g being Function st dom f = X & dom g = X holds dom [(f, g)] = X,
(71) for f,g being Function holds rng [(f, g)] ⊆ [:rng f,rng g:],
(72) for f,g being Function st dom f = dom g & rng f ⊆ Y & rng g ⊆ Z
holds π1 (Y, Z) · [(f, g)] = f & π2 (Y, Z) · [(f, g)] = g,
(75) for f,g,h being Function holds [(f · h,g · h)] = [(f, g)] · h,
(76) for f,g being Function holds [(f, g)] ◦ A ⊆ [:f ◦ A,g ◦ A:],
(77) for f,g being Function holds [(f, g)] -1 [:B, C:] = f -1 B ∩ g -1 C,
252 Czeslaw Byliński
The arguments of the notions defined below are the following: X, D1, D2 which are
objects of the type reserved above; f 1 which is an object of the type Function of X,
D1; f 2 which is an object of the type Function of X, D2. Let us note that it makes
sense to consider the following functor on a restricted area. Then
[:f, g:],
(85) for f,g,f g being Function holds f g = [:f, g:] iff dom f g = [:dom f,dom g:]
& for x,y st x ∈ dom f & y ∈ dom g holds f g .hx, yi = hf .x,g .yi,
Basic Functions and Operations on . . . 253
(88) for f,g being Function holds rng [:f, g:] = [:rng f,rng g:],
(91) for f,g,h,k being Function holds [:f, h:] · [(g, k)] = [(f · g,h · k)],
(92) for f,g,h,k being Function holds [:f, h:] · [:g, k:] = [:f · g,h · k:],
(93) for f,g being Function holds [:f, g:] ◦ [:B, C:] = [:f ◦ B,g ◦ C:],
(94) for f,g being Function holds [:f, g:] -1 [:B, C:] = [:f -1 B,g -1 C:],
The arguments of the notions defined below are the following: X1, X2, D1, D2 which
are objects of the type reserved above; f 1 which is an object of the type Function of
X1, D1; f 2 which is an object of the type Function of X2, D2. Let us note that it
makes sense to consider the following functor on a restricted area. Then
References
[1] Czeslaw Byliński. Functions and their basic properties. Formalized Mathematics, 1,
1990.
[2] Czeslaw Byliński. Functions from a set to a set. Formalized Mathematics, 1, 1990.
[3] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1, 1990.
[4] Zinaida Trybulec and Halina Świe czkowska. Boolean properties of sets. Formalized
‘
Mathematics, 1, 1990.