An Effectful Way to Eliminate Addiction to Dependence

International audience We define a monadic translation of type theory, called weaning translation, that allows for a large range of effects in dependent type theory—such as exceptions, non-termination, non-determinism or writing operation. Through the light of a call-by-push-value decomposition, we...

Full description

Bibliographic Details
Published in:2017 32nd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS)
Main Authors: Pédrot, Pierre-Marie, Tabareau, Nicolas
Other Authors: University of Ljubljana, Gallinette : vers une nouvelle génération d'assistant à la preuve (LS2N - équipe GALLINETTE), Inria Rennes – Bretagne Atlantique, Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)-Laboratoire des Sciences du Numérique de Nantes (LS2N), Université de Nantes - UFR des Sciences et des Techniques (UN UFR ST), Université de Nantes (UN)-Université de Nantes (UN)-École Centrale de Nantes (ECN)-Centre National de la Recherche Scientifique (CNRS)-IMT Atlantique (IMT Atlantique), Institut Mines-Télécom Paris (IMT)-Institut Mines-Télécom Paris (IMT)-Université de Nantes - UFR des Sciences et des Techniques (UN UFR ST), Institut Mines-Télécom Paris (IMT)-Institut Mines-Télécom Paris (IMT), Laboratoire des Sciences du Numérique de Nantes (LS2N), Département Automatique, Productique et Informatique (IMT Atlantique - DAPI), IMT Atlantique (IMT Atlantique), European Project: 637339,H2020 ERC,ERC-2014-STG,CoqHoTT(2015)
Format: Conference Object
Language:English
Published: HAL CCSD 2017
Subjects:
Online Access:https://inria.hal.science/hal-01441829
https://inria.hal.science/hal-01441829/document
https://inria.hal.science/hal-01441829/file/main.pdf
https://doi.org/10.1109/LICS.2017.8005113
id ftimtatlantique:oai:HAL:hal-01441829v1
record_format openpolar
spelling ftimtatlantique:oai:HAL:hal-01441829v1 2024-02-11T10:05:07+01:00 An Effectful Way to Eliminate Addiction to Dependence Pédrot, Pierre-Marie Tabareau, Nicolas University of Ljubljana Gallinette : vers une nouvelle génération d'assistant à la preuve (LS2N - équipe GALLINETTE) Inria Rennes – Bretagne Atlantique Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)-Laboratoire des Sciences du Numérique de Nantes (LS2N) Université de Nantes - UFR des Sciences et des Techniques (UN UFR ST) Université de Nantes (UN)-Université de Nantes (UN)-École Centrale de Nantes (ECN)-Centre National de la Recherche Scientifique (CNRS)-IMT Atlantique (IMT Atlantique) Institut Mines-Télécom Paris (IMT)-Institut Mines-Télécom Paris (IMT)-Université de Nantes - UFR des Sciences et des Techniques (UN UFR ST) Institut Mines-Télécom Paris (IMT)-Institut Mines-Télécom Paris (IMT) Laboratoire des Sciences du Numérique de Nantes (LS2N) Département Automatique, Productique et Informatique (IMT Atlantique - DAPI) IMT Atlantique (IMT Atlantique) European Project: 637339,H2020 ERC,ERC-2014-STG,CoqHoTT(2015) Reykjavik, Iceland 2017-06-20 https://inria.hal.science/hal-01441829 https://inria.hal.science/hal-01441829/document https://inria.hal.science/hal-01441829/file/main.pdf https://doi.org/10.1109/LICS.2017.8005113 en eng HAL CCSD info:eu-repo/semantics/altIdentifier/doi/10.1109/LICS.2017.8005113 info:eu-repo/grantAgreement//637339/EU/Coq for Homotopy Type Theory/CoqHoTT hal-01441829 https://inria.hal.science/hal-01441829 https://inria.hal.science/hal-01441829/document https://inria.hal.science/hal-01441829/file/main.pdf doi:10.1109/LICS.2017.8005113 info:eu-repo/semantics/OpenAccess Logic in Computer Science (LICS), 2017 32nd Annual ACM/IEEE Symposium on https://inria.hal.science/hal-01441829 Logic in Computer Science (LICS), 2017 32nd Annual ACM/IEEE Symposium on, Jun 2017, Reykjavik, Iceland. pp.12, ⟨10.1109/LICS.2017.8005113⟩ [INFO.INFO-PL]Computer Science [cs]/Programming Languages [cs.PL] [INFO.INFO-LO]Computer Science [cs]/Logic in Computer Science [cs.LO] info:eu-repo/semantics/conferenceObject Conference papers 2017 ftimtatlantique https://doi.org/10.1109/LICS.2017.8005113 2024-01-17T17:28:10Z International audience We define a monadic translation of type theory, called weaning translation, that allows for a large range of effects in dependent type theory—such as exceptions, non-termination, non-determinism or writing operation. Through the light of a call-by-push-value decomposition, we explain why the traditional approach fails with type dependency and justify our approach. Crucially, the construction requires that the universe of algebras of the monad forms itself an algebra. The weaning translation applies to a version of the Calculus of Inductive Constructions (CIC) with a restricted version of dependent elimination. Finally, we show how to recover a translation of full CIC by mixing parametricity techniques with the weaning translation. This provides the first effectful version of CIC. Conference Object Iceland Archives ouvertes Hal IMT Atlantique 2017 32nd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS) 1 12
institution Open Polar
collection Archives ouvertes Hal IMT Atlantique
op_collection_id ftimtatlantique
language English
topic [INFO.INFO-PL]Computer Science [cs]/Programming Languages [cs.PL]
[INFO.INFO-LO]Computer Science [cs]/Logic in Computer Science [cs.LO]
spellingShingle [INFO.INFO-PL]Computer Science [cs]/Programming Languages [cs.PL]
[INFO.INFO-LO]Computer Science [cs]/Logic in Computer Science [cs.LO]
Pédrot, Pierre-Marie
Tabareau, Nicolas
An Effectful Way to Eliminate Addiction to Dependence
topic_facet [INFO.INFO-PL]Computer Science [cs]/Programming Languages [cs.PL]
[INFO.INFO-LO]Computer Science [cs]/Logic in Computer Science [cs.LO]
description International audience We define a monadic translation of type theory, called weaning translation, that allows for a large range of effects in dependent type theory—such as exceptions, non-termination, non-determinism or writing operation. Through the light of a call-by-push-value decomposition, we explain why the traditional approach fails with type dependency and justify our approach. Crucially, the construction requires that the universe of algebras of the monad forms itself an algebra. The weaning translation applies to a version of the Calculus of Inductive Constructions (CIC) with a restricted version of dependent elimination. Finally, we show how to recover a translation of full CIC by mixing parametricity techniques with the weaning translation. This provides the first effectful version of CIC.
author2 University of Ljubljana
Gallinette : vers une nouvelle génération d'assistant à la preuve (LS2N - équipe GALLINETTE)
Inria Rennes – Bretagne Atlantique
Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)-Laboratoire des Sciences du Numérique de Nantes (LS2N)
Université de Nantes - UFR des Sciences et des Techniques (UN UFR ST)
Université de Nantes (UN)-Université de Nantes (UN)-École Centrale de Nantes (ECN)-Centre National de la Recherche Scientifique (CNRS)-IMT Atlantique (IMT Atlantique)
Institut Mines-Télécom Paris (IMT)-Institut Mines-Télécom Paris (IMT)-Université de Nantes - UFR des Sciences et des Techniques (UN UFR ST)
Institut Mines-Télécom Paris (IMT)-Institut Mines-Télécom Paris (IMT)
Laboratoire des Sciences du Numérique de Nantes (LS2N)
Département Automatique, Productique et Informatique (IMT Atlantique - DAPI)
IMT Atlantique (IMT Atlantique)
European Project: 637339,H2020 ERC,ERC-2014-STG,CoqHoTT(2015)
format Conference Object
author Pédrot, Pierre-Marie
Tabareau, Nicolas
author_facet Pédrot, Pierre-Marie
Tabareau, Nicolas
author_sort Pédrot, Pierre-Marie
title An Effectful Way to Eliminate Addiction to Dependence
title_short An Effectful Way to Eliminate Addiction to Dependence
title_full An Effectful Way to Eliminate Addiction to Dependence
title_fullStr An Effectful Way to Eliminate Addiction to Dependence
title_full_unstemmed An Effectful Way to Eliminate Addiction to Dependence
title_sort effectful way to eliminate addiction to dependence
publisher HAL CCSD
publishDate 2017
url https://inria.hal.science/hal-01441829
https://inria.hal.science/hal-01441829/document
https://inria.hal.science/hal-01441829/file/main.pdf
https://doi.org/10.1109/LICS.2017.8005113
op_coverage Reykjavik, Iceland
genre Iceland
genre_facet Iceland
op_source Logic in Computer Science (LICS), 2017 32nd Annual ACM/IEEE Symposium on
https://inria.hal.science/hal-01441829
Logic in Computer Science (LICS), 2017 32nd Annual ACM/IEEE Symposium on, Jun 2017, Reykjavik, Iceland. pp.12, ⟨10.1109/LICS.2017.8005113⟩
op_relation info:eu-repo/semantics/altIdentifier/doi/10.1109/LICS.2017.8005113
info:eu-repo/grantAgreement//637339/EU/Coq for Homotopy Type Theory/CoqHoTT
hal-01441829
https://inria.hal.science/hal-01441829
https://inria.hal.science/hal-01441829/document
https://inria.hal.science/hal-01441829/file/main.pdf
doi:10.1109/LICS.2017.8005113
op_rights info:eu-repo/semantics/OpenAccess
op_doi https://doi.org/10.1109/LICS.2017.8005113
container_title 2017 32nd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS)
container_start_page 1
op_container_end_page 12
_version_ 1790601993957408768