Karol Pak

dblp:52/10329 · DBLP profile ↗
← Back
20ranked-venue papers
7as first author
3since 2021 · last 2024
0000-0002-7099-1669ORCID · reported

Domains — the database's venue-derived domains; a paper can count in several

Artificial intelligence and machine learning · 14 · 5 first-author · 1 since 2021Theory of computation · 11 · 4 first-author · 2 since 2021Software engineering, systems software and programming languages · 10 · 3 first-authorApplied, interdisciplinary, general and emerging computing · 3 · 1 first-authorDatabases, data management, data science and information retrieval · 1
YearPublicationVenuePosition
2024 Conway Normal Form: Bridging Approaches for Comprehensive Formalization of Surreal Numbers
abstract
The proper class of Conway’s surreal numbers forms a rich totally ordered algebraically closed field with many arithmetic and algebraic properties close to those of real numbers, the ordinals, and infinitesimal numbers. In this paper, we formalize the construction of Conway’s numbers in Mizar using two approaches and propose a bridge between them, aiming to combine their advantages for efficient formalization. By replacing transfinite induction-recursion with transfinite induction, we streamline their construction. Additionally, we introduce a method to merge proofs from both approaches using global choice, facilitating formal proof. We demonstrate that surreal numbers form a field, including the square root, and that they encompass subsets such as reals, ordinals, and powers of ω. We combined Conway’s work with Ehrlich’s generalization to formally prove Conway’s Normal Form, paving the way for many formal developments in surreal number theory.
Karol Pak, Cezary Kaliszyk
ITP1
2023 Combining Higher-Order Logic with Set Theory Formalizations
abstract
The Isabelle Higher-order Tarski-Grothendieck object logic includes in its foundations both higher-order logic and set theory, which allows importing the libraries of Isabelle/HOL and Isabelle/Mizar. The two libraries, however, define all the basic concepts independently, which means that the results in the two are disconnected. In this paper, we align significant parts of these two libraries, by defining isomorphisms between their concepts, including the real numbers and algebraic structures. The isomorphisms allow us to transport theorems between the foundations and use the results from the libraries simultaneously.
Cezary Kaliszyk, Karol Pak
J. Autom. Reason.2
2022 Formalizing a Diophantine Representation of the Set of Prime Numbers
Karol Pak, Cezary Kaliszyk
ITP1
2019 Higher-Order Tarski Grothendieck as a Foundation for Formal Proof
abstract
We formally introduce a foundation for computer verified proofs based on higher-order Tarski-Grothendieck set theory. We show that this theory has a model if a 2-inaccessible cardinal exists. This assumption is the same as the one needed for a model of plain Tarski-Grothendieck set theory. The foundation allows the co-existence of proofs based on two major competing foundations for formal proofs: higher-order logic and TG set theory. We align two co-existing Isabelle libraries, Isabelle/HOL and Isabelle/Mizar, in a single foundation in the Isabelle logical framework. We do this by defining isomorphisms between the basic concepts, including integers, functions, lists, and algebraic structures that preserve the important operations. With this we can transfer theorems proved in higher-order logic to TG set theory and vice versa. We practically show this by formally transferring Lagrange’s four-square theorem, Fermat 3-4, and other theorems between the foundations in the Isabelle framework.
Chad E. Brown, Cezary Kaliszyk, Karol Pak
ITP3
2019 Declarative Proof Translation (Short Paper)
abstract
Declarative proof styles of different proof assistants include a number of incompatible features. In this paper we discuss and classify the differences between them and propose efficient algorithms for declarative proof outline translation. We demonstrate the practicality of our algorithms by automatically translating the proof outlines in 200 articles from the Mizar Mathematical Library to the Isabelle/Isar proof style. This generates the corresponding theories with 15301 proof outlines accepted by the Isabelle proof checker. The goal of our translation is to produce a declarative proof in the target system that is both accepted and short and therefore readable. For this three kinds of adaptations are required. First, the proof structure often needs to be rebuilt to capture the extensions of the natural deduction rules supported by the systems. Second, the references to previous items and their labels need to be matched and aligned. Finally, adaptations in the annotations of individual proof step may be necessary.
Cezary Kaliszyk, Karol Pak
ITP2
2019 A Tale of Two Set Theories
Chad E. Brown, Karol Pak
CICM2
2019 Semantics of Mizar as an Isabelle Object Logic
abstract
We formally define the foundations of the Mizar system as an object logic in the Isabelle logical framework. For this, we propose adequate mechanisms to represent the various components of Mizar. We express Mizar types in a uniform way, provide a common type intersection operation, allow reasoning about type inhabitation, and develop a type inference mechanism. We provide Mizar-like definition mechanisms which require the same proof obligations and provide same derived properties. Structures and set comprehension operators can be defined as definitional extensions. Re-formalized proofs from various parts of the Mizar Library show the practical usability of the specified foundations.
Cezary Kaliszyk, Karol Pak
J. Autom. Reason.2
2018 Combining the Syntactic and Semantic Representations of Mizar Proofs
abstract
The Mizar system provides two representations of the proofs present in its library.The syntactic representation preserves the human-friendly rich Mizar language, where the meaning of structures and expressions is still influenced by their context.The semantic one, on the other hand, explicitly reflects the meaning of all elements present in the proof scripts, however many features of the Mizar language are eliminated.In this article, we overcome the limitations of both representations of proofs, by proposing a method combining them.We show that we can simultaneously maintain the richness of the language and provide access to the derived proof information.We discuss how such combined information closer corresponds to that present in other proof assistant languages, for example that of Isabelle/Isar.
Karol Pak
FedCSIS1
2018 Isabelle Import Infrastructure for the Mizar Mathematical Library
Cezary Kaliszyk, Karol Pak
CICM2
2018 The Role of the Mizar Mathematical Library for Interactive Proof Development in Mizar
abstract
The Mizar system is one of the pioneering systems aimed at supporting mathematical proof development on a computer that have laid the groundwork for and eventually have evolved into modern interactive proof assistants. We claim that an important milestone in the development of these systems was the creation of organized libraries accumulating all previously available formalized knowledge in such a way that new works could effectively re-use all previously collected notions. In the case of Mizar, the turning point of its development was the decision to start building the Mizar Mathematical Library as a centrally-managed knowledge base maintained together with the formalization language and the verification system. In this paper we show the process of forming this library, the evolution of its design principles, and also present some data showing its current use with the modern version of the Mizar proof checker, but also as a rich corpus of semantically linked mathematical data in various areas including web-based and natural language proof presentation, maths education, and machine learning based automated theorem proving.
Grzegorz Bancerek, Czeslaw Bylinski, Adam Grabowski, Artur Kornilowicz, Roman Matuszewski, Adam Naumowicz, Karol Pak
J. Autom. Reason.7
2017 Formalization of Pell's Equations in the Mizar System
abstract
We present a case study on a formalization of a textbook theorem that is listed as #39 at Freek Wiedijk's list of "Top 100 mathematical theorems".We focus on the formalization of the theorem that Pell's equation x 2-Dy 2 = 1 has infinitely many solutions in positive integers for a given non square natural number D. We present also a formalization of the theorem that based on the least fundamental solution of the equation we can simply calculate algebraically each remaining solution.
Marcin Acewicz, Karol Pak
FedCSIS2
2017 Progress in the Independent Certification of Mizar Mathematical Library in Isabelle
abstract
The Mizar Mathematical Library is one of the largest collections of machine understandable formal proofs encompassing many areas of today mathematics including results from algebra, analysis, topology, and lattice theory.The Mizar system has so far been the only tool able to completely process, certify, and make use of these developments.In this paper, we present the progress in the development of an independent certification mechanism of Mizar proofs based on the Isabelle logical framework.The approach allows rechecking the Mizar formal proofs based on a more succinct and more precisely specified formal infrastructure.Additionally, it necessitates a full formal specification of the mechanisms that ensure the correctness of the defined objects, in particular, the proofs that such mechanisms are correct.The development already covers an important part of the Mizar library foundations.We improve the mechanism for defining Mizar structures and show that it permits simpler validation of proof developments involving such objects.To demonstrate this, we perform a complete translation of the Mizar net of basic algebraic structures including their attributes and certify all the corresponding proofs in Isabelle.
Cezary Kaliszyk, Karol Pak
FedCSIS2
2017 Presentation and Manipulation of Mizar Properties in an Isabelle Object Logic
Cezary Kaliszyk, Karol Pak
CICM2
2016 Towards a mizar environment for isabelle: foundations and language
abstract
In this paper we explore the possibility of emulating the Mizar environment as close as possible inside the Isabelle logical framework. We introduce adaptations to the Isabelle/FOL object logic that correspond to the logic of Mizar, as well as Isar inner syntax notations that correspond to these of the Mizar language. We show how Isabelle types can be used to differentiate between the syntactic categories of the Mizar language, such as sets and Mizar types including modes and attributes, and show how they interact with the basic constructs of the Tarski-Grothendieck set theory. We discuss Mizar definitions and provide simple abbreviations that allow the introduction of Mizar predicates, functions, attributes and modes using the Isabelle/Pure language elements for introducing definitions and theorems. We finally consider the definite and indefinite description operators in Mizar and their use to introduce definitions by “means” and “equals”. We demonstrate the usability of the environment on a sample Mizar-style formalization, with cluster inferences and “by” steps performed manually.
Cezary Kaliszyk, Karol Pak, Josef Urban
CPP2
2015 Mizar: State-of-the-art and Beyond
Grzegorz Bancerek, Czeslaw Bylinski, Adam Grabowski, Artur Kornilowicz, Roman Matuszewski, Adam Naumowicz, Karol Pak, Josef Urban
CICM7
2015 Readable Formalization of Euler's Partition Theorem in Mizar
Karol Pak
CICM1
2015 Improving Legibility of Formal Proofs Based on the Close Reference Principle is NP-Hard
abstract
Proof development in proof assistants such as HOL, Coq, Mizar, etc. is an activity where authors usually produce proofs by typing out proof scripts or system tactics. Quite frequently, however, authors also have to read existing proof scripts, either to imitate smart proof pieces, or to refactor fragments of reasoning to make some theorem stronger, more easily applicable and so on. Therefore, it is important to develop techniques to improve legibility of proofs, since it directly affects productivity of script writers. To analyze the legibility of natural deduction proofs, we investigate proof graphs that represent the flow of information in given reasoning. Our analysis of the information flow leads to methods of improving proof readability based on Behaghel’s First Law, which states that in legible text relevant pieces of information must occur close to each other. The presented method maximizes the number of close connections between premises and steps that use these steps as justification. In this paper we show that our optimization method is NP-hard.
Karol Pak
J. Autom. Reason.1
2014 Automated Improving of Proof Legibility in the Mizar System
Karol Pak
CICM1
2013 Methods of Lemma Extraction in Natural Deduction Proofs
abstract
The existing examples of natural deduction proofs, either declarative or procedural, indicate that often the legibility of proof scripts is of secondary importance to the authors. As soon as the computer accepts the proof script, many authors do not work on improving the parts that could be shortened and do not avoid repetitions of technical sub-deductions, which often could be replaced by a single lemma. This article presents selected properties of reasoning passages that may be used to determine if a reasoning passage can be extracted from a proof script, transformed into a lemma and replaced by a reference to the newly created lemma. Additionally, we present methods for improving the legibility of the reasoning that remains after the extraction of the lemmas.
Karol Pak
J. Autom. Reason.1
2012 Trust in RDF Graphs
Dominik Tomaszuk, Karol Pak, Henryk Rybinski
ADBIS (2)2