Separation Logic Acknowledgment: slides taken from Reynolds’ mini-course CS 818A3.

Slides:



Advertisements
Similar presentations
Automated Theorem Proving Lecture 1. Program verification is undecidable! Given program P and specification S, does P satisfy S?
Advertisements

Rigorous Software Development CSCI-GA Instructor: Thomas Wies Spring 2012 Lecture 12.
Query Answering based on Standard and Extended Modal Logic Evgeny Zolin The University of Manchester
Possible World Semantics for Modal Logic
ICE1341 Programming Languages Spring 2005 Lecture #6 Lecture #6 In-Young Ko iko.AT. icu.ac.kr iko.AT. icu.ac.kr Information and Communications University.
Hoare’s Correctness Triplets Dijkstra’s Predicate Transformers
Rigorous Software Development CSCI-GA Instructor: Thomas Wies Spring 2012 Lecture 11.
1 A Description Logic with Concrete Domains CS848 presentation Presenter: Yongjuan Zou.
CSE Winter 2008 Introduction to Program Verification January 24 tautology checking, take 2.
Changing perspective can be useful Relating alternative logics for automatic software verification Alex Summers (ETH Zurich) partly based on joint work.
Computability and Complexity 9-1 Computability and Complexity Andrei Bulatov Logic Reminder (Cnt’d)
1 CA 208 Logic Ex3 Define logical entailment  in terms of material implication  Define logical consequence |= (here the semantic consequence relation.
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
Axiomatic Semantics Dr. M Al-Mulhem ICS
Local Reasoning Peter O’Hearn John Reynolds Hongseok Yang.
Separation Logic A Logic of Shared Mutable Data Structures John Reynolds CMU Extended subset Mooly Sagiv.
Dr. Muhammed Al-Mulhem 1ICS ICS 535 Design and Implementation of Programming Languages Part 1 Fundamentals (Chapter 4) Axiomatic Semantics ICS 535.
CS 330 Programming Languages 09 / 16 / 2008 Instructor: Michael Eckmann.
An algebra of Connectors for modeling CommUnity with Tiles joint work with Roberto Bruni Ugo Montanari Dipartimento di Informatica Università di Pisa Ivan.
CS 561, Sessions 28 1 Uncertainty Probability Syntax Semantics Inference rules.
Predicates and Quantifiers
Predicates & Quantifiers Goal: Introduce predicate logic, including existential & universal quantification Introduce translation between English sentences.
Discrete Mathematics CS 285. Lecture 12 Section 1.1: Logic Axiomatic concepts in math: Equals Opposite Truth and falsehood Statement Objects Collections.
7 th International Conference on Numerical Methods and Applications, August 20-24, 2010, Borovets, Bulgaria Intuitionistic Fuzzy Interpretations of Conway's.
MATH 224 – Discrete Mathematics
Axiomatic Methods for Software Verification Hongseok Yang.
Logic CL4 Episode 16 0 The language of CL4 The rules of CL4 CL4 as a conservative extension of classical logic The soundness and completeness of CL4 The.
0 What logic is or should be Propositions Boolean operations The language of classical propositional logic Interpretation and truth Validity (tautologicity)
1 CMSC 250 Discrete Structures CMSC 250 Lecture 1.
CS 381 DISCRETE STRUCTURES Gongjun Yan Aug 25, November 2015Introduction & Propositional Logic 1.
Propositional Calculus CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
More on Description Logic(s) Frederick Maier. Note Added 10/27/03 So, there are a few errors that will be obvious to some: So, there are a few errors.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Validity and Conditionals There is a relationship between validity of an argument and a corresponding conditional.
Separation and Information Hiding Peter W. O’Hearn (Queen Mary, University of London) John C. Reynolds (Carnegie Mellon University) Hongseok Yang (Seoul.
ece 627 intelligent web: ontology and beyond
What’s the Right Logic. What Is Logic? Joe Lau The laws of biology might be true only of living creatures, and the laws of economics are only applicable.
Overview I. Whither modal semantics? II. A. Modal syntax.
Copyright © Peter Cappello 2011 Predicates & Quantifiers.
Predicate Logic Although Propositional Logic is complete... It is still inadequate.
Section 1.4. Propositional Functions Propositional functions become propositions (and have truth values) when their variables are each replaced by a value.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Separation Logic (II) Acknowledgment: slides taken from Reynolds’ mini-course CS 818A3.
CS-7081 Application - 1. CS-7082 Example - 2 CS-7083 Simplifying a Statement – 3.
PLUS.
CS2100 Computer Organisation
Propositional Logic (a.k.a. Sentential Logic)
Propositional Calculus: Boolean Functions and Expressions
Predicates & Quantifiers
Data Types, Identifiers, and Expressions
continued on next slide
ASSIGNMENT NO.-2.
Propositional Calculus: Boolean Functions and Expressions
Semantics In propositional logic, we associate atoms with propositions about the world. We specify the semantics of our logic, giving it a “meaning”. Such.
                                                                                                                                                                                                                                                
continued on next slide
continued on next slide
Chapter 10: Mathematical proofs
Logics for Data and Knowledge Representation
Data Types, Identifiers, and Expressions
Logics for Data and Knowledge Representation
CSE 311: Foundations of Computing
Logics for Data and Knowledge Representation
STORE MANAGER RESPONSIBILITIES.
Symbolic Characterization of Heap Abstractions
Learn to combine like terms in an expression.
Separation Logic (III)
continued on next slide
continued on next slide
Presentation transcript:

Separation Logic Acknowledgment: slides taken from Reynolds’ mini-course CS 818A3

Extending Imp with Memory Accesses

Note that expressions depend only on the store

Note the abort here is different from the abort for “fault”

Operational Semantics Dispose left as assignment

Assertions Standard predicate logic assertions, plus

Axiom Schemata for Purity

Strictly Exact Assertions (Yang) An assertion is strictly exact iff, for all stores s and all heaps h and h', Examples:

Precise Assertions An assertion q is precise iff, for all s and h, there is at most one h'  h such that Examples:

Preciseness and Distributivity

Proposition: The following is valid when q is precise:

Intuitionistic Assertions An assertion i is intuitionistic iff, for all stores s and heaps h and h': Special cases: