Cartesian Product of Functions

Similar documents
Binary Operations Applied to Functions

Properties of Real Functions

Matrices. Abelian Group of Matrices

Introduction to Trees

Cyclic Groups and Some of Their Properties - Part I

Commutator and Center of a Group

On the Category of Posets

A First-Order Predicate Calculus

ordinal arithmetics 2 Let f be a sequence of ordinal numbers and let a be an ordinal number. Observe that f(a) is ordinal-like. Let us consider A, B.

Decomposing a Go-Board into Cells

Transpose Matrices and Groups of Permutations

The Inner Product and Conjugate of Finite Sequences of Complex Numbers

Submodules and Cosets of Submodules in Left Module over Associative Ring 1

Associated Matrix of Linear Map

The Steinitz Theorem and the Dimension of a Vector Space

String Rewriting Systems

Rings and Modules Part II

The Complex Numbers. Czesław Byliński Warsaw University Białystok

Coincidence Lemma and Substitution Lemma 1

Binary Operations. Czes law Byliński 1 Warsaw University Bia lystok

Basic Properties of the Rank of Matrices over a Field

The Inner Product and Conjugate of Matrix of Complex Numbers

Equivalence of Deterministic and Nondeterministic Epsilon Automata

Segments of Natural Numbers and Finite Sequences 1

Minimization of Finite State Machines 1

The Differentiable Functions from R into R n

Properties of Binary Relations

Connectedness Conditions Using Polygonal Arcs

The Lattice of Domains of an Extremally Disconnected Space 1

Multiplication of Polynomials using Discrete Fourier Transformation

Lower Tolerance. Preliminaries to Wroclaw Taxonomy 1

Armstrong s Axioms 1

Affine Independence in Vector Spaces

ATreeofExecutionofaMacroinstruction 1

Jordan Matrix Decomposition

Veblen Hierarchy. Grzegorz Bancerek Białystok Technical University Poland

Eigenvalues of a Linear Transformation

More on Multivariate Polynomials: Monomials and Constant Polynomials

Definition of Convex Function and Jensen s Inequality

Hiroyuki Okazaki Shinshu University Nagano, Japan

The Rotation Group. Karol Pąk Institute of Informatics University of Białystok Poland

Orthomodular Lattices

Epsilon Numbers and Cantor Normal Form

Sequences of Ordinal Numbers

The Product and the Determinant of Matrices with Entries in a Field. Katarzyna Zawadzka Warsaw University Bialystok

Axioms of Incidence. Wojciech A. Trybulec 1 Warsaw University

Orthomodular Lattices

Euler s Polyhedron Formula

The Chinese Remainder Theorem

Euler s Polyhedron Formula

Riemann Integral of Functions from R into R n

Formulas and Identities of Inverse Hyperbolic Functions

Asymptotic Notation. Part II: Examples andproblems 1

Definition: For nonempty sets X and Y, a function, f, from X to Y is a relation that associates with each element of X exactly one element of Y.

Applied Calculus GS1001

SOLUTIONS OF SELECTED PROBLEMS

Extended Riemann Integral of Functions of Real Variable and One-sided Laplace Transform 1

2.1 Sets. Definition 1 A set is an unordered collection of objects. Important sets: N, Z, Z +, Q, R.

Formalization of Definitions and Theorems Related to an Elliptic Curve Over a Finite Prime Field by Using Mizar

LOWELL WEEKLY JOURNAL

0 Sets and Induction. Sets

Digital Logic Design: a rigorous approach c

arxiv:math/ v2 [math.ct] 21 Feb 2007

The ideal of Sierpiński-Zygmund sets on the plane

Limit Theorems. MATH 464/506, Real Analysis. J. Robert Buchanan. Summer Department of Mathematics. J. Robert Buchanan Limit Theorems

Riemann Integral of Functions R into C

THEODORE VORONOV DIFFERENTIABLE MANIFOLDS. Fall Last updated: November 26, (Under construction.)

8 Further theory of function limits and continuity

A strongly rigid binary relation

Section 4.4 Functions. CS 130 Discrete Structures

Analytic Geometry and Calculus I Exam 1 Practice Problems Solutions 2/19/7

f(x) = 3x 2 3 g(x) = 5x 7 3 h(x) = 16x 1 4 k(x) = 10x 7 4 m(x) = 81x 2 7 n(x) = 3x 3 4 w(x) = 5x 1 4 2x 3 2 v(x) = 4x x 3 2

2.6 Logarithmic Functions. Inverse Functions. Question: What is the relationship between f(x) = x 2 and g(x) = x?

Chapter 1. Sets and Mappings

Complete Partial Orders, PCF, and Control

MATH 145 LECTURE NOTES. Zhongwei Zhao. My Lecture Notes for MATH Fall

Test 2 Review Math 1111 College Algebra

EASY PUTNAM PROBLEMS

Section 6.1: Composite Functions

Math 2534 Solution to Test 3A Spring 2010

Functions. Chapter Continuous Functions

DO FIVE OUT OF SIX ON EACH SET PROBLEM SET

Notes. Functions. Introduction. Notes. Notes. Definition Function. Definition. Slides by Christopher M. Bourke Instructor: Berthe Y.

Categories, Functors, Natural Transformations

Joins in the strong Weihrauch degrees.

ON FUNCTIONS WHOSE GRAPH IS A HAMEL BASIS

MATH 104: INTRODUCTORY ANALYSIS SPRING 2008/09 PROBLEM SET 8 SOLUTIONS

MTH202- Discrete Mathematics Latest Solved subjective from Midterm Papers. MIDTERM EXAMINATION Spring 2011 MTH202- Discrete Mathematics

2.23 Theorem. Let A and B be sets in a metric space. If A B, then L(A) L(B).

Lecture Notes on Discrete Mathematics. October 15, 2018 DRAFT

MAT 570 REAL ANALYSIS LECTURE NOTES. Contents. 1. Sets Functions Countability Axiom of choice Equivalence relations 9

Weak Choice Principles and Forcing Axioms

2.2 Lowenheim-Skolem-Tarski theorems

existence of recursively dened functions, uniqueness of recursively dened functions,

0, otherwise. Find each of the following limits, or explain that the limit does not exist.

Formal Topological Spaces

X = { X f X i A i : (œx, y 0 X)[x /= y œi[ x i /= y i ]]}.

Merit functions and error bounds for generalized variational inequalities

Reinhold Heckmann. FB 14 { Informatik. D-6600 Saarbrucken. Bundesrepublik Deutschland. September 10, Abstract

Static Problem Set 2 Solutions

Transcription:

FORMALIZED MATHEMATICS Vol.2, No.4, September October 1991 Université Catholique de Louvain Cartesian Product of Functions Grzegorz Bancerek Warsaw University Bia lystok Summary. A supplement of [3] and [2], i.e. some useful and explanatory properties of the product and also the curried and uncurried functions are shown. Besides, the functions yielding functions are considered: two different products and other operation of such functions are introduced. Finally, two facts are presented: quasi-distributivity of the power of the set to other one w.r.t. the union (X x f(x) x Xf(x) ) and quasi-distributivity of the poroduct w.r.t. the raising to the power ( x f(x)x ( x f(x))x ). MML Identifier: FUNCT 6. The articles [16], [14], [8], [17], [5], [12], [9], [11], [6], [4], [13], [15], [7], [10], [2], [1], and [3] provide the notation and terminology for this paper. Properties of Cartesian product For simplicity we follow the rules: x, y, y 1, y 2, z, a will be arbitrary, f, g, h, h, f 1, f 2 will denote functions, i will denote a natural number, X, Y, Z, V 1, V 2 will denote sets, P will denote a permutation of X, D, D 1, D 2, D 3 will denote non-empty sets, d 1 will denote an element of D 1, d 2 will denote an element of D 2, and d 3 will denote an element of D 3. We now state a number of propositions: (1) x X if and only if there exists y such that y X and x = y. (2) z X,Y if and only if there exist x, y such that x X and y Y and z = x,y. (3) a X,Y,Z if and only if there exist x, y, z such that x X and y Y and z Z and a = x,y,z. (4) D = D 1. (5) D1,D 2 = { d 1,d 2 }. (6) D,D = D 2. 547 c 1991 Fondation Philippe le Hodey ISSN 0777 4028

548 grzegorz bancerek (7) (8) (9) (10) D1,D 2,D 3 = { d 1,d 2,d 3 }. D,D,D = D 3. (i D) = D i. f ( f) dom f. Curried and uncurried functions of some functions The following propositions are true: (11) If x dom f, then there exist y, z such that x = y, z. (12) ([: X, Y :] z) = [:Y, X :] z. (13) curryf = curry f and uncurryf = uncurry f. (14) If [: X, Y :], then curry([: X, Y :] z) = X (Y z) and curry ([: X, Y :] z) = Y (X z). (15) uncurry(x (Y z)) = [: X, Y :] z and uncurry (X (Y z)) = [: Y, X :] z. (16) If x domf and g = f(x), then rng g rng uncurryf and rng g rng uncurry f. (17) dom uncurry(x f) = [:X, dom f :] and rng uncurry(x f) rng f and dom uncurry (X f) = [: domf, X :] and rng uncurry (X f) rng f. (18) If X, then rng uncurry(x f) = rng f and rng uncurry (X f) = rng f. (19) If [: X, Y :] and f Z [: X, Y :], then curry f (Z Y ) X and curry f (Z X ) Y. (20) If f (Z Y ) X, then uncurryf Z [: X, Y :] and uncurry f Z [:Y, X :]. (21) If curryf (Z Y ) X or curry f (Z X ) Y but domf [:V 1, V 2 :], then f Z [: X, Y :]. (22) If uncurryf Z [: X, Y :] or uncurry f Z [: Y, X :] but rng f V 1 V 2 and domf = X, then f (Z Y ) X. (23) If f [:X, Y :] Z, then curry f X (Y Z) and curry f Y (X Z). (24) If f X (Y Z), then uncurryf [:X, Y :] Z and uncurry f [:Y, X :] Z. (25) If curryf X (Y Z) or curry f Y (X Z) but domf [: V 1, V 2 :], then f [:X, Y :] Z. (26) If uncurryf [: X, Y :] Z or uncurry f [:Y, X :] Z but rng f V 1 V 2 and domf X, then f X (Y Z). Functions yielding functions Let X be a set. The functor Sub f X is defined as follows: (Def.1) x Sub f X if and only if x X and x is a function.

cartesian product of functions 549 Next we state four propositions: (27) Sub f X X. (28) x f 1 Sub f rng f if and only if x dom f and f(x) is a function. (29) Sub f = and Sub f {f} = {f} and Sub f {f,g} = {f,g} and Sub f {f,g,h} = {f,g,h}. (30) If Y Sub f X, then Sub f Y = Y. We now define three new functors. Let f be a function. The functor dom κ f(κ) yielding a function is defined by: (Def.2) dom(dom κ f(κ)) = f 1 Sub f rng f and for every x such that x f 1 Sub f rng f holds (dom κ f(κ))(x) = π 1 (f(x)). The functor rng κ f(κ) yields a function and is defined as follows: (Def.3) dom(rng κ f(κ)) = f 1 Sub f rng f and for every x such that x f 1 Sub f rng f holds (rng κ f(κ))(x) = π 2 (f(x)). The functor f is defined as follows: (Def.4) f = rng f. Next we state a number of propositions: (31) If x dom f and g = f(x), then x dom(dom κ f(κ)) and (dom κ f(κ))(x) = domg and x dom(rng κ f(κ)) and (rng κ f(κ))(x) = rng g. (32) dom κ (κ) = and rng κ (κ) =. (33) dom κ f (κ) = dom f and rng κ f (κ) = rng f. (34) dom κ f,g (κ) = dom f,domg and rng κ f,g (κ) = rng f,rngg. (35) dom κ f,g,h (κ) = dom f,dom g,dom h and rng κ f,g,h (κ) = rng f, rng g,rng h. (36) dom κ (X f)(κ) = X domf and rng κ (X f)(κ) = X rng f. (37) If f, then x f if and only if for every y such that y dom f holds x f(y). (38) = and =. (39) X = X and X = X. (40) X,Y = X Y and X,Y = X Y. (41) X,Y,Z = X Y Z and X,Y,Z = X Y Z. (42) ( Y ) = and ( Y ) =. (43) If X, then (X Y ) = Y and (X Y ) = Y. Let f be a function, and let x, y be arbitrary. The functor f(x)(y) is defined by: (Def.5) f(x)(y) = (uncurryf)( x, y ). We now state several propositions: (44) If x dom f and g = f(x) and y dom g, then f(x)(y) = g(y).

550 grzegorz bancerek (45) If x dom f, then f (1)(x) = f(x) and f,g (1)(x) = f(x) and f,g, h (1)(x) = f(x). (46) If x dom g, then f, g (2)(x) = g(x) and f, g, h (2)(x) = g(x). (47) If x dom h, then f, g, h (3)(x) = h(x). (48) If x X and y dom f, then (X f)(x)(y) = f(y). Cartesian product of functions with the same domain Let f be a function. The functor f yielding a function is defined as follows: (Def.6) f = curry(uncurry f [: (dom κ f(κ)), dom f :]). We now state several propositions: (49) dom f = (dom κ f(κ)) and rng f (rng κ f(κ)). (50) If x dom f, then ( f)(x) is a function. (51) If x dom f and g = ( f)(x), then domg = f 1 Sub f rng f and for every y such that y dom g holds y, x dom uncurryf and g(y) = (uncurryf)( y, x ). (52) If x dom f, then for every g such that g rng f holds x dom g. (53) If g rng f and for every g such that g rng f holds x dom g, then x dom f. (54) If x dom f and g = f(x) and y dom f and h = ( f)(y), then g(y) = h(x). (55) If x dom f and f(x) is a function and y dom f, then f(x)(y) = ( f)(y)(x). Cartesian product of functions Let f be a function. The functor f yielding a function is defined by the conditions (Def.7). (Def.7) (i) dom f = (dom κ f(κ)), (ii) for every g such that g (dom κ f(κ)) there exists h such that ( f)(g) = h and domh = f 1 Sub f rng f and for every x such that x dom h holds h(x) = (uncurryf)( x, g(x) ). The following propositions are true: (56) If g (dom κ f(κ)) and x domg, then ( f)(g)(x) = f(x)(g(x)). (57) If x dom f and g = f(x) and h (dom κ f(κ)) and h = ( f)(h), then h(x) dom g and h (x) = g(h(x)) and h (rng κ f(κ)). (58) rng f = (rng κ f(κ)). (59) If / rng f, then f is one-to-one if and only if for every g such that g rng f holds g is one-to-one.

cartesian product of functions 551 Properties of Cartesian products of functions The following propositions are true: (60) = and = { }. (61) dom h = domh and for every x such that x dom h holds ( h )(x) = h(x). (62) dom f 1,f 2 = domf 1 dom f 2 and for every x such that x dom f 1 dom f 2 holds ( f 1,f 2 )(x) = f 1 (x),f 2 (x). (63) If X, then dom (X f) = domf and for every x such that x dom f holds ( (X f))(x) = X f(x). (64) dom h = dom h and rng h = rng h and for every x such that x dom h holds ( h )( x ) = h(x). (65) (i) dom f 1,f 2 = dom f 1,dom f 2, (ii) rng f 1,f 2 = rng f 1,rng f 2, (iii) for all x, y such that x domf 1 and y dom f 2 holds ( f 1,f 2 )( x, y ) = f 1 (x),f 2 (y). (66) dom (X f) = (domf) X and rng (X f) = (rng f) X and for every g such that g (domf) X holds ( (X f))(g) = f g. (67) If x dom f 1 and x dom f 2, then for all y 1, y 2 holds f 1,f 2 (x) = y 1, y 2 if and only if ( f 1,f 2 )(x) = y 1,y 2. (68) If x dom f 1 and y dom f 2, then for all y 1, y 2 holds [:f 1, f 2 :]( x, y ) = y 1, y 2 if and only if ( f 1,f 2 )( x,y ) = y 1,y 2. (69) If domf = X and domg = X and for every x such that x X holds f(x) g(x), then f g. (70) If domf = domh and domg = rng h and h is one-to-one and for every x such that x dom h holds f(x) g(h(x)), then f g. (71) If domf = X, then f (f P). Function yielding powers Let us consider f, X. The functor X f yielding a function is defined by: (Def.8) dom(x f ) = domf and for every x such that x dom f holds X f (x) = X f(x). We now state several propositions: (72) If / rng f, then f = domf. (73) X =. (74) Y X = Y X. (75) Z X,Y = Z X,Z Y. (76) Z X Y = X Z Y. (77) X disjoinf (X f ). Let us consider X, f. The functor f X yielding a function is defined by:

552 grzegorz bancerek (Def.9) dom(f X ) = domf and for every x such that x dom f holds f X (x) = f(x) X. Next we state several propositions: (78) f = domf { }. (79) X =. (80) Y X = Y X. (81) Y,Z X = Y X,Z X. (82) (Y Z) X = Y Z X. (83) (f X ) ( f) X. References [1] Grzegorz Bancerek. Cardinal arithmetics. Formalized Mathematics, 1(3):543 547, 1990. [2] Grzegorz Bancerek. Curried and uncurried functions. Formalized Mathematics, 1(3):537 541, 1990. [3] Grzegorz Bancerek. König s theorem. Formalized Mathematics, 1(3):589 593, 1990. [4] Grzegorz Bancerek. Zermelo theorem and axiom of choice. Formalized Mathematics, 1(2):265 267, 1990. [5] Grzegorz Bancerek and Krzysztof Hryniewiecki. Segments of natural numbers and finite sequences. Formalized Mathematics, 1(1):107 114, 1990. [6] Czes law Byliński. Basic functions and operations on functions. Formalized Mathematics, 1(1):245 254, 1990. [7] Czes law Byliński. Finite sequences and tuples of elements of a non-empty sets. Formalized Mathematics, 1(3):529 536, 1990. [8] Czes law Byliński. Functions and their basic properties. Formalized Mathematics, 1(1):55 65, 1990. [9] Czes law Byliński. Functions from a set to a set. Formalized Mathematics, 1(1):153 164, 1990. [10] Czes law Byliński. The modification of a function by a function and the iteration of the composition of a function. Formalized Mathematics, 1(3):521 527, 1990. [11] Czes law Byliński. Partial functions. Formalized Mathematics, 1(2):357 367, 1990. [12] Beata Padlewska. Families of sets. Formalized Mathematics, 1(1):147 152, 1990. [13] Andrzej Trybulec. Binary operations applied to functions. Formalized Mathematics, 1(2):329 334, 1990. [14] Andrzej Trybulec. Enumerated sets. Formalized Mathematics, 1(1):25 34, 1990. [15] Andrzej Trybulec. Function domains and Frænkel operator. Formalized Mathematics, 1(3):495 500, 1990. [16] Andrzej Trybulec. Tarski Grothendieck set theory. Formalized Mathematics, 1(1):9 11, 1990. [17] Andrzej Trybulec. Tuples, projections and Cartesian products. Formalized Mathematics, 1(1):97 105, 1990. Received September 30, 1991