Towards an implementation in LambdaProlog of the two level - - PowerPoint PPT Presentation

towards an implementation in lambdaprolog of the two
SMART_READER_LITE
LIVE PREVIEW

Towards an implementation in LambdaProlog of the two level - - PowerPoint PPT Presentation

Towards an implementation in LambdaProlog of the two level Minimalist Foundation A. Fiori, C. Sacerdoti Coen Hagenberg, 14/08/2018 The Minimalist Type Theory (MTT) of Maietti and Sambin The Classical World One minimalist foundation: FOL +


slide-1
SLIDE 1

Towards an implementation in LambdaProlog of the two level Minimalist Foundation

  • A. Fiori, C. Sacerdoti Coen

Hagenberg, 14/08/2018

slide-2
SLIDE 2

The Minimalist Type Theory (MTT)

  • f Maietti and Sambin
slide-3
SLIDE 3

The Classical World

One minimalist foundation: FOL + ZF(C) Compatible with (almost) all classical foundations and greatly expressive

ZFC HOL NBG FOL

slide-4
SLIDE 4

The Constructive Zoo

Many incompatible foundations: IZF, CZF, Bishop, Topos theory, intuitionism, Russian, MLTT, Coq, HOTT, ...

IL

slide-5
SLIDE 5

The Constructive Zoo

Example: the Cauchy reals can be

– computable only and you know it in the logic – computable only, but you don’t know it and you can assume they are not – not computable – strictly included in the Dedekind reals (which are not computable) – isomorphic to the Dedekind reals – forming a set vs forming a class (same for the Dedekind reals)

slide-6
SLIDE 6

Towards MTT

Intersection: inexpressive Union: inconsistent

IL

slide-7
SLIDE 7

Towards MTT

MTT: preserve all differences Other theories: collapse of concepts + new stuff

= = =

slide-8
SLIDE 8

Towards MTT

MTT: preserve all differences Other theories: collapse of concepts + new stuff

= = = MTT

slide-9
SLIDE 9

Towards MTT

MTT: compatible with all foundations MTT: is it expressive enough?

= = = MTT

slide-10
SLIDE 10

Reals in MTT

  • Terms of type A → B

– computable (and you know it!), enumerable, form a set – set of computable, enumerable Cauchy reals

  • Functions BA i.e. terms (relations) of type

A → B → Prop s.t. for each a:A there is exactly one b:B in relation – not known to be enumerable and computable (no axiom of unique choice!), form a class – class of Cauchy reals – class of Dedekind reals, contains the Cauchy reals up to isos

slide-11
SLIDE 11

Reals in MTT

+ axiom of unique choice (= Bishop)

– A → B == BA

+ axiom of EM (= classical math) – A → B computable, BA not computable + power-set axiom – Cauchy/Dedekind reals form a set + ...

slide-12
SLIDE 12

The Two Levels

slide-13
SLIDE 13

The Two Layers

Extensional Level Intensional Level

  • type-theory like
  • proof terms
  • intensional
  • decidable
  • set-theory like
  • no proof terms
  • extensional (quotients)
  • undecidable
  • undecidable
  • recover infor.
  • impl. quotients
slide-14
SLIDE 14

The Big Picture a.k.a. WIP (in LambdaProlog)

slide-15
SLIDE 15

Extensional Level Intensional Level LISP code Unelaborated

Interactive Prover tactics, user interface, library management

  • unification, type inference,

coercions, unification hints, implicit arguments, …. type checker, embedded automatic prover, conversion, reduction type checker, conversion, reduction useless code elimination, compilation embedded automatic prover, model construction, compilation

slide-16
SLIDE 16

Claudio Sacerdoti Coen

Dipartimento di Informatica: Scienza e Ingegneria (DISI) claudio.sacerdoticoen@unibo.it

www.unibo.it