Alloy = FOL + transitive closure + sets + relations

Slides:



Advertisements
Similar presentations
What is Optimal Control Theory? Dynamic Systems: Evolving over time. Time: Discrete or continuous. Optimal way to control a dynamic system. Prerequisites:
Advertisements

Space complexity [AB 4]. 2 Input/Work/Output TM Output.
3D Geometry for Computer Graphics
Lecture 24 MAS 714 Hartmut Klauck
Timed Automata.
Pattern Recognition and Machine Learning: Kernel Methods.
Verification of Hybrid Systems An Assessment of Current Techniques Holly Bowen.
Umans Complexity Theory Lectures Lecture 2a: Reductions & Completeness.
CPSC 411, Fall 2008: Set 12 1 CPSC 411 Design and Analysis of Algorithms Set 12: Undecidability Prof. Jennifer Welch Fall 2008.
Complexity 5-1 Complexity Andrei Bulatov Complexity of Problems.
1 MECH 221 FLUID MECHANICS (Fall 06/07) Tutorial 6 FLUID KINETMATICS.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 19 Instructor: Paul Beame.
Chapter 13 Finite Difference Methods: Outline Solving ordinary and partial differential equations Finite difference methods (FDM) vs Finite Element Methods.
Lectures on Cellular Automata Continued Modified and upgraded slides of Martijn Schut Vrij Universiteit Amsterdam Lubomir Ivanov Department.
DAST, Spring © L. Joskowicz 1 Data Structures – LECTURE 1 Introduction Motivation: algorithms and abstract data types Easy problems, hard problems.
Nawaf M Albadia Introduction. Components. Behavior & Characteristics. Classes & Rules. Grid Dimensions. Evolving Cellular Automata using Genetic.
Tutorial 5: Numerical methods - buildings Q1. Identify three principal differences between a response function method and a numerical method when both.
Diffusion approximation for billiards models 1. Presentation of billiards models 2. The dynamic system approach 2.1 Notations and definitions 2.2 Fundamental.
Theory of Computing Lecture 15 MAS 714 Hartmut Klauck.
Does not Compute 4: Finite Automata In which we temporarily admit defeat with cellular automata (we will face them again, in the epic final “Does Not Compute”
NP Complexity By Mussie Araya. What is NP Complexity? Formal Definition: NP is the set of decision problems solvable in polynomial time by a non- deterministic.
1 Cellular Automata and Applications Ajith Abraham Telephone Number: (918) WWW:
Cellular Automata & DNA Computing 우정철. Definition Of Cellular Automata Von Von Neuman’s Neuman’s Definition Wolfram’s Wolfram’s Definition Lyman.
Review of Matrix Operations Vector: a sequence of elements (the order is important) e.g., x = (2, 1) denotes a vector length = sqrt(2*2+1*1) orientation.
Lecture 1 Overview Topics 1. Proof techniques: induction, contradiction Proof techniques June 1, 2015 CSCE 355 Foundations of Computation.
Strings Basic data type in computational biology A string is an ordered succession of characters or symbols from a finite set called an alphabet Sequence.
Computability NP complete problems. Space complexity. Homework: [Post proposal]. Find PSPACE- Complete problems. Work on presentations.
Chapter 2-OPTIMIZATION G.Anuradha. Contents Derivative-based Optimization –Descent Methods –The Method of Steepest Descent –Classical Newton’s Method.
Evolutionary Computing Chapter 1. / 20 Chapter 1: Problems to be solved Problems can be classified in different ways: Black box model Search problems.
Krylov-Subspace Methods - I Lecture 6 Alessandra Nardi Thanks to Prof. Jacob White, Deepak Ramaswamy, Michal Rewienski, and Karen Veroy.
 1 More Mathematics: Finding Minimum. Numerical Optimization Find the minimum of If a given function is continuous and differentiable, find the root.
Final Outline Shang-Hua Teng. Problem 1: Multiple Choices 16 points There might be more than one correct answers; So you should try to mark them all.
Debugging declarative models using core extraction Robert Seater with Ilya Shlyakhter, Daniel Jackson, Manu Sridharan, Mana Taghdiri December 20, 2005.
© 2012 IBM Corporation Perfect Hashing and CNF Encodings of Cardinality Constraints Yael Ben-Haim Alexander Ivrii Oded Margalit Arie Matsliah SAT 2012.
Physics 313: Lecture 17 Wednesday, 10/22/08. Announcements ● Please make an appointment to see me, to choose a project by Friday, October 24. ● Please.
Geometry of Interaction Models proofs of linear logic as bidirectional computation executed by the flow of data in the proof net.
Alloy Analyzer 4 Tutorial Session 3: Static Modeling Greg Dennis and Rob Seater Software Design Group, MIT.
Sub-fields of computer science. Sub-fields of computer science.
Biointelligence Laboratory, Seoul National University
The NP class. NP-completeness
Lattice Boltzmann Modeling
CSCE 355 Foundations of Computation
Spatio-Temporal Information for Society Münster, 2014
Hiroki Sayama NECSI Summer School 2008 Week 3: Methods for the Study of Complex Systems Cellular Automata Hiroki Sayama
Deep Feedforward Networks
High Altitude Low Opening?
Review of Matrix Operations
Busch Complexity Lectures: Reductions
Linear Bounded Automata LBAs
Automata, Grammars and Languages
Summary of lectures Introduction to Algorithm Analysis and Design (Chapter 1-3). Lecture Slides Recurrence and Master Theorem (Chapter 4). Lecture Slides.
Illustrations of Simple Cellular Automata
PSG College of Technology
CSCE 355 Foundations of Computation
Gabor Madl Ph.D. Candidate, UC Irvine Advisor: Nikil Dutt
Background: Lattices and the Learning-with-Errors problem
Chapter 1: Introduction
Turnstile Streaming Algorithms Might as Well Be Linear Sketches
Nuclear Norm Heuristic for Rank Minimization
Cellular Automata.
Over-Approximating Boolean Programs with Unbounded Thread Creation
APPLICATIONS of FRACTALS
COP-3530 Data Structures and Algorithms Midterm I
Matrix Operations and Their Applications
Chapter 11 Limitations of Algorithm Power
COMP60621 Designing for Parallelism
CSE 321 Discrete Structures
Instructor: Aaron Roth
Cellular Automata (CA) Overview
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac
Presentation transcript:

Alloy = FOL + transitive closure + sets + relations bounded exhaustive search for counterexample sound but not complete Alloy Model Alloy instance spec Alloy Analyzer property translate formula translate instance mapping scope SAT solver boolean formula boolean instance

Alloy Case Studies firewire configuration protocol unison file sychronizer IMPP presence protocol for instant messaging query interface in COM key distribution for multicast intentional naming Chord distributed hash table role-based access control web ontologies air traffic control protocols telephone switch feature configuration proton beam scheduling

Stephen Omohundro "Modelling Cellular Automata with Partial Differential Equations" (1984) modeled a 2D 9-neighbor cellular automata (CA) with 10 PDEs modeling discrete system (in space and time) as smooth continuous computation universal CA implies universal PDEs ? bump functions shifted on a lattice to represent state of cells height of bump is color of cell N(x, y, t) variable represents "now" state of CA, F represents future S1 . . . S8 shift N to represent the 8 neighboring cells 10 coupled non-linear smooth PDEs common trick to discretize continuous systems for approximation on a computer universal Turing machine that simulates a computer = can have a universal CA – universal PDEs PDEs computation universal – support self-reproducing configurations just like Turing machines could one use this fact to show that finding a closed form to a PDE is equivalent to solving the halting problem? height of bumps represent state of individual cell

R. W. Brockett "Dynamical Systems that Sort Lists, Diagonalize Matrices, and Solve Linear Programming Problems" (1988) solve standard math problems with H, N are square symmetric matrices, [A, B] = AB - BA describes a gradient flow on space of orthogonal matrices use gradient flow property to diagonalize a symmetric matrix solve linear programming when constraint set is a convex polytope H can evolve to a sort the diagonals of a matrix technically understood this one the least, because it touched so many different domains explaining what this system could do given appropriate choice of H(0) and N inscrutable proof of the gradient flow

"Unpredictability and Undecidability in Dynamical Systems" (1990) Cristopher Moore "Unpredictability and Undecidability in Dynamical Systems" (1990) can answer long-term questions about chaotic systems providing initial conditions are known precisely identified dynamical systems that one cannot answer long-term questions about even if initial conditions known precisely system evolution described as a Generalized Shift Map (GSM) GSMs equivalent to Turing machines → computation universal questions about the behavior of GSM systems undecidable one such system: particle moving in a 3 dimensional potential  physical systems can be computers more than random – they are highly complex butterfly effect

Sorting as Optimization Problem given a list of numbers define sorted: sorted is minimal fun exercise to show how each step of a sorting algorithm keeps this minimal find a utility function that is optimal when the list is sorted