Lecture 1: Course Overview
Hi!
Who am I?
What is this class?
An experiment!
Website: https://chrisamaphone.github.io/lf-class/
Format
How you can help
Lecture goal
What is a logical framework?
A [computational] theory for encoding other theories� (color convention: metalanguage, object language)
Encodings:
Metatheory:
Metatheory
Theory about the theor(y/ies)
Examples for PL:
Examples for logic:
Twelf
“Twelf is a language used to specify, implement, and prove properties of deductive systems such as programming languages and logics.”
Deductive Systems
Programming languages, logics
Formal specifications “on paper”
EXAMPLE: A first deductive system
Mechanizing Definitions
“What does it mean to correctly represent [on-paper language definitions] in a formal framework?”
Representation is adequate iff isomorphic to said definition.
LF, Elf, Twelf
Twelf Speedrun
(switch to editor)
Mechanizing Definitions
LF Signature:
Mechanizing Metatheory
LF Signature:
Twelf concept:
Course plan
Resources