Proof Techniques for Operational Semantics. Questions? Why Bother? Mathematical Induction Well-Founded Induction Structural Induction
|
|
- Britton Bailey
- 6 years ago
- Views:
Transcription
1 Proof Techniques for Operational Semantics Announcements Homework 1 feedback/grades posted Homework 2 due tonight at 11:55pm Meeting 10, CSCI 5535, Spring Plan Questions? Why Bother? Mathematical Induction Well-Founded Induction Structural Induction By induction on the structure of the derivation D 4 Mathematical Induction Goal: prove n N. P(n) Base Case: prove P(0) Inductive Step: Prove For all n. if P(n), then P(n+1) Pick arbitrary n, assume P(n), prove P(n+1) Why does induction work? 5 Example (With IMP Eval. Semantics) Prove that if σ(x) 6 then <while x 5 do x := x + 1, σ> σ[x := 6] Reformulate the claim: Let W = while x 5 do x := x + 1 Let Claim: For all For all i N. <W, σ i > σ 0 Now looks provable by mathematical induction on i Most often, the hard part! 6 1
2 Evaluation Example (Base Case) Evaluation Example (Base Case) Base case: i = 0 or <W, σ 0 > σ 0 To prove an evaluation judgment, construct a derivation tree: Base case: i = 0 or <W, σ 0 > σ 0 To prove an evaluation judgment, construct a derivation tree: σ 0 (x) = 6 σ 0 (x) = 6 <x, σ 0 > 6 <6 5, σ 0 > false <x, σ 0 > 6 <6 5, σ 0 > false <x 5, σ 0 > false <x 5, σ 0 > false <while x 5 do x := x + 1, σ 0 > σ 0 <while x 5 do x := x + 1, σ 0 > σ Evaluation Example (Inductive Case) Evaluation Example (Inductive Case) Must prove for all i N. if <W, σ i > σ 0, then <W, σ i+1 > σ 0 Pick an arbitrary i N Assume that <W, σ i > σ 0 Now prove that <W, σ i+1 > σ 0 Must construct a derivation tree: <x, σ i+1 > 5 - i 5 - i 5 <x + 1, σ i+1 > 6 - i Must prove i N. <W, σ i > σ 0 <W, σ i+1 > σ 0 Pick an arbitrary i N Assume that <W, σ i > σ 0 Now prove that <W, σ i+1 > σ 0 Must construct a derivation tree: <x, σ i+1 > 5 - i 5 - i 5 <x + 1, σ i+1 > 6 - i <x 5, σ i+1 > true <x:=x+1, σ i+1 > σ i <W, σ i > σ 0 <x 5, σ i+1 > true <x:=x+1, σ i+1 > σ i <W, σ i > σ 0 <while x 5 do x := x + 1, σ i+1 > σ 0 <while x 5 do x := x + 1, σ i+1 > σ Well-Founded Induction Well-Founded Induction: Examples A relation A A is well-founded if there are no infinite descending chains in A Example: < 1 = { (x, x +1) x N} aka the predecessor relation Example: < = { (x, y) x, y N and x < y } Well-founded induction: To prove x A. P(x) it is enough to prove x A. ( y x P(y)) P(x) If is < 1 then we obtain mathematical induction as a special case 11 Consider p Z Zwith x p y iff (y < 0 Æ y = x - 1) Ç (y > 0 Æ y = x + 1). Induction principle: P(0) x 0. P(x) P(x - 1) x 0. P(x) P(x + 1) Consider p (N N) (N N) and (x 1, y 1 ) p (x 2, y 2 ) iff x 2 = x (x 1 = x 2 y 2 = y 1 + 1). Says what? Induction principle: P(0,0) x,y,y. (P(x,y) P(x + 1, y ) P(x, y+ 1)) This has a common name. Anyone see? Says what? 12 2
3 Structural Induction (on Expressions) For e ::= n x e 1 + e 2 e 1 * e 2 Define p Aexp Aexp such that e 1 p e 1 + e 2 e 2 p e 1 + e 2 e 1 p e 1 * e 2 e 2 p e 1 * e 2 no other elements of Aexp Aexp are related by p To prove e Aexp. P(e) prove n Z. P(n) prove x L. P(x) prove e 1, e 2 Aexp. P(e 1 ) P(e 2 ) P(e 1 + e 2 ) prove e 1, e 2 Aexp. P(e 1 ) P(e 2 ) P(e 1 * e 2 ) 13 Notes on Structural Induction Called structural induction because the proof is guided by the structure of the expression One proof case per form of expression Atomic expressions (with no subexpressions) are all base cases Composite expressions are the inductive cases Structural induction is the most useful form of induction in the study of PL 14 Example Proof Using Induction on the Structure of Expressions Let L(e) be the # of literals and variable occurrences in e O(e) be the # of operators in e Prove that for all e Aexp. L(e) = O(e) + 1 Proof: By induction on the structure of e. Case e = n: Example Proof Using Induction on the Structure of Expressions Case e = e 1 + e 2 : Case e = x: Case e = e 1 * e 2 : Example Proof Using Induction on the Structure of Expressions Let L(e) be the # of literals and variable occurrences in e O(e) be the # of operators in e Prove that e Aexp. L(e) = O(e) + 1 Proof: By induction on the structure of e. Case e = n: L(e) = 1 and O(e) = 0 Case e = x: L(e) = 1 and O(e) = 0 Case e = e 1 + e 2 : L(e) = L(e 1 ) + L(e 2 ) and O(e) = O(e 1 ) + O(e 2 ) + 1 By the induction hypothesis, L(e 1 ) = O(e 1 ) + 1 and L(e 2 ) = O(e 2 ) + 1 Thus, L(e) = O(e 1 ) + O(e 2 ) + 2 = O(e) + 1 Case e = e 1 * e 2 : Same as the case for + 17 Try it at home! Most proofs for the Aexp sublanguage of IMP can work by structural induction Small-step and big-step semantics obtain equivalent results: How do we state this formally? 18 3
4 Try it at home! Most proofs for the Aexp sublanguage of IMP can work by structural induction Small-step and big-step semantics obtain equivalent results: For all e Aexp. for all n Z. for all σ Σ. <e, σ> * <n, σ> iff <e, σ> n Structural induction on Aexp works here because all of the semantics are syntax-directed 19 Obvious, right? You are given a concrete state σ. You have <x + 1, σ> 5 You also have <x + 1, σ> 88 Is this possible? 20 Let s make sure Let s make sure For all e Aexp. for all σ Σ. for all n, n Z. if <e, σ> n and <e, σ> n then n = n For all b Bexp. for all σ Σ. for all t, t B. if <b, σ> t and <b, σ> t then t = t For all c Com. for all σ, σ,σ Σ. if <c, σ> σ and <c, σ> σ then σ = σ 21 For all e Aexp. for all σ Σ. for all n, n Z. if <e, σ> n and <e, σ> n then n = n For all b Bexp. for all σ Σ. for all t, t B. if <b, σ> t and <b, σ> t then t = t For all c Com. for all σ, σ,σ Σ. if <c, σ> σ and <c, σ> σ then σ = σ 22 How do we prove it? If <e, σ> n and <e, σ> n then n = n If <b, σ> t and <b, σ> t then t = t If <c, σ> σ and <c, σ> σ then σ = σ No immediate way to use mathematical induction For commands we cannot use induction on the structure of the command Can you imagine why? How do we prove it? If <e, σ> n and <e, σ> n then n = n If <b, σ> t and <b, σ> t then t = t If <c, σ> σ and <c, σ> σ then σ = σ No immediate way to use mathematical induction For commands we cannot use induction on the structure of the command Can you see why? <b, σ> true <c, σ> σ <while b do c, σ > σ <while b do c, σ> σ
5 How do we prove it? If <e, σ> n and <e, σ> n then n = n If <b, σ> t and <b, σ> t then t = t If <c, σ> σ and <c, σ> σ then σ = σ No immediate way to use mathematical induction For commands we cannot use induction on the structure of the command while s evaluation does not depend only on the evaluation of its strict subexpressions We need something new! Some more powerful form of induction With all the bells and whistles! <b, σ> true <c, σ> σ <while b do c, σ > σ <while b do c, σ> σ Recall Proof Systems Operational semantics assigns meanings to programs by listing rules of inference that allow to prove judgments by constructing derivations. A derivation is a tree-structured object made up of valid instances of inference rules. Find the keyword in the above. Ideas? 27 Induction on the Structure of Derivations Key idea: The hypothesis does not just assume a c Com but the existence of a derivation of <c, σ> σ Derivation trees are also defined inductively, just like expression trees A derivation is built of subderivations: <x, σ i+1 > 5 - i 5 - i 5 <x + 1, σ i+1 > 6 - i <x 5, σ i+1 > true <x:=x+1; W, σ i+1 > σ 0 <while x 5 do x := x + 1, σ i+1 > σ 0 <x:=x+1, σ i+1 > σ i <W, σ i > σ 0 Adapt the structural induction principle to work on the structure of derivations 28 Induction on the Structure of Derivations To prove that for all derivations D of a judgment, property P holds For each derivation rule of the form H 1 H n Assume P holds for derivations of H i (i = 1..n) Prove the the property holds for the derivation obtained from the derivations of H i using the given rule C 29 Notation: Naming Derivations Write D :: Judgment to mean D is the derivation that proves Judgment Example: D :: <e 1 + e 2, σ> n 1 + n
6 Proving Com Evaluation is Deterministic If D::<c, σ> σ and D :: <c, σ> σ, then σ = σ. Note: recall that meta-variables are universally-quantified (i.e., the above is for all c Com, σ, σ,σ Σ, derivations D and D. Start by picking each to be arbitrary. Proof: By induction on the structure of derivation D. 31 6
Programming Languages
CSE 230: Winter 2010 Principles of Programming Languages Lecture 3: Induction, Equivalence Ranjit Jhala UC San Diego Operational Semantics of IMP Evaluation judgement for commands Ternary relation on expression,
More informationProof Techniques for Operational Semantics
Proof Techniques for Operational Semantics Wei Hu Memorial Lecture I will give a completely optional bonus survey lecture: A Recent History of PL in Context It will discuss what has been hot in various
More informationProof Techniques for Operational Semantics
#1 Proof Techniques for Operational Semantics #2 Small-Step Contextual Semantics In small-step contextual semantics, derivations are not tree-structured A contextual semantics derivation is a sequence
More informationHW 1 Reminder. Principles of Programming Languages. Lets try another proof. Induction. Induction on Derivations. CSE 230: Winter 2007
CSE 230: Winter 2007 Principles of Programming Languages Lecture 4: Induction, Small-Step Semantics HW 1 Reminder Due next Tue Instructions about turning in code to follow Send me mail if you have issues
More informationHarvard School of Engineering and Applied Sciences CS 152: Programming Languages
Harvard School of Engineering and Applied Sciences CS 152: Programming Languages Lecture 3 Tuesday, January 30, 2018 1 Inductive sets Induction is an important concept in the theory of programming language.
More informationHarvard School of Engineering and Applied Sciences CS 152: Programming Languages
Harvard School of Engineering and Applied Sciences CS 152: Programming Languages Lecture 3 Tuesday, February 2, 2016 1 Inductive proofs, continued Last lecture we considered inductively defined sets, and
More informationHarvard School of Engineering and Applied Sciences CS 152: Programming Languages
Harvard School of Engineering and Applied Sciences CS 152: Programming Languages Lecture 2 Thursday, January 30, 2014 1 Expressing Program Properties Now that we have defined our small-step operational
More informationIn this lecture, we will use the semantics of our simple language of arithmetic expressions,
CS 4110 Programming Languages and Logics Lecture #3: Inductive definitions and proofs In this lecture, we will use the semantics of our simple language of arithmetic expressions, e ::= x n e 1 + e 2 e
More informationSemantics and Verification of Software
Semantics and Verification of Software Thomas Noll Software Modeling and Verification Group RWTH Aachen University http://moves.rwth-aachen.de/teaching/ws-1718/sv-sw/ Recap: CCPOs and Continuous Functions
More informationSemantics with Applications 2b. Structural Operational Semantics
Semantics with Applications 2b. Structural Operational Semantics Hanne Riis Nielson, Flemming Nielson (thanks to Henrik Pilegaard) [SwA] Hanne Riis Nielson, Flemming Nielson Semantics with Applications:
More informationCS 4110 Programming Languages & Logics. Lecture 2 Introduction to Semantics
CS 4110 Programming Languages & Logics Lecture 2 Introduction to Semantics 29 August 2012 Announcements 2 Wednesday Lecture Moved to Thurston 203 Foster Office Hours Today 11a-12pm in Gates 432 Mota Office
More information5 Deduction in First-Order Logic
5 Deduction in First-Order Logic The system FOL C. Let C be a set of constant symbols. FOL C is a system of deduction for the language L # C. Axioms: The following are axioms of FOL C. (1) All tautologies.
More informationCOMPUTER SCIENCE 20, SPRING 2014 Homework Problems Recursive Definitions, Structural Induction, States and Invariants
COMPUTER SCIENCE 20, SPRING 2014 Homework Problems Recursive Definitions, Structural Induction, States and Invariants Due Wednesday March 12, 2014. CS 20 students should bring a hard copy to class. CSCI
More informationNotes on Natural Logic
Notes on Natural Logic Notes for PHIL370 Eric Pacuit November 16, 2012 1 Preliminaries: Trees A tree is a structure T = (T, E), where T is a nonempty set whose elements are called nodes and E is a relation
More informationMath 14 Lecture Notes Ch The Normal Approximation to the Binomial Distribution. P (X ) = nc X p X q n X =
6.4 The Normal Approximation to the Binomial Distribution Recall from section 6.4 that g A binomial experiment is a experiment that satisfies the following four requirements: 1. Each trial can have only
More informationRecitation 1. Solving Recurrences. 1.1 Announcements. Welcome to 15210!
Recitation 1 Solving Recurrences 1.1 Announcements Welcome to 1510! The course website is http://www.cs.cmu.edu/ 1510/. It contains the syllabus, schedule, library documentation, staff contact information,
More informationCS 4110 Programming Languages and Logics Lecture #2: Introduction to Semantics. 1 Arithmetic Expressions
CS 4110 Programming Languages and Logics Lecture #2: Introduction to Semantics What is the meaning of a program? When we write a program, we represent it using sequences of characters. But these strings
More informationIntroduction An example Cut elimination. Deduction Modulo. Olivier Hermant. Tuesday, December 12, Deduction Modulo
Tuesday, December 12, 2006 Deduction and Computation Sequent calculus The cut rule The rewrite rules Sequent calculus The cut rule The rewrite rules Deduction system: Gentzen s sequent calculus Γ, P P
More informationExpectations. Definition Let X be a discrete rv with set of possible values D and pmf p(x). The expected value or mean value of X, denoted by E(X ) or
Definition Let X be a discrete rv with set of possible values D and pmf p(x). The expected value or mean value of X, denoted by E(X ) or µ X, is E(X ) = µ X = x D x p(x) Definition Let X be a discrete
More informationCHAPTER 7 INTRODUCTION TO SAMPLING DISTRIBUTIONS
CHAPTER 7 INTRODUCTION TO SAMPLING DISTRIBUTIONS Note: This section uses session window commands instead of menu choices CENTRAL LIMIT THEOREM (SECTION 7.2 OF UNDERSTANDABLE STATISTICS) The Central Limit
More informationIsabelle/FOL First-Order Logic
Isabelle/FOL First-Order Logic Larry Paulson and Markus Wenzel October 8, 2017 Contents 1 Intuitionistic first-order logic 2 1.1 Syntax and axiomatic basis................... 2 1.1.1 Equality..........................
More informationStructural Induction
Structural Induction Jason Filippou CMSC250 @ UMCP 07-05-2016 Jason Filippou (CMSC250 @ UMCP) Structural Induction 07-05-2016 1 / 26 Outline 1 Recursively defined structures 2 Proofs Binary Trees Jason
More informationLecture 5: Tuesday, January 27, Peterson s Algorithm satisfies the No Starvation property (Theorem 1)
Com S 611 Spring Semester 2015 Advanced Topics on Distributed and Concurrent Algorithms Lecture 5: Tuesday, January 27, 2015 Instructor: Soma Chaudhuri Scribe: Nik Kinkel 1 Introduction This lecture covers
More informationTABLEAU-BASED DECISION PROCEDURES FOR HYBRID LOGIC
TABLEAU-BASED DECISION PROCEDURES FOR HYBRID LOGIC THOMAS BOLANDER AND TORBEN BRAÜNER Abstract. Hybrid logics are a principled generalization of both modal logics and description logics. It is well-known
More informationCH 39 CREATING THE EQUATION OF A LINE
9 CH 9 CREATING THE EQUATION OF A LINE Introduction S ome chapters back we played around with straight lines. We graphed a few, and we learned how to find their intercepts and slopes. Now we re ready to
More informationOperational Semantics
University of Science and Technology of China (USTC) 10/24/2011 Transition Semantics Program configurations: γ Γ def = Commands Σ Transitions between configurations: Γ ˆΓ where ˆΓ def = Γ {abort} Σ The
More informationx f(x) D.N.E
Limits Consider the function f(x) x2 x. This function is not defined for x, but if we examine the value of f for numbers close to, we can observe something interesting: x 0 0.5 0.9 0.999.00..5 2 f(x).5.9.999
More informationEvery data set has an average and a standard deviation, given by the following formulas,
Discrete Data Sets A data set is any collection of data. For example, the set of test scores on the class s first test would comprise a data set. If we collect a sample from the population we are interested
More informationComparing Goal-Oriented and Procedural Service Orchestration
Comparing Goal-Oriented and Procedural Service Orchestration M. Birna van Riemsdijk 1 Martin Wirsing 2 1 Technische Universiteit Delft, The Netherlands m.b.vanriemsdijk@tudelft.nl 2 Ludwig-Maximilians-Universität
More informationMaximally Consistent Extensions
Chapter 4 Maximally Consistent Extensions Throughout this chapter we require that all formulae are written in Polish notation and that the variables are amongv 0,v 1,v 2,... Recall that by the PRENEX NORMAL
More informationDiscrete Mathematics for CS Spring 2008 David Wagner Final Exam
CS 70 Discrete Mathematics for CS Spring 2008 David Wagner Final Exam PRINT your name:, (last) SIGN your name: (first) PRINT your Unix account login: Your section time (e.g., Tue 3pm): Name of the person
More informationLecture 2: The Simple Story of 2-SAT
0510-7410: Topics in Algorithms - Random Satisfiability March 04, 2014 Lecture 2: The Simple Story of 2-SAT Lecturer: Benny Applebaum Scribe(s): Mor Baruch 1 Lecture Outline In this talk we will show that
More informationMSA 640 Homework Assignment #1 Due Friday, August 27, 2010 (100 Points Total/20 Points per Question)
MSA 640 Homework Assignment #1 Due Friday, August 27, 2010 (100 Points Total/20 Points per Question) The numerical answers for most of these problems are provided. Consequently, grading will be based almost
More informationClass 12. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700
Class 12 Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science Copyright 2017 by D.B. Rowe 1 Agenda: Recap Chapter 6.1-6.2 Lecture Chapter 6.3-6.5 Problem Solving Session. 2
More information2 Deduction in Sentential Logic
2 Deduction in Sentential Logic Though we have not yet introduced any formal notion of deductions (i.e., of derivations or proofs), we can easily give a formal method for showing that formulas are tautologies:
More informationLecture Notes on Bidirectional Type Checking
Lecture Notes on Bidirectional Type Checking 15-312: Foundations of Programming Languages Frank Pfenning Lecture 17 October 21, 2004 At the beginning of this class we were quite careful to guarantee that
More informationProbability Theory. Probability and Statistics for Data Science CSE594 - Spring 2016
Probability Theory Probability and Statistics for Data Science CSE594 - Spring 2016 What is Probability? 2 What is Probability? Examples outcome of flipping a coin (seminal example) amount of snowfall
More informationOperational Semantics
University of Science and Technology of China (USTC) 07/19/2011 Transition Semantics Program configurations: γ Γ def = Commands Σ Transitions between configurations: Γ ˆΓ where ˆΓ def = Γ {abort} Σ The
More informationarxiv: v1 [math.lo] 24 Feb 2014
Residuated Basic Logic II. Interpolation, Decidability and Embedding Minghui Ma 1 and Zhe Lin 2 arxiv:1404.7401v1 [math.lo] 24 Feb 2014 1 Institute for Logic and Intelligence, Southwest University, Beibei
More informationTableau Theorem Prover for Intuitionistic Propositional Logic
Tableau Theorem Prover for Intuitionistic Propositional Logic Portland State University CS 510 - Mathematical Logic and Programming Languages Motivation Tableau for Classical Logic If A is contradictory
More informationTableau Theorem Prover for Intuitionistic Propositional Logic
Tableau Theorem Prover for Intuitionistic Propositional Logic Portland State University CS 510 - Mathematical Logic and Programming Languages Motivation Tableau for Classical Logic If A is contradictory
More informationMaximum Contiguous Subsequences
Chapter 8 Maximum Contiguous Subsequences In this chapter, we consider a well-know problem and apply the algorithm-design techniques that we have learned thus far to this problem. While applying these
More informationStat511 Additional Materials
Binomial Random Variable Stat511 Additional Materials The first discrete RV that we will discuss is the binomial random variable. The binomial random variable is a result of observing the outcomes from
More informationOutline Introduction Game Representations Reductions Solution Concepts. Game Theory. Enrico Franchi. May 19, 2010
May 19, 2010 1 Introduction Scope of Agent preferences Utility Functions 2 Game Representations Example: Game-1 Extended Form Strategic Form Equivalences 3 Reductions Best Response Domination 4 Solution
More informationAn Adaptive Characterization of Signed Systems for Paraconsistent Reasoning
An Adaptive Characterization of Signed Systems for Paraconsistent Reasoning Diderik Batens, Joke Meheus, Dagmar Provijn Centre for Logic and Philosophy of Science University of Ghent, Belgium {Diderik.Batens,Joke.Meheus,Dagmar.Provijn}@UGent.be
More informationStrong normalisation and the typed lambda calculus
CHAPTER 9 Strong normalisation and the typed lambda calculus In the previous chapter we looked at some reduction rules for intuitionistic natural deduction proofs and we have seen that by applying these
More informationThreshold logic proof systems
Threshold logic proof systems Samuel Buss Peter Clote May 19, 1995 In this note, we show the intersimulation of three threshold logics within a polynomial size and constant depth factor. The logics are
More informationStatistics 511 Additional Materials
Discrete Random Variables In this section, we introduce the concept of a random variable or RV. A random variable is a model to help us describe the state of the world around us. Roughly, a RV can be thought
More informationCharacterization of the Optimum
ECO 317 Economics of Uncertainty Fall Term 2009 Notes for lectures 5. Portfolio Allocation with One Riskless, One Risky Asset Characterization of the Optimum Consider a risk-averse, expected-utility-maximizing
More informationCIS 500 Software Foundations Fall October. CIS 500, 6 October 1
CIS 500 Software Foundations Fall 2004 6 October CIS 500, 6 October 1 Midterm 1 is next Wednesday Today s lecture will not be covered by the midterm. Next Monday, review class. Old exams and review questions
More informationMixed Strategies. Samuel Alizon and Daniel Cownden February 4, 2009
Mixed Strategies Samuel Alizon and Daniel Cownden February 4, 009 1 What are Mixed Strategies In the previous sections we have looked at games where players face uncertainty, and concluded that they choose
More information2. Modeling Uncertainty
2. Modeling Uncertainty Models for Uncertainty (Random Variables): Big Picture We now move from viewing the data to thinking about models that describe the data. Since the real world is uncertain, our
More informationLecture Notes on Type Checking
Lecture Notes on Type Checking 15-312: Foundations of Programming Languages Frank Pfenning Lecture 17 October 23, 2003 At the beginning of this class we were quite careful to guarantee that every well-typed
More informationMLLunsford 1. Activity: Central Limit Theorem Theory and Computations
MLLunsford 1 Activity: Central Limit Theorem Theory and Computations Concepts: The Central Limit Theorem; computations using the Central Limit Theorem. Prerequisites: The student should be familiar with
More informationConditional Rewriting
Conditional Rewriting Bernhard Gramlich ISR 2009, Brasilia, Brazil, June 22-26, 2009 Bernhard Gramlich Conditional Rewriting ISR 2009, July 22-26, 2009 1 Outline Introduction Basics in Conditional Rewriting
More informationCS 6110 S11 Lecture 8 Inductive Definitions and Least Fixpoints 11 February 2011
CS 6110 S11 Lecture 8 Inductive Definitions and Least Fipoints 11 Februar 2011 1 Set Operators Recall from last time that a rule instance is of the form X 1 X 2... X n, (1) X where X and the X i are members
More informationAlgebra homework 8 Homomorphisms, isomorphisms
MATH-UA.343.005 T.A. Louis Guigo Algebra homework 8 Homomorphisms, isomorphisms For every n 1 we denote by S n the n-th symmetric group. Exercise 1. Consider the following permutations: ( ) ( 1 2 3 4 5
More informationInterpolation. 1 What is interpolation? 2 Why are we interested in this?
Interpolation 1 What is interpolation? For a certain function f (x we know only the values y 1 = f (x 1,,y n = f (x n For a point x different from x 1,,x n we would then like to approximate f ( x using
More informationThe Assumption(s) of Normality
The Assumption(s) of Normality Copyright 2000, 2011, 2016, J. Toby Mordkoff This is very complicated, so I ll provide two versions. At a minimum, you should know the short one. It would be great if you
More information4 Martingales in Discrete-Time
4 Martingales in Discrete-Time Suppose that (Ω, F, P is a probability space. Definition 4.1. A sequence F = {F n, n = 0, 1,...} is called a filtration if each F n is a sub-σ-algebra of F, and F n F n+1
More informationMatching of Meta-Expressions with Recursive Bindings
Matching of Meta-Expressions with Recursive Bindings David Sabel Goethe-University Frankfurt am Main, Germany UNIF 2017, Oxford, UK Research supported by the Deutsche Forschungsgemeinschaft (DFG) under
More informationSyllogistic Logics with Verbs
Syllogistic Logics with Verbs Lawrence S Moss Department of Mathematics Indiana University Bloomington, IN 47405 USA lsm@csindianaedu Abstract This paper provides sound and complete logical systems for
More informationCharacterisation of Strongly Normalising λµ-terms
Characterisation of Strongly Normalising λµ-terms Ugo de Liguoro joint work with Steffen van Bakel and Franco Barbanera ITRS - June 2012, Dubrovnik Introduction Parigot s λµ-calculus is an extension of
More informationBest Reply Behavior. Michael Peters. December 27, 2013
Best Reply Behavior Michael Peters December 27, 2013 1 Introduction So far, we have concentrated on individual optimization. This unified way of thinking about individual behavior makes it possible to
More informationCTL Model Checking. Goal Method for proving M sat σ, where M is a Kripke structure and σ is a CTL formula. Approach Model checking!
CMSC 630 March 13, 2007 1 CTL Model Checking Goal Method for proving M sat σ, where M is a Kripke structure and σ is a CTL formula. Approach Model checking! Mathematically, M is a model of σ if s I = M
More informationTHE UNIVERSITY OF TEXAS AT AUSTIN Department of Information, Risk, and Operations Management
THE UNIVERSITY OF TEXAS AT AUSTIN Department of Information, Risk, and Operations Management BA 386T Tom Shively PROBABILITY CONCEPTS AND NORMAL DISTRIBUTIONS The fundamental idea underlying any statistical
More informationMicroeconomics III Final Exam SOLUTIONS 3/17/11. Muhamet Yildiz
14.123 Microeconomics III Final Exam SOLUTIONS 3/17/11 Muhamet Yildiz Instructions. This is an open-book exam. You can use the results in the notes and the answers to the problem sets without proof, but
More informationÉcole normale supérieure, MPRI, M2 Year 2007/2008. Course 2-6 Abstract interpretation: application to verification and static analysis P.
École normale supérieure, MPRI, M2 Year 2007/2008 Course 2-6 Abstract interpretation: application to verification and static analysis P. Cousot Questions and answers of the partial exam of Friday November
More informationCHAPTER 6 Random Variables
CHAPTER 6 Random Variables 6.3 Binomial and Geometric Random Variables The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers Binomial and Geometric Random
More informationPricing Barrier Options under Local Volatility
Abstract Pricing Barrier Options under Local Volatility Artur Sepp Mail: artursepp@hotmail.com, Web: www.hot.ee/seppar 16 November 2002 We study pricing under the local volatility. Our research is mainly
More informationA semantics for concurrent permission logic. Stephen Brookes CMU
A semantics for concurrent permission logic Stephen Brookes CMU Cambridge, March 2006 Traditional logic Owicki/Gries 76 Γ {p} c {q} Resource-sensitive partial correctness Γ specifies resources ri, protection
More informationAsymptotic Notation. Instructor: Laszlo Babai June 14, 2002
Asymptotic Notation Instructor: Laszlo Babai June 14, 2002 1 Preliminaries Notation: exp(x) = e x. Throughout this course we shall use the following shorthand in quantifier notation. ( a) is read as for
More informationMATH 361: Financial Mathematics for Actuaries I
MATH 361: Financial Mathematics for Actuaries I Albert Cohen Actuarial Sciences Program Department of Mathematics Department of Statistics and Probability C336 Wells Hall Michigan State University East
More informationChapter 5. Statistical inference for Parametric Models
Chapter 5. Statistical inference for Parametric Models Outline Overview Parameter estimation Method of moments How good are method of moments estimates? Interval estimation Statistical Inference for Parametric
More informationA Consistent Semantics of Self-Adjusting Computation
A Consistent Semantics of Self-Adjusting Computation Umut A. Acar 1 Matthias Blume 1 Jacob Donham 2 December 2006 CMU-CS-06-168 School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213
More informationHomework #4. CMSC351 - Spring 2013 PRINT Name : Due: Thu Apr 16 th at the start of class
Homework #4 CMSC351 - Spring 2013 PRINT Name : Due: Thu Apr 16 th at the start of class o Grades depend on neatness and clarity. o Write your answers with enough detail about your approach and concepts
More informationSection 5.6 Factoring Strategies
Section 5.6 Factoring Strategies INTRODUCTION Let s review what you should know about factoring. (1) Factors imply multiplication Whenever we refer to factors, we are either directly or indirectly referring
More informationPart 10: The Binomial Distribution
Part 10: The Binomial Distribution The binomial distribution is an important example of a probability distribution for a discrete random variable. It has wide ranging applications. One readily available
More informationExpected Value and Variance
Expected Value and Variance MATH 472 Financial Mathematics J Robert Buchanan 2018 Objectives In this lesson we will learn: the definition of expected value, how to calculate the expected value of a random
More informationAlgorithmic Game Theory and Applications. Lecture 11: Games of Perfect Information
Algorithmic Game Theory and Applications Lecture 11: Games of Perfect Information Kousha Etessami finite games of perfect information Recall, a perfect information (PI) game has only 1 node per information
More informationMAS1403. Quantitative Methods for Business Management. Semester 1, Module leader: Dr. David Walshaw
MAS1403 Quantitative Methods for Business Management Semester 1, 2018 2019 Module leader: Dr. David Walshaw Additional lecturers: Dr. James Waldren and Dr. Stuart Hall Announcements: Written assignment
More informationDiscrete Random Variables
Discrete Random Variables In this chapter, we introduce a new concept that of a random variable or RV. A random variable is a model to help us describe the state of the world around us. Roughly, a RV can
More informationHalf baked talk: Invariant logic
Half baked talk: Invariant logic Quentin Carbonneaux November 6, 2015 1 / 21 Motivation Global invariants often show up: 1. resource safety (mem 0) 2. low-level code analysis (machine not crashed) 3. domain
More informationOptimal Stopping. Nick Hay (presentation follows Thomas Ferguson s Optimal Stopping and Applications) November 6, 2008
(presentation follows Thomas Ferguson s and Applications) November 6, 2008 1 / 35 Contents: Introduction Problems Markov Models Monotone Stopping Problems Summary 2 / 35 The Secretary problem You have
More informationECO220Y Estimation: Confidence Interval Estimator for Sample Proportions Readings: Chapter 11 (skip 11.5)
ECO220Y Estimation: Confidence Interval Estimator for Sample Proportions Readings: Chapter 11 (skip 11.5) Fall 2011 Lecture 10 (Fall 2011) Estimation Lecture 10 1 / 23 Review: Sampling Distributions Sample
More information7. For the table that follows, answer the following questions: x y 1-1/4 2-1/2 3-3/4 4
7. For the table that follows, answer the following questions: x y 1-1/4 2-1/2 3-3/4 4 - Would the correlation between x and y in the table above be positive or negative? The correlation is negative. -
More informationCS792 Notes Henkin Models, Soundness and Completeness
CS792 Notes Henkin Models, Soundness and Completeness Arranged by Alexandra Stefan March 24, 2005 These notes are a summary of chapters 4.5.1-4.5.5 from [1]. 1 Review indexed family of sets: A s, where
More informationUnary PCF is Decidable
Unary PCF is Decidable Ralph Loader Merton College, Oxford November 1995, revised October 1996 and September 1997. Abstract We show that unary PCF, a very small fragment of Plotkin s PCF [?], has a decidable
More informationTHE NUMBER OF UNARY CLONES CONTAINING THE PERMUTATIONS ON AN INFINITE SET
THE NUMBER OF UNARY CLONES CONTAINING THE PERMUTATIONS ON AN INFINITE SET MICHAEL PINSKER Abstract. We calculate the number of unary clones (submonoids of the full transformation monoid) containing the
More informationCSE 21 Winter 2016 Homework 6 Due: Wednesday, May 11, 2016 at 11:59pm. Instructions
CSE 1 Winter 016 Homework 6 Due: Wednesday, May 11, 016 at 11:59pm Instructions Homework should be done in groups of one to three people. You are free to change group members at any time throughout the
More informationA Translation of Intersection and Union Types
A Translation of Intersection and Union Types for the λ µ-calculus Kentaro Kikuchi RIEC, Tohoku University kentaro@nue.riec.tohoku.ac.jp Takafumi Sakurai Department of Mathematics and Informatics, Chiba
More informationMicroeconomic Theory III Final Exam March 18, 2010 (80 Minutes)
4. Microeconomic Theory III Final Exam March 8, (8 Minutes). ( points) This question assesses your understanding of expected utility theory. (a) In the following pair of games, check whether the players
More informationA class of coherent risk measures based on one-sided moments
A class of coherent risk measures based on one-sided moments T. Fischer Darmstadt University of Technology November 11, 2003 Abstract This brief paper explains how to obtain upper boundaries of shortfall
More informationThe (λ, κ)-fn and the order theory of bases in boolean algebras
The (λ, κ)-fn and the order theory of bases in boolean algebras David Milovich Texas A&M International University david.milovich@tamiu.edu http://www.tamiu.edu/ dmilovich/ June 2, 2010 BLAST 1 / 22 The
More informationYou can also read about the CAPM in any undergraduate (or graduate) finance text. ample, Bodie, Kane, and Marcus Investments.
ECONOMICS 7344, Spring 2003 Bent E. Sørensen March 6, 2012 An introduction to the CAPM model. We will first sketch the efficient frontier and how to derive the Capital Market Line and we will then derive
More informationProbability without Measure!
Probability without Measure! Mark Saroufim University of California San Diego msaroufi@cs.ucsd.edu February 18, 2014 Mark Saroufim (UCSD) It s only a Game! February 18, 2014 1 / 25 Overview 1 History of
More informationAVL Trees. The height of the left subtree can differ from the height of the right subtree by at most 1.
AVL Trees In order to have a worst case running time for insert and delete operations to be O(log n), we must make it impossible for there to be a very long path in the binary search tree. The first balanced
More informationCalculational Design of Information Flow Monitors
Calculational Design of Information Flow Monitors Mounir Assaf David Naumann Stevens Institute of Technology, Hoboken, NJ November 9th, 2016 SoSySec Seminar, Rennes Mounir Assaf Calculational Design of
More information3 Arbitrage pricing theory in discrete time.
3 Arbitrage pricing theory in discrete time. Orientation. In the examples studied in Chapter 1, we worked with a single period model and Gaussian returns; in this Chapter, we shall drop these assumptions
More informationChapter 15: Jump Processes and Incomplete Markets. 1 Jumps as One Explanation of Incomplete Markets
Chapter 5: Jump Processes and Incomplete Markets Jumps as One Explanation of Incomplete Markets It is easy to argue that Brownian motion paths cannot model actual stock price movements properly in reality,
More information