ORDER AND ORDERING IN DISCRETE MATHEMATICS AND INFORMATICS

2021;
: 37-43
https://doi.org/10.23939/ujit2021.03.037
Received: March 17, 2021
Accepted: June 01, 2021

Цитування за ДСТУ: Овсяк В. К., Овсяк О. В., Петрушка Ю. В. Впорядкування та впорядковування в дискретній математиці та інформатиці. Український журнал інформаційних технологій. 2021, т. 3, № 1. С. 37–43.

Citation APA: Ovsyak, V. K., Ovsyak, O. V., & Petruszka, J. V. (2021). Order and ordering in discrete mathematics and informatics. Ukrainian Journal of Information Technology, 3(1), 37–43. https://doi.org/10.23939/ujit2021.03.037

1
Ukrainian Academy of Printing, Lviv, Ukraine, Kielce University of Technology, Kielce, Poland
2
National University of Culture and Arts, Kyiv, Ukraine; Ukrainian National Forestry University, Lviv, Ukraine
3
Ukrainian Academy of Printing, Lviv, Ukraine

The available means of ordering and sorting in some important sections of discrete mathematics and computer science are studied, namely: in the set theory, classical mathematical logic, proof theory, graph theory, POST method, system of algorithmic algebras, algorithmic languages of object-oriented and assembly programming. The Cartesian product of sets, ordered pairs and ordered n-s, the description by means of set theory of an ordered pair, which are performed by Wiener, Hausdorff and Kuratowski, are presented. The requirements as for the relations that order sets are described. The importance of ordering in classical mathematical logic and proof theory is illustrated by the examples of calculations of the truth values of logical formulas and formal derivation of a formula on the basis of inference rules and substitution rules. Ordering in graph theory is shown by the example of a block diagram of the Euclidean algorithm, designed to find the greatest common divisor of two natural numbers. The ordering and sorting of both the instructions formed by two, three and four ordered fields and the existing ordering of instructions in the program of Post method are described. It is shown that the program is formed by the numbered instructions with unique instruction numbers and the presence of the single instruction with number 1.

The means of the system of algorithmic algebras, which are used to perform the ordering and sorting in the algorithm theory, are illustrated. The operations of the system of algorithmic algebras are presented, which include Boolean algebra operations generalized to the three-digit alphabet and operator operations of operator algebra. The properties of the composition operation are described, which is intended to describe the orderings of the operators of the operator algebra in the system of algorithmic algebras. The orderings executed by means of algorithmic programming languages are demonstrated by the hypothetical application of the modern object-oriented programming language C#. The program must contain only one method Main () from which the program execution begins. The ARM microprocessor assembly program must have only one ENTRY directive from which the program execution begins.

  1. Gluschkow, W. M., Zeitlin, G. E., & Justchenko, J. L. (1980). Algebra. Sprachen. Programmierung. Akademie-Verlag, Berlin.
  2. Graph (discrete mathematics). Retrieved from https://uk.wikipedia.org/wiki/Граф_(математика)
  3. Hohl, W. (2014). Asembler dla procesorów ARM. Gliwice: Helion.
  4. Kriviy, S.D. (2014). Discrete mathematics. Chernivtsi-Kyiv: Bookrek. [In Ukrainian].
  5. Kuratovsky, K., & Mostovsky, A. (1970). Set theory. Moscow: Mir, 360 p. [In Rusian].
  6. Ordered_pair. Retrieved from https://ru.other.wiki/wiki/Orde red_pair#Wiener%27s_definition
  7. Proof theory. Retrieved from https://uk.wikipedia.org/wiki/ Теорія доведення
  8. Ross, K.A., & Wright, C.R.B. (2008). Matematyka dyskretna. Warszawa: Wydawnictwo naukowe PWN.
  9. Troelsen, E. (2011). C # 2010 programming language and .NET 4.0 platform. Moscow: OOO I. D. Williams. [In Rusian].
  10. Troelsen, E. (2007). C # 2005 programming language and .NET 2.0 platform. Moscow: OOO I. D. Williams. [In Rusian].
  11. Vinogradov, I. M. (Ed.). (1977–1985). Mathematical encyclopedia (Vol. 1–5). Moscow: Soviet Encyclopedia. [In Rusian].
  12. Zeitlin, G. E. (2003). Algebraic Algorithmics: Theory and Applications. Cybernetics and Systems Analysis, 39(1), 6–15. [In Rusian]. https://doi.org/10.1023/A:1023860707232