• Keine Ergebnisse gefunden

Prof. Dr. Jakob RehofLehrstuhl XIV, Software Engineering Logische Methoden des Software Engineerings LMSE

N/A
N/A
Protected

Academic year: 2021

Aktie "Prof. Dr. Jakob RehofLehrstuhl XIV, Software Engineering Logische Methoden des Software Engineerings LMSE"

Copied!
39
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Prof. Dr. Jakob Rehof Lehrstuhl XIV, Software

Engineering

LMSE

Logische Methoden des Software Engineerings

(2)

Diese Vorlesung

• Klassische Logik und CHI

• Lesen: LCHI, Kap. 8

• Übung:

– Zeigen Sie, wie die Reduktionsrelationen für die

Kontrolloperatoren auf Folie 7-9 abgeleitet werden können.

– Beweisen Sie die Aussagen auf den Folien 20, 21 und 22 zu alternativen Präsentationen der klassischen Logik. Konstruieren Sie dabei relevante Beweisterme des klassischen Kalküls.

(3)

Classical logic and control operators

• Until about 1990 it was widely beleived that the CHI only makes sense for constructive logic

• Indeed, we have informally explained the CHI with reference to the BHK-interpretation

• In 1990 Tim Griffin changed that picture:

T.G. Griffin: A formulae-as-types notion of control. ACM Principles of Programming Languages POPL 1990

• Griffin wanted to find a type system for typing Felleisen‘s control operators and was led to using a double-negation elimination rule

(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)

CHI for classical logic

...... ......

......

(18)

Classical propositional logic (implicational fragment)

Minimal (intuitionistic) logic

Double-negation elimination

(19)

Intuitionistic vs. classical notions of

negation (absurdity)

(20)

Variations

(21)

Variations

(22)

Variations

(23)

Variations

(24)

Variations

(25)

Negation (primitive vs. defined)

(26)

Remark

(27)

Full system

(28)

Abbreviations

Note: Disjunction and conjunction cannot

be eliminated by abbreviation in intuitionistic logic!

(29)

-calculus

[Rehof & Sørensen, 1994]

A new binding operator to assign proof term to applications of (--E) rule

(30)

-calculus

(31)

Classical proof normalization

(32)

Variations

(33)

Form of normal forms

... and consistency:

(34)

Definability

• We know that we can define conjunction and disjunction in terms of implication and negation, in CL

• Therefore, under CHI, we should be able to define pairs and sums at the term level

(35)

Pairs and sums

(36)

Pairs and sums

(37)

Pairs and sums

(38)

Projection

(39)

Variations

Referenzen

ÄHNLICHE DOKUMENTE

FK Informatik LS XIV Software Engineering Prof..

Bereiten Sie den Beweis von Proposition 4.4.5 so vor, dass Sie ihn in der Übung vorstellen können.... Strong

2.11.2016 Arbeite Kapitel 1 aus dem Buch Sørensen, Morten Heine B., Urzyczyn, Paweª: Lectures on the Curry- Howard Isomorphism, 1998 soweit durch, dass mindestens die

Geben sie formale Beweise (Deduktionen) für die drei Aussagen aus Beispiel 3.1.2 aus dem Buch Sørensen, Morten Heine B., Urzyczyn, Paweª: Lectures on the Curry-Howard Isomorphism,

Gemeinsame Abgaben von Gruppen bis zu 4 Personen

Gemeinsame Abgaben von Gruppen bis zu 4 Personen

Modul INF-MSc-319: Logische Methoden des Software Engineering. •

• Kleene-Rosser (1936): alle rekursive Funktionen sind im Lambda-Kalkül repräsentierbar. • Turing (1937): Genau die Funktionen, die