[Paper Review] Interactive Realizability, Monads and Witness Extraction
This paper introduces a monadic framework for interactive realizability that enables witness extraction from classical proofs in Heyting Arithmetic extended with the law of excluded middle for Σ₀¹ formulas (HA + EM₁). By combining state and exception monads, it models learning-from-mistakes in realizers, allowing direct extraction of witnesses via proof normalization without encoding derivations in a realizability interpretation. The key contribution is a syntactic, monad-based semantics that supports both geometric reasoning with real numbers and effective witness extraction through structured reductions.
In this dissertation we collect some results about "interactive realizability", a realizability semantics that extends the Brouwer-Heyting-Kolmogorov interpretation to (sub-)classical logic, more precisely to first-order intuitionistic arithmetic (Heyting Arithmetic, HA) extended by the law of the excluded middle restricted to simply existential formulas formulas (EM1), a system motivated by its interest in proof mining. We describe the interactive interpretation of a classical proof involving real numbers. The statement we prove is a simple but non-trivial fact about points in the real plane. The proof employs EM1 to deduce properties of the ordering on the real numbers, which is undecidable and thus problematic from a constructive point of view. We present a new set of reductions for derivations in natural deduction that can extract witnesses from closed derivations of simply existential formulas in HA + EM1. The reduction we present are inspired by the informal idea of learning by making falsifiable hypothesis and checking them, and by the interactive realizability interpretation. We extract the witnesses directly from derivations in HA + EM1 by reduction, without encoding derivations by a realizability interpretation. We give a new presentation of interactive realizability with a more explicit syntax. We express interactive realizers by means of an abstract framework that applies the monadic approach used in functional programming to modified realizability, in order to obtain less strict notions of realizability that are suitable to classical logic. In particular we use a combination of the state and exception monads in order to capture the learning-from-mistakes nature of interactive realizers.
Motivation & Objective
- To develop a syntactic, monad-based semantics for interactive realizability that captures the learning process in classical proofs.
- To extract witnesses directly from derivations in HA + EM₁ using proof normalization, avoiding the need for external realizability interpretations.
- To formalize the interpretation of classical reasoning over real numbers, particularly involving undecidable order relations.
- To present a new, explicit syntactic treatment of interactive realizers using state and exception monads to model hypothesis testing and correction.
Proposed method
- Employing a monadic framework based on state and exception monads to model interactive realizers as computational processes that revise hypotheses upon failure.
- Introducing a new set of proof reductions—witness reductions and permutative reductions—that simulate learning by testing falsifiable hypotheses.
- Defining a syntactic monadic realizability semantics where realizers are expressed as monadic computations that track state and handle exceptions.
- Applying the framework to a geometric proof involving real numbers, showing how EM₁ enables reasoning about undecidable order properties.
- Using normalization-based witness extraction: when an EM₁ rule's assumptions are falsified, the system reduces to a concrete instance, extracting a witness via decision procedures for quantifier-free formulas.
- Integrating immediate simplifications and permutative reductions to eliminate redundant proof structures and enable effective normalization.
Experimental results
Research questions
- RQ1How can interactive realizability be formalized using monads to model learning-from-mistakes in classical proofs?
- RQ2Can witnesses be extracted directly from derivations in HA + EM₁ without encoding them in a realizability interpretation?
- RQ3How can classical reasoning over real numbers—especially involving undecidable order relations—be interpreted constructively via interactive realizability?
- RQ4What reduction system enables effective witness extraction while preserving proof structure and computational content?
- RQ5How can monadic semantics capture the dynamic, stateful nature of interactive realizers in a way that supports proof normalization?
Key findings
- The monadic framework successfully models interactive realizers using state and exception monads, providing a computational interpretation of learning-by-error in classical proofs.
- Witness extraction is achieved directly via proof normalization: when an EM₁ assumption is falsified, a concrete instance is derived, and the witness is extracted through decision procedures for quantifier-free formulas.
- The system supports the interpretation of a non-trivial geometric proof involving real numbers, where EM₁ is used to reason about undecidable order properties.
- Permutative and immediate simplification reductions enable effective normalization of derivations, removing structural redundancy and enabling witness extraction.
- The witness extraction process is split into two steps: first, testing counterexamples via decidability of quantifier-free formulas; second, eliminating redundant EM₁ rule instances when assumptions are unused.
- The framework provides a syntactic, explicit presentation of interactive realizability that avoids the need for semantic encoding, making it suitable for proof mining and computational extraction.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.