Proof Assistants for One-and-a-Halfth Order Logic Work in progress A. Tasistro Universidad ORT Uruguay LSFA 2013 IME - USP Abstract I will explain: I The motivations. I What One-and-a-Halfth Order Logic is. I What we have done/are doing. The context I A Software Engineering program. I We insist that they learn proof (of programs). I In particular, formal proof. Two early courses I I Recursion and induction using (concise) Haskell. Logic (standard), I I using Natural Deduction. With a tool for autonomous practice. Features I Tree display. I Backwards/forward derivation. Paper and pencil simulation I I I I several simultaneous trees, drag and drop. Meta-theorems ∀x(α ∧ β) ` ∀xα ∧ ∀xβ, not: ∀x(P(x) ∧ Q(x)) ` ∀xP(x) ∧ ∀xQ(x), I With re-use. Technical difficulties with meta-theorems in FOL ∀x(α ∨ β) ` α ∨ ∀xβ (x not free in α) ∀x(α → β), α[x := t] ` β[x := t]. I Meta-vars (formulæ, terms). I Side conditions (restricting dependence on variables). I Explicit substitution. I Equality, as in: I ∀xα ∀e α[x := x] eq α. Matching for re-use of meta-theorems. Contribution Lots of didactic proof assistants... I Pandora I ADN I Panda I Proof Builder I JAPE I DC Proof I Yoda I ... but none with the feature. One-and-a-halfth order logic I The logic of meta-derivations. I (We don’t want HOL). I Gabbay and Mathijssen, 2008. Based upon Nominal Terms. I I I I I I I I I atoms, abstraction, swapping, freshness x#α, α conversion, unknowns (meta-variables), explicit substitution. Judgements Γ `∆ α ∀i Γ `∆ α ∆ . x#Γ Γ `∆ ∀xα What have we done? I (Joint with J. Pais) I I Full version for propositional logic. (2011, Pais’ Engineering final project.) A prototype for FOL (i.e. One-and-a-halfth —2013, Pais’ Master thesis.) I I Adapting original system to ND. Implementing matching and equality checking (in presence of explicit substitution). I We are re-programming the prototype with interface –due to next semester for use in teaching. I An LCF-like version (embedded in Haskell) for more professional use. Thanks !!! [email protected]
© Copyright 2026 Paperzz