Change search
Link to record
Permanent link

Direct link
Palmgren, Erik
Publications (10 of 18) Show all publications
Palmgren, E. (2022). From type theory to setoids and back. Mathematical Structures in Computer Science, 32(10), 1283-1312
Open this publication in new window or tab >>From type theory to setoids and back
2022 (English)In: Mathematical Structures in Computer Science, ISSN 0960-1295, E-ISSN 1469-8072, Vol. 32, no 10, p. 1283-1312Article in journal (Refereed) Published
Abstract [en]

A model of Martin-Löf extensional type theory with universes is formalized in Agda, an interactive proof system based on Martin-Löf intensional type theory. This may be understood, we claim, as a solution to the old problem of modeling the full extensional theory in the intensional theory. Types are interpreted as setoids, and the model is therefore a setoid model.We solve the problem of interpreting type universes by utilizing Aczel’s type of iterative sets and show how it can be made into a setoid of small setoids containing the necessary setoid constructions. In addition, we interpret the bracket types of Awodey and Bauer. Further quotient types should be interpretable.

Keywords
Martin-Lof type theory, extensionality, constructive set theory, setoids
National Category
Mathematical Analysis Algebra and Logic
Identifiers
urn:nbn:se:su:diva-217003 (URN)10.1017/S0960129521000189 (DOI)000969593400001 ()2-s2.0-85152477739 (Scopus ID)
Available from: 2023-05-26 Created: 2023-05-26 Last updated: 2024-06-12Bibliographically approved
Palmgren, E. (2019). Categories with families and first-order logic with dependent sorts. Annals of Pure and Applied Logic, 170(12), Article ID 102715.
Open this publication in new window or tab >>Categories with families and first-order logic with dependent sorts
2019 (English)In: Annals of Pure and Applied Logic, ISSN 0168-0072, E-ISSN 1873-2461, Vol. 170, no 12, article id 102715Article in journal (Refereed) Published
Abstract [en]

First-order logic with dependent sorts, such as Makkai's first-order logic with dependent sorts (FOLDS), or Aczel's and Belo's dependently typed (intuitionistic) first-order logic (DFOL), may be regarded as logic enriched dependent type theories. Categories with families (cwfs) is an established semantical structure for dependent type theories, such as Martin-Löf type theory. We introduce in this article a notion of hyperdoctrine over a cwf, and show how FOLDS and DFOL fit in this semantical framework. A soundness and completeness theorem is proved for DFOL. The semantics is functorial in the sense of Lawvere, and uses a dependent version of the Lindenbaum-Tarski algebra for a DFOL theory. Agreement with standard first-order semantics is established. Applications of DFOL to constructive mathematics and categorical foundations are given. A key feature is a local propositions-as-types principle.

Keywords
Intuitionistic first-order logic, Dependent types, Categorical logic, Models of type theory
National Category
Mathematics
Research subject
Mathematical Logic
Identifiers
urn:nbn:se:su:diva-174770 (URN)10.1016/j.apal.2019.102715 (DOI)000491614200001 ()
Funder
Swedish Research Council, 2015-03835
Available from: 2019-10-09 Created: 2019-10-09 Last updated: 2022-02-26Bibliographically approved
Palmgren, E. (2018). A Constructive Examination of a Russell-style Ramified Type Theory. Bulletin of Symbolic Logic, 24(1), 90-106
Open this publication in new window or tab >>A Constructive Examination of a Russell-style Ramified Type Theory
2018 (English)In: Bulletin of Symbolic Logic, ISSN 1079-8986, E-ISSN 1943-5894, Vol. 24, no 1, p. 90-106Article in journal (Refereed) Published
Abstract [en]

In this article we examine the natural interpretation of a ramified type hierarchy into Martin-Lof type theory with an infinite sequence of universes. It is shown that under this predicative interpretation some useful special cases of Russell's reducibility axiom are valid, namely functional reducibility. This is sufficient to make the type hierarchy usable for development of constructive mathematical analysis in the style of Bishop. We present a ramified type theory suitable for this purpose. One may regard the results of this article as an alternative solution to the problem of the proliferation of levels of real numbers in Russell's theory, which avoids impredicativity, but instead imposes constructive logic. The intuitionistic ramified type theory introduced here also suggests that there is a natural associated notion of predicative elementary topos.

Keywords
ramified type theory, intuitionistic logic, reducibility axiom
National Category
Mathematics Computer and Information Sciences
Identifiers
urn:nbn:se:su:diva-156694 (URN)10.1017/bsl.2018.4 (DOI)000431008000003 ()
Available from: 2018-05-30 Created: 2018-05-30 Last updated: 2022-02-26Bibliographically approved
Palmgren, E. (2018). On equality of objects in categories in constructive type theory. In: Andreas Abel, Fredrik Nordvall Forsberg, Ambrus Kaposi (Ed.), 23rd International Conference on Types for Proofs and Programs (TYPES 2017): . Paper presented at 23rd International Conference on Types for Proofs and Programs (TYPES 2017), Budapest, Hungary, 29 May-1 June, 2017 (pp. 1-7). Dagstuhl: Schloss Dagstuhl, Leibniz-Zentrum für Informatik
Open this publication in new window or tab >>On equality of objects in categories in constructive type theory
2018 (English)In: 23rd International Conference on Types for Proofs and Programs (TYPES 2017) / [ed] Andreas Abel, Fredrik Nordvall Forsberg, Ambrus Kaposi, Dagstuhl: Schloss Dagstuhl, Leibniz-Zentrum für Informatik , 2018, p. 1-7Conference paper, Published paper (Refereed)
Abstract [en]

In this note we remark on the problem of equality of objects in categories formalized in Martin-Löf’s constructive type theory. A standard notion of category in this system is E-category, where no such equality is specified. The main observation here is that there is no general extension of E-categories to categories with equality on objects, unless the principle Uniqueness of Identity Proofs (UIP) holds. We also introduce the notion of an H-category with equality on objects, which makes it easy to compare to the notion of univalent category proposed for Univalent Type Theory by Ahrens, Kapulkin and Shulman.

Place, publisher, year, edition, pages
Dagstuhl: Schloss Dagstuhl, Leibniz-Zentrum für Informatik, 2018
Series
Leibniz International Proceedings in Informatics (LIPIcs), ISSN 1868-8969 ; 104
Keywords
type theory, formalization, category theory, setoids
National Category
Mathematics
Research subject
Mathematical Logic
Identifiers
urn:nbn:se:su:diva-164919 (URN)10.4230/LIPIcs.TYPES.2017.7 (DOI)978-3-95977-071-2 (ISBN)
Conference
23rd International Conference on Types for Proofs and Programs (TYPES 2017), Budapest, Hungary, 29 May-1 June, 2017
Funder
Swedish Research Council
Available from: 2019-01-20 Created: 2019-01-20 Last updated: 2022-02-26Bibliographically approved
Palmgren, E. (2017). Constructions of categories of setoids from proof-irrelevant families. Archive for mathematical logic, 56(1-2), 51-66
Open this publication in new window or tab >>Constructions of categories of setoids from proof-irrelevant families
2017 (English)In: Archive for mathematical logic, ISSN 0933-5846, E-ISSN 1432-0665, Vol. 56, no 1-2, p. 51-66Article in journal (Refereed) Published
Abstract [en]

When formalizing mathematics in constructive type theories, or more practically in proof assistants such as Coq or Agda, one is often using setoids (types with explicit equivalence relations). In this note we consider two categories of setoids with equality on objects and show, within intensional Martin-Lof type theory, that they are isomorphic. Both categories are constructed from a fixed proof-irrelevant family F of setoids. The objects of the categories form the index setoid I of the family, whereas the definition of arrows differs. The first category has for arrows triples where f is an extensional function. Two such arrows are identified if appropriate composition with transportation maps (given by F) makes them equal. In the second category the arrows are triples where R is a total functional relation between the subobjects of the setoid sum of the family. This category is simpler to use as the transportation maps disappear. Moreover we also show that the full image of a category along an E-functor into an E-category is a category.

Keywords
Martin-Lof type theory, Proof-irrelevance, Category
National Category
Mathematics
Identifiers
urn:nbn:se:su:diva-140300 (URN)10.1007/s00153-016-0514-7 (DOI)000392295400004 ()
Available from: 2017-03-13 Created: 2017-03-13 Last updated: 2022-03-23Bibliographically approved
Bridges, D. S., Hendtlass, M. & Palmgren, E. (2016). A Constructive Examination of Rectifiability. Journal of Logic and Analysis, 8, Article ID UNSP 4.
Open this publication in new window or tab >>A Constructive Examination of Rectifiability
2016 (English)In: Journal of Logic and Analysis, E-ISSN 1759-9008, Vol. 8, article id UNSP 4Article in journal (Refereed) Published
Abstract [en]

We present a Brouwerian example showing that the classical statement 'Every Lipschitz mapping f : [0; 1] -> [0; 1] has rectifiable graph' is essentially nonconstructive. We turn this Brouwerian example into an explicit recursive example of a Lipschitz function on [0; 1] that is not rectifiable. Then we deal with the connections, if any, between the properties of rectifiability and having a variation. We show that the former property implies the latter, but the statement 'Every continuous, real-valued function on [0; 1] that has a variation is rectifiable' is essentially nonconstructive.

Keywords
Constructive/recursive analysis, Lipschitz, rectifiable, Brouwerian example, recursive counterexample
National Category
Mathematics
Research subject
Mathematical Logic
Identifiers
urn:nbn:se:su:diva-140112 (URN)10.4115/jla.2016.8.4 (DOI)000395233500002 ()
Available from: 2017-02-27 Created: 2017-02-27 Last updated: 2023-10-02Bibliographically approved
Palmgren, E. (2016). Categories with families, FOLDS and logic enriched type theory.
Open this publication in new window or tab >>Categories with families, FOLDS and logic enriched type theory
2016 (English)Manuscript (preprint) (Other academic)
Abstract [en]

Categories with families (cwfs) is an established semantical structure for dependent type theories, such as Martin-Lö type theory. Makkai's first-order logic with dependent sorts (FOLDS) is an example of a so-called logic enriched type theory. We introduce in this article a notion of hyperdoctrine over a cwf, and show how FOLDS and Aczel's and Belo's dependently typed (intuitionistic) first-order logic (DFOL) fit in this semantical framework. A soundness and completeness theorem is proved for such a logic. The semantics is functorial in the sense of Lawvere, and uses a dependent version of the Lindenbaum-Tarski algebra for a DFOL theory. Agreement with standard first-order semantics is established. Some applications of DFOL to constructive mathematics and categorical foundations are given. A key feature is a local propositions-as-types principle.

Publisher
p. 99
Keywords
Intuitionistic first-order logic, dependent types, categorical logic, models of type theory
National Category
Algebra and Logic
Research subject
Mathematical Logic
Identifiers
urn:nbn:se:su:diva-129963 (URN)
Projects
Konstruktiva och kategoriteoretiska grundvalar för matematik
Funder
Swedish Research Council, 2015-03835
Available from: 2016-05-06 Created: 2016-05-06 Last updated: 2022-02-23Bibliographically approved
Palmgren, E. & Dybjer, P. (2016). Intuitionistic Type Theory. Stanford Encyclopedia of Philosophy (Winter 2016 edition)
Open this publication in new window or tab >>Intuitionistic Type Theory
2016 (English)In: Stanford Encyclopedia of Philosophy, E-ISSN 1095-5054, no Winter 2016 editionArticle in journal (Refereed) Published
National Category
Mathematics
Research subject
Mathematical Logic
Identifiers
urn:nbn:se:su:diva-140111 (URN)
Funder
Swedish Research Council
Available from: 2017-02-27 Created: 2017-02-27 Last updated: 2024-01-23Bibliographically approved
Awodey, S., Gambino, N. & Palmgren, E. (2015). Introduction - from type theory and homotopy theory to univalent foundations of mathematics. Mathematical Structures in Computer Science, 25(5), 1005-1009
Open this publication in new window or tab >>Introduction - from type theory and homotopy theory to univalent foundations of mathematics
2015 (English)In: Mathematical Structures in Computer Science, ISSN 0960-1295, E-ISSN 1469-8072, Vol. 25, no 5, p. 1005-1009Article in journal, Editorial material (Other academic) Published
Abstract [en]

We give an overview of the main ideas involved in the development of homotopy type theory and the univalent foundations of Mathematics programme. This serves as a background for the research papers published in the special issue.

National Category
Mathematics
Research subject
Mathematical Logic
Identifiers
urn:nbn:se:su:diva-128342 (URN)10.1017/S0960129514000474 (DOI)000353697300001 ()
Available from: 2016-03-23 Created: 2016-03-23 Last updated: 2022-02-23Bibliographically approved
Palmgren, E. & Wilander, O. (2014). Constructing categories and setoids of setoids in type theory. Logical Methods in Computer Science, 10(3)
Open this publication in new window or tab >>Constructing categories and setoids of setoids in type theory
2014 (English)In: Logical Methods in Computer Science, E-ISSN 1860-5974, Vol. 10, no 3Article in journal (Refereed) Published
Abstract [en]

In this paper we consider the problem of building rich categories of setoids, in standard intensional Martin-Lo ̈f type theory (MLTT), and in particular how to handle the problem of equality on objects in this context. Any (proof-irrelevant) family F of setoids over a setoid A gives rise to a category C(A,F) of setoids with objects A. We may regard the family F as a setoid of setoids, and a crucial issue in this article is to construct rich or large enough such families. Depending on closure conditions of F , the category C(A, F ) has corresponding categorical constructions. We exemplify this with finite limits. A very large family F may be obtained from Aczel’s model construction of CZF in type theory. It is proved that the category so obtained is isomorphic to the internal category of sets in this model. Set theory can thus establish (categorical) properties of C(A,F) which may be used in type theory. We also show that Aczel’s model construction may be extended to include the elements of any setoid as atoms or urelements. As a byproduct we obtain a natural extension of CZF, adding atoms. This extension, CZFU, is validated by the extended model. The main theorems of the paper have been checked in the proof assistant Coq which is based on MLTT. A possible application of this development is to integrate set-theoretic and type-theoretic reasoning in proof assistants. 

Keywords
Dependent type theory, setoids, formalization, categories, constructive set theory
National Category
Algebra and Logic
Research subject
Mathematical Logic
Identifiers
urn:nbn:se:su:diva-109113 (URN)10.2168/LMCS-10(3:25)2014 (DOI)000347714800022 ()
Funder
Swedish Research Council, 621-2008-5076
Available from: 2014-11-13 Created: 2014-11-13 Last updated: 2024-07-04Bibliographically approved
Organisations

Search in DiVA

Show all publications