SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
Logics of Context and
Modal Type Theories



Valeria de Paiva
Systems and Practices Lab
Caveats

   Joint work with Bellin/Ritter and Mendler.
   Talk at CONTEXT’03, the fourth international
    multidisciplinary conference on context, in
    Stanford, June’03. Notions of context for a
    variety of applications
   Theme of my talk then: Proof Theory is
    essential for a logic of contexts.
   Today: what are AI contexts? why are they
    useful ? why should you care about them?
Motivating Example
 Consider a reliable, factual report about weapons
  proliferation:
 "Gulf ImpEx imported 5 shipments of medical goods in
  1999. Their shipping records claim that none of the
  shipments contained any dual use materials. We
  have learned that at least one shipment contained 2
  tons of fissile material. Most of this was of such low
  radioactivity as to prevent its dual use. We do not
  know whether the remainder of the fissile material
  could have been dual use.“
 Question: according to this report, did Gulf ImpEx
  import any dual use materials?
Example continued

  To answer the question you needed to get inside
   several contexts, introduced by claim, learn, prevent,
   know, could.
 On an individual basis not hard. If

  “Biopreparat claims that Russia’s stockpile of viruses
   has been destroyed.”
  it doesn’t mean that the stockpile has been destroyed.
  (even my 10-year old can tell you that!)
 All obvious/old hat logical stuff, but we need to
   reason about these possibilities. Could use contexts.
Context analysis tasks
    To identify contextual structure and embedding,
    within sentences and texts
   To identify all the logical inferences that can be
    validly drawn from any given text (and only these).
     To enable reasoning across contexts e.g.:
    – If X claims that Y believes P, then X is not claiming that P is
      true
    – If X claims that Y knows P, then X claims that
      P is true
This talk focuses on logical machinery for the tasks of
 reasoning about and across contexts, in a formal
 way, using machinery that you’re familiar with.
Summing up

   Goal: “Investigate existent logics of context for
    KR and design one for our project on symbolic
    text understanding”
   There are a variety of these context logics
    – They capture slightly different intuitions
    – They are hard to compare logically
    – They lack important proof-theoretic properties
   Need to choose a methodology, design criteria
    for choosing & comparing logics, and apply it.
Overview

   Background
   Methodology: Proof theory counts
   Designing a Logic of Context &
   Simple Modal type theories
   Results: system, properties & comparisons
   Conclusions
The Importance of Proof Theory
The structure of proofs is as important to a logic
as what it can prove
    A logic is defined as much by the patterns of inference it
     allows (proof theory) as by its semantics (model theory)
    Proof-theoretical properties (such as cut-elimination, strong
     normalization, sub-formula property etc.) lead to efficient,
     correct implementations
     – Soundness and completeness are not enough
    In AI: if you want to generate explanations from proofs,
     the structures of proofs matter
    Proof theory provides tools for looking at proof structure
    Main Tool here: Extended Curry-Howard isomorphism
Logic of Contexts & Modality (McCarthy’93)

   Goal: To provide AI programs with human
    capabilities, like reasoning in context.
   Engineering attitude: contexts as abstract
    mathematical entities with useful properties
    – Which kind of mathematical entities? Which
      properties? Useful for what?
   Basic ideas:
    – introduce syntactic modality ist(c,p) meaning
      proposition p is true in context c.
    – ist(c,p) always asserted within a context c’
    – Contexts can be entered and exited
Contexts, Modality, Natural Deduction
   McCarthy wanted a Natural Deduction system because of
    the natural correspondence between:
    – introducing/discharging hypotheses
    – entering/exiting contexts
   McCarthy’s followers (Buvac/Mason) formalized context
    logic as Hilbert-style modal logic
   Modal logics are good because:
    – Modalities allow control over the context in which embedded
      expressions are evaluated.
    – Modalities avoid problems with self-referential paradoxes
   But most modal logics are not well-behaved proof-
    theoretically, they don’t easily support natural deduction
                          How to get a modal logic of contexts
                          with Natural Deduction?
A modal logic of contexts with natural
deduction

   Multimodal (constructive) Box-K (Bellin, de Paiva,Ritter2001,
    Bellin1985), system Kn
   Basic problem: Given a sequent rule like
                                    A1, A2, …, An |- B
                      ist(c,A1), ist(c,A2), …, ist(c,An) |- ist(c,B)

    How to build a natural deduction tree with this rule?
   Solution: Modality rule “builds-in” substitutions
                                                A1, A2, …, An
                                                     :
ist(c,A1), ist(c,A2), …, ist(c,An)                  B
                                     ist(c,B)
A modal type theory too…

   Rule leads to term calculus, similar to own
    previous work on constructive S4 and
    linear logic
   Consider first one context c and write
    ist(c,A1) as Box A1
   Also write rules in sequent-style ND
   Modality rule written in FP-style
Γ|-M1:Box A1, Γ|- M2: Box A2, …, Γ|- Mn: Box An, A1, A2, …, An|-M: B
Γ|- Box M with M1, M2, ..Mn for x1,x2,..xn: Box B
Extended Curry-Howard

 Logic     Programming   Cat Semantics
          Lang
Formula   Type           Object




Proof     Term           Morphism
Categorical Semantics of CK

   Model is a cartesian closed category with an
    endofunctor
   This gives sound and complete model for
    term calculus
System CK Properties
   Advantages: (Theorems proved in Bellin,dePaiva,Ritter’01)
     – Axiomatic, Sequent calculus and Natural Deduction presentations
       proved equivalent
     – Strong normalization/cut-elimination
     – Confluent and satisfies subject reduction
     – Corollary: Subformula property
     – Curry-Howard isomorphism (proofs-as-programs)
     – Categorical semantics
   Problems:
     – single rule: no introduction-elimination pair,
     – Only commuting conversions,
     – not a framework (can only do K, S4,…)
   Is it too weak? What kinds of embedded contexts can we have?
    Are they enough for the purpose of the application? (Not in this
    talk…)
Another modal type theory ?

 Separation of the type theory context into boxed
    and not boxed assumptions
   Judgements Γ | Δ |- M: A instead of Box Γ , Δ |- M: A
   Approach works well for S4 and LL
    (Plotkin-Barber-Benton DILL calculus)
 Have good calculus plus categorical semantics
 Can adapt method for CK?
More modal type theory

 Adaptation gives “formal” introduction and elimination
   rules
Γ| - |-M1:Box A1, Γ| - |- M2: Box A2, …, Γ| - |- Mn: Box An,
                                    A1, A2, …, An| Δ |-M: B
Γ| - |- Box M with M1, M2, ..Mn for x1,x2,..xn: Box B
 and “axiom” A | - |- Box A
 Obtain calculus with subject reduction, SN and
   confluence
 Problem: Categorical semantics unclear…
  (monoidal adjunction not meaningful without T and 4)
Kripke Semantics for CK

   Joint with M. Mendler, based on our previous
    work with Alechina and Ritter
   Both necessity and possibility in CK
   Two accessibility relations, ≤ and R
    fallible worlds to deal with lack of axiom ¬◊f
   Theorem: Soundness and completeness of
    possible world semantics with respect to AI
    logicians favorite semantics (draft only)
Comparing systems:
The context logics landscape
    N = Kn + D + Int    PLC:
                        Buvac/Mason
     T = Kn + D

      PLC = Kn + Δ     T: Massaci
           Kn
                       N: Nayak
Conclusions & Further Work
    Kn provides a basic modal logic with natural
    deduction, and a good basis for further extensions
    Kn type theory not brilliant: must choose between
    categorical semantics or inversion principle. Is there
    a way out?
   Context logics using MCS/LMS? Simpson’s framework?
   ND for constructive hybrid logics: use it for context logics ?
   ND for description logics?
   ND systems for the stronger context logics
    such as Massacci’s T and Nayak’s N
   For the NLU project, need quantifier version of Kn?
Thank you!

http://www.cs.bham.ac.uk/~vdp/
KXDC…

   Knowledge eXtraction from Document
    Collections (KXDC)
   Goal: symbolic detection of entailment &
    inconsistency of content in medium-sized,
    domain-specific document collections
   Test domain: Eureka tips
   Meaning representation language needs
    contexts, which kind ?
    Want to know more?
    http://www2.parc.com/istl/groups/nltt/kxdc.html
What makes a good logic ?
     natural deduction + normalization
   A normalization theorem
    – Any proof can be made detour free
    – Detours are introduction of a connective followed
      immediately by its elimination.
   Normalization guarantees
    – Ability to translate into other styles
    – Properties like cut-elimination
       » Means that proofs that use lemmas can be proved without
         them.
    – Subformula property
       » Means that proof search will not lead to infinite regress
Comparison to other systems
   PLC has nice first-order like semantics
    – But controversial ∆ axiom ist(c1,ist(c2,A)) OR ist(c1, NOT(ist(c2,A))
   System N (Nayak) seems too strong
    – Positive (negative) introspection ist(c1,A)  ist(c2, ist(c1,A)),
      hard to deal with proof theoretically and
    – Debatable from the application viewpoint
   Massacci’s system T seems designed to embed PLC
    – Interesting implementation, but mixes syntax and semantics
   MCS/LMS systems, generalization of Prawitz ND
    –   No explicit modality (needs translation)
    –   Labels/contexts are essential,
    –   Need more work to compare labeled systems,
    –   No Curry-Howard Iso, no categorical semantics. Yet?
Comparison: Propositional Logic of
    Contexts (PLC)
   Buvac, Buvac and Mason, Fundamenta Informatica 1995
   Axiomatic system, plus first-order like semantics
    – Comparison to possible worlds semantics
    – Some correspondence theory
   Context as a set of truth assignments, the possible states
    of affairs in that context
   Modality interpreted as validity, “ist(c,A)” is true iff “A” is
    true in all truth assignments associated with “c”
    – Different contexts can have different vocabularies
    – Truth assignments are partial (Kleene 3-valued logic)
   PLC is basically multimodal K plus controversial axiom
    Delta: ist(c1,ist(c2,A)) OR ist(c1, NOT(ist(c2,A))
    if all contexts have the same vocabulary.
Comparison: Massacci’s Tableaux System
   A tableaux version of a logic of contexts would be useful
    –   Massacci’s system T is stronger than PLC, axiom D is valid
    –   (As in PLC) Sequences of basic contexts and
    –   Each context has its own vocabulary
    –   Worked out only for propositional case
   Semantics in terms of superficial valuations & labeled
    deduction rules
    – Complexity results
    – Implementation
   Discussion
    –   Fitting-style system, mixes syntax/semantics
    –   axiom D justification?
    –   Logic tailored to embed PLC?
    –   Cannot provide Natural Deduction with good properties
Comparison: Nayak’s Multiple Theories
   Nayak AAAI’94
   Representing and reasoning with multiple theories
     –   Using modal logic directly, notation
     –   “ist(c, A)” intuitively means ‘in context “c” A holds’.
     –   Each context has its own vocabulary
     –   Worked out only for propositional case
   Traditional (off the shelf) Axiomatic system
     – Awkward “meaningful formulas”
     – Stronger logical properties of modality
     Multimodal K plus ist(c1,A)  ist(c2, ist(c1,A), D
     – Complexity results
   Discussion
     – Generalized introspection (positive and negative) plus axiom D
     ist(c,A)  NOT ist(c, NOT A)
     – Too strong a logic?
     – Cannot provide Natural Deduction with good properties

Weitere ähnliche Inhalte

Was ist angesagt?

Extending the knowledge level of cognitive architectures with Conceptual Spac...
Extending the knowledge level of cognitive architectures with Conceptual Spac...Extending the knowledge level of cognitive architectures with Conceptual Spac...
Extending the knowledge level of cognitive architectures with Conceptual Spac...Antonio Lieto
 
Intuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years laterIntuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years laterValeria de Paiva
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its roleValeria de Paiva
 
Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...
Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...
Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...Facultad de Informática UCM
 
Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusValeria de Paiva
 
A Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type TheoryA Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type TheoryValeria de Paiva
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear LogicsValeria de Paiva
 
Constructive Modal Logics, Once Again
Constructive Modal Logics, Once AgainConstructive Modal Logics, Once Again
Constructive Modal Logics, Once AgainValeria de Paiva
 
Fun with Constructive Modalities
Fun with Constructive ModalitiesFun with Constructive Modalities
Fun with Constructive ModalitiesValeria de Paiva
 
Commonsense reasoning as a key feature for dynamic knowledge invention and co...
Commonsense reasoning as a key feature for dynamic knowledge invention and co...Commonsense reasoning as a key feature for dynamic knowledge invention and co...
Commonsense reasoning as a key feature for dynamic knowledge invention and co...Antonio Lieto
 
Which Rationality For Pragmatics6
Which Rationality For Pragmatics6Which Rationality For Pragmatics6
Which Rationality For Pragmatics6Louis de Saussure
 
The logic(s) of informal proofs (vub)
The logic(s) of informal proofs (vub)The logic(s) of informal proofs (vub)
The logic(s) of informal proofs (vub)Brendan Larvor
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its roleValeria de Paiva
 
Categorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsValeria de Paiva
 
Conceptual Spaces for Cognitive Architectures: A Lingua Franca for Different ...
Conceptual Spaces for Cognitive Architectures: A Lingua Franca for Different ...Conceptual Spaces for Cognitive Architectures: A Lingua Franca for Different ...
Conceptual Spaces for Cognitive Architectures: A Lingua Franca for Different ...Antonio Lieto
 
Relevant Dialectica Categories
Relevant Dialectica CategoriesRelevant Dialectica Categories
Relevant Dialectica CategoriesValeria de Paiva
 
Pure Algebra to Applied AI: a personal journey
Pure Algebra to Applied AI: a personal journeyPure Algebra to Applied AI: a personal journey
Pure Algebra to Applied AI: a personal journeyValeria de Paiva
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its roleValeria de Paiva
 
Discrete Mathematics
Discrete MathematicsDiscrete Mathematics
Discrete Mathematicsmetamath
 
Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusValeria de Paiva
 

Was ist angesagt? (20)

Extending the knowledge level of cognitive architectures with Conceptual Spac...
Extending the knowledge level of cognitive architectures with Conceptual Spac...Extending the knowledge level of cognitive architectures with Conceptual Spac...
Extending the knowledge level of cognitive architectures with Conceptual Spac...
 
Intuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years laterIntuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years later
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its role
 
Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...
Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...
Like Alice in Wonderland: Unraveling Reasoning and Cognition Using Analogies ...
 
Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek Calculus
 
A Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type TheoryA Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type Theory
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
 
Constructive Modal Logics, Once Again
Constructive Modal Logics, Once AgainConstructive Modal Logics, Once Again
Constructive Modal Logics, Once Again
 
Fun with Constructive Modalities
Fun with Constructive ModalitiesFun with Constructive Modalities
Fun with Constructive Modalities
 
Commonsense reasoning as a key feature for dynamic knowledge invention and co...
Commonsense reasoning as a key feature for dynamic knowledge invention and co...Commonsense reasoning as a key feature for dynamic knowledge invention and co...
Commonsense reasoning as a key feature for dynamic knowledge invention and co...
 
Which Rationality For Pragmatics6
Which Rationality For Pragmatics6Which Rationality For Pragmatics6
Which Rationality For Pragmatics6
 
The logic(s) of informal proofs (vub)
The logic(s) of informal proofs (vub)The logic(s) of informal proofs (vub)
The logic(s) of informal proofs (vub)
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its role
 
Categorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit Substitutions
 
Conceptual Spaces for Cognitive Architectures: A Lingua Franca for Different ...
Conceptual Spaces for Cognitive Architectures: A Lingua Franca for Different ...Conceptual Spaces for Cognitive Architectures: A Lingua Franca for Different ...
Conceptual Spaces for Cognitive Architectures: A Lingua Franca for Different ...
 
Relevant Dialectica Categories
Relevant Dialectica CategoriesRelevant Dialectica Categories
Relevant Dialectica Categories
 
Pure Algebra to Applied AI: a personal journey
Pure Algebra to Applied AI: a personal journeyPure Algebra to Applied AI: a personal journey
Pure Algebra to Applied AI: a personal journey
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its role
 
Discrete Mathematics
Discrete MathematicsDiscrete Mathematics
Discrete Mathematics
 
Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek Calculus
 

Andere mochten auch

Categorical Type Theory and its Uses
Categorical Type Theory and its UsesCategorical Type Theory and its Uses
Categorical Type Theory and its UsesValeria de Paiva
 
Logics and Ontologies for Portuguese Understanding
Logics and Ontologies for Portuguese UnderstandingLogics and Ontologies for Portuguese Understanding
Logics and Ontologies for Portuguese UnderstandingValeria de Paiva
 
Seeing is Correcting:Linked Open Data for Portuguese
Seeing is Correcting:Linked Open Data for PortugueseSeeing is Correcting:Linked Open Data for Portuguese
Seeing is Correcting:Linked Open Data for PortugueseValeria de Paiva
 
Lean Logic for Lean Times: Varieties of Natural Logic
Lean Logic for Lean Times: Varieties of Natural LogicLean Logic for Lean Times: Varieties of Natural Logic
Lean Logic for Lean Times: Varieties of Natural LogicValeria de Paiva
 
Portuguese Linguistic Tools: What, Why and How
Portuguese Linguistic Tools: What, Why and HowPortuguese Linguistic Tools: What, Why and How
Portuguese Linguistic Tools: What, Why and HowValeria de Paiva
 
How does biology explain the low numbers of women in computer science? Hint:...
How does biology explain the low numbers of women in computer science?  Hint:...How does biology explain the low numbers of women in computer science?  Hint:...
How does biology explain the low numbers of women in computer science? Hint:...Terri Oda
 
Functors, Comonads, and Digital Image Processing
Functors, Comonads, and Digital Image ProcessingFunctors, Comonads, and Digital Image Processing
Functors, Comonads, and Digital Image ProcessingJustin Le
 

Andere mochten auch (7)

Categorical Type Theory and its Uses
Categorical Type Theory and its UsesCategorical Type Theory and its Uses
Categorical Type Theory and its Uses
 
Logics and Ontologies for Portuguese Understanding
Logics and Ontologies for Portuguese UnderstandingLogics and Ontologies for Portuguese Understanding
Logics and Ontologies for Portuguese Understanding
 
Seeing is Correcting:Linked Open Data for Portuguese
Seeing is Correcting:Linked Open Data for PortugueseSeeing is Correcting:Linked Open Data for Portuguese
Seeing is Correcting:Linked Open Data for Portuguese
 
Lean Logic for Lean Times: Varieties of Natural Logic
Lean Logic for Lean Times: Varieties of Natural LogicLean Logic for Lean Times: Varieties of Natural Logic
Lean Logic for Lean Times: Varieties of Natural Logic
 
Portuguese Linguistic Tools: What, Why and How
Portuguese Linguistic Tools: What, Why and HowPortuguese Linguistic Tools: What, Why and How
Portuguese Linguistic Tools: What, Why and How
 
How does biology explain the low numbers of women in computer science? Hint:...
How does biology explain the low numbers of women in computer science?  Hint:...How does biology explain the low numbers of women in computer science?  Hint:...
How does biology explain the low numbers of women in computer science? Hint:...
 
Functors, Comonads, and Digital Image Processing
Functors, Comonads, and Digital Image ProcessingFunctors, Comonads, and Digital Image Processing
Functors, Comonads, and Digital Image Processing
 

Ähnlich wie Logics of Context and Modal Type Theories

Cognitive Agents with Commonsense - Invited Talk at Istituto Italiano di Tecn...
Cognitive Agents with Commonsense - Invited Talk at Istituto Italiano di Tecn...Cognitive Agents with Commonsense - Invited Talk at Istituto Italiano di Tecn...
Cognitive Agents with Commonsense - Invited Talk at Istituto Italiano di Tecn...Antonio Lieto
 
Presentation on Machine Learning and Data Mining
Presentation on Machine Learning and Data MiningPresentation on Machine Learning and Data Mining
Presentation on Machine Learning and Data Miningbutest
 
Statistical Machine________ Learning.ppt
Statistical Machine________ Learning.pptStatistical Machine________ Learning.ppt
Statistical Machine________ Learning.pptSandeepGupta229023
 
Lloyd Swarmfest 2010 Presentation
Lloyd   Swarmfest 2010 PresentationLloyd   Swarmfest 2010 Presentation
Lloyd Swarmfest 2010 Presentationkalloyd
 
17- Kernels and Clustering.pptx
17- Kernels and Clustering.pptx17- Kernels and Clustering.pptx
17- Kernels and Clustering.pptxssuser2023c6
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear LogicsValeria de Paiva
 
Different Semantic Perspectives for Question Answering Systems
Different Semantic Perspectives for Question Answering SystemsDifferent Semantic Perspectives for Question Answering Systems
Different Semantic Perspectives for Question Answering SystemsAndre Freitas
 
Introduction to Machine Learning.
Introduction to Machine Learning.Introduction to Machine Learning.
Introduction to Machine Learning.butest
 
20070702 Text Categorization
20070702 Text Categorization20070702 Text Categorization
20070702 Text Categorizationmidi
 
Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401butest
 
Survey of Analogy Reasoning
Survey of Analogy ReasoningSurvey of Analogy Reasoning
Survey of Analogy ReasoningSang-Kyun Kim
 
abstrakty přijatých příspěvků.doc
abstrakty přijatých příspěvků.docabstrakty přijatých příspěvků.doc
abstrakty přijatých příspěvků.docbutest
 
Introduction to Morphological Analysis: Decision Support with Non-Quantified ...
Introduction to Morphological Analysis: Decision Support with Non-Quantified ...Introduction to Morphological Analysis: Decision Support with Non-Quantified ...
Introduction to Morphological Analysis: Decision Support with Non-Quantified ...Vincenz Klemt
 
The Role Of Ontology In Modern Expert Systems Dallas 2008
The Role Of Ontology In Modern Expert Systems   Dallas   2008The Role Of Ontology In Modern Expert Systems   Dallas   2008
The Role Of Ontology In Modern Expert Systems Dallas 2008Jason Morris
 
Invited Tutorial - Cognitive Design for Artificial Minds AI*IA 2022
Invited Tutorial - Cognitive Design for Artificial Minds AI*IA 2022Invited Tutorial - Cognitive Design for Artificial Minds AI*IA 2022
Invited Tutorial - Cognitive Design for Artificial Minds AI*IA 2022Antonio Lieto
 
Generalization abstraction
Generalization abstractionGeneralization abstraction
Generalization abstractionEdward Blurock
 
Latent Dirichlet Allocation
Latent Dirichlet AllocationLatent Dirichlet Allocation
Latent Dirichlet AllocationMarco Righini
 
Kernel Methods and Relational Learning in Computational Biology
Kernel Methods and Relational Learning in Computational BiologyKernel Methods and Relational Learning in Computational Biology
Kernel Methods and Relational Learning in Computational BiologyMichiel Stock
 
MLlecture1.ppt
MLlecture1.pptMLlecture1.ppt
MLlecture1.pptbutest
 
MLlecture1.ppt
MLlecture1.pptMLlecture1.ppt
MLlecture1.pptbutest
 

Ähnlich wie Logics of Context and Modal Type Theories (20)

Cognitive Agents with Commonsense - Invited Talk at Istituto Italiano di Tecn...
Cognitive Agents with Commonsense - Invited Talk at Istituto Italiano di Tecn...Cognitive Agents with Commonsense - Invited Talk at Istituto Italiano di Tecn...
Cognitive Agents with Commonsense - Invited Talk at Istituto Italiano di Tecn...
 
Presentation on Machine Learning and Data Mining
Presentation on Machine Learning and Data MiningPresentation on Machine Learning and Data Mining
Presentation on Machine Learning and Data Mining
 
Statistical Machine________ Learning.ppt
Statistical Machine________ Learning.pptStatistical Machine________ Learning.ppt
Statistical Machine________ Learning.ppt
 
Lloyd Swarmfest 2010 Presentation
Lloyd   Swarmfest 2010 PresentationLloyd   Swarmfest 2010 Presentation
Lloyd Swarmfest 2010 Presentation
 
17- Kernels and Clustering.pptx
17- Kernels and Clustering.pptx17- Kernels and Clustering.pptx
17- Kernels and Clustering.pptx
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
 
Different Semantic Perspectives for Question Answering Systems
Different Semantic Perspectives for Question Answering SystemsDifferent Semantic Perspectives for Question Answering Systems
Different Semantic Perspectives for Question Answering Systems
 
Introduction to Machine Learning.
Introduction to Machine Learning.Introduction to Machine Learning.
Introduction to Machine Learning.
 
20070702 Text Categorization
20070702 Text Categorization20070702 Text Categorization
20070702 Text Categorization
 
Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401
 
Survey of Analogy Reasoning
Survey of Analogy ReasoningSurvey of Analogy Reasoning
Survey of Analogy Reasoning
 
abstrakty přijatých příspěvků.doc
abstrakty přijatých příspěvků.docabstrakty přijatých příspěvků.doc
abstrakty přijatých příspěvků.doc
 
Introduction to Morphological Analysis: Decision Support with Non-Quantified ...
Introduction to Morphological Analysis: Decision Support with Non-Quantified ...Introduction to Morphological Analysis: Decision Support with Non-Quantified ...
Introduction to Morphological Analysis: Decision Support with Non-Quantified ...
 
The Role Of Ontology In Modern Expert Systems Dallas 2008
The Role Of Ontology In Modern Expert Systems   Dallas   2008The Role Of Ontology In Modern Expert Systems   Dallas   2008
The Role Of Ontology In Modern Expert Systems Dallas 2008
 
Invited Tutorial - Cognitive Design for Artificial Minds AI*IA 2022
Invited Tutorial - Cognitive Design for Artificial Minds AI*IA 2022Invited Tutorial - Cognitive Design for Artificial Minds AI*IA 2022
Invited Tutorial - Cognitive Design for Artificial Minds AI*IA 2022
 
Generalization abstraction
Generalization abstractionGeneralization abstraction
Generalization abstraction
 
Latent Dirichlet Allocation
Latent Dirichlet AllocationLatent Dirichlet Allocation
Latent Dirichlet Allocation
 
Kernel Methods and Relational Learning in Computational Biology
Kernel Methods and Relational Learning in Computational BiologyKernel Methods and Relational Learning in Computational Biology
Kernel Methods and Relational Learning in Computational Biology
 
MLlecture1.ppt
MLlecture1.pptMLlecture1.ppt
MLlecture1.ppt
 
MLlecture1.ppt
MLlecture1.pptMLlecture1.ppt
MLlecture1.ppt
 

Mehr von Valeria de Paiva

Dialectica Categorical Constructions
Dialectica Categorical ConstructionsDialectica Categorical Constructions
Dialectica Categorical ConstructionsValeria de Paiva
 
Logic & Representation 2021
Logic & Representation 2021Logic & Representation 2021
Logic & Representation 2021Valeria de Paiva
 
Dialectica Categories Revisited
Dialectica Categories RevisitedDialectica Categories Revisited
Dialectica Categories RevisitedValeria de Paiva
 
Networked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceNetworked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceValeria de Paiva
 
Problemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoProblemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoValeria de Paiva
 
Natural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesNatural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesValeria de Paiva
 
The importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseThe importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseValeria de Paiva
 
Semantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTSemantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTValeria de Paiva
 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogValeria de Paiva
 
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)Valeria de Paiva
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsValeria de Paiva
 
Gender Gap in Computing 2014
Gender Gap in Computing 2014Gender Gap in Computing 2014
Gender Gap in Computing 2014Valeria de Paiva
 
Categorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneCategorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneValeria de Paiva
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsValeria de Paiva
 
Linear Logic and Constructive Mathematics, after Shulman
Linear Logic and Constructive Mathematics, after ShulmanLinear Logic and Constructive Mathematics, after Shulman
Linear Logic and Constructive Mathematics, after ShulmanValeria de Paiva
 

Mehr von Valeria de Paiva (19)

Dialectica Comonoids
Dialectica ComonoidsDialectica Comonoids
Dialectica Comonoids
 
Dialectica Categorical Constructions
Dialectica Categorical ConstructionsDialectica Categorical Constructions
Dialectica Categorical Constructions
 
Logic & Representation 2021
Logic & Representation 2021Logic & Representation 2021
Logic & Representation 2021
 
Dialectica Categories Revisited
Dialectica Categories RevisitedDialectica Categories Revisited
Dialectica Categories Revisited
 
PLN para Tod@s
PLN para Tod@sPLN para Tod@s
PLN para Tod@s
 
Networked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceNetworked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better Science
 
Problemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoProblemas de Kolmogorov-Veloso
Problemas de Kolmogorov-Veloso
 
Natural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesNatural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and Machines
 
Dialectica Petri Nets
Dialectica Petri NetsDialectica Petri Nets
Dialectica Petri Nets
 
The importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseThe importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in Portuguese
 
Semantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTSemantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACT
 
NLCS 2013 opening slides
NLCS 2013 opening slidesNLCS 2013 opening slides
NLCS 2013 opening slides
 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for Dialog
 
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
 
Gender Gap in Computing 2014
Gender Gap in Computing 2014Gender Gap in Computing 2014
Gender Gap in Computing 2014
 
Categorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneCategorical Proof Theory for Everyone
Categorical Proof Theory for Everyone
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
 
Linear Logic and Constructive Mathematics, after Shulman
Linear Logic and Constructive Mathematics, after ShulmanLinear Logic and Constructive Mathematics, after Shulman
Linear Logic and Constructive Mathematics, after Shulman
 

Kürzlich hochgeladen

From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 

Kürzlich hochgeladen (20)

From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 

Logics of Context and Modal Type Theories

  • 1. Logics of Context and Modal Type Theories Valeria de Paiva Systems and Practices Lab
  • 2. Caveats  Joint work with Bellin/Ritter and Mendler.  Talk at CONTEXT’03, the fourth international multidisciplinary conference on context, in Stanford, June’03. Notions of context for a variety of applications  Theme of my talk then: Proof Theory is essential for a logic of contexts.  Today: what are AI contexts? why are they useful ? why should you care about them?
  • 3. Motivating Example  Consider a reliable, factual report about weapons proliferation: "Gulf ImpEx imported 5 shipments of medical goods in 1999. Their shipping records claim that none of the shipments contained any dual use materials. We have learned that at least one shipment contained 2 tons of fissile material. Most of this was of such low radioactivity as to prevent its dual use. We do not know whether the remainder of the fissile material could have been dual use.“  Question: according to this report, did Gulf ImpEx import any dual use materials?
  • 4. Example continued  To answer the question you needed to get inside several contexts, introduced by claim, learn, prevent, know, could.  On an individual basis not hard. If “Biopreparat claims that Russia’s stockpile of viruses has been destroyed.” it doesn’t mean that the stockpile has been destroyed. (even my 10-year old can tell you that!)  All obvious/old hat logical stuff, but we need to reason about these possibilities. Could use contexts.
  • 5. Context analysis tasks  To identify contextual structure and embedding, within sentences and texts  To identify all the logical inferences that can be validly drawn from any given text (and only these).  To enable reasoning across contexts e.g.: – If X claims that Y believes P, then X is not claiming that P is true – If X claims that Y knows P, then X claims that P is true This talk focuses on logical machinery for the tasks of reasoning about and across contexts, in a formal way, using machinery that you’re familiar with.
  • 6. Summing up  Goal: “Investigate existent logics of context for KR and design one for our project on symbolic text understanding”  There are a variety of these context logics – They capture slightly different intuitions – They are hard to compare logically – They lack important proof-theoretic properties  Need to choose a methodology, design criteria for choosing & comparing logics, and apply it.
  • 7. Overview  Background  Methodology: Proof theory counts  Designing a Logic of Context &  Simple Modal type theories  Results: system, properties & comparisons  Conclusions
  • 8. The Importance of Proof Theory The structure of proofs is as important to a logic as what it can prove  A logic is defined as much by the patterns of inference it allows (proof theory) as by its semantics (model theory)  Proof-theoretical properties (such as cut-elimination, strong normalization, sub-formula property etc.) lead to efficient, correct implementations – Soundness and completeness are not enough  In AI: if you want to generate explanations from proofs, the structures of proofs matter  Proof theory provides tools for looking at proof structure  Main Tool here: Extended Curry-Howard isomorphism
  • 9. Logic of Contexts & Modality (McCarthy’93)  Goal: To provide AI programs with human capabilities, like reasoning in context.  Engineering attitude: contexts as abstract mathematical entities with useful properties – Which kind of mathematical entities? Which properties? Useful for what?  Basic ideas: – introduce syntactic modality ist(c,p) meaning proposition p is true in context c. – ist(c,p) always asserted within a context c’ – Contexts can be entered and exited
  • 10. Contexts, Modality, Natural Deduction  McCarthy wanted a Natural Deduction system because of the natural correspondence between: – introducing/discharging hypotheses – entering/exiting contexts  McCarthy’s followers (Buvac/Mason) formalized context logic as Hilbert-style modal logic  Modal logics are good because: – Modalities allow control over the context in which embedded expressions are evaluated. – Modalities avoid problems with self-referential paradoxes  But most modal logics are not well-behaved proof- theoretically, they don’t easily support natural deduction How to get a modal logic of contexts with Natural Deduction?
  • 11. A modal logic of contexts with natural deduction  Multimodal (constructive) Box-K (Bellin, de Paiva,Ritter2001, Bellin1985), system Kn  Basic problem: Given a sequent rule like A1, A2, …, An |- B ist(c,A1), ist(c,A2), …, ist(c,An) |- ist(c,B) How to build a natural deduction tree with this rule?  Solution: Modality rule “builds-in” substitutions A1, A2, …, An : ist(c,A1), ist(c,A2), …, ist(c,An) B ist(c,B)
  • 12. A modal type theory too…  Rule leads to term calculus, similar to own previous work on constructive S4 and linear logic  Consider first one context c and write ist(c,A1) as Box A1  Also write rules in sequent-style ND  Modality rule written in FP-style Γ|-M1:Box A1, Γ|- M2: Box A2, …, Γ|- Mn: Box An, A1, A2, …, An|-M: B Γ|- Box M with M1, M2, ..Mn for x1,x2,..xn: Box B
  • 13. Extended Curry-Howard Logic Programming Cat Semantics Lang Formula Type Object Proof Term Morphism
  • 14. Categorical Semantics of CK  Model is a cartesian closed category with an endofunctor  This gives sound and complete model for term calculus
  • 15. System CK Properties  Advantages: (Theorems proved in Bellin,dePaiva,Ritter’01) – Axiomatic, Sequent calculus and Natural Deduction presentations proved equivalent – Strong normalization/cut-elimination – Confluent and satisfies subject reduction – Corollary: Subformula property – Curry-Howard isomorphism (proofs-as-programs) – Categorical semantics  Problems: – single rule: no introduction-elimination pair, – Only commuting conversions, – not a framework (can only do K, S4,…)  Is it too weak? What kinds of embedded contexts can we have? Are they enough for the purpose of the application? (Not in this talk…)
  • 16. Another modal type theory ?  Separation of the type theory context into boxed and not boxed assumptions  Judgements Γ | Δ |- M: A instead of Box Γ , Δ |- M: A  Approach works well for S4 and LL (Plotkin-Barber-Benton DILL calculus)  Have good calculus plus categorical semantics  Can adapt method for CK?
  • 17. More modal type theory  Adaptation gives “formal” introduction and elimination rules Γ| - |-M1:Box A1, Γ| - |- M2: Box A2, …, Γ| - |- Mn: Box An, A1, A2, …, An| Δ |-M: B Γ| - |- Box M with M1, M2, ..Mn for x1,x2,..xn: Box B and “axiom” A | - |- Box A  Obtain calculus with subject reduction, SN and confluence  Problem: Categorical semantics unclear… (monoidal adjunction not meaningful without T and 4)
  • 18. Kripke Semantics for CK  Joint with M. Mendler, based on our previous work with Alechina and Ritter  Both necessity and possibility in CK  Two accessibility relations, ≤ and R  fallible worlds to deal with lack of axiom ¬◊f  Theorem: Soundness and completeness of possible world semantics with respect to AI logicians favorite semantics (draft only)
  • 19. Comparing systems: The context logics landscape N = Kn + D + Int PLC: Buvac/Mason T = Kn + D PLC = Kn + Δ T: Massaci Kn N: Nayak
  • 20. Conclusions & Further Work  Kn provides a basic modal logic with natural deduction, and a good basis for further extensions  Kn type theory not brilliant: must choose between categorical semantics or inversion principle. Is there a way out?  Context logics using MCS/LMS? Simpson’s framework?  ND for constructive hybrid logics: use it for context logics ?  ND for description logics?  ND systems for the stronger context logics such as Massacci’s T and Nayak’s N  For the NLU project, need quantifier version of Kn?
  • 22. KXDC…  Knowledge eXtraction from Document Collections (KXDC)  Goal: symbolic detection of entailment & inconsistency of content in medium-sized, domain-specific document collections  Test domain: Eureka tips  Meaning representation language needs contexts, which kind ? Want to know more? http://www2.parc.com/istl/groups/nltt/kxdc.html
  • 23. What makes a good logic ? natural deduction + normalization  A normalization theorem – Any proof can be made detour free – Detours are introduction of a connective followed immediately by its elimination.  Normalization guarantees – Ability to translate into other styles – Properties like cut-elimination » Means that proofs that use lemmas can be proved without them. – Subformula property » Means that proof search will not lead to infinite regress
  • 24. Comparison to other systems  PLC has nice first-order like semantics – But controversial ∆ axiom ist(c1,ist(c2,A)) OR ist(c1, NOT(ist(c2,A))  System N (Nayak) seems too strong – Positive (negative) introspection ist(c1,A)  ist(c2, ist(c1,A)), hard to deal with proof theoretically and – Debatable from the application viewpoint  Massacci’s system T seems designed to embed PLC – Interesting implementation, but mixes syntax and semantics  MCS/LMS systems, generalization of Prawitz ND – No explicit modality (needs translation) – Labels/contexts are essential, – Need more work to compare labeled systems, – No Curry-Howard Iso, no categorical semantics. Yet?
  • 25. Comparison: Propositional Logic of Contexts (PLC)  Buvac, Buvac and Mason, Fundamenta Informatica 1995  Axiomatic system, plus first-order like semantics – Comparison to possible worlds semantics – Some correspondence theory  Context as a set of truth assignments, the possible states of affairs in that context  Modality interpreted as validity, “ist(c,A)” is true iff “A” is true in all truth assignments associated with “c” – Different contexts can have different vocabularies – Truth assignments are partial (Kleene 3-valued logic)  PLC is basically multimodal K plus controversial axiom Delta: ist(c1,ist(c2,A)) OR ist(c1, NOT(ist(c2,A)) if all contexts have the same vocabulary.
  • 26. Comparison: Massacci’s Tableaux System  A tableaux version of a logic of contexts would be useful – Massacci’s system T is stronger than PLC, axiom D is valid – (As in PLC) Sequences of basic contexts and – Each context has its own vocabulary – Worked out only for propositional case  Semantics in terms of superficial valuations & labeled deduction rules – Complexity results – Implementation  Discussion – Fitting-style system, mixes syntax/semantics – axiom D justification? – Logic tailored to embed PLC? – Cannot provide Natural Deduction with good properties
  • 27. Comparison: Nayak’s Multiple Theories  Nayak AAAI’94  Representing and reasoning with multiple theories – Using modal logic directly, notation – “ist(c, A)” intuitively means ‘in context “c” A holds’. – Each context has its own vocabulary – Worked out only for propositional case  Traditional (off the shelf) Axiomatic system – Awkward “meaningful formulas” – Stronger logical properties of modality Multimodal K plus ist(c1,A)  ist(c2, ist(c1,A), D – Complexity results  Discussion – Generalized introspection (positive and negative) plus axiom D ist(c,A)  NOT ist(c, NOT A) – Too strong a logic? – Cannot provide Natural Deduction with good properties