paper-with-me

홈 › Papers

Formalising Type-Logical Grammars in Agda

2017-09-03 · Wen Kokke

In recent years, the interest in using proof assistants to formalise and reason about mathematics and programming languages has grown. Type-logical grammars, being closely related to type theories and systems used in functional programming, are a perfect candidate to next apply this curiosity to. The advantages of using proof assistants is that they allow one to write formally verified proofs about one's type-logical systems, and that any theory, once implemented, can immediately be computed with. The downside is that in many cases the formal proofs are written as an afterthought, are incomplete, or use obtuse syntax. This makes it that the verified proofs are often much more difficult to read than the pen-and-paper proofs, and almost never directly published. In this paper, we will try to remedy that by example. Concretely, we use Agda to model the Lambek-Grishin calculus, a grammar logic with a rich vocabulary of type-forming operations. We then present a verified procedure for cut elimination in this system. Then we briefly outline a CPS translation from proofs in the Lambek-Grishin calculus to programs in Agda. And finally, we will put our system to use in the analysis of a simple example sentence.

📄 PDF Abstract BibTeX arXiv:1709.00728

Code (0)

등록된 구현이 없습니다.

Tasks

SentenceVocal Bursts Type Prediction

Similar Papers 제목 키워드 기반

Hybrid Type-Logical Grammars, First-Order Linear Logic and the Descriptive Inadequacy of Lambda Grammars

2014-05-26 · Richard Moot

In this article we show that hybrid type-logical grammars are a fragment of first-order linear logic. This embedding result has several important consequences: it not only provides a simple new proof theory for the calcu…

DescriptiveTranslationVocal Bursts Type Prediction

Logical foundations for hybrid type-logical grammars

2020-09-22 · Richard Moot, Symon Stevens-Guille

This paper explores proof-theoretic aspects of hybrid type-logical grammars , a logic combining Lambek grammars with lambda grammars. We prove some basic properties of the calculus, such as normalisation and the subformu…

Vocal Bursts Type Prediction

The Grail theorem prover: Type theory for syntax and semantics

2016-02-02 · Richard Moot

As the name suggests, type-logical grammars are a grammar formalism based on logic and type theory. From the prespective of grammar design, type-logical grammars develop the syntactic and semantic aspects of linguistic p…

Vocal Bursts Type Prediction

Chart Parsing Multimodal Grammars

2018-04-06 · Richard Moot

The short note describes the chart parser for multimodal type-logical grammars which has been developed in conjunction with the type-logical treebank for French. The chart parser presents an incomplete but fast implement…

Vocal Bursts Type Prediction

Learning Structure-Aware Representations of Dependent Types

2024-02-03 · Konstantinos Kogkalidis, Orestis Melkonian, Jean-Philippe Bernardy

Agda is a dependently-typed programming language and a proof assistant, pivotal in proof formalization and programming language theory. This paper extends the Agda ecosystem into machine learning territory, and, vice ver…