SlideShare a Scribd company logo
A Generic Tableau Prover
and Its Integration with Isabelle
Lawrence C. Paulson
Computer Laboratory
University of Cambridge
1
Overview of Isabelle
• a generic interactive prover for FOL, set theory, HOL, . . .
• Prolog influence: resolution of generalized Horn clauses
Existing classical reasoner (Fast tac)
• tableau methods
• generic: accepts supplied rules
• runs on Isabelle’s Prolog engine (trivial integration)
2
Objectives for the New Tactic
• Genericity: no restriction to predicate logic
• Power: quantifier duplication, transitivity reasoning . . .
• Speed: perhaps 10–20 seconds for interactive use
• Compatibility with Isabelle’s existing tools (Fast tac)
3
Why Write a New Tableau Prover?
Q. Why not rewrite with A ⊆ B ⇐⇒ ∀x (x ∈ A → x ∈ B)?
A. Destroys legibility
A. Not always possible: inductive definitions
Q. Why not just call Otter, SETHEO or LeanTaP?
A. We need higher-order syntax
4
Typical Generic Tableau Rules
type α type γ/β type δ/α
t ∈ A ∩ B
t ∈ A
t ∈ B
A ⊆ B
¬(?x ∈ A) | ?x ∈ B
¬(A ⊆ B)
s ∈ A
¬(s ∈ B)
Complications from genericity:
• overloading store some type info
• variable instantiation heuristic limits
• recursive rules ad-hoc checks
5
Prover Architecture
Free-variable tableau with iterative deepening (leanTaP)
Term data structure: no types; variables as pointers
Basic heuristics
• discrimination nets
• search-space pruning
• delayed use of unsafe rules (γ-rules)
• suppressing needless duplication
6
Integration I: Translating Isabelle Rules
• multiple goal formulas via negation
• dual Skolemization ⇒ standard Skolemization
• simplification of higher-order conclusions (η-contraction)
• limitations on function variables
• type translation for overloading
7
Integration II: Translating Tableau Proofs
Isabelle checks the proof—often the slowest phase
• direct correspondence from proof steps to Isabelle tactics
• failure might be caused by
– breakdown of the correspondence
– type complications
• recomputation of unifiers
• fancy tricks not possible (e.g. liberalized δ-rule)
8
Results & Limitations
Good performance on first-order benchmarks e.g. Pelletier’s
Mostly compatible with fast_tac; can be 10 times faster
• and proves more theorems
• but slower for some ‘obvious’ problems
Set theory challenge:
(∀x, y ∈ S x ⊆ y) → ∃z S ⊆ {z}
9
Conclusions
• the first tableau prover with higher-order syntax?
• the first tableau prover for ZF, HOL, inductive definitions, . . . ?
• has almost replaced fast_tac
• a good example of integration in daily use
10

More Related Content

PPTX
Java Chapter 05 - Conditions & Loops: part 4
PPTX
Applications of analytic functions and vector calculus
DOCX
What is analytic functions
PDF
Compiler lec 6_1
PPTX
A Complete Guide on While Loop in MATLAB
PDF
Automated theorem proving for special functions: the next phase
PDF
Geuvers slides
PDF
Cerutti--Knowledge Representation and Reasoning (postgrad seminar @ Universit...
Java Chapter 05 - Conditions & Loops: part 4
Applications of analytic functions and vector calculus
What is analytic functions
Compiler lec 6_1
A Complete Guide on While Loop in MATLAB
Automated theorem proving for special functions: the next phase
Geuvers slides
Cerutti--Knowledge Representation and Reasoning (postgrad seminar @ Universit...

Similar to A Generic Tableau Prover and Its Integration with Isabelle (17)

PDF
Source-Level Proof Reconstruction for Interactive Proving
PDF
The Relative Consistency of the Axiom of Choice — Mechanized Using Isabelle/ZF
PDF
20130928 automated theorem_proving_harrison
PDF
PPTX
Jarrar: First Order Logic- Inference Methods
PDF
Logic Colloquium 2007 1st Edition Franoise Delon Ulrich Kohlenbach
PDF
Logic Colloquium 2004 1st Edition Alessandro Andretta
PDF
Logic Programming and ILP
PDF
The Reflection Theorem: Formalizing Meta-Theoretic Reasoning
PPTX
PROLOG: Matching And Proof Search In Prolog
PPTX
PROLOG: Matching And Proof Search In Prolog
PDF
Logic Colloquium 2004 1st Edition Alessandro Andretta
PDF
Linear logic (and Linear Lisp)
PDF
Logic Colloquium 2004 1st Edition Alessandro Andretta
PDF
Logic Colloquium 2004 1st Edition Alessandro Andretta
PDF
APAL2032
PDF
MDH01-CSL03
Source-Level Proof Reconstruction for Interactive Proving
The Relative Consistency of the Axiom of Choice — Mechanized Using Isabelle/ZF
20130928 automated theorem_proving_harrison
Jarrar: First Order Logic- Inference Methods
Logic Colloquium 2007 1st Edition Franoise Delon Ulrich Kohlenbach
Logic Colloquium 2004 1st Edition Alessandro Andretta
Logic Programming and ILP
The Reflection Theorem: Formalizing Meta-Theoretic Reasoning
PROLOG: Matching And Proof Search In Prolog
PROLOG: Matching And Proof Search In Prolog
Logic Colloquium 2004 1st Edition Alessandro Andretta
Linear logic (and Linear Lisp)
Logic Colloquium 2004 1st Edition Alessandro Andretta
Logic Colloquium 2004 1st Edition Alessandro Andretta
APAL2032
MDH01-CSL03
Ad

More from Lawrence Paulson (10)

PDF
Proving Security Protocols Correct
PDF
MetiTarski's menagerie of cooperating systems
PDF
Theorem proving and the real numbers: overview and challenges
PDF
Defining Functions on Equivalence Classes
PDF
Organizing Numerical Theories using Axiomatic Type Classes
PDF
Mechanized Proofs for a Recursive Authentication Protocol
PDF
Mechanizing set theory: cardinal arithmetic and the axiom of choice
PDF
MetiTarski: An Automatic Prover for Real-Valued Special Functions
PDF
Proving Properties of Security Protocols by Induction
PDF
A Machine-Assisted Proof of Gödel's Incompleteness Theorems
Proving Security Protocols Correct
MetiTarski's menagerie of cooperating systems
Theorem proving and the real numbers: overview and challenges
Defining Functions on Equivalence Classes
Organizing Numerical Theories using Axiomatic Type Classes
Mechanized Proofs for a Recursive Authentication Protocol
Mechanizing set theory: cardinal arithmetic and the axiom of choice
MetiTarski: An Automatic Prover for Real-Valued Special Functions
Proving Properties of Security Protocols by Induction
A Machine-Assisted Proof of Gödel's Incompleteness Theorems
Ad

Recently uploaded (20)

PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Approach and Philosophy of On baking technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
Per capita expenditure prediction using model stacking based on satellite ima...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
NewMind AI Weekly Chronicles - August'25 Week I
MIND Revenue Release Quarter 2 2025 Press Release
Approach and Philosophy of On baking technology
Spectral efficient network and resource selection model in 5G networks
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
cuic standard and advanced reporting.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Spectroscopy.pptx food analysis technology
Programs and apps: productivity, graphics, security and other tools
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
MYSQL Presentation for SQL database connectivity
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Encapsulation_ Review paper, used for researhc scholars
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Unlocking AI with Model Context Protocol (MCP)
“AI and Expert System Decision Support & Business Intelligence Systems”

A Generic Tableau Prover and Its Integration with Isabelle

  • 1. A Generic Tableau Prover and Its Integration with Isabelle Lawrence C. Paulson Computer Laboratory University of Cambridge 1
  • 2. Overview of Isabelle • a generic interactive prover for FOL, set theory, HOL, . . . • Prolog influence: resolution of generalized Horn clauses Existing classical reasoner (Fast tac) • tableau methods • generic: accepts supplied rules • runs on Isabelle’s Prolog engine (trivial integration) 2
  • 3. Objectives for the New Tactic • Genericity: no restriction to predicate logic • Power: quantifier duplication, transitivity reasoning . . . • Speed: perhaps 10–20 seconds for interactive use • Compatibility with Isabelle’s existing tools (Fast tac) 3
  • 4. Why Write a New Tableau Prover? Q. Why not rewrite with A ⊆ B ⇐⇒ ∀x (x ∈ A → x ∈ B)? A. Destroys legibility A. Not always possible: inductive definitions Q. Why not just call Otter, SETHEO or LeanTaP? A. We need higher-order syntax 4
  • 5. Typical Generic Tableau Rules type α type γ/β type δ/α t ∈ A ∩ B t ∈ A t ∈ B A ⊆ B ¬(?x ∈ A) | ?x ∈ B ¬(A ⊆ B) s ∈ A ¬(s ∈ B) Complications from genericity: • overloading store some type info • variable instantiation heuristic limits • recursive rules ad-hoc checks 5
  • 6. Prover Architecture Free-variable tableau with iterative deepening (leanTaP) Term data structure: no types; variables as pointers Basic heuristics • discrimination nets • search-space pruning • delayed use of unsafe rules (γ-rules) • suppressing needless duplication 6
  • 7. Integration I: Translating Isabelle Rules • multiple goal formulas via negation • dual Skolemization ⇒ standard Skolemization • simplification of higher-order conclusions (η-contraction) • limitations on function variables • type translation for overloading 7
  • 8. Integration II: Translating Tableau Proofs Isabelle checks the proof—often the slowest phase • direct correspondence from proof steps to Isabelle tactics • failure might be caused by – breakdown of the correspondence – type complications • recomputation of unifiers • fancy tricks not possible (e.g. liberalized δ-rule) 8
  • 9. Results & Limitations Good performance on first-order benchmarks e.g. Pelletier’s Mostly compatible with fast_tac; can be 10 times faster • and proves more theorems • but slower for some ‘obvious’ problems Set theory challenge: (∀x, y ∈ S x ⊆ y) → ∃z S ⊆ {z} 9
  • 10. Conclusions • the first tableau prover with higher-order syntax? • the first tableau prover for ZF, HOL, inductive definitions, . . . ? • has almost replaced fast_tac • a good example of integration in daily use 10