The concept of proof in the context of a type-theoretic approach, I: Proof of computer program correctness | Tomsk State University Journal of Philosophy, Sociology and Political Science. 2018. № 46. DOI: 10.17223/1998863Х/46/6

The concept of proof in the context of a type-theoretic approach, I: Proof of computer program correctness

When considering the concept of proof in the context of a type-theoretic approach, one should refer to the concepts of (1) proof of a computer program correctness, (2) proof of mathematical results by means of special computer tools, (3) proof from the point of view of the modern type-theoretical approach within the framework of univalent foundations of mathematics. This paper is devoted to the concept of proof of computer program correctness. Currently, computing devices surround us almost everywhere and are found in virtually every human activity. We are all interested in the correct functioning of our computers, so errors occur as rarely as possible, and at best do not occur at all. A formal proof using type inference gives certainty, provided that the formal system used in the proof is consistent and correctly implemented as a programming language. One of the purposes for which proof is formulated is to increase the degree of confidence. However, the proof itself does not give any conviction. If our belief in a proof is belief in the existence of pure formal proof, then the nature of mathematics is radically different from the nature of other sciences. If our belief implies a certain proportion of probability, then mathematics turns out to be similar to the natural sciences. The proof of the mathematical result is a “message”, and not some ideal object. The social aspect of mathematical results greatly enhances conviction. In fact, it leads to the stabilization of key concepts, after which the result becomes part of recognized mathematical knowledge, and conviction in it may be sufficient to belief in the existence of purely formal proof. Proof of the computer program correctness does not have this characteristic. Further, it is assumed that the execution of the program leads to a change in the physical state of a particular computer. Since we cannot have a priori proofs for the a posteriori phenomenon, a number of researchers suggest that the concept of proof of correctness is a categorical error. Nevertheless, it is necessary to take into account the peculiarities of the concepts of abstraction and information hiding in computer science. With a careful approach, the concept of proof of correctness is quite reasonable and does not contain a categorical error.

Download file
Counter downloads: 150

Keywords

основания математики, доказательство, теория типов, компьютерные науки, корректность, foundations of mathematics, proof, type theory, computer science, correctness

Authors

NameOrganizationE-mail
Lamberov Lev D.Ural Federal University named after the first President of Russia B.N. Yeltsinlev.lamberov@urfu.ru
Всего: 1

References

MacKenzie D. Mechanizing Proof: Computing, Risk, and Trust. Cambridge, Mass. : The MIT Press, 2004. xi+428 p.
McCarthy J. Towards a Mathematical Science of Computation // Information Processing 1962: Proceedings of IFIP Congress 62 / ed. by M. Popplewell. Amsterdam : North Holland, 1963. P. 21-28.
Appel K., Haken W. Every Planar Map is Four Colorable. I. Discharging // Illinois Journal of Mathematics. 1977. Vol. 21, № 3. P. 429-490.
Appel K., Haken W., Koch J. Every Planar Map is Four Colorable. II. Reducibility // Illinois Journal of Mathematics. 1977. Vol. 21, № 3. P. 491-567.
Appel K., Haken W. The Solution of the Four-Color-Map Problem // Scientific American. 1977. Vol. 237, № 4. P. 108-121.
DeMillo R., Lipton R., Perlis A. Social Processes and Proofs of Theorems and Programs // Proceedings of the Fourth ACM Symposium on Principles of Programming Languages. 1977. P. 206-214.
Черепанов Е.М. Простота как критерий убедительности доказательства // Философия науки. 2010. № 1. С. 91-101.
Верифицированный QuickSort на Agda // Хабр. 2012. URL: https://habr.com/post/148769/ (дата обращения: 20.11.18).
Целищев В.В. Тезис Чёрча. Новосибирск: Параллель, 2008. 173 с.
Бессонов А.В., Хлебалин А.В., Целищев В.В. Можно ли доказать тезис Чёрча? // Философия науки. 2008. № 2. С. 44-61.
Timoczko T. The Four-Colour Problem and Its Philosophical Significance // Journal of Philosophy. 1979. Vol. 76, № 2. P. 57-83.
Fetzer J. Program Verification: The Very Idea // Communications of the ACM. 1988. Vol. 31, № 9. P. 1048-1063.
Osternamm K., Giarrusso P.G., Kastner C., Rendel T. Revisiting Information Hiding: Reflections on Classical and Nonclassical Modularity // ECOOP 2011 - Object-Oriented Programming. ECOOP 2011. Lecture Notes in Computer Science / ed. by M. Mezini. Berlin, Heidelberg : Springer, 2011. P. 155-178.
 The concept of proof in the context of a type-theoretic approach, I: Proof of computer program correctness | Tomsk State University Journal of Philosophy, Sociology and Political Science. 2018. № 46. DOI:  10.17223/1998863Х/46/6

The concept of proof in the context of a type-theoretic approach, I: Proof of computer program correctness | Tomsk State University Journal of Philosophy, Sociology and Political Science. 2018. № 46. DOI: 10.17223/1998863Х/46/6

Download full-text version
Counter downloads: 1531