DocumentCode :
3093393
Title :
Foundational, Compositional (Co)datatypes for Higher-Order Logic: Category Theory Applied to Theorem Proving
Author :
Traytel, Dmitriy ; Popescu, Andrei ; Blanchette, Jasmin Christian
Author_Institution :
Tech. Univ. Munchen, Munich, Germany
fYear :
2012
fDate :
25-28 June 2012
Firstpage :
596
Lastpage :
605
Abstract :
Interactive theorem provers based on higher-order logic (HOL) traditionally follow the definitional approach, reducing high-level specifications to logical primitives. This also applies to the support for datatype definitions. However, the internal datatype construction used in HOL4, HOL Light, and Isabelle/HOL is fundamentally noncompositional, limiting its efficiency and flexibility, and it does not cater for codatatypes. We present a fully modular framework for constructing (co)datatypes in HOL, with support for mixed mutual and nested (co)recursion. Mixed (co)recursion enables type definitions involving both datatypes and codatatypes, such as the type of finitely branching trees of possibly infinite depth. Our framework draws heavily from category theory. The key notion is that of a bounded natural functor---an enriched type constructor satisfying specific properties preserved by interesting categorical operations. Our ideas are implemented as a definitional package in Isabelle, addressing a frequent request from users.
Keywords :
category theory; formal logic; theorem proving; trees (mathematics); HOL Light; HOL4; Isabelle/HOL; bounded natural functor; categorical operation; category theory; compositional datatype; datatype definition; definitional package; finitely branching tree; foundational datatype; fully modular framework; high-level specification; higher-order logic; interactive theorem prover; internal datatype construction; logical primitive; mixed mutual recursion; nested recursion; theorem proving; Abstracts; Semantics; Set theory; Shape; Standards; (co)datatypes; Category theory; cardinals; higher-order logic; interactive theorem proving;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Logic in Computer Science (LICS), 2012 27th Annual IEEE Symposium on
Conference_Location :
Dubrovnik
ISSN :
1043-6871
Print_ISBN :
978-1-4673-2263-8
Type :
conf
DOI :
10.1109/LICS.2012.75
Filename :
6280479
Link To Document :
بازگشت