Constructive Proofs and Program Extraction
Christoph Kreitz
- 1. Type Theory vs. Set Theory
- 2. Overview of the Nuprl System
- 3. Proofs of the Integer Square Root Problem
Constructive Proofs and Program Extraction Christoph Kreitz 1. Type - - PowerPoint PPT Presentation
Constructive Proofs and Program Extraction Christoph Kreitz 1. Type Theory vs. Set Theory 2. Overview of the Nuprl System 3. Proofs of the Integer Square Root Problem What distinguishes Type Theory from Set Theory? n r r 2 n
PRL Seminar, February 23, 2004 1 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 1 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 1 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 1 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 1 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 1 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 1 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 2 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 2 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 2 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 2 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 2 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 2 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 2 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 2 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 2 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 2 Constructive Proofs and Program Extraction
✻ ✲
PRL Seminar, February 23, 2004 2 Constructive Proofs and Program Extraction
✻ ✲
PRL Seminar, February 23, 2004 2 Constructive Proofs and Program Extraction
✻ ✲
PRL Seminar, February 23, 2004 2 Constructive Proofs and Program Extraction
✻ ✲
PRL Seminar, February 23, 2004 2 Constructive Proofs and Program Extraction
✻ ✲
PRL Seminar, February 23, 2004 3 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 3 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 3 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 4 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 4 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 4 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 4 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 4 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 4 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 4 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 4 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 5 Constructive Proofs and Program Extraction
Java OCaml Maude MetaPRL SoS (Lisp) Structure
Nuprl Refiner
PVS MinLog
Web Editor
Emacs Mode
PRL
(PVS) (HOL)
.... .... .... THEORY defs, thms, tactics rules, structure, code rules, structure, code rules, structure, code defs, thms, tactics defs, thms, tactics rules, structure, code rules, structure, code defs, thms, tactics rules, structure, code defs, thms, tactics defs, thms, tactics THEORY THEORY THEORY THEORY THEORY
PRL Seminar, February 23, 2004 6 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 6 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 7 Constructive Proofs and Program Extraction
⌈0⌉ THEN Auto
⌈(r+1)2 ≤ i⌉ THEN Auto
⌈r+1⌉ THEN Auto’
⌈r⌉ THEN Auto
PRL Seminar, February 23, 2004 8 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 9 Constructive Proofs and Program Extraction
PRL Seminar, February 23, 2004 9 Constructive Proofs and Program Extraction
∧ (∀i:N+. P(i-1) ⇒ P(i))) ⇒ (∀i:N. P(i))
PRL Seminar, February 23, 2004 9 Constructive Proofs and Program Extraction
∧ (∀i:N+. P(i-1) ⇒ P(i))) ⇒ (∀i:N. P(i))
∧ (∀j:{0..k-1}. ¬P(j)))
PRL Seminar, February 23, 2004 9 Constructive Proofs and Program Extraction
∧ (∀i:N+. P(i-1) ⇒ P(i))) ⇒ (∀i:N. P(i))
∧ (∀j:{0..k-1}. ¬P(j)))
∧ (∀i:N. P(i÷4) ⇒ P(i))) ⇒ (∀i:N. P(i))