General Semantic Construction of Dependent Refinement Type Systems, Categorically

10/16/2020
by   Satoshi Kura, et al.
0

Refinement types are types equipped with predicates that specify preconditions and postconditions of underlying functional languages. We propose a general semantic construction of dependent refinement type systems from underlying type systems and predicate logic, that is, a construction of liftings of closed comprehension categories from given (underlying) closed comprehension categories and posetal fibrations for predicate logic. We give sufficient conditions to lift structures such as dependent products, dependent sums, computational effects, and recursion from the underlying type systems to refinement type systems. We demonstrate the usage of our construction by giving semantics to a refinement type system and proving soundness.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/15/2020

Refinement Types: A Tutorial

Refinement types enrich a language's type system with logical predicates...
research
05/01/2021

Dialectica models of type theory

We present two Dialectica-like constructions for models of intensional M...
research
01/25/2022

Semantics for two-dimensional type theory

In this work, we propose a general notion of model for two-dimensional t...
research
10/04/2019

Construction of the Circle in UniMath

We show that the type TZ of Z-torsors has the dependent universal proper...
research
07/12/2022

Mechanizing Refinement Types (extended)

Practical checkers based on refinement types use the combination of impl...
research
06/26/2019

Structural Contracts – Contracts for Type Construction Dependent Types to Ensure Consistency of Extra-Functional Reasoning

Targeting to use contract-based design for the specification and refinem...
research
09/26/2022

Focusing on Liquid Refinement Typing

We present a foundation systematizing, in a way that works for any evalu...

Please sign up or login with your details

Forgot password? Click here to reset