On a Dependently Typed Encoding of Matching Logic

Matching logic is a general formal framework for reasoning about a wide range of theories, with particular emphasis on programming language semantics.Notably, the intermediate language of the K semantics framework is an extension of matching -logic, a sorted, polyadic variant of the logic.Metatheoretic reasoning requires the logic to be expressed within a foundational theory; opting for a dependently typed one enables well-sortedness in the object theory to correspond directly to well-typedness in the host theory.In this paper, we present the first dependently typed definition of matching -logic, ensuring well-sortedness via sorted contexts encoded in type indices.As a result, ill-sorted syntax elements are unrepresentable, and the semantics of well-sorted elements are guaranteed to lie within the domain of their associated sort.

Authors

Institutions

Publication Details

Journal
Electronic Proceedings in Theoretical Computer Science
Published
2025-09-15
DOI
https://doi.org/10.4204/eptcs.427.1
Primary Topic
DNA and Biological Computing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

On a Dependently Typed Encoding of Matching Logic

Péter Bereczky, Agi Kurucz, Dániel Horpácsi
Electronic Proceedings in Theoretical Computer Science
DNA and Biological Computing
article

On a Dependently Typed Encoding of Matching Logic

Péter Bereczky, Agi Kurucz, Dániel Horpácsi
article en

Abstract

Matching logic is a general formal framework for reasoning about a wide range of theories, with particular emphasis on programming language semantics.Notably, the intermediate language of the K semantics framework is an extension of matching -logic, a sorted, polyadic variant of the logic.Metatheoretic reasoning requires the logic to be expressed within a foundational theory; opting for a dependently typed one enables well-sortedness in the object theory to correspond directly to well-typedness in the host theory.In this paper, we present the first dependently typed definition of matching -logic, ensuring well-sortedness via sorted contexts encoded in type indices.As a result, ill-sorted syntax elements are unrepresentable, and the semantics of well-sorted elements are guaranteed to lie within the domain of their associated sort.

Electronic Proceedings in Theoretical Computer ScienceVol. 427
Eötvös Loránd University (HU)
Openalex Percentile: Top 78%
DNA and Biological Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

On a Dependently Typed Encoding of Matching Logic — Péter Bereczky, Agi Kurucz, et al. · Electronic Proceedings in Theoretical Computer Science (2025) | TGRS Research Map | TGRS