Where are all the reversible formal proofs systems?
Statement
Are there any examples of reversible formal proof systems implemented in practice?
By a reversible formal proof system, I mean that a proof system where every proof is the same forwards as it is backwards. In other words, if we have a formal formal proof, we can just press a button and mechanistically transform the proof into an equally valid reverse proof.
To explain things more easily, let me just focus on equational theories in universal algebra even though I am just as interested in the general case.
Example: Equational theories in universal algebra are inherently reversible. For example, the calculation means the exact same thing as its reverse . (We use these axioms for the proof )
In a reversible formal proof system for equational theories, we might be able to speed up a proof by proving intermediate identities as lemmas. But to keep things reversible, we need two things. We need a limited amount of memory so that we only have access to a limited number of proven identities during any part of the proof. The length of the …
Posed by Joseph Van Name · proof-assistants, formal-proof
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-515558.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-515558.lean
import Mathlib /-! # Where are all the reversible formal proofs systems? Source: https://mathoverflow.net/questions/515558 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_515558 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_515558