Semirings for Breakfast
|
|
- Peregrine McKinney
- 6 years ago
- Views:
Transcription
1 Semirings for Breakfast Marc Pouly Interdisciplinary Center for Security, Reliability and Trust University of Luxembourg July 2010 Marc Pouly Semirings for Breakfast 1/ 27
2 Semirings Algebraic structure with two operations + and over a set A. + and are associative + is commutative distributes over +: a (b + c) = (a b) + (a c) If is commutative too commutative semiring Marc Pouly Semirings for Breakfast 2/ 27
3 Examples I Arithmetic Semirings: R, +,, Z, +,, N, +,,... Boolean Semiring: {0, 1},, Tropical Semiring: N, min, + Arctic Semiring: N, max, + Possibilistic Semiring: [0, 1], max, Powerset lattice: P(S),, Bottleneck Semiring: R, max, min Truncation Semiring: {0,..., k}, max, min{a + b, k} Lukasiewicz Semiring: [0, 1], min, max{a + b 1, 0} Division Semiring: N, lcm, gcd Formal Languages: P(Σ ),, not commutative Marc Pouly Semirings for Breakfast 3/ 27
4 Examples II Vectors over semirings form a semiring Matrices over semirings form a semiring Polynomials over semirings form a semiring... Marc Pouly Semirings for Breakfast 4/ 27
5 Today s Breakfast Lessons 2 reasons why computer scientists are interested in semirings: they reduce problem complexity they enable generic problem solving 2 reasons why mathematicians are interested in semirings: ordered semirings are fundamentally different from fields new research fields thanks to applications in CS Marc Pouly Semirings for Breakfast 5/ 27
6 Today s Breakfast Lessons 2 reasons why computer scientists are interested in semirings: they reduce problem complexity they enable generic problem solving 2 reasons why mathematicians are interested in semirings: ordered semirings are fundamentally different from fields new research fields thanks to applications in CS Marc Pouly Semirings for Breakfast 5/ 27
7 Lesson 1: Reducing Problem Complexity Marc Pouly Semirings for Breakfast 6/ 27
8 Bayesian Networks p(a) =0.01 p(s) =0.4 Visit to Asia Smoking p(t a) =0.05 p(t a) =0.01 Tuberculosis p(l s) =0.1 p(l s) =0.01 Lung Cancer Bronchitis p(b s) =0.6 p(b s) =0.3 p(x e) =0.98 p(x e) =0.05 pos. X-ray Either T or L Dyspnoea p(d e,b)=0.9 p(d e, b) =0.7 p(d e,b)=0.8 p(d e, b) =0.1 Marc Pouly Semirings for Breakfast 7/ 27
9 Medical Diagnostics A patient turns to a doctor and complains about shortness of breath (Dyspnoea). Also, she confirms a recent trip to Asia. What is the probability that she suffers from Bronchitis? p(b A, D) = p(a, B, D) p(a, D) This requires to compute p(a, B, D) = p(a, B, D, E, L, S, T, X) E,L,S,T,X with p(a, B, D, E, L, S, T, X) = p(a) p(t A) p(d E, B) Marc Pouly Semirings for Breakfast 8/ 27
10 Medical Diagnostics A patient turns to a doctor and complains about shortness of breath (Dyspnoea). Also, she confirms a recent trip to Asia. What is the probability that she suffers from Bronchitis? p(b A, D) = p(a, B, D) p(a, D) This requires to compute p(a, B, D) = p(a, B, D, E, L, S, T, X) E,L,S,T,X with p(a, B, D, E, L, S, T, X) = p(a) p(t A) p(d E, B) Marc Pouly Semirings for Breakfast 8/ 27
11 Complexity Concerns p(a, B, D, E, L, S, T, X) is a table with 2 8 values A joint prob. distribution over n variables has 2 n entries Quick Medical Reference has more than 5000 variables Solution: Apply the distributive law: p(a, B, D) = p(a, B, D, E, L, S, T, X) is equal to E,L,S,T,X p(a) E p(d B, E) X ( ( ( ))) p(x E) p(t A) p(e L, T ) p(l S)p(B S)p(S) T L S Marc Pouly Semirings for Breakfast 9/ 27
12 Complexity Concerns p(a, B, D, E, L, S, T, X) is a table with 2 8 values A joint prob. distribution over n variables has 2 n entries Quick Medical Reference has more than 5000 variables Solution: Apply the distributive law: p(a, B, D) = p(a, B, D, E, L, S, T, X) is equal to E,L,S,T,X p(a) E p(d B, E) X ( ( ( ))) p(x E) p(t A) p(e L, T ) p(l S)p(B S)p(S) T L S Marc Pouly Semirings for Breakfast 9/ 27
13 Complexity Concerns p(a) E p(d B, E) X ( ( ( ))) p(x E) p(t A) p(e L, T ) p(l S)p(B S)p(S) T L S The largest intermediate table involves 4 variables Semirings allow to reduce complexity. Intuitively, compare the number of operations a (b + c) = (a b) + (a c) The fusion algorithm produces such factorizations Marc Pouly Semirings for Breakfast 10/ 27
14 Lesson 2: Generic Reasoning Marc Pouly Semirings for Breakfast 11/ 27
15 Generic Reasoning The fusion algorithm is only based on the properties of a commutative semiring We can exchange the semiring in the problem description Example: take [0, 1], max, instead of R, +, max p(a, B, D, E, L, S, T, X) = E,L,S,T,X ( ( ( ))) p(a) max p(d B, E) max p(x E) max p(t A) max p(e L, T ) max p(l S)p(B S)p(S) This identifies the value of the most probable configuration Marc Pouly Semirings for Breakfast 12/ 27
16 Beyond Bayesian Networks The same computational problem over different semirings: {0, 1},, crisp constraint reasoning N, min, + weighted constraint reasoning [0, 1], max, possibilistic constraint reasoning P(S),, assumption-based reasoning Different semirings different semantics of the same problem the same algorithm the same complexity the same implementation Marc Pouly Semirings for Breakfast 13/ 27
17 Lesson 3: A fundamentally different Branch of Mathematics Marc Pouly Semirings for Breakfast 14/ 27
18 Semirings and Order I We introduce the following relation on a semiring: a b if, and only if c A such that a + c = b Reflexivity: a a Transitivity: a b and b c a c Conclusion: is a preorder called canonical preorder All semirings provide a canonical preorder Marc Pouly Semirings for Breakfast 15/ 27
19 Semirings and Order I We introduce the following relation on a semiring: a b if, and only if c A such that a + c = b Reflexivity: a a Transitivity: a b and b c a c Conclusion: is a preorder called canonical preorder All semirings provide a canonical preorder Marc Pouly Semirings for Breakfast 15/ 27
20 Semirings and Order II In general, is not antisymmetric, i.e. a b and b a a = b Example: in Z, +, we have 1 2 and 2 1 Does not only hold for Z, +, but for all structures with inverse additive elements Antisymmetry of contradicts the group structure of (A, +) Marc Pouly Semirings for Breakfast 16/ 27
21 Semirings and Order II In general, is not antisymmetric, i.e. a b and b a a = b Example: in Z, +, we have 1 2 and 2 1 Does not only hold for Z, +, but for all structures with inverse additive elements Antisymmetry of contradicts the group structure of (A, +) Marc Pouly Semirings for Breakfast 16/ 27
22 Dioids This splits algebra into: semirings with additive inverse elements (e.g. fields) semirings with a canonical partial order called dioids Dioid theory is fundamentally different from maths over fields Are dioids of (practical) importance? Marc Pouly Semirings for Breakfast 17/ 27
23 Examples of Dioids Theorem Semirings with idempotent + (i.e. a + a = a) are always dioids. Arithmetic Semirings: R, +,, Z, +,, N, +,,... Boolean Semiring: {0, 1},, Tropical Semiring: N, min, + Arctic Semiring: N, max, + Possibilistic Semiring: [0, 1], max, Powerset lattice: P(S),, Bottleneck Semiring: R, max, min Truncation Semiring: {0,..., k}, max, min{a + b, k} Lukasiewicz Semiring: [0, 1], min, max{a + b 1, 0} Division Semiring: N, lcm, gcd Formal Languages: P(Σ ),, not commutative Marc Pouly Semirings for Breakfast 18/ 27
24 Examples of Dioids Theorem Semirings with idempotent + (i.e. a + a = a) are always dioids. Arithmetic Semirings: R, +,, Z, +,, N, +,,... Boolean Semiring: {0, 1},, Tropical Semiring: N, min, + Arctic Semiring: N, max, + Possibilistic Semiring: [0, 1], max, Powerset lattice: P(S),, Bottleneck Semiring: R, max, min Truncation Semiring: {0,..., k}, max, min{a + b, k} Lukasiewicz Semiring: [0, 1], min, max{a + b 1, 0} Division Semiring: N, lcm, gcd Formal Languages: P(Σ ),, not commutative Marc Pouly Semirings for Breakfast 18/ 27
25 Lesson 4: Application of Dioid Theory Marc Pouly Semirings for Breakfast 19/ 27
26 Shortest Distance from S to T 2 C 3 6 B D 1 5 S 9 A 4 T Compute and then = = = 11 min{13, 12, 11} = 11 Marc Pouly Semirings for Breakfast 20/ 27
27 Connectivity of S and T 1 C 0 1 B D 1 1 S 0 A 1 T Compute and then min{0, 1} = 0 min{1, 1, 1} = 1 min{1, 1, 0, 1} = 0 max{0, 1, 0} = 1 Marc Pouly Semirings for Breakfast 21/ 27
28 Largest Capacity from S to T 4.2 C B D S 3.4 A 4.5 T Compute and then min{3.4, 4.5} = 3.4 min{3.6, 5.5, 5.1} = 3.6 min{3.6, 4.2, 3.5, 5.1} = 3.5 max{3.4, 3.6, 3.5} = 3.6 Marc Pouly Semirings for Breakfast 22/ 27
29 Maximum Reliability from S to T 0.9 C B D S 0.4 A 0.8 T Compute and then = = = max{0.32, 0.126, 0.567} = Marc Pouly Semirings for Breakfast 23/ 27
30 Language leading from S to T in the Automaton {c} C {b} B {b} D {a} {a} S {a} A {c} T Compute {a} {c} = {ac} {a} {b} {a} = {aba} {a} {c} {b} {a} = {acba} and then {{ac}, {aba}, {acba}} = {ac, aba, acba} Marc Pouly Semirings for Breakfast 24/ 27
31 The Algebraic Path Problem These are path problems over different semirings If M denotes the matrix of edge weights in the graph, all-pairs path problems are solved by computing D = r 0 M r = I + M + M 2 + M This is an infinite series of semiring matrices A solution is obtained if the series converges. This requires the notion of a topology Marc Pouly Semirings for Breakfast 25/ 27
32 The Algebraic Path Problem These are path problems over different semirings If M denotes the matrix of edge weights in the graph, all-pairs path problems are solved by computing D = r 0 M r = I + M + M 2 + M This is an infinite series of semiring matrices A solution is obtained if the series converges. This requires the notion of a topology Marc Pouly Semirings for Breakfast 25/ 27
33 Semiring Topology The partial order in dioids allows to introduce a particular topology and to study the convergence of the series Theorem If the limit D exists, then it corresponds to the least solution to the fixpoint equation X = MX + I Hence, arbitrary path problems are computed by a single algorithm that solves a dioid fixpoint equation system This was the hour of birth of semiring topology Marc Pouly Semirings for Breakfast 26/ 27
34 Semiring Topology The partial order in dioids allows to introduce a particular topology and to study the convergence of the series Theorem If the limit D exists, then it corresponds to the least solution to the fixpoint equation X = MX + I Hence, arbitrary path problems are computed by a single algorithm that solves a dioid fixpoint equation system This was the hour of birth of semiring topology Marc Pouly Semirings for Breakfast 26/ 27
35 Recap of today s Breakfast Lessons 2 reasons why computer scientists are interested in semirings: they reduce problem complexity they enable generic problem solving 2 reasons why mathematicians are interested in semirings: ordered semirings are fundamentally different from fields new research fields thanks to applications in CS Marc Pouly Semirings for Breakfast 27/ 27
Intelligent Systems: Reasoning and Recognition. Reasoning with Bayesian Networks
Intelligent Systems: Reasoning and Recognition James L. Crowley ENSIMAG 2 / MoSIG M1 Second Semester 2016/2017 Lesson 13 24 march 2017 Reasoning with Bayesian Networks Naïve Bayesian Systems...2 Example
More informationModule 10. Reasoning with Uncertainty - Probabilistic reasoning. Version 2 CSE IIT,Kharagpur
Module 10 Reasoning with Uncertainty - Probabilistic reasoning 10.1 Instructional Objective The students should understand the role of uncertainty in knowledge representation Students should learn the
More informationIntroduction to Kleene Algebras
Introduction to Kleene Algebras Riccardo Pucella Basic Notions Seminar December 1, 2005 Introduction to Kleene Algebras p.1 Idempotent Semirings An idempotent semiring is a structure S = (S, +,, 1, 0)
More informationMotivation. Bayesian Networks in Epistemology and Philosophy of Science Lecture. Overview. Organizational Issues
Bayesian Networks in Epistemology and Philosophy of Science Lecture 1: Bayesian Networks Center for Logic and Philosophy of Science Tilburg University, The Netherlands Formal Epistemology Course Northern
More informationAxioms of Kleene Algebra
Introduction to Kleene Algebra Lecture 2 CS786 Spring 2004 January 28, 2004 Axioms of Kleene Algebra In this lecture we give the formal definition of a Kleene algebra and derive some basic consequences.
More informationIntroduction to Artificial Intelligence. Unit # 11
Introduction to Artificial Intelligence Unit # 11 1 Course Outline Overview of Artificial Intelligence State Space Representation Search Techniques Machine Learning Logic Probabilistic Reasoning/Bayesian
More informationKleene Algebras and Algebraic Path Problems
Kleene Algebras and Algebraic Path Problems Davis Foote May 8, 015 1 Regular Languages 1.1 Deterministic Finite Automata A deterministic finite automaton (DFA) is a model of computation that can simulate
More informationCapturing Independence Graphically; Undirected Graphs
Capturing Independence Graphically; Undirected Graphs COMPSCI 276, Spring 2014 Set 2: Rina Dechter (Reading: Pearl chapters 3, Darwiche chapter 4) 1 Constraint Networks Example: map coloring Variables
More informationLecture 5: Bayesian Network
Lecture 5: Bayesian Network Topics of this lecture What is a Bayesian network? A simple example Formal definition of BN A slightly difficult example Learning of BN An example of learning Important topics
More informationAn Introduction to Bayesian Networks: Representation and Approximate Inference
An Introduction to Bayesian Networks: Representation and Approximate Inference Marek Grześ Department of Computer Science University of York Graphical Models Reading Group May 7, 2009 Data and Probabilities
More informationProbabilistic Reasoning; Network-based reasoning
Probabilistic Reasoning; Network-based reasoning COMPSCI 276, Fall 2014 Set 1: Introduction and Background Rina Dechter (Reading: Pearl chapter 1-2, Darwiche chapters 1,3) 1 Why/What/How Uncertainty? Why
More informationIntroduction to Graphical Models. Srikumar Ramalingam School of Computing University of Utah
Introduction to Graphical Models Srikumar Ramalingam School of Computing University of Utah Reference Christopher M. Bishop, Pattern Recognition and Machine Learning, Jonathan S. Yedidia, William T. Freeman,
More informationIntroduction to Finite Automaton
Lecture 1 Introduction to Finite Automaton IIP-TL@NTU Lim Zhi Hao 2015 Lecture 1 Introduction to Finite Automata (FA) Intuition of FA Informally, it is a collection of a finite set of states and state
More informationFun with Semirings. A functional pearl on the abuse of linear algebra. Stephen Dolan
A functional pearl on the abuse of linear algebra Computer Laboratory University of Cambridge stephen.dolan@cl.cam.ac.uk September 25, 2013 Linear algebra is magic If your problem can be expressed as vectors
More informationLecture 10: Introduction to reasoning under uncertainty. Uncertainty
Lecture 10: Introduction to reasoning under uncertainty Introduction to reasoning under uncertainty Review of probability Axioms and inference Conditional probability Probability distributions COMP-424,
More informationIntroduction to Graphical Models. Srikumar Ramalingam School of Computing University of Utah
Introduction to Graphical Models Srikumar Ramalingam School of Computing University of Utah Reference Christopher M. Bishop, Pattern Recognition and Machine Learning, Jonathan S. Yedidia, William T. Freeman,
More informationLecture 15: MCMC Sanjeev Arora Elad Hazan. COS 402 Machine Learning and Artificial Intelligence Fall 2016
Lecture 15: MCMC Sanjeev Arora Elad Hazan COS 402 Machine Learning and Artificial Intelligence Fall 2016 Course progress Learning from examples Definition + fundamental theorem of statistical learning,
More informationA Weak Bisimulation for Weighted Automata
Weak Bisimulation for Weighted utomata Peter Kemper College of William and Mary Weighted utomata and Semirings here focus on commutative & idempotent semirings Weak Bisimulation Composition operators Congruence
More informationIntroduction to Sets and Logic (MATH 1190)
Introduction to Sets and Logic () Instructor: Email: shenlili@yorku.ca Department of Mathematics and Statistics York University Nov 13, 2014 Quiz announcement The second quiz will be held on Thursday,
More information2MA105 Algebraic Structures I
2MA105 Algebraic Structures I Per-Anders Svensson http://homepage.lnu.se/staff/psvmsi/2ma105.html Lecture 12 Partially Ordered Sets Lattices Bounded Lattices Distributive Lattices Complemented Lattices
More informationSolving weakly linear inequalities for matrices over max-plus semiring and applications to automata theory
Solving weakly linear inequalities for matrices over max-plus semiring and applications to automata theory Nada Damljanović University of Kragujevac, Faculty of Technical Sciences in Čačak, Serbia nada.damljanovic@ftn.kg.ac.rs
More information1. Introduction to commutative rings and fields
1. Introduction to commutative rings and fields Very informally speaking, a commutative ring is a set in which we can add, subtract and multiply elements so that the usual laws hold. A field is a commutative
More informationx y = x + y. For example, the tropical sum 4 9 = 4, and the tropical product 4 9 = 13.
Comment: Version 0.1 1 Introduction Tropical geometry is a relatively new area in mathematics. Loosely described, it is a piece-wise linear version of algebraic geometry, over a particular structure known
More informationOn the Truth Values of Fuzzy Statements
International Journal of Applied Computational Science and Mathematics. ISSN 2249-3042 Volume 3, Number 1 (2013), pp. 1-6 Research India Publications http://www.ripublication.com/ijacsm.htm On the Truth
More informationCMPSCI 250: Introduction to Computation. Lecture #29: Proving Regular Language Identities David Mix Barrington 6 April 2012
CMPSCI 250: Introduction to Computation Lecture #29: Proving Regular Language Identities David Mix Barrington 6 April 2012 Proving Regular Language Identities Regular Language Identities The Semiring Axioms
More informationUnderstanding and Improving Belief Propagation
Understanding and Improving Belief Propagation Een wetenschappelijke proeve op het gebied van de Natuurwetenschappen, Wiskunde en Informatica Proefschrift ter verkrijging van de graad van doctor aan de
More informationRecall from last time: Conditional probabilities. Lecture 2: Belief (Bayesian) networks. Bayes ball. Example (continued) Example: Inference problem
Recall from last time: Conditional probabilities Our probabilistic models will compute and manipulate conditional probabilities. Given two random variables X, Y, we denote by Lecture 2: Belief (Bayesian)
More informationCOMP9020 Lecture 3 Session 2, 2014 Sets, Functions, and Sequences. Revision: 1.3
1 COMP9020 Lecture 3 Session 2, 2014 Sets, Functions, and Sequences Revision: 1.3 2 Notation for Numbers Definition Integers Z = {... 2, 1, 0, 1, 2,...} Reals R. : R Z floor of x, the greatest integer
More informationGoal. Partially-ordered set. Game plan 2/2/2013. Solving fixpoint equations
Goal Solving fixpoint equations Many problems in programming languages can be formulated as the solution of a set of mutually recursive equations: D: set, f,g:dxd D x = f(x,y) y = g(x,y) Examples Parsing:
More informationKleene Algebra and Arden s Theorem. Anshul Kumar Inzemamul Haque
Kleene Algebra and Arden s Theorem Anshul Kumar Inzemamul Haque Motivation Regular Expression is a Kleene Algebra. We can use the properties and theorems of Kleene Algebra to simplify regular expressions
More informationCapturing Independence Graphically; Undirected Graphs
Capturing Independence Graphically; Undirected Graphs COMPSCI 276, Spring 2017 Set 2: Rina Dechter (Reading: Pearl chapters 3, Darwiche chapter 4) 1 Outline Graphical models: The constraint network, Probabilistic
More informationWith Question/Answer Animations. Chapter 2
With Question/Answer Animations Chapter 2 Chapter Summary Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Sequences and Summations Types of
More informationProbabilistic Reasoning; Network-based reasoning
Probabilistic Reasoning; Network-based reasoning COMPSCI 276, Spring 2017 Set 1: Introduction and Background Rina Dechter (Reading: Pearl chapter 1-2, Darwiche chapters 1,3) 1 Example of Common Sense Reasoning
More informationSets and Motivation for Boolean algebra
SET THEORY Basic concepts Notations Subset Algebra of sets The power set Ordered pairs and Cartesian product Relations on sets Types of relations and their properties Relational matrix and the graph of
More informationProbabilistic Reasoning; Network-based reasoning
Probabilistic Reasoning; Network-based reasoning COMPSCI 276, Spring 2013 Set 1: Introduction and Background Rina Dechter (Reading: Pearl chapter 1-2, Darwiche chapters 1,3) 1 Class Description n Instructor:
More informationSupport for Multiple Cause Diagnosis with Bayesian Networks
Support for Multiple Cause Diagnosis with Bayesian Networks Presentation Friday 4 October Randy Jagt Decision Systems Laboratory Intelligent Systems Program University of Pittsburgh Overview Introduction
More informationLogic Synthesis and Verification
Logic Synthesis and Verification Boolean Algebra Jie-Hong Roland Jiang 江介宏 Department of Electrical Engineering National Taiwan University Fall 2014 1 2 Boolean Algebra Reading F. M. Brown. Boolean Reasoning:
More informationWriting proofs for MATH 51H Section 2: Set theory, proofs of existential statements, proofs of uniqueness statements, proof by cases
Writing proofs for MATH 51H Section 2: Set theory, proofs of existential statements, proofs of uniqueness statements, proof by cases September 22, 2018 Recall from last week that the purpose of a proof
More informationDepartment of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination II (Fall 2007)
Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination II (Fall 2007) Problem 1: Specify two different predicates P (x) and
More informationInvertible Matrices over Idempotent Semirings
Chamchuri Journal of Mathematics Volume 1(2009) Number 2, 55 61 http://www.math.sc.chula.ac.th/cjm Invertible Matrices over Idempotent Semirings W. Mora, A. Wasanawichit and Y. Kemprasit Received 28 Sep
More informationReview of Propositional Calculus
CS 1813 Discrete Mathematics Review of Propositional Calculus 1 Truth Tables for Logical Operators P Q P Q P Q P Q P Q P Q P 2 Semantic Reasoning with Truth Tables Proposition (WFF): ((P Q) (( P) Q)) P
More informationBayesian Networks BY: MOHAMAD ALSABBAGH
Bayesian Networks BY: MOHAMAD ALSABBAGH Outlines Introduction Bayes Rule Bayesian Networks (BN) Representation Size of a Bayesian Network Inference via BN BN Learning Dynamic BN Introduction Conditional
More informationOn the coinductive nature of centralizers
On the coinductive nature of centralizers Charles Grellois INRIA & University of Bologna Séminaire du LIFO Jan 16, 2017 Charles Grellois (INRIA & Bologna) On the coinductive nature of centralizers Jan
More informationLesson 7: Lesson Summary. Sample Solution. Write a mathematical proof of the algebraic equivalence of ( ) and ( ). ( ) = ( )
Sample Solution Write a mathematical proof of the algebraic equivalence of () and (). () = () associative property = () commutative property Lesson Summary Properties of Arithmetic THE COMMUTATIVE PROPERTY
More informationThe overlap algebra of regular opens
The overlap algebra of regular opens Francesco Ciraulo Giovanni Sambin Abstract Overlap algebras are complete lattices enriched with an extra primitive relation, called overlap. The new notion of overlap
More information1. Introduction to commutative rings and fields
1. Introduction to commutative rings and fields Very informally speaking, a commutative ring is a set in which we can add, subtract and multiply elements so that the usual laws hold. A field is a commutative
More informationFinite Automata Theory and Formal Languages TMV027/DIT321 LP4 2017
Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2017 Lecture 4 Ana Bove March 24th 2017 Structural induction; Concepts of automata theory. Overview of today s lecture: Recap: Formal Proofs
More informationBuilding Algebraic Structures with Combinators
Building Algebraic Structures with Combinators Vilius Naudžiūnas Timothy G. Griffin Vilius.Naudziunas@cl.cam.ac.uk timothy.griffin@cl.cam.ac.uk Computer Laboratory University of Cambridge, UK Model-Based
More informationComputation in Valuation Algebras
Appeared in: J. Kohlas and S. Moral (eds.), Algorithms for Uncertainty and Defeasible Reasoning, Handbook of Defeasible Reasoning and Uncertainty Managment Systems, Vol. 5, 2000, pp. 5--39, Kluwer Academic
More informationCS3110 Fall 2013 Lecture 11: The Computable Real Numbers, R (10/3)
CS3110 Fall 2013 Lecture 11: The Computable Real Numbers, R (10/3) Robert Constable 1 Lecture Plan More about the rationals dependent types enumerating Q (Q is countable) Function inverses bijections one-one
More informationMATH 423 Linear Algebra II Lecture 3: Subspaces of vector spaces. Review of complex numbers. Vector space over a field.
MATH 423 Linear Algebra II Lecture 3: Subspaces of vector spaces. Review of complex numbers. Vector space over a field. Vector space A vector space is a set V equipped with two operations, addition V V
More informationSets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth
Sets We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth century. Most students have seen sets before. This is intended
More informationAlgebra. Modular arithmetic can be handled mathematically by introducing a congruence relation on the integers described in the above example.
Coding Theory Massoud Malek Algebra Congruence Relation The definition of a congruence depends on the type of algebraic structure under consideration Particular definitions of congruence can be made for
More informationLimits and Continuity
Limits and Continuity MATH 151 Calculus for Management J. Robert Buchanan Department of Mathematics Fall 2018 Objectives After this lesson we will be able to: Determine the left-hand and right-hand limits
More information1. Definition of a Polynomial
1. Definition of a Polynomial What is a polynomial? A polynomial P(x) is an algebraic expression of the form Degree P(x) = a n x n + a n 1 x n 1 + a n 2 x n 2 + + a 3 x 3 + a 2 x 2 + a 1 x + a 0 Leading
More informationImplementing Machine Reasoning using Bayesian Network in Big Data Analytics
Implementing Machine Reasoning using Bayesian Network in Big Data Analytics Steve Cheng, Ph.D. Guest Speaker for EECS 6893 Big Data Analytics Columbia University October 26, 2017 Outline Introduction Probability
More informationGenerative Techniques: Bayes Rule and the Axioms of Probability
Intelligent Systems: Reasoning and Recognition James L. Crowley ENSIMAG 2 / MoSIG M1 Second Semester 2016/2017 Lesson 8 3 March 2017 Generative Techniques: Bayes Rule and the Axioms of Probability Generative
More informationProbabilistic Assessment of Security Scenarios Challenges and Solutions
Probabilistic Assessment of Security Scenarios Challenges and Solutions Barbara Kordy Joint work with Marc Pouly, Patrick Schweitzer Formal Methods and Security seminar INRIA Rennes, May 16, 2014 Barbara
More informationBounded Model Checking with SAT/SMT. Edmund M. Clarke School of Computer Science Carnegie Mellon University 1/39
Bounded Model Checking with SAT/SMT Edmund M. Clarke School of Computer Science Carnegie Mellon University 1/39 Recap: Symbolic Model Checking with BDDs Method used by most industrial strength model checkers:
More informationAn Abstract Approach to Consequence Relations
An Abstract Approach to Consequence Relations Francesco Paoli (joint work with P. Cintula, J. Gil Férez, T. Moraschini) SYSMICS Kickoff Francesco Paoli, (joint work with P. Cintula, J. AnGil Abstract Férez,
More informationZEROS OF POLYNOMIAL FUNCTIONS ALL I HAVE TO KNOW ABOUT POLYNOMIAL FUNCTIONS
ZEROS OF POLYNOMIAL FUNCTIONS ALL I HAVE TO KNOW ABOUT POLYNOMIAL FUNCTIONS TOOLS IN FINDING ZEROS OF POLYNOMIAL FUNCTIONS Synthetic Division and Remainder Theorem (Compressed Synthetic Division) Fundamental
More informationBoolean Algebras. Chapter 2
Chapter 2 Boolean Algebras Let X be an arbitrary set and let P(X) be the class of all subsets of X (the power set of X). Three natural set-theoretic operations on P(X) are the binary operations of union
More informationTropical Islands. Jan Verschelde
Tropical Islands Jan Verschelde University of Illinois at Chicago Department of Mathematics, Statistics, and Computer Science http://www.math.uic.edu/ jan jan@math.uic.edu Graduate Computational Algebraic
More informationAnnouncements. CS 188: Artificial Intelligence Spring Probability recap. Outline. Bayes Nets: Big Picture. Graphical Model Notation
CS 188: Artificial Intelligence Spring 2010 Lecture 15: Bayes Nets II Independence 3/9/2010 Pieter Abbeel UC Berkeley Many slides over the course adapted from Dan Klein, Stuart Russell, Andrew Moore Current
More informationProbabilistic Models
Bayes Nets 1 Probabilistic Models Models describe how (a portion of) the world works Models are always simplifications May not account for every variable May not account for all interactions between variables
More informationCOMP538: Introduction to Bayesian Networks
COMP538: Introduction to Bayesian Networks Lecture 2: Bayesian Networks Nevin L. Zhang lzhang@cse.ust.hk Department of Computer Science and Engineering Hong Kong University of Science and Technology Fall
More information19. Basis and Dimension
9. Basis and Dimension In the last Section we established the notion of a linearly independent set of vectors in a vector space V and of a set of vectors that span V. We saw that any set of vectors that
More informationREVIEW QUESTIONS. Chapter 1: Foundations: Sets, Logic, and Algorithms
REVIEW QUESTIONS Chapter 1: Foundations: Sets, Logic, and Algorithms 1. Why can t a Venn diagram be used to prove a statement about sets? 2. Suppose S is a set with n elements. Explain why the power set
More informationNotation Index. gcd(a, b) (greatest common divisor) NT-16
Notation Index (for all) B A (all functions) B A = B A (all functions) SF-18 (n) k (falling factorial) SF-9 a R b (binary relation) C(n,k) = n! k! (n k)! (binomial coefficient) SF-9 n! (n factorial) SF-9
More informationFinite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018
Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018 Lecture 4 Ana Bove March 23rd 2018 Recap: Formal Proofs How formal should a proof be? Depends on its purpose...... but should be convincing......
More informationMonadic GMV -algebras
Department of Algebra and Geometry Faculty of Sciences Palacký University of Olomouc Czech Republic TANCL 07, Oxford 2007 monadic structures = algebras with quantifiers = algebraic models for one-variable
More informationEconomics 204 Summer/Fall 2011 Lecture 2 Tuesday July 26, 2011 N Now, on the main diagonal, change all the 0s to 1s and vice versa:
Economics 04 Summer/Fall 011 Lecture Tuesday July 6, 011 Section 1.4. Cardinality (cont.) Theorem 1 (Cantor) N, the set of all subsets of N, is not countable. Proof: Suppose N is countable. Then there
More informationA Discrete Duality Between Nonmonotonic Consequence Relations and Convex Geometries
A Discrete Duality Between Nonmonotonic Consequence Relations and Convex Geometries Johannes Marti and Riccardo Pinosio Draft from April 5, 2018 Abstract In this paper we present a duality between nonmonotonic
More informationCS 188: Artificial Intelligence Spring Announcements
CS 188: Artificial Intelligence Spring 2011 Lecture 14: Bayes Nets II Independence 3/9/2011 Pieter Abbeel UC Berkeley Many slides over the course adapted from Dan Klein, Stuart Russell, Andrew Moore Announcements
More informationRelations. Relations. Definition. Let A and B be sets.
Relations Relations. Definition. Let A and B be sets. A relation R from A to B is a subset R A B. If a A and b B, we write a R b if (a, b) R, and a /R b if (a, b) / R. A relation from A to A is called
More informationTROPICAL SCHEME THEORY. Idempotent semirings
TROPICAL SCHEME THEORY Idempotent semirings Definition 0.1. A semiring is (R, +,, 0, 1) such that (R, +, 0) is a commutative monoid (so + is a commutative associative binary operation on R 0 is an additive
More informationUncertainty and knowledge. Uncertainty and knowledge. Reasoning with uncertainty. Notes
Approximate reasoning Uncertainty and knowledge Introduction All knowledge representation formalism and problem solving mechanisms that we have seen until now are based on the following assumptions: All
More informationDiscrete Structures: Solutions to Sample Questions, Exam 2
Discrete Structures: Solutions to Sample Questions, Exam 2 1. Let A = B = {a, b, c}. Consider the relation g = {(a, b), (b, c), (c, c)}. Is g one-to-one? Is g onto? Why? Solution: g is not one-to-one,
More informationProvenance Semirings. Todd Green Grigoris Karvounarakis Val Tannen. presented by Clemens Ley
Provenance Semirings Todd Green Grigoris Karvounarakis Val Tannen presented by Clemens Ley place of origin Provenance Semirings Todd Green Grigoris Karvounarakis Val Tannen presented by Clemens Ley place
More informationTues Feb Vector spaces and subspaces. Announcements: Warm-up Exercise:
Math 2270-004 Week 7 notes We will not necessarily finish the material from a given day's notes on that day. We may also add or subtract some material as the week progresses, but these notes represent
More informationMIT Martin Rinard Laboratory for Computer Science Massachusetts Institute of Technology
MIT 6.035 Foundations of Dataflow Analysis Martin Rinard Laboratory for Computer Science Massachusetts Institute of Technology Dataflow Analysis Compile-Time Reasoning About Run-Time Values of Variables
More informationAlgorithms for Computing Complete Deterministic Fuzzy Automata via Invariant Fuzzy Quasi-Orders
Faculty of Sciences and Mathematics Department of Computer Science University of Niš, Serbia Algorithms for Computing Complete Deterministic Fuzzy Automata via Invariant Fuzzy Quasi-Orders Stefan Stanimirović
More informationDenotational Semantics
5 Denotational Semantics In the operational approach, we were interested in how a program is executed. This is contrary to the denotational approach, where we are merely interested in the effect of executing
More informationLecture 1: Lattice(I)
Discrete Mathematics (II) Spring 207 Lecture : Lattice(I) Lecturer: Yi Li Lattice is a special algebra structure. It is also a part of theoretic foundation of model theory, which formalizes the semantics
More informationElements of Representation Theory for Pawlak Information Systems
Elements of Representation Theory for Pawlak Information Systems Marcin Wolski 1 and Anna Gomolińska 2 1 Maria Curie-Skłodowska University, Department of Logic and Philosophy of Science, Pl. Marii Curie-Skłodowskiej
More informationCS 455/555: Mathematical preliminaries
CS 455/555: Mathematical preliminaries Stefan D. Bruda Winter 2019 SETS AND RELATIONS Sets: Operations: intersection, union, difference, Cartesian product Big, powerset (2 A ) Partition (π 2 A, π, i j
More informationTopics in Complexity Theory
Topics in Complexity Theory Announcements Final exam this Friday from 12:15PM-3:15PM Please let us know immediately after lecture if you want to take the final at an alternate time and haven't yet told
More informationWhat Causality Is (stats for mathematicians)
What Causality Is (stats for mathematicians) Andrew Critch UC Berkeley August 31, 2011 Introduction Foreword: The value of examples With any hard question, it helps to start with simple, concrete versions
More informationBayesian Networks for Causal Analysis
Paper 2776-2018 Bayesian Networks for Causal Analysis Fei Wang and John Amrhein, McDougall Scientific Ltd. ABSTRACT Bayesian Networks (BN) are a type of graphical model that represent relationships between
More informationRational Exponents. Polynomial function of degree n: with leading coefficient,, with maximum number of turning points is given by (n-1)
Useful Fact Sheet Final Exam Interval, Set Builder Notation (a,b) = {x a
More informationData Cleaning and Query Answering with Matching Dependencies and Matching Functions
Data Cleaning and Query Answering with Matching Dependencies and Matching Functions Leopoldo Bertossi 1, Solmaz Kolahi 2, and Laks V. S. Lakshmanan 2 1 Carleton University, Ottawa, Canada. bertossi@scs.carleton.ca
More information03 Review of First-Order Logic
CAS 734 Winter 2014 03 Review of First-Order Logic William M. Farmer Department of Computing and Software McMaster University 18 January 2014 What is First-Order Logic? First-order logic is the study of
More informationInfinite-Dimensional Triangularization
Infinite-Dimensional Triangularization Zachary Mesyan March 11, 2018 Abstract The goal of this paper is to generalize the theory of triangularizing matrices to linear transformations of an arbitrary vector
More informationUncertainty and Bayesian Networks
Uncertainty and Bayesian Networks Tutorial 3 Tutorial 3 1 Outline Uncertainty Probability Syntax and Semantics for Uncertainty Inference Independence and Bayes Rule Syntax and Semantics for Bayesian Networks
More informationHonors Advanced Mathematics November 4, /2.6 summary and extra problems page 1 Recap: complex numbers
November 4, 013.5/.6 summary and extra problems page 1 Recap: complex numbers Number system The complex number system consists of a + bi where a and b are real numbers, with various arithmetic operations.
More informationExact Inference Algorithms Bucket-elimination
Exact Inference Algorithms Bucket-elimination COMPSCI 276, Spring 2013 Class 5: Rina Dechter (Reading: class notes chapter 4, Darwiche chapter 6) 1 Belief Updating Smoking lung Cancer Bronchitis X-ray
More informationCS 5522: Artificial Intelligence II
CS 5522: Artificial Intelligence II Bayes Nets Instructor: Alan Ritter Ohio State University [These slides were adapted from CS188 Intro to AI at UC Berkeley. All materials available at http://ai.berkeley.edu.]
More informationMath Linear algebra, Spring Semester Dan Abramovich
Math 52 0 - Linear algebra, Spring Semester 2012-2013 Dan Abramovich Fields. We learned to work with fields of numbers in school: Q = fractions of integers R = all real numbers, represented by infinite
More informationCS 5522: Artificial Intelligence II
CS 5522: Artificial Intelligence II Bayes Nets: Independence Instructor: Alan Ritter Ohio State University [These slides were adapted from CS188 Intro to AI at UC Berkeley. All materials available at http://ai.berkeley.edu.]
More informationPRACTICE PROBLEMS: SET 1
PRACTICE PROBLEMS: SET MATH 437/537: PROF. DRAGOS GHIOCA. Problems Problem. Let a, b N. Show that if gcd(a, b) = lcm[a, b], then a = b. Problem. Let n, k N with n. Prove that (n ) (n k ) if and only if
More information