SlideShare a Scribd company logo
Practical Automated Reasoning
   with the Polarized Inverse Method

                              Sean McLaughlin

                                  Thesis Proposal
                             Carnegie Mellon University
                            School of Computer Science




Thesis Committee:
 Jeremy Avigad      CMU Philosophy
 Robert Harper      SCS
 Dale Miller        ´
                    Ecole Polytechnique
 Frank Pfenning     SCS
 Andr´ Platzer
     e              SCS
                                                          1 / 32
Outline

   Proposed Contribution
   A proof-producing meta-theorem prover for Twelf.

    1. This is an important problem!
            Twelf is the strongest proof assistant in its domain
            Many applications, in theory and practice
            Requires more work than it should
    2. We can (hopefully) solve it!
            The inverse method
            Focusing
            Polarization
    3. We can solve other interesting problems along the way!
            First-order logic
            Constraints
            LF

                                                                   2 / 32
3 / 32
Twelf


        A proof assistant for deductive systems
            Programming languages
            Logics

        Examples
            Type safety for Standard ML (Lee, Crary, Harper)
            Trusted computing/typed assembly language (Crary, Sarkar)
            Certified compilers (Murphy, Crary)
            Proof carrying code (Necula, et al.)
            Security
                   Proof-carrying authentication (Appel, Felten)
                   Proof-carrying file system (Garg, Pfenning)




                                                                        4 / 32
Example




          5 / 32
Simply Typed λ-Calculus

   Language
    Terms e ::= λx. e | e1 e2
    Types τ ::= α | τ1 ⇒ τ2


   Typing rules
                          Γ, x : τ1 e : τ2     Γ   e1 : τ2 ⇒ τ Γ e2 : τ2
    Γ, x : τ   x :τ   Γ      λx. e : τ1 ⇒ τ2           Γ e1 e2 : τ


   Evaluation rules
                                         e1 → λx. e3 [e2 /x]e3 → e
    x →x          λx. e → λx. e                 e1 e2 → e



                                                                           6 / 32
Theorem (Type Preservation)
If Γ   e : τ and e → e then Γ   e :τ




                                       7 / 32
Theorem (Type Preservation)
If Γ   e : τ and e → e then Γ   e :τ




                                       7 / 32
Twelf




        Support for variable binding
        Dependent types
        Many interesting applications
        Lack of automation (i.e. proof search)
   Proofs account for %80 to %95 of code in the SML type
   preservation theorem. (22 KLOC total)




                                                           8 / 32
Proposed Work


  Theory
  abc

  Implementation

        A proof-producing meta-theorem prover for Twelf.
        New theorem provers for
            First-order propositional logic
            Intuitionistic first-order logic
            Intuitionistic first-order logic with constraints
            LF




                                                               9 / 32
Outline
   Introduction
       Twelf
   The Polarized Inverse Method
      Example: Intutionistic Logic
      The Inverse Method
      Focusing and Polarization
      Imogen
   Applications
      Constraints
      Induction
      LF
         +
      M2
   Conclusion
      Related Work

                                     10 / 32
Outline
   Introduction
       Twelf
   The Polarized Inverse Method
      Example: Intutionistic Logic
      The Inverse Method
      Focusing and Polarization
      Imogen
   Applications
      Constraints
      Induction
      LF
         +
      M2
   Conclusion
      Related Work

                                     11 / 32
12 / 32
The Inverse Method




                     13 / 32
The Inverse Method


   Forward Search
       Why??
             Local quantification
             Saturation
             Redundancy elimination
   Example




                                      14 / 32
The Inverse Method


   Forward Search
       Why??
             Local quantification
             Saturation
             Redundancy elimination
   Example
                              .
                              .      .
                                     .
                              .
                              .      .
                                     .
                           Γ −→ A Γ −→ B
                                 .
                                 .
                                 .




                                           14 / 32
The Inverse Method


   Forward Search
         Why??
             Local quantification
             Saturation
             Redundancy elimination
   Example
   abc




                                      14 / 32
The Inverse Method


   Forward Search
       Why??
             Local quantification
             Saturation
             Redundancy elimination
   Example

                        Γ, A −→ B     Γ −→ B




                                               14 / 32
abc




      15 / 32
Focusing and Polarization




                            16 / 32
Focusing and Polarization

                             Polarized
                              atoms,
                            conjunction



                                  Focused
                                   proofs




                                          Inversion
                                            proofs




                                                      All proofs




                                                                   17 / 32
Imogen




         18 / 32
abc




      19 / 32
Outline
   Introduction
       Twelf
   The Polarized Inverse Method
      Example: Intutionistic Logic
      The Inverse Method
      Focusing and Polarization
      Imogen
   Applications
      Constraints
      Induction
      LF
         +
      M2
   Conclusion
      Related Work

                                     20 / 32
Outline
   Introduction                                            Intuitionistic
                                                        Propositional Logic
       Twelf
   The Polarized Inverse Method
                                                            Intuitionistic
      Example: Intutionistic Logic                       First-Order Logic

      The Inverse Method
      Focusing and Polarization
      Imogen                              Intuitionistic
                                     Logic with Constraints


   Applications                                                              Intuitionistic
                                                                         Logic with Induction
      Constraints
                                              LF
      Induction
      LF
         +
      M2                                                         +
                                                                M2
                                                              (Twelf)
   Conclusion
      Related Work

                                                                                                21 / 32
Constraints




              22 / 32
abc




      23 / 32
Induction




            24 / 32
Inductive loop

                                         no
                   Proof Stack                 Q.E.D.


                 yes               yes



                        Filling


                            no


                                         no
                       Splitting              Unprovable


                            yes



                       Recursion




                                                           25 / 32
LF




     26 / 32
abc




      27 / 32
+
M2




     28 / 32
abc




      29 / 32
Outline
   Introduction
       Twelf
   The Polarized Inverse Method
      Example: Intutionistic Logic
      The Inverse Method
      Focusing and Polarization
      Imogen
   Applications
      Constraints
      Induction
      LF
         +
      M2
   Conclusion
      Related Work

                                     30 / 32
Related Work




               31 / 32
The End
Thanks for coming!




                     32 / 32

More Related Content

Recently uploaded

FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Main

  • 1. Practical Automated Reasoning with the Polarized Inverse Method Sean McLaughlin Thesis Proposal Carnegie Mellon University School of Computer Science Thesis Committee: Jeremy Avigad CMU Philosophy Robert Harper SCS Dale Miller ´ Ecole Polytechnique Frank Pfenning SCS Andr´ Platzer e SCS 1 / 32
  • 2. Outline Proposed Contribution A proof-producing meta-theorem prover for Twelf. 1. This is an important problem! Twelf is the strongest proof assistant in its domain Many applications, in theory and practice Requires more work than it should 2. We can (hopefully) solve it! The inverse method Focusing Polarization 3. We can solve other interesting problems along the way! First-order logic Constraints LF 2 / 32
  • 4. Twelf A proof assistant for deductive systems Programming languages Logics Examples Type safety for Standard ML (Lee, Crary, Harper) Trusted computing/typed assembly language (Crary, Sarkar) Certified compilers (Murphy, Crary) Proof carrying code (Necula, et al.) Security Proof-carrying authentication (Appel, Felten) Proof-carrying file system (Garg, Pfenning) 4 / 32
  • 5. Example 5 / 32
  • 6. Simply Typed λ-Calculus Language Terms e ::= λx. e | e1 e2 Types τ ::= α | τ1 ⇒ τ2 Typing rules Γ, x : τ1 e : τ2 Γ e1 : τ2 ⇒ τ Γ e2 : τ2 Γ, x : τ x :τ Γ λx. e : τ1 ⇒ τ2 Γ e1 e2 : τ Evaluation rules e1 → λx. e3 [e2 /x]e3 → e x →x λx. e → λx. e e1 e2 → e 6 / 32
  • 7. Theorem (Type Preservation) If Γ e : τ and e → e then Γ e :τ 7 / 32
  • 8. Theorem (Type Preservation) If Γ e : τ and e → e then Γ e :τ 7 / 32
  • 9. Twelf Support for variable binding Dependent types Many interesting applications Lack of automation (i.e. proof search) Proofs account for %80 to %95 of code in the SML type preservation theorem. (22 KLOC total) 8 / 32
  • 10. Proposed Work Theory abc Implementation A proof-producing meta-theorem prover for Twelf. New theorem provers for First-order propositional logic Intuitionistic first-order logic Intuitionistic first-order logic with constraints LF 9 / 32
  • 11. Outline Introduction Twelf The Polarized Inverse Method Example: Intutionistic Logic The Inverse Method Focusing and Polarization Imogen Applications Constraints Induction LF + M2 Conclusion Related Work 10 / 32
  • 12. Outline Introduction Twelf The Polarized Inverse Method Example: Intutionistic Logic The Inverse Method Focusing and Polarization Imogen Applications Constraints Induction LF + M2 Conclusion Related Work 11 / 32
  • 15. The Inverse Method Forward Search Why?? Local quantification Saturation Redundancy elimination Example 14 / 32
  • 16. The Inverse Method Forward Search Why?? Local quantification Saturation Redundancy elimination Example . . . . . . . . Γ −→ A Γ −→ B . . . 14 / 32
  • 17. The Inverse Method Forward Search Why?? Local quantification Saturation Redundancy elimination Example abc 14 / 32
  • 18. The Inverse Method Forward Search Why?? Local quantification Saturation Redundancy elimination Example Γ, A −→ B Γ −→ B 14 / 32
  • 19. abc 15 / 32
  • 21. Focusing and Polarization Polarized atoms, conjunction Focused proofs Inversion proofs All proofs 17 / 32
  • 22. Imogen 18 / 32
  • 23. abc 19 / 32
  • 24. Outline Introduction Twelf The Polarized Inverse Method Example: Intutionistic Logic The Inverse Method Focusing and Polarization Imogen Applications Constraints Induction LF + M2 Conclusion Related Work 20 / 32
  • 25. Outline Introduction Intuitionistic Propositional Logic Twelf The Polarized Inverse Method Intuitionistic Example: Intutionistic Logic First-Order Logic The Inverse Method Focusing and Polarization Imogen Intuitionistic Logic with Constraints Applications Intuitionistic Logic with Induction Constraints LF Induction LF + M2 + M2 (Twelf) Conclusion Related Work 21 / 32
  • 26. Constraints 22 / 32
  • 27. abc 23 / 32
  • 28. Induction 24 / 32
  • 29. Inductive loop no Proof Stack Q.E.D. yes yes Filling no no Splitting Unprovable yes Recursion 25 / 32
  • 30. LF 26 / 32
  • 31. abc 27 / 32
  • 32. + M2 28 / 32
  • 33. abc 29 / 32
  • 34. Outline Introduction Twelf The Polarized Inverse Method Example: Intutionistic Logic The Inverse Method Focusing and Polarization Imogen Applications Constraints Induction LF + M2 Conclusion Related Work 30 / 32
  • 35. Related Work 31 / 32
  • 36. The End Thanks for coming! 32 / 32