SlideShare a Scribd company logo
METAMATHEMATICS OF CONTEXTS
Outline
Introduction to contexts
The general system
 Notation
 Syntax
 Semantics
    Models
    Vocabularies
    Satisfaction
  Provability
  Useful theorems
Extensions for the general system
 Consistency Model
 Truth Model
 Flatness Model
How context formalism can be useful?
• In the context of situation calculus


  • On(x , y , s) – Object x is on top of object y in situation s.


  • Above(x , y , s) – Situation calculus does not have a definition for above.


  So, using context formalism, the agent can (import) the definition of above
  from the context of common sense knowledge.

  E.g. Above means on. The agent then should relate that Above(x , y, s)
  means On(x , y , s)
Propositional logic of contexts

•                modality is used to express that sentence
    holds in context

• Each context has it’s own vocabulary.


• The vocabulary of a context is the set of atoms that are
    meaningful in that context.
Notation
• Given that X and Y are Sets then:

  •          is the set of partial functions from X to Y.

  •       is the set of subsets of X.

  •    is the set of all finite sequences in X that can be treated as a tree.

  •                    is a range over     .

  •   is the empty sequence.
Syntax
• Let   be the set of all contexts, P be the set of all propositional
  atoms.
• We can now build the set      of all well-formed formulas (wffs)
  using K and P in the following recursive fashion:




• We will also be using the following abbreviations
Semantics - Model
• In this system, a model  , will be a function which maps a
 context sequence to a set of partial truth assignments denoted
 by       or    .




• Why a context sequence instead of a single context?


• The truth assignments need to be partial. Why?
Semantics - Vocabularies
• A Vocabulary of a context is the set of atoms that are
    meaningful in that context.



•         is a function that given a model      , returns the
    vocabulary for that model.




• Different contexts can have different vocabularies. That’s why
    the truth assignments need to be partial.
Semantics - Satisfaction

•




    Why? Because we add a third logic value other than true, false. So if X is not true, it
    doesn’t have to be false.
Provability




•   A formula is provable in context    with vocabulary Vocab iff it is an instance of an
    axiom schema or follows from provable formulas by the inference rules mentioned
    above.
Useful Theorems




 Ps. The previous theorems are proved using the axioms, inference rules in the
 previous slide.
System Extensions - Consistency
• Sometimes it’s desirable to ensure that all contexts are
 consistent.

• In this extension we examine the class of consistent models
      . A model               iff for any context sequence   in
the domain of that model               holds.

• In other words, if no two truth assignments give different truth
 values for the same atom, then the model that maps the
 context to these truth assignments can be described as
 consistent.
System Extension - Truth
• A model   is a truth model, formally     iff for any
 context sequence in the domain of that model,

• In other words, if the model has only one or less truth
 assignment function, it can be described as a truth model.
System Extension - Flatness
• For some applications, all contexts will be identical regardless
 of which context are they viewed from. This is called flatness.




• A model  is flat, formally       , iff for any context
 sequences           and any context
Questions 
Thank you

More Related Content

Similar to Metamathematics of contexts

AI Lesson 11
AI Lesson 11AI Lesson 11
AI Lesson 11
Assistant Professor
 
Logic in Predicate and Propositional Logic
Logic in Predicate and Propositional LogicLogic in Predicate and Propositional Logic
Logic in Predicate and Propositional Logic
ArchanaT32
 
SWRL Overview
SWRL OverviewSWRL Overview
SWRL Overview
Emiliano Reynares
 
NLP_KASHK:Evaluating Language Model
NLP_KASHK:Evaluating Language ModelNLP_KASHK:Evaluating Language Model
NLP_KASHK:Evaluating Language Model
Hemantha Kulathilake
 
Optimizing Near-Synonym System
Optimizing Near-Synonym SystemOptimizing Near-Synonym System
Optimizing Near-Synonym System
Siyuan Zhou
 
Roee Aharoni - 2017 - Towards String-to-Tree Neural Machine Translation
Roee Aharoni - 2017 - Towards String-to-Tree Neural Machine TranslationRoee Aharoni - 2017 - Towards String-to-Tree Neural Machine Translation
Roee Aharoni - 2017 - Towards String-to-Tree Neural Machine Translation
Association for Computational Linguistics
 
Propositional logic(part 2)
Propositional logic(part 2)Propositional logic(part 2)
Propositional logic(part 2)
SURBHI SAROHA
 
17 1 knowledge-based system
17 1 knowledge-based system17 1 knowledge-based system
17 1 knowledge-based system
Tianlu Wang
 
The Reflection Theorem: Formalizing Meta-Theoretic Reasoning
The Reflection Theorem: Formalizing Meta-Theoretic ReasoningThe Reflection Theorem: Formalizing Meta-Theoretic Reasoning
The Reflection Theorem: Formalizing Meta-Theoretic Reasoning
Lawrence Paulson
 
predicateLogic.ppt
predicateLogic.pptpredicateLogic.ppt
predicateLogic.ppt
MUZAMILALI48
 
Unit-4-Knowledge-representation.pdf
Unit-4-Knowledge-representation.pdfUnit-4-Knowledge-representation.pdf
Unit-4-Knowledge-representation.pdf
HrideshSapkota2
 
Structural Equation Modelling (SEM) Part 1
Structural Equation Modelling (SEM) Part 1Structural Equation Modelling (SEM) Part 1
Structural Equation Modelling (SEM) Part 1
COSTARCH Analytical Consulting (P) Ltd.
 
MACHINE LEARNING-LEARNING RULE
MACHINE LEARNING-LEARNING RULEMACHINE LEARNING-LEARNING RULE
MACHINE LEARNING-LEARNING RULE
DrBindhuM
 
Chapter 5 (final)
Chapter 5 (final)Chapter 5 (final)
Chapter 5 (final)
Nateshwar Kamlesh
 
INTERPRETER.ppt
INTERPRETER.pptINTERPRETER.ppt
INTERPRETER.ppt
ssuser2454e81
 
Word_Embedding.pptx
Word_Embedding.pptxWord_Embedding.pptx
Word_Embedding.pptx
NameetDaga1
 
A Framework for Self-Tuning Optimization Algorithm
A Framework for Self-Tuning Optimization AlgorithmA Framework for Self-Tuning Optimization Algorithm
A Framework for Self-Tuning Optimization Algorithm
Xin-She Yang
 
ML slide share.pptx
ML slide share.pptxML slide share.pptx
ML slide share.pptx
GoodReads1
 
Swarm Intelligence Based Algorithms: A Critical Analysis
Swarm Intelligence Based Algorithms: A Critical AnalysisSwarm Intelligence Based Algorithms: A Critical Analysis
Swarm Intelligence Based Algorithms: A Critical Analysis
Xin-She Yang
 
Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)
SHUBHAM KUMAR GUPTA
 

Similar to Metamathematics of contexts (20)

AI Lesson 11
AI Lesson 11AI Lesson 11
AI Lesson 11
 
Logic in Predicate and Propositional Logic
Logic in Predicate and Propositional LogicLogic in Predicate and Propositional Logic
Logic in Predicate and Propositional Logic
 
SWRL Overview
SWRL OverviewSWRL Overview
SWRL Overview
 
NLP_KASHK:Evaluating Language Model
NLP_KASHK:Evaluating Language ModelNLP_KASHK:Evaluating Language Model
NLP_KASHK:Evaluating Language Model
 
Optimizing Near-Synonym System
Optimizing Near-Synonym SystemOptimizing Near-Synonym System
Optimizing Near-Synonym System
 
Roee Aharoni - 2017 - Towards String-to-Tree Neural Machine Translation
Roee Aharoni - 2017 - Towards String-to-Tree Neural Machine TranslationRoee Aharoni - 2017 - Towards String-to-Tree Neural Machine Translation
Roee Aharoni - 2017 - Towards String-to-Tree Neural Machine Translation
 
Propositional logic(part 2)
Propositional logic(part 2)Propositional logic(part 2)
Propositional logic(part 2)
 
17 1 knowledge-based system
17 1 knowledge-based system17 1 knowledge-based system
17 1 knowledge-based system
 
The Reflection Theorem: Formalizing Meta-Theoretic Reasoning
The Reflection Theorem: Formalizing Meta-Theoretic ReasoningThe Reflection Theorem: Formalizing Meta-Theoretic Reasoning
The Reflection Theorem: Formalizing Meta-Theoretic Reasoning
 
predicateLogic.ppt
predicateLogic.pptpredicateLogic.ppt
predicateLogic.ppt
 
Unit-4-Knowledge-representation.pdf
Unit-4-Knowledge-representation.pdfUnit-4-Knowledge-representation.pdf
Unit-4-Knowledge-representation.pdf
 
Structural Equation Modelling (SEM) Part 1
Structural Equation Modelling (SEM) Part 1Structural Equation Modelling (SEM) Part 1
Structural Equation Modelling (SEM) Part 1
 
MACHINE LEARNING-LEARNING RULE
MACHINE LEARNING-LEARNING RULEMACHINE LEARNING-LEARNING RULE
MACHINE LEARNING-LEARNING RULE
 
Chapter 5 (final)
Chapter 5 (final)Chapter 5 (final)
Chapter 5 (final)
 
INTERPRETER.ppt
INTERPRETER.pptINTERPRETER.ppt
INTERPRETER.ppt
 
Word_Embedding.pptx
Word_Embedding.pptxWord_Embedding.pptx
Word_Embedding.pptx
 
A Framework for Self-Tuning Optimization Algorithm
A Framework for Self-Tuning Optimization AlgorithmA Framework for Self-Tuning Optimization Algorithm
A Framework for Self-Tuning Optimization Algorithm
 
ML slide share.pptx
ML slide share.pptxML slide share.pptx
ML slide share.pptx
 
Swarm Intelligence Based Algorithms: A Critical Analysis
Swarm Intelligence Based Algorithms: A Critical AnalysisSwarm Intelligence Based Algorithms: A Critical Analysis
Swarm Intelligence Based Algorithms: A Critical Analysis
 
Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)
 

Recently uploaded

Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
Neo4j
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
Jason Yip
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
Public CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptxPublic CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptx
marufrahmanstratejm
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 

Recently uploaded (20)

Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
Public CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptxPublic CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptx
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 

Metamathematics of contexts

  • 2. Outline Introduction to contexts The general system Notation Syntax Semantics Models Vocabularies Satisfaction Provability Useful theorems Extensions for the general system Consistency Model Truth Model Flatness Model
  • 3. How context formalism can be useful? • In the context of situation calculus • On(x , y , s) – Object x is on top of object y in situation s. • Above(x , y , s) – Situation calculus does not have a definition for above. So, using context formalism, the agent can (import) the definition of above from the context of common sense knowledge. E.g. Above means on. The agent then should relate that Above(x , y, s) means On(x , y , s)
  • 4. Propositional logic of contexts • modality is used to express that sentence holds in context • Each context has it’s own vocabulary. • The vocabulary of a context is the set of atoms that are meaningful in that context.
  • 5. Notation • Given that X and Y are Sets then: • is the set of partial functions from X to Y. • is the set of subsets of X. • is the set of all finite sequences in X that can be treated as a tree. • is a range over . • is the empty sequence.
  • 6. Syntax • Let be the set of all contexts, P be the set of all propositional atoms. • We can now build the set of all well-formed formulas (wffs) using K and P in the following recursive fashion: • We will also be using the following abbreviations
  • 7. Semantics - Model • In this system, a model , will be a function which maps a context sequence to a set of partial truth assignments denoted by or . • Why a context sequence instead of a single context? • The truth assignments need to be partial. Why?
  • 8. Semantics - Vocabularies • A Vocabulary of a context is the set of atoms that are meaningful in that context. • is a function that given a model , returns the vocabulary for that model. • Different contexts can have different vocabularies. That’s why the truth assignments need to be partial.
  • 9. Semantics - Satisfaction • Why? Because we add a third logic value other than true, false. So if X is not true, it doesn’t have to be false.
  • 10. Provability • A formula is provable in context with vocabulary Vocab iff it is an instance of an axiom schema or follows from provable formulas by the inference rules mentioned above.
  • 11. Useful Theorems Ps. The previous theorems are proved using the axioms, inference rules in the previous slide.
  • 12. System Extensions - Consistency • Sometimes it’s desirable to ensure that all contexts are consistent. • In this extension we examine the class of consistent models . A model iff for any context sequence in the domain of that model holds. • In other words, if no two truth assignments give different truth values for the same atom, then the model that maps the context to these truth assignments can be described as consistent.
  • 13. System Extension - Truth • A model is a truth model, formally iff for any context sequence in the domain of that model, • In other words, if the model has only one or less truth assignment function, it can be described as a truth model.
  • 14. System Extension - Flatness • For some applications, all contexts will be identical regardless of which context are they viewed from. This is called flatness. • A model is flat, formally , iff for any context sequences and any context