A robust graph-based approach to observational equivalence

๐Ÿ“… 2019-07-02
๐Ÿ“ˆ Citations: 1
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– AI Summary
This paper addresses the challenges of fragility analysis and poor constructivity in observational equivalence proofs. We propose a stepwise reasoning method based on hypergraph rewriting. Our key contributions are threefold: (1) We formally characterize robustness as a critical sufficient condition for observational equivalenceโ€”a novel formulation; (2) We establish a neighborhood-based local reasoning framework that supports generalized observational equivalence definitions and verification under syntactically restricted contexts and quantitative step bounds; (3) Leveraging a hypergraph rewriting abstract machine inspired by geometric interaction, we structurally model function abstraction and application in higher-order stateful lambda calculus. Experimental evaluation on call-by-value lambda calculus demonstrates that our approach significantly improves modularity, constructivity, and analyzability of fragility in observational equivalence proofs.
๐Ÿ“ Abstract
We propose a new step-wise approach to proving observational equivalence, and in particular reasoning about fragility of observational equivalence. Our approach is based on what we call local reasoning. The local reasoning exploits the graphical concept of neighbourhood, and it extracts a new, formal, concept of robustness as a key sufficient condition of observational equivalence. Moreover, our proof methodology is capable of proving a generalised notion of observational equivalence. The generalised notion can be quantified over syntactically restricted contexts instead of all contexts, and also quantitatively constrained in terms of the number of reduction steps. The operational machinery we use is given by a hypergraph-rewriting abstract machine inspired by Girard's Geometry of Interaction. The behaviour of language features, including function abstraction and application, is provided by hypergraph-rewriting rules. We demonstrate our proof methodology using the call-by-value lambda-calculus equipped with (higher-order) state.
Problem

Research questions and friction points this paper is trying to address.

Proving observational equivalence using local reasoning and robustness.
Generalizing observational equivalence over restricted contexts and reduction steps.
Implementing hypergraph-rewriting for language feature behavior analysis.
Innovation

Methods, ideas, or system contributions that make the work stand out.

Local reasoning using graphical neighbourhood concept
Hypergraph-rewriting abstract machine for operational machinery
Generalised observational equivalence with quantitative constraints
๐Ÿ”Ž Similar Papers
No similar papers found.
D
D. Ghica
University of Birmingham, UK
K
Koko Muroya
RIMS, Kyoto University, Japan
T
Todd Waugh Ambridge
University of Birmingham, UK