Logical Pseudocode: Connecting Algorithms with Proofs

01/29/2022
by   Keehang Kwon, et al.
0

Proofs (sequent calculus, natural deduction) and imperative algorithms (pseudocodes) are two well-known coexisting concepts. Then what is their relationship? Our answer is that imperative algorithms = proofs with cuts This observation leads to a generalization to pseudocodes which we call logical pseudocodes. It is similar to natural deduction proof of computability logic<cit.>. Each statement in it corresponds to a proof step in natural deduction. Therefore, the merit over pseudocode is that each statement is guaranteed to be correct and safe with respect to the initial specifications. It can also be seen as an extension to computability logic web () with forward reasoning capability.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/24/2023

A system of inference based on proof search: an extended abstract

Gentzen designed his natural deduction proof system to “come as close as...
research
01/21/2013

Computational Aspects of the Calculus of Structure

Logic is the science of correct inferences and a logical system is a too...
research
09/13/2018

Towards Coinductive Theory Exploration in Horn Clause Logic: Position Paper

Coinduction occurs in two guises in Horn clause logic: in proofs of self...
research
08/10/2021

Logical Information Cells I

In this study we explore the spontaneous apparition of visible intelligi...
research
03/18/2019

Coinductive Uniform Proofs

Coinduction occurs in two guises in Horn clause logic: in proofs of circ...
research
01/05/2022

WebSpec: Towards Machine-Checked Analysis of Browser Security Mechanisms

The complexity of browsers has steadily increased over the years, driven...

Please sign up or login with your details

Forgot password? Click here to reset