Improving legibility of natural deduction proofs is not trivial

Karol Pąk, Henk Barendregt
2014 Logical Methods in Computer Science  
In formal proof checking environments such as Mizar it is not merely the validity of mathematical formulas that is evaluated in the process of adoption to the body of accepted formalizations, but also the readability of the proofs that witness validity. As in case of computer programs, such proof scripts may sometimes be more and sometimes be less readable. To better understand the notion of readability of formal proofs, and to assess and improve their readability, we propose in this paper a
more » ... hod of improving proof readability based on Behaghel's First Law of sentence structure. Our method maximizes the number of local references to the directly preceding statement in a proof linearisation. It is shown that our optimization method is NP-complete.
doi:10.2168/lmcs-10(3:23)2014 fatcat:7iw5folfnne7pkte4n2p75czrm