ON THE FORMALIZATION OF ZSYNTAX WITH APPLICATIONS IN MOLECULAR BIOLOGY

Size: px
Start display at page:

Download "ON THE FORMALIZATION OF ZSYNTAX WITH APPLICATIONS IN MOLECULAR BIOLOGY"

Transcription

1 DOI /scpe.v16i Scalable Computing: Practice and Experience ISSN Volume 16, Number 1, pp c 2015 SCPE ON THE FORMALIZATION OF ZSYNTAX WITH APPLICATIONS IN MOLECULAR BIOLOGY SOHAIB AHMAD, OSMAN HASAN, UMAIR SIDDIQUE Abstract. Recent progress in nanotechnology and optical imaging offers promising features to develop effective drugs to cure chronic diseases, such as cancer and malaria. However, qualitative characterization of biological organisms (such as molecules) is the foremost requirement to identify key drug targets. One of the most widely used approaches in this domain is molecular pathways, which offers a systematic way to represent and analyse complex biological systems. Traditionally, such pathways are analysed using paper-and-pencil based proofs and simulations. However, these methods cannot ascertain accurate analysis, which is a serious drawback given the safety-critical nature of the applications of molecular pathways. To overcome these limitations, we recently proposed to formally reason about molecular pathways within the sound core of a theorem prover. As a first step towards this direction, we formally expressed three logical operators and four inference rules of Zsyntax, which is a deduction language for molecular pathways. In the current paper, we extend this formalization by verifying a couple of behavioural properties of Zsyntax based deduction using the HOL4 theorem prover and developing a biologist friendly graphical user interface. Moreover, we demonstrate the utilization of our work by presenting the formal analysis of cancer related molecular pathway, i.e., TP53 degradation and metabolic pathway known as Glycolysis. Key words: Molecular biology, logical deduction AMS subject classifications. 68Q25, 92C40, 03D05 1. Introduction. Molecular biology is extensively used to construct models of biological processes in the form of networks or pathways, such as protein-protein interaction networks and signalling pathways. The analysis of these biological networks, usually referred to as biological regulatory networks (BRNs) or gene regulatory networks (GRNs) [10], is based on the principles of molecular biology to understand the dynamics of complex living organisms. Moreover, the analysis of molecular pathways plays a vital role in investigating the treatment of various human infectious diseases and future drug design targets. For example, the analysis of BRNs has been recently used to predict treatment decisions for sepsis patients [15]. Traditionally, the molecular biology based analysis is carried out by biologists in the form of wet-lab experiments (e.g. [7, 13]). These experiments, despite being very slow and expensive, do not ensure accurate results due to the inability to accurately characterize the complex biological processes in an experimental setting. Other alternatives for deducing molecular reactions include paper-and-pencil proof methods (e.g. using Boolean modelling [27] or kinetic logic [28]) or computer-based techniques (e.g. [29]) for analysing molecular biology problems. The manual proofs become quite tedious for large systems, where the calculation of unknown parameters takes several hundred proof steps, and are thus prone to human errors. The computer-based methods consist of graph-theoretic techniques [21], Petri nets [11] and model checking [3]. These approaches have shown very promising results in many applications of molecular biology (e.g. [8, 14]). However, these methods are not generic and hence have been used to describe some specific areas of molecular biology only [4]. Moreover, the inherent state-space explosion problem of model checking [20] limits the scope of this success only to systems where the biological entities can acquire a small set of possible levels. Theorem proving [12] can be considered as the second most widely used formal method. It does not suffer from the state-space explosion problem of model checking and has also been advocated for conducting molecular biology based analysis [30]. The main idea behind theorem proving is to construct a computer based mathematical model of the given system and then verify the properties of interest using deductive reasoning. The foremost requirement for conducting the theorem proving based analysis of any system is to formalize the mathematical or logical foundations required to model and analyse that system in an appropriate logic. There have been several attempts to formalize the foundations of molecular biology. For example, the earliest axiomatization even dates back to 1937[31] and other efforts related to the formalization of biology are presented in [32, 25]. Recent formalizations, based on K-Calculus [6] and π-calculus [22, 23, 24], also include some formal School of Electrical Engineering and Computer Science (SEECS), NUST, Islamabad, Pakistan ({11mseesahmad, osman.hasan, umair.siddique}@seecs.nust.edu.pk). 37

2 38 S. Ahmad, O. Hasan and U. Siddiqu reasoning support for biological systems. But the understanding and utilization of these techniques is very cumbersome for a working biologist as highlighted by Fontana in [9]. In order to develop a biologist friendly formal deduction framework for reasoning about molecular reactions, we propose to formalize the Zsyntax [4] language in higher-order logic. Zsyntax is a formal language that supports modelling and logical deductions about any biological process. The main strength of Zsyntax is its biologist-centred nature as its operators and inference rules have been designed in such a way that they are understandable by the biologists. Traditionally, logical deductions about biological processes, expressed in Zsyntax, were done manually based on the paper-and-pencil based approach. This limits the usage of Zsyntax to smaller problems and also makes the deduction process error-prone due to the human involvement. As a first step towards overcoming this limitation, we formalized the logical operators and inference rules of Zsyntax in higherorder logic [2]. In the current paper, we build upon these formal definitions to verify a couple of key behavioural properties of Zsyntax based molecular pathways using the HOL4 theorem prover. The formal verification of these properties raises the confidence level in our definitions of Zsyntax operators and inference rules, which have complex interrelationships. Moreover, these formally verified properties can be used to facilitate the formal reasoning about chemical reactions at the molecular level. In order to illustrate the usefulness and effectiveness of our formalization for analysing real-world problems in molecular biology, we present the formal analysis of a cancer related molecular pathway involving TP53 degradation and a metabolic pathway known as Glycolysis. As a part of this work, we have also developed a user-friendly graphical user interface (GUI) for conducting the Zsyntax based formal analysis of molecular pathways. The distinguishing features of this tool includes its biologist friendliness and dedicated proof tactic that allows the users to perform automated reasoning about molecular pathways. Our current framework handles static reactions but it can be further extended to study the reaction kinetics [4] due to the flexibility of Zsyntax. The main motivation behind using higher-order-logic theorem proving in our work is to be able to leverage upon the high expressiveness of higher-order logic and thus reason about differential equations and probabilistic properties, which form an integral part of reaction kinetics. However, the scope of the current paper is on the formalization of Zsyntax based deduction calculus for molecular pathways but this formalization can later be extended to support reaction kinetics as well because it is done in a higher-order-logic theorem prover. The rest of the paper is organized as follows: Section 2 provides an introduction to Zsyntax and the HOL4 theorem prover. The higher-order-logic formalization of Zsyntax operators and inference rules using HOL4 are described in Sect. 3. This is followed by the descriptions of the behavioural properties of Zsyntax along with their formal proof sketches in Sect. 4 and 5, respectively. We provide a brief overview of the GUI developed as a part of this work in Sect. 6. In order to demonstrate the use of our formalization, we present two case studies on the TP53 degradation and glycolytic pathway in Sect. 7. We conclude the paper in Sect. 8 while highlighting some interesting potential applications of our work. 2. Preliminaries Zsyntax. Zsyntax [4] exploits the analogy between biological processes and logical deduction. Some of the key features of Zsyntax are: 1) the ability to express molecular reactions in a mathematical way; 2) heuristic nature, i.e., if the conclusion of a reaction is known, then one can deduce the missing data from the initialization data; 3) computer implementable semantics. Zsyntax consists of the following three operators: Z-Interaction: The interaction of two molecules is expressed by the Z-Interaction ( ) operator. In biological reactions, Z-interaction is not associative. Z-Conjunction: The aggregate of same or different molecules (not necessarily interacting with each other) is formed using the Z-Conjunction (&) operator. Z-Conjunction is fully associative. Z-Conditional: A path from A to B under the condition C is expressed using the Z-Conditional ( ) operator as: A B if there is a C that allows it. Zsyntax supports four inference rules, given in Table 2.1, that play a vital role in deducing the outcomes of biological reactions: Besides the regular formulas that can be derived based on the above mentioned operators and inference rules, Zsyntax also makes use of Empirically Valid Formulae (EVF). These EVFs basically represent the non-logical axioms of molecular biology and are assumed to be validated empirically in the lab.

3 Inference Rules On the Formalization of Zsyntax with Applications in Molecular Biology 39 Table 2.1 Zsyntax Inference Rules Definition Elimination of Z-conditional( E) if C (A B) and (D A) then (C&D B) Introduction of Z-conditional( I) C&A B then C (A B) Elimination of Z-conjunction(&E) C (A&B) then (C A) and (C B) Introduction of Z-conjunction(&I) (C A) and (D B) then (C&D) (A&B) It has been shown that any biological reaction and its final outcome can be derived by using the above mentioned three operators and four inference rules [4]. For example, consider a scenario in which three molecules A, B and C react with each other to yield another molecule Z. This can be represented as a Zsyntax theorem as follows: A & B & C Z The Z-Conjunction operator & is used to represent the given aggregate of molecules and then the inference rules from Table 1 are applied on these molecules along with some EVFs (chemical reactions verified in laboratories) to obtain the final product Z. For the above example, these EVFs could be: A * B X and X * C Z meaning that A will react with B to yield X and X in return will react with C to yield the final product Z. The main contribution of our paper is the formal verification of the Zsyntax based deduction method based on the higher-order-logic formalization of the above-mentioned operators and inference rules using the HOL4 theorem prover. This work will in turn facilitate the derivation of biological reactions within the sound core of HOL HOL4 Theorem Prover. HOL4 is an interactive theorem prover developed at the University of Cambridge, UK, for conducting proofs in higher-order logic. It utilizes the simple type theory of Church [5] along with Hindley-Milner polymorphism [17] to implement higher-order logic. HOL4 has been successfully used as a verification framework for both software and hardware as well as a platform for the formalization of pure mathematics. In order to ensure secure theorem proving, the logic in the HOL4 system is represented in the strongly-typed functional programming language ML [19]. An ML abstract data type is used to represent higher-order logic theorems and the only way to interact with the theorem prover is by executing ML procedures that operate on values of these data types. The HOL4 core consists of only 5 basic axioms and 8 primitive inference rules, which are implemented as ML functions. Soundness is assured as every new theorem must be verified by applying these basic axioms and primitive inference rules or any other previously verified theorems/inference rules. A HOL4 theory is a collection of valid HOL4 types, constants, axioms and theorems, and is usually stored as a file in computers. Users can reload a HOL4 theory in the HOL4 system and utilize the corresponding definitions and theorems right away. Various mathematical concepts have been formalized and saved as HOL4 theories by the HOL4 users. We utilize the HOL4 theories of Booleans, arithmetics and lists extensively in our work. Table 2.2 provides the mathematical interpretations of some HOL4 symbols and functions frequently used in this paper. 3. Formalization of Zsyntax. We modelled the molecules as variables of arbitrary data types (α) in our formalization of Zsyntax [2]. A list of molecules (α list) represents the Z-Interaction or a molecular reaction among the elements of the list. The Z-Conjunction operator forms a collection of non-reacting molecules and can now be formalized as a list of list of molecules (α list list). This data type allows us to apply the Z-Conjunction operator between individual molecules (a list with a single element) or multiple interacting molecules (a list with multiple elements). The Z-Conditional operator is used to update the status of molecules, i.e., generate a new set of molecules based on the available EVFs (wet-lab verified reactions). Each EVF is modelled in our formalization as a pair (α list # α list list) where the first element is a list of molecules (α list) indicating the reacting molecules and the second element is a list of list of molecules (α list list) indicating the resulting set of

4 40 S. Ahmad, O. Hasan and U. Siddiqu Table 2.2 HOL4 Symbols and Functions HOL4 Symbol Standard Symbol Meaning and Logical and or Logical or not Logical negation :: cons Adds a new element to a list ++ append Joins two lists together HD L head Head element of list L TL L tail Tail of list L EL n L element n th element of list L MEM a L member True if a is a member of list L LENGTH L length Length of list L FST fst (a, b) = a First component of a pair SND snd (a, b) = b Second component of a pair SUC n n+1 Successor of a num molecules after the reaction between the molecules of the first element of the pair has taken place. A collection of EVFs is represented as a list of EVFs ((α list # α list list)list) in our formalization. The elimination of Z-Conditional rule is the same as the elimination of implication rule (Modus Ponens) in propositional logic and thus it can be directly handled by the HOL4 simplification and rewriting rules. Similarly, the introduction of Z-Conditional rule can also be inferred from the rules of propositional logic and can be handled by the HOL4 system without the introduction of a new inference rule. The elimination of the Z-Conjunction rule allows us to infer the presence of a single molecule from an aggregate of inferred molecules. This rule is usually applied at the end of the reaction to check if the desired molecule has been obtained. Based on our data types, described above, this rule can be formalized in HOL4 by returning a particular molecule from a list of molecules: Definition 3.1. Elimination of Z-Conjunction Rule L m. z conj elim L m = if MEM m L then [m] else L The function z conj elim has the data type (α list α α list). The above function returns the given element as a single element in a list if it is a member of the given list. Otherwise, it returns the argument list as it is. The introduction of Z-Conjunction rule along with Z-Interaction allows us to perform a reaction between any of the available molecules during the experiment. Based on our data types, this rule is equivalent to the append operation of lists. Definition 3.2. Intro of Z-Conjunction and Z-Interaction L m n. z conj int L m n = FLAT [EL m L; EL n L]::L The above definition has the data type (α list list num num α list list). The HOL4 functions FLAT and EL are used to flatten a list of list to a single list and return a particular element of a list, respectively. Thus, the function z conj int takes a list L and appends the list of two of its elements m and n on its head. Based on the laws of stoichiometry [4], the reacting molecules using Z-Conjunction operator have to be deleted from the aggregate of molecules. The following function represents this behaviour in our formalization: Definition 3.3. Reactants Deletion L m n. z del L m n = if m > n then del (del L m) n else del (del L n) m Here the function del L m deletes the element at index m of the list L and returns the updated list as follows:

5 On the Formalization of Zsyntax with Applications in Molecular Biology 41 Definition 3.4. Element Deletion L. del L 0 = TL L L n. del L (n + 1) = HD L::del (TL L) n Thus, the function z del L m n deletes the m th and n th elements of the given list L. We delete the higher indexed element before the lower one in order to make sure that the first element deletion does not effect the index of the second element that is required to be deleted. The above data types and definitions can be used to formalize any molecular pathway (which is expressible using Zsyntax) and reason about its correctness within the sound core of the HOL4 theorem prover. 4. Formal Reasoning support for Zsyntax. Our main objective is to develop a framework that accepts a list of initial molecules and possible EVFs and allows the user to formally deduce the final outcomes of the corresponding biological experiment within the sound core of HOL4. In this regard, we first develop a function that compares a particular combination of molecules with all the EVFs and upon finding a match introduces the newly formed molecule in the initial list and deletes the consumed instances. Definition 4.1. EVF Matching L E m n. z EVF L E 0 m n = if FST (EL 0 E) = HD L then (T,z del (TL L ++ SND (EL 0 E)) m n else (F,TL L) L E p m n. z EVF L E (p + 1) m n = if FST (EL (p + 1) E) = HD L then (T,z del (TL ++ SND (EL (p + 1) E)) m n else z EVF L E p m n Here,HDandTLreturnsheadandtailofalistrespectively. Similarly,FSTandSNDreturnsfirstandsecond element of a pair respectively. The data type of the function z EVF is: (α list list (α list#α list list) list num num num bool # α list list). The function LENGTH returns the length of a list. The function z EVF takes a list of molecules L and recursively checks its head, or the top most element, against all elements of the EVF list E. If there is no match then the function returns a pair with its first element being false (F), indicating that no match occurred, and the second element equal to the tail of the input list L. Otherwise, if a match is found then the function replaces the head of list L with the second element of the EVF pair and deletes the matched elements from the initial list as these elements have already been consumed. This modified list is then returned along with a true (T) value, which acts as a flag to indicate an element replacement. Next, in order to deduce the final outcome of the experiment, we have to call the function z EVF recursively by placing all the possible combinations of the given molecules at the head of list L one by one. This can be done as follows: Definition 4.2. Recursive Function to model the argument n in Def. 4.1 L E m. z recur1 L E m 0 = z EVF (z conj int L m 0) E (LENGTH E - 1) m 0 L E m n. z recur1 L E m (n + 1) = if FST (z EVF (z conj int L M (n + 1)) E (LENGTH E - 1) m (n + 1)) T then z EVF (z conj int L m (n + 1)) E (LENGTH E - 1) m (n + 1) else z recur1 L E m n Definition 4.3. Recursive Function to model the augment m in Def. 4.1 L E n.z recur2 L E 0 n = if FST (z recur1 L E 0 n) T then (T,SND (z recur1 L E 0 n))

6 42 S. Ahmad, O. Hasan and U. Siddiqu else (F,SND (z recur1 L E 0 n)) L E m n. z recur2 L E (m + 1) n = if FST (z recur1 L E (m + 1) n) T then (T,SND (z recur1 L E (m + 1) n)) else z recur2 L E m (LENGTH L - 1) Both the above functions have the same data type, i.e, (α list list (α list #α list list) list num num num bool #α list list). The function z recur1 calls the function z EVF after appending the combination of molecules indexed by variables m and n using the introduction of Z-Conjunction rule. Thus, the new combination is always placed on the top of the list, which is passed as the variable L to the function z EVF. Moreover, we provide the length of the EVF list (LENGTH E - 1) as the variable p of the function z EVF so that the new combination is compared to all the entries of the EVF list. It is also important to note that the function z recur1 terminates as soon as a match in the EVF list is found. This function also returns a flag indicating the status of this match as the first element of its output pair. The second function z recur2 checks this flag and if it is found to be true (meaning that a match in the EVF list is found) then it terminates by returning the output list of the function z recur1. Otherwise, it continues with all the remaining values of the variable m recursively. In the first case, i.e., when a match is found, the above two functions have to be called all over again with the new list. These iterations will continue until there is no match found in the execution of functions z recur1 and z recur2. This overall behaviour can be modelled by the following recursive function: Definition 4.4. Final Recursion Function for Zsyntax L E m n. z deduction recur L E m n 0 = (T,L) L E m n q. z deduction recur L E m n (q + 1) = if FST (z recur2 L E m n) T then z deduction recur (SND (z recur2 L E m n)) E (LENGTH (SND (z recur2 L E m n)) - 1) (LENGTH (SND (z recur2 L E m n)) - 1) q else (T,SND (z recur2 L E (LENGTH L - 1) (LENGTH L - 1))) The function z deduction rec also has the same data type as the above mentioned recursion functions. The variable of recursion in this function should be assigned a value that is greater than the total number of EVFs so that the application of none of the EVF is missed to guarantee correct operation. Similarly, the variables m and n above should be assigned the values of (LENGTH L - 1) to ensure that all the combinations of the list L are checked against the elements of the list of EVFs. Thus, the final deduction function for Zsyntax can be expressed in HOL4 as follows: Definition 4.5. Final Deduction Function for Zsyntax L E. z deduction L E = SND (z deduction recur L E (LENGTH L - 1) (LENGTH L - 1) LENGTH E) The type of the function z deduction is (α list list (α list # α list list) list α list list). It accepts the initial list of molecules and the list of valid EVFs and returns a list of final outcomes of the experiment under the given conditions. Next, the output of the function z deduction has to be checked if the desired molecule is present in the list. This can be done by using the elimination of the Z-Conjunction rule given in Definition 1. The formal definitions, presented in this section, allow us to recursively check all the possible combinations of the initial molecules against the first elements of given EVFs. In case of a match, the corresponding EVF can be applied and the process can restart again to find other possible matches from the new list of molecules. This process terminates when no more molecules are found to be reacting with each other and at this point we will have the list of post-reaction molecules. The desired result can then be obtained from these molecules using the elimination of Z-Conjunction rule. The main benefit of the development, presented in this section, is that it facilitates automated reasoning about the molecular biological experiments within the sound core of a theorem, which will be demonstrated later.

7 On the Formalization of Zsyntax with Applications in Molecular Biology Formal Verification of Zsyntax Properties. In order to ensure the correctness and soundness of our definitions, we use them to verify a couple of properties representing the most important characteristics of molecular reactions. The first property deals with the case when there is no combination of reacting molecules in the list of molecules and in this case we verify that after the Zsyntax based experiment execution both the pre and post-experiment lists of molecules are the same. The second property captures the behaviour of the scenario when the given list of molecules contains only one set of reacting molecules and in this case we verify that after the Zsyntax based experiment execution the post-experiment list of molecules contains the product of the reacting molecules minus its reactants along with the remaining molecules provided initially. We represent these scenarios as formally specified properties in higher-order logic using our formal definitions, given in the previous section. These properties are then formally verified in HOL Scenario 1: No Reaction. We verify the following theorem for the first scenario: Theorem 1. E L. (NULL E) (NULL L) ( a m n. MEM a E m < LENGTH L n < LENGTH L MEM (FST a) [HD (z conj int L m n)]) z deduction L E = L The variables E and L represent the lists of EVFs and molecules, respectively. The first two assumptions ensure that both of these lists have to be non-empty, which are the pre-conditions for a molecular reaction to take place. The next conjunct in the assumption list of Theorem 1 represents the formalization of the noreaction-possibility condition as according to this condition no first element of any pair in the list of EVFs E is a member of the head of the list formed by the function z conj int, which picks the elements corresponding to the two given indices (that range over the complete length of the list of molecules L) and appends them as a flattened single element on the given list L. This constraint is quantified for all variables a, m and n and thus ensures that no combination of molecules in the list L matches any one of the first elements of the EVF list E. Thus, under this constraint, no reaction can take place for the given lists L and E. The conclusion of Theorem 1 represents the scenario that the output of our formalization of Zsyntax based reaction would not make any change in the given molecule list L and thus verifies that under the no-reaction-possibility condition our formalization also did not update the molecule list. The verification of this theorem is interactively done by ensuring the no-update scenario for all molecule manipulation functions, i.e., z EVF, z recur1, z recur2 and z deduction recur, under the no-reaction-possibility condition [1]. For example, the corresponding theorem for z EVF function is as follows: Theorem 2. E L m n P. (NULL E) (NULL L) m < LENGTH L n < LENGTH L P < LENGTH E ( a. MEM a E MEM (FST a) [HD L]) z EVF L E P m n = (F,TL L) The assumptions of above theorem ensure that both lists L and E are not empty and the arguments of the function z EVF are bounded by the LENGTH of L and E. The last conjunct in the assumption list models the no-reaction-possibility condition in the context of the function z EVF. The conclusion of the theorem states that no update takes place under the given conditions by ensuring that the function z EVF returns a pair with the first element being F (False), representing no match, and the second element being equal to TL L, which is actually equal to the original list L since an element was appended on head of L by the parent function Scenario 2: Single Reaction. The second scenario complements the first scenario and, caters for the case when a reaction is possible and we verify that the molecules list is indeed updated based on the outcomes of that reaction. In order to be able to track the reaction and the corresponding update, we limit ourselves to only one reaction in this scenario but since we verify a generic theorem (universally quantified) for all possibilities our result can be extended to cater for multiple reactions as well. The theorem corresponding to this scenario 2 is as follows:

8 44 S. Ahmad, O. Hasan and U. Siddiqu Theorem 3. E L z m n. NULL E NULL (SND (EL z E)) 1 < LENGTH L m < LENGTH L n < LENGTH L z < LENGTH E ALL DISTINCT (L ++ SND (EL z E)) ( a b. a b FST (EL a E) FST (EL b E)) m n ( K m n. m < LENGTH K n < LENGTH K ( j. MEM j K MEM j L q. MEM q E MEM j (SND q)) if (EL m K = EL m L) (EL n K = EL n L) then HD (z conj int K m n) = FST (EL z E) else a. MEM a E FST a HD (z conj int K m n)) z deduction L E = z del (L ++ SND (EL z E)) m n The first two assumptions ensure that neither the list E, i.e., the list of EVFs, nor the second element of the pair at index z of the list E is empty. Similarly, the third assumption ensures that the list L, i.e., the list of initial molecules, contains at least two elements. These constraints ensure that we can have at least one reaction with the resultant being available at index z of the EVF list. The next four assumptions ensure that the indices m and n are distinct and these along with the index z fall within the range of elements of their respective lists of molecules L or EVFs E. According to the next assumption, i.e., ALL DISTINCT (L ++ SND (EL z E)), all elements of the list L and the resulting molecules of the EVF at index z are distinct, i.e., no molecule can be found two or more times in the initial list L or the post-reaction list E. The next assumption, i.e., ( a b. a b FST (EL a E) FST (EL b E)), guarantees that all first elements of the pairs in list E are also distinct. Note that this is different from the previous condition since the list E contains pairs as elements and the uniqueness of the pairs does not ensure the uniqueness of its first elements. The final condition models the presence of only one pair of reactants scenario. According to the assumptions of this implication condition, the variable K is used to represent a list that only has elements from list L or the second elements of the pairs in list E. Thus, it models the molecules list in a live experiment. Moreover, the variables m and n represent the indices of the list K and thus they must have a value less than the total elements in the list K (since the first element is indexed 0 in the HOL4 formalization of lists). Now, if the indices m and n become equal to m and n, respectively, then the head element of the z conj int K m n would be equal to FST of EL z E. Otherwise, for all other values of indices m and n, no combination of molecules obtained by HD(Z conj int K m n) would be equal to the first element of any pair of the list E. Thus, the if case ensures that the variables m and n point to the reacting molecules in the list of molecules L and the variable z points to their corresponding resultant molecule in the EVF list. Moreover, the else case ensures that there is only one set of reacting molecules in the list L. The conclusion of the theorem formally describes the scenario when the resulting element, available at the location z of the EVF list, is appended to the list of molecules while the elements available at the indices m and n of L are removed during the execution of the function z deduction on the given lists L and E. The proof of Theorem 3 is based on verifying sub-goals corresponding to this scenario for all the subfunctions, i.e., z EVF, z recur1, z recur2 and z deduction recur. The formal reasoning for all of these proofs involved various properties of the del function for a list element and some of the key theorems developed for this purpose in our development are given in Table 5.1 and more details can be found in [1]. The formalization described in this section consumed about 500 man hours and approximately 2000 lines of HOL4 code, mainly due to the undecidable nature of higher-order logic. However, this effort raises the confidence level on the correctness of our formalization of Zsyntax. This fact distinguishes our work from all the other formal methods based techniques used in the context of BRNs, where the deduction rules are applied without being formally checked. Moreover, our formally verified theorems can also be used in the formal analysis of molecular pathways. The assumptions of these theorems provide very useful insights about the constraints under which a reaction or no reaction would take place. To the best of our knowledge, this is the first time that properties, like Theorems 1 and 3, about a molecular pathway experiment have been formally verified. Thus, the identification of these properties and their formal verification both constitute contributions of this paper. As part of this work, we also developed a simplifier Z SYNTAX SIMP [1] that simplifies the proof with a single iteration of the function z deduction recur and works very efficiently with the proofs involving our functions. The proof steps can be completely automated and the proof can be done in one step as well. However, we have kept the reasoning process manual purposefully as this way users can observe the status of the reaction

9 On the Formalization of Zsyntax with Applications in Molecular Biology 45 Signature Table 5.1 Formally verified Properties of the del Function Theorem del ASSOC THM L E m. m < LENGTH L del (L ++ E) m = del L m ++ E del LENGTH THM L E m. m < LENGTH L LENGTH (del L m) = LENGTH L 1 del EL THM L m n. m < n n < LENGTH L 1 < LENGTH L EL m L = EL m (del L n) del DISTINCT THM L n. n < LENGTH L ALL DISTINCT L ALL DISTINCT (del L n) del MEM THM L a m. m < LENGTH L MEM a (del L m) MEM a L del NOT MEM THM L m. ALL DISTINCT L m < LENGTH L MEM (EL m L) (del L m) at every iteration, which is a very useful feature to get an insight of what is happening inside a reaction. Each application of Z SYNTAX SIMP on the reaction, depicted in Fig. 7.1, would result in moving from a state n to n Graphical User Interface. The interest of using formal methods in the domains of bio-informatics and system biology has been rapidly growing since the last decade. However, there is a notable gap between biologists, who prefer wet lab experiments, and computer scientists, who can provide efficient tools to perform computer experiments with a unified framework. This fact has somewhat limited the usage of formal methods by the bio-informatics and pharmaceutical industry in research and development. We believe that one of the major reasons for the above-mentioned gap is the unavailability of biologists friendly formal tools. The idea on which our GUI functions is that the user needs to provide the initial list of molecules and possible EVFs. Consequently, the verification relating the two inputs can be done automatically. The GUI, developed in C#, is capable of initiating a HOL4 session in the command line and automatically converting user provided data into the language supported by HOL4. These translated texts are then utilized to form a HOL 4 theorem, which is then passed to HOL4 via the command line and the verification process automatically starts using the formal definitions and tactics developed in our work. Figure 6.1 provides a snapshot of our GUI while handling the example of Glycolysis pathway, which will be described in more detail in the next section. Many real-world Fig Graphical User Interface

10 46 S. Ahmad, O. Hasan and U. Siddiqu case studies have been automatically verified, including the examples that are described in the next section, by our GUI. Upon the successful verification of a theorem the GUI returns a message that the given pathway has been successfully deduced. The current version of our GUI is available for download at [1] and we are working to further enhance its usability by providing graphical insights about the verification. 7. Case Studies. In the section, we present the utilization of our Zsyntax formalization and its corresponding properties by two real-world cases studies: 1) Reaction involving TP53 degradation. 2) Molecular pathway of Glycolysis which is responsible for the production of Pyruvate and also provides energy for cell growth TP53 Degradation. TP53 gene encodes p53 protein, which plays a crucial role in regulating the cell cycle of multicellular organisms and, thus, functions as a tumour suppressor for preventing cancer [4]. We utilize the proposed framework to analyse the TP53 degradation reaction [4]. The regulatory loop leading to the TP53 degradation is illustrated in Fig. 7.1, where the dark coloured circles denote the list of molecules given by biologists and the hollow circles depict the molecules that do not interact with any other molecule in a particular step of the reaction. TP53 TP53 MDM2 ` U P MDM2 TP53 U P TP53 * MDM2 U P MDM2 TP53 * U P MDM2 (TP53 * U) * P MDM2 dtp53 U P Fig Reaction Representing Degradation of TP53 A theorem representing the regulatory loop involving MDM2, MDM2 and TP53 and leading to TP53 degradation [4], can be described as follows: TP53 & TP53 & MDM2 & U & P d(tp53) In HOL4, this biological reaction can be written as the following theorem using our reported framework: DISTINCT [TP53;dTP53;P;U;iMDM2;MDM2] = z conj elim (z deduction [[TP53];[TP53];[iMDM2];[U];[P]] [([TP53;MDM2],[[MDM2]]); ([MDM2;TP53],[[TP53;MDM2]]); ([TP53;MDM2;U],[[TP53;U];[MDM2]]); ([TP53;U;P],[[dTP53];[U];[P]])]) [dtp53] =[[dtp53]] The DISTINCT function used in the assumption of the above theorem ensures that all the molecules are distinct. The first list argument of the function z deduction is the initial aggregate(ia) of molecules that are available for reaction and the second list argument of the function z deduction represents the valid EVFs for this reaction. Thus, the function z deduction would deduce the final list of molecules under these particular conditions. The function z conj elim will return the molecule dtp53 if it is present in the post-reaction list of molecules, as previously described.

11 On the Formalization of Zsyntax with Applications in Molecular Biology 47 Figure 7.1 shows the step-wise reaction leading to d(tp53). The blue-coloured circles show the chemical interactions and green colour represents the desired product in the pathway, whereas each rectangle shows the total number of molecules in the reaction at a given time. It is obvious from the figure that whenever a reaction yields a product, the reactants get consumed (no longer remain in the list) hence satisfying the stoichiometry of a reaction. The script of TP53 Degradation Theorem is given below: e(rw_tac std_ss[distinct,uniq_mem,mem]); e(z_syntax_simp z_evf_def );; e(z_syntax_simp z_evf_def );; e(z_syntax_simp z_evf_def );; e(z_syntax_simp z_evf_def );; e(z_syntax_simp z_evf_def );; e(rewrite_tac [MEM,z_conj_elim_def]); It is quite evident from the proof script of Theorem 1 that its proof steps can be completely automated and the proof can be done in one step as well. However, we have kept the reasoning process manual purposefully as this way the users can observe the status of the reaction at every iteration. For example, each application of Z SYNTAX SIMP on the reaction, depicted in Fig. 7.1, would result in moving from a state n to n+1. Note that we can also record the time required to complete each iteration. For example, in case of above examples, the time for each step in the above case-study is given in Table 7.1. Table 7.1 Runtime per Iteration Iteration Duration (Seconds) Molecular Pathway of Glycolysis. Glycolysis is a metabolic pathway which converts glucose into pyruvate and energy released in this process is used for the cell growth [18]. In molecular biology literature, Glycolysis is a determined sequence of ten enzyme-catalyzed reactions. Formation of Glucose-6-phosphate, Fructose-1,6-bisphosphate(F1,6P), etc. are intermediate steps in glycolysis[18]. In order to deduce the complete Glycolysis pathway, it is convenient to divide the pathway in three blocks as shown in Fig All the abbreviations used in Fig. 7.2 are described in Table 7.5. The dark coloured circles represent enzymes and each of them participates in the reaction at a certain point and only helps in the formation of new molecules. It is important to note that enzymes do not get consumed, which means that they retain their state after the completion of the reaction. The first phase of the pathway leads to formation of Fructose-1,6-bisphosphate (F1,6P). The theorem representing the reaction of the glycolytic pathway leading from D-Glucose to F1,6P [4] can be described in classical Zsyntax format as follows: Glc & HK & GPI & PFK & ATP & ATP F1,6P We can formally encode this theorem in HOL4 as follows: DISTINCT [Glc; HK; GPI; PFK; ATP; ADP; G6P; F6P; F16P] = (z conj elim (z deduction [[Glc];[HK];[GPI];[PFK];[ATP];[ATP]] [([Glc;HK],[[HK;Glc]]); ([HK;Glc;ATP],[[HK];[G6P];[ADP]]); ([G6P;GPI],[[F6P];[GPI]]); ([F6P;PFK],[[PFK;F6P]]); ([PFK;F6P;ATP],[[PFK];[F16P];[ADP]])] ) [F16P] = [[F16P]]

12 48 S. Ahmad, O. Hasan and U. Siddiqu HK GPI PFK Glc Glc * HK G6P G6P * GPI F6P F6P * PFK F16P ATP ADP ATP ADP 1 PGK TPD G3P F16P * ALD ALD P3G P13G * PGK P13G G3P * TPD G3P DAP * TPI DAP ATP ADP NADH NAD 2 PGM ENL PYK P3G * PGM P2G P2G * ENL PP PP * PYK PY H2O ADP ATP 3 Fig Formation of Pyruvate through Glycolysis where the first list argument of the function z deduction is the initial aggregate (IA) of molecules that are available for reaction and the second list represents the valid EVFs for this reaction. The EVFs mentioned in the form of pairs and involving the molecules (G6P, F6P, etc.) are obtained from wet lab experiments, as reported in [4]. The DISTINCT function used above makes sure that all molecules (from initial aggregate and EVFs) used in this theorem are indeed distinct. Thus, the function z deduction would deduce the final list of molecules under these particular conditions. The function z conj elim returns the molecule F1,6P if it is present in the post-reaction list of molecules. The verification time required for each iteration step is given in Table 7.2. Table 7.2 Runtime per Iteration Iteration Duration (Seconds) Fructose-1,6-bisphosphate formed in the above reaction further reacts with different enzymes to form 3- Phosphoglycerate, which completes the second phase of Glycolysis pathway. Note that during this phase two molecules of G3P are formed and each molecule follows the same path. For the sake of simplicity, we only provided one NAD molecule so that only one molecule can complete the pathway to form one Pyruvate molecule. After the successful deduction of first phase of Glycolysis, we can model the second phase as follow: F16P & ADP & ALD & TPI & NAD & TPD & PGK P3G which can be formalized in HOL4 as follows:

13 On the Formalization of Zsyntax with Applications in Molecular Biology 49 DISTINCT [F16P; ALD; TPI; NAD; TPD; PGK; G3P; DAP; P13G; P3G; NADH; ADP; ATP] = (z conj elim (z deduction [[F16P];[ADP];[ALD];[TPI];[NAD];[TPD];[PGK]] [([F16P;ALD],[[G3P];[DAP]]); ([DAP;TPI],[[G3P];[TPI]]); ([G3P;TPD],[[TPD;G3P]]); ([TPD;G3P;NAD],[[P13G];[TPD];[NADH]]); ([P13G;PGK],[[PGK;P13G]]); ([PGK;P13G;ADP],[[PGK];[P3G];[ATP]])] ) [P3G] = [[P3G]] The time required for each iteration of the second phase of Glycolysis is given in Table 7.3. Table 7.3 Runtime per Iteration Iteration Duration (Seconds) Phosphoglycerate (P3G) formed in the above step further reacts with other enzymes to yield the final product of Glycolysis pathway, i.e., Pyruvate. A theorem representing the conversion of 3-Phosphoglycerate (P3G) to Pyruvate (PY) can be described as follows: P3G & ADP & PGM & ENL & PYK PY Consequently, the corresponding HOL4 expression is given as follows: DISTINCT [PGM; ENL; PYK; P3G; P2G; H2O; PP; PY; ADP] = (z conj elim (z deduction [P3G];[ADP];[PGM];[ENL];[PYK]] [([P3G;PGM],[[P2G];[PGM]]); ([P2G;ENL],[[H2O];[PP];[ENL]]); ([PP;PYK],[[PYK;PP]]); ([PYK;PP;ADP],[[PYK];[PY];[ATP]])] ) [PY] = [[PY]] Similar to the above steps, the timing statistics for the above theorem are given in Table 7.4. Table 7.4 Runtime per Iteration Iteration Duration (Seconds) This completes the description of the utilization of our work to formally reason about two real-world case studies, i.e., TP53 degradation and molecular pathway of Glycolysis. Our HOL4 proof script is available for download [1], and thus can be used for further developments and analysis of different molecular pathways. It is important to note that formalizing Zsyntax and then verifying its

14 50 S. Ahmad, O. Hasan and U. Siddiqu Abbr. Biological Entity Table 7.5 Abbreviations of molecules used in Glycolysis Abbr. Biological Entity Glc Glucose PYK Pyruvate Kinase HK Hexokinase G6P Glucose-6-phosphate ATP Energy F6P Fructose-6-phosphate GPI Phosphoglucomutase F16P Fructose-1,6-diphosphate PFK Phosphofructokinase G3P Glyceraldehyde-3-Phosphate ALD Aldolase DAP Dihydroxyacetonephosphate TPI Triosephosphateisomerase P13G 1,3-biphosphoglycerate TPD Triosephosphate Dehydrogenase P2G 2-phosphoglycerate PGK Phosphoglycerokinase PP Phophoenolpyruvate PGM Phosphoglyceromutase PY Pyruvate ENL Enolase P3G 3-Phosphoglycerate properties was a very tedious effort. However, it took around 10 lines of code to formally define and verify each theorem related to the above case studies in HOL4, which clearly illustrates the usefulness of our foundational work. We have shown that our formalization is capable of modelling molecular reactions using Zsyntax inference rules, i.e., given a set of possible EVFs, our formalism can derive a final aggregate B from an initial aggregate A automatically. In case of a failure to deduce B, the proposed method still provides the biologist with all the intermediate steps so that one can examine the reaction in detail and figure out the possible cause of failure. The evident benefit of our reasoning approach is its automatic nature as the user does not need to think about the proof steps and which EVFs to apply where. However, the most useful benefit of the proposed approach is its accuracy as the theorems are being verified in a formal way using a sound theorem prover. Thus, there is no risk of human error or wrong application of EVFs. Finally, due to the computer-based analysis, the proposed approach is much more scalable than the paper-and-pencil based analysis presented in [4]. 8. Conclusions. Most of the existing formal verification research related to molecular biology has been focussed on using model checking. As a complementary approach, the primary focus of the current paper is on using a theorem prover for reasoning about molecular pathways. The main strength of this approach, compared to existing model checking related work, is that the underlying methods and deduction rules can also be formally verified besides the verification of a particular molecular pathway case. Leveraging upon this strength, we formally verified two key behavioural properties of molecular pathways based on the Zsyntax language, which presents a deduction style formalism for molecular biology in the most biologist-centred way. Besides ensuring the correctness of our formalization of the Zsyntax operators and inference rules, the formally verified properties also play a vital role in reasoning about molecular pathways in the sound core of a theorem prover. The practical utilization and effectiveness of the proposed development has been shown by presenting the automatic analysis of reaction involving TP53 degradation and metabolic pathway known as Glycolysis. The proposed work opens the doors to many new directions of research. Firstly, we are enhancing our GUI to add more biologist friendly features in it. Moreover, we are also targeting some larger case studies, such as Dysregulation of the cell cycle pathway during tumour progression [16] and Fanconi Anemia/Breast Cancer (FA/BRCA) pathway [26]. Another interesting future direction is to leverage upon the high expressiveness of higher-order-logic and utilize calculus and differential theoretic reasoning to add reaction kinetics support in our formalism. REFERENCES [1] S. Ahmad. Formal Reasoning about Molecular Pathways - HOL Proof Script. holsyntax/holzsyntax.html, [2] S. Ahmad, O. Hasan, and U. Siddique. Towards Formal Reasoning about Molecular Pathways in HOL. In International Conference on Enabling Technologies: Infrastructure for Collaborative Enterprises, pages IEEE, 2014.

15 On the Formalization of Zsyntax with Applications in Molecular Biology 51 [3] C. Baier and J. Katoen. Principles of Model Checking. MIT Press, [4] G. Boniolo, M. D Agostino, and P. Di Fiore. Zsyntax: a Formal Language for Molecular Biology with Projected Applications in Text Mining and Biological Prediction. PloS ONE, 5(3):e e , [5] A. Church. A Formulation of the Simple Theory of Types. Journal of Symbolic Logic, 5(2):56 68, [6] V. Danos and C. Laneve. Formal Molecular Biology. Theoretical Computer Science, 325(1):69 110, [7] N.H. Hunt et al. Immunopathogenesis of Cerebral Malaria. International Journal for Parasitology, 36(5): , [8] L. Trilling Fab. Corblin, E. Fanchon. Applications of a Formal Approach to Decipher Discrete Genetic Networks. BMC Bioinformatics, 11(1):385, [9] W. Fontana. Systems Biology, Models, and Concurrency. SIGPLAN Notices, 43(1):1 2, January [10] F. Cassez et al. G.Bernot. Semantics of Biological Regulatory Networks. Electronic Notes Theoretical Computer Science, 180(3):3 14, [11] Peter J. E. Goss and J. Peccoud. Quantitative Modeling of Stochastic Systems in Molecular Biology by using Stochastic Petri Nets. Proceedings of the National Academy of Sciences, 95(12): , [12] J. Harrison. Handbook of Practical Logic and Automated Reasoning. Cambridge University Press, [13] K. Hirayama. Genetic Factors Associated with Development of Cerebral Malaria and Fibrotic Schistosomiasis. Korean J. Parasitol, 40(4): , Dec [14] M. Magnin L. Paulevé and O. Roux. Abstract Interpretation of Dynamics of Biological Regulatory Networks. Electronic Notes Theoretical Computer Science, 272(0):43 56, [15] C.J. Langmead. Generalized Queries and Bayesian Statistical Model Checking in Dynamic Bayesian Networks: Application to Personalized Medicine. In Proc. International Conference on Computational Systems Bioinformatics, pages , [16] R. Maglietta, V. Liuzzi, E. Cattaneo, E. Laczko, A. Piepoli, A. Panza, M. Carella, O. Palumbo, T. Staiano, F. Buffoli, A. Andriulli, G. Marra, and N. Ancona. Molecular Pathways Undergoing Dramatic Transcriptomic Changes During Tumor Development in the Human Colon. BMC Cancer, 12(1):608, [17] R. Milner. A Theory of Type Polymorphism in Programming. Journal of Computer and System Sciences, 17(3): , [18] D. Nelson. Lehninger Principles of Biochemistry. W.H. Freeman, New York, [19] L.C. Paulson. ML for the Working Programmer. Cambridge University Press, [20] R. Pelánek. Fighting State Space Explosion: Review and Evaluation. In Formal Methods for Industrial Critical Systems, volume 5596 of Lecture Notes in Computer Science, pages Springer, [21] J. Pospchal and V. Kvasnika. Reaction Graphs and a Construction of Reaction Networks. Theoretica Chimica Acta, 76(6): , [22] A. Regev and E. Shapiro. Cells as Computation. Nature, 419:343, [23] A. Regev and E. Shapiro. The π-calculus as an Abstraction for Biomolecular Systems. In Modelling in Molecular Biology, Natural Computing Series, pages Springer, [24] A. Regev, W. Silverman, and E. Y. Shapiro. Representation and Simulation of Biochemical Processes Using the pi-calculus Process Algebra. In Pacific Symposium on Biocomputing, pages , [25] M. Rizzotti and A. Zanardo. Axiomatization of Genetics. 1. Biological Meaning. Journal of Theoretical Biology, 118(1):61 71, [26] A. Rodríguez, D. Sosa, L. Torres, B. Molina, S. Frías, and L. Mendoza. A Boolean Network Model of the FA/BRCA Pathway. Bioinformatics, 28(6): , [27] L. Thomas and R. d Ari. Biological Feedback. CRC Press, USA, [28] R. Thomas. Kinetic Logic: A Boolean Approach to the Analysis of Complex Regulatory Systems, volume 29 Lecture Notes in Biomathematics. Springer-Verlag, [29] J.J Tyson, C.A. Nagy, and B. Novak. The Dynamics of Cell Cycle Regulation. Bioessays, 24(12): , [30] O. Wolkenhauer, D. Shibata, and M.D. Mesarovic. The Role of Theorem Proving in Systems Biology. Journal of Theoretical Biology, 300(0):57 61, [31] J.H. Woodger, A. Tarski, and W.F. Floyd. The Axiomatic Method in Biology. The University Press, [32] A. Zanardo and M. Rizzotti. Axiomatization of Genetics 2. Formal Development. Journal of Theoretical Biology, 118(2): , Edited by: Jesus Carretero Received: September 14, 2014 Accepted: October 24, 2014

Formal Reasoning about Systems Biology using Theorem Proving

Formal Reasoning about Systems Biology using Theorem Proving Formal Reasoning about Systems Biology using Theorem Proving Adnan Rashid*, Osman Hasan*, Umair Siddique** and Sofiène Tahar** *School of Electrical Engineering and Computer Science (SEECS), National University

More information

Formal Reliability Analysis of Combinational Circuits using Theorem Proving

Formal Reliability Analysis of Combinational Circuits using Theorem Proving Formal Reliability Analysis of Combinational Circuits using Theorem Proving Osman Hasan a,, Jigar Patel b, Sofiène Tahar b a School of Electrical Engineering and Computer Science National University of

More information

Gene Regulatory Network Identification

Gene Regulatory Network Identification Gene Regulatory Network Identification Korkut Uygun and Yinlun Huang Department of Chemical Engineering and Materials Science Wayne State University AIChE Annual National Meeting San Francisco November

More information

SPA for quantitative analysis: Lecture 6 Modelling Biological Processes

SPA for quantitative analysis: Lecture 6 Modelling Biological Processes 1/ 223 SPA for quantitative analysis: Lecture 6 Modelling Biological Processes Jane Hillston LFCS, School of Informatics The University of Edinburgh Scotland 7th March 2013 Outline 2/ 223 1 Introduction

More information

An Informal introduction to Formal Verification

An Informal introduction to Formal Verification An Informal introduction to Formal Verification Osman Hasan National University of Sciences and Technology (NUST), Islamabad, Pakistan O. Hasan Formal Verification 2 Agenda q Formal Verification Methods,

More information

NICTA Advanced Course. Theorem Proving Principles, Techniques, Applications. Gerwin Klein Formal Methods

NICTA Advanced Course. Theorem Proving Principles, Techniques, Applications. Gerwin Klein Formal Methods NICTA Advanced Course Theorem Proving Principles, Techniques, Applications Gerwin Klein Formal Methods 1 ORGANISATORIALS When Mon 14:00 15:30 Wed 10:30 12:00 7 weeks ends Mon, 20.9.2004 Exceptions Mon

More information

Last Time. Inference Rules

Last Time. Inference Rules Last Time When program S executes it switches to a different state We need to express assertions on the states of the program S before and after its execution We can do it using a Hoare triple written

More information

Population models from PEPA descriptions

Population models from PEPA descriptions Population models from PEPA descriptions Jane Hillston LFCS, The University of Edinburgh, Edinburgh EH9 3JZ, Scotland. Email: jeh@inf.ed.ac.uk 1 Introduction Stochastic process algebras (e.g. PEPA [10],

More information

02 Propositional Logic

02 Propositional Logic SE 2F03 Fall 2005 02 Propositional Logic Instructor: W. M. Farmer Revised: 25 September 2005 1 What is Propositional Logic? Propositional logic is the study of the truth or falsehood of propositions or

More information

Chapter 15 part 2. Biochemistry I Introduction to Metabolism Bioenergetics: Thermodynamics in Biochemistry. ATP 4- + H 2 O ADP 3- + P i + H +

Chapter 15 part 2. Biochemistry I Introduction to Metabolism Bioenergetics: Thermodynamics in Biochemistry. ATP 4- + H 2 O ADP 3- + P i + H + Biochemistry I Introduction to Metabolism Bioenergetics: Thermodynamics in Biochemistry ATP 4- + 2 ADP 3- + P i 2- + + Chapter 15 part 2 Dr. Ray 1 Energy flow in biological systems: Energy Transformations

More information

Lecture Notes on Data Abstraction

Lecture Notes on Data Abstraction Lecture Notes on Data Abstraction 15-814: Types and Programming Languages Frank Pfenning Lecture 14 October 23, 2018 1 Introduction Since we have moved from the pure λ-calculus to functional programming

More information

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

More information

Reliability Block Diagrams based Analysis: A Survey

Reliability Block Diagrams based Analysis: A Survey Reliability Block Diagrams based Analysis: A Survey O. Hasan 1, W. Ahmed 1 S. Tahar 2 and M.S. Hamdi 3 1 National University of Sciences and Technology, Islamabad Pakistan 2 Concordia University, Montreal,

More information

Advanced Topics in LP and FP

Advanced Topics in LP and FP Lecture 1: Prolog and Summary of this lecture 1 Introduction to Prolog 2 3 Truth value evaluation 4 Prolog Logic programming language Introduction to Prolog Introduced in the 1970s Program = collection

More information

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system): Logic Knowledge-based agents Inference engine Knowledge base Domain-independent algorithms Domain-specific content Knowledge base (KB) = set of sentences in a formal language Declarative approach to building

More information

185.A09 Advanced Mathematical Logic

185.A09 Advanced Mathematical Logic 185.A09 Advanced Mathematical Logic www.volny.cz/behounek/logic/teaching/mathlog13 Libor Běhounek, behounek@cs.cas.cz Lecture #1, October 15, 2013 Organizational matters Study materials will be posted

More information

Biological networks CS449 BIOINFORMATICS

Biological networks CS449 BIOINFORMATICS CS449 BIOINFORMATICS Biological networks Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better

More information

Description of the algorithm for computing elementary flux modes

Description of the algorithm for computing elementary flux modes Description of the algorithm for computing elementary flux modes by Stefan Schuster, Thomas Dandekar,, and David Fell Department of Bioinformatics, Max Delbrück Centre for Molecular Medicine D-9 Berlin-Buch,

More information

Code Generation for a Simple First-Order Prover

Code Generation for a Simple First-Order Prover Code Generation for a Simple First-Order Prover Jørgen Villadsen, Anders Schlichtkrull, and Andreas Halkjær From DTU Compute, Technical University of Denmark, 2800 Kongens Lyngby, Denmark Abstract. We

More information

Artificial Intelligence Chapter 7: Logical Agents

Artificial Intelligence Chapter 7: Logical Agents Artificial Intelligence Chapter 7: Logical Agents Michael Scherger Department of Computer Science Kent State University February 20, 2006 AI: Chapter 7: Logical Agents 1 Contents Knowledge Based Agents

More information

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR Last time Expert Systems and Ontologies oday Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof theory Natural

More information

CITS2211 Discrete Structures Proofs

CITS2211 Discrete Structures Proofs CITS2211 Discrete Structures Proofs Unit coordinator: Rachel Cardell-Oliver August 13, 2017 Highlights 1 Arguments vs Proofs. 2 Proof strategies 3 Famous proofs Reading Chapter 1: What is a proof? Mathematics

More information

Quantitative, scalable discrete event simulation of metabolic pathways

Quantitative, scalable discrete event simulation of metabolic pathways From: ISMB-99 Proceedings. Copyright 1999, AAAI (www.aaai.org). All rights reserved. Quantitative, scalable discrete event simulation of metabolic pathways Peter A. Meric Basser Department of Computer

More information

Minimization of Boolean Expressions Using Matrix Algebra

Minimization of Boolean Expressions Using Matrix Algebra Minimization of Boolean Expressions Using Matrix Algebra Holger Schwender Collaborative Research Center SFB 475 University of Dortmund holger.schwender@udo.edu Abstract The more variables a logic expression

More information

Write your own Theorem Prover

Write your own Theorem Prover Write your own Theorem Prover Phil Scott 27 October 2016 Phil Scott Write your own Theorem Prover 27 October 2016 1 / 31 Introduction We ll work through a toy LCF style theorem prover for classical propositional

More information

COEN6551: Formal Hardware Verification

COEN6551: Formal Hardware Verification COEN6551: Formal Hardware Verification Prof. Sofiène Tahar Hardware Verification Group Electrical and Computer Engineering Concordia University Montréal, Quebec CANADA Accident at Carbide plant, India

More information

Logic. Propositional Logic: Syntax

Logic. Propositional Logic: Syntax Logic Propositional Logic: Syntax Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about

More information

Formal Verification of Tail Distribution Bounds in the HOL Theorem Prover

Formal Verification of Tail Distribution Bounds in the HOL Theorem Prover Formal Verification of Tail Distribution Bounds in the HOL Theorem Prover Osman Hasan and Sofiène Tahar Department of Electrical and Computer Engineering, Concordia University, Montreal, Canada Email:

More information

Verifying Probabilistic Programs using the HOL Theorem Prover Joe Hurd p.1/32

Verifying Probabilistic Programs using the HOL Theorem Prover Joe Hurd p.1/32 Verifying Probabilistic Programs using the HOL Theorem Prover Joe Hurd joe.hurd@cl.cam.ac.uk University of Cambridge Verifying Probabilistic Programs using the HOL Theorem Prover Joe Hurd p.1/32 Contents

More information

Lab 2 Worksheet. Problems. Problem 1: Geometry and Linear Equations

Lab 2 Worksheet. Problems. Problem 1: Geometry and Linear Equations Lab 2 Worksheet Problems Problem : Geometry and Linear Equations Linear algebra is, first and foremost, the study of systems of linear equations. You are going to encounter linear systems frequently in

More information

Biochemistry 3300 Problems (and Solutions) Metabolism I

Biochemistry 3300 Problems (and Solutions) Metabolism I (1) Provide a reasonable systematic name for an enzyme that catalyzes the following reaction: fructose + ATP > fructose-1 phosphate + ADP (2) The IUBMB has a developed a set of rules for classifying enzymes

More information

Lecture 11: Measuring the Complexity of Proofs

Lecture 11: Measuring the Complexity of Proofs IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 11: Measuring the Complexity of Proofs David Mix Barrington and Alexis Maciel July

More information

Propositional Logic: Syntax

Propositional Logic: Syntax Logic Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about time (and programs) epistemic

More information

Introduction to Bioinformatics

Introduction to Bioinformatics Systems biology Introduction to Bioinformatics Systems biology: modeling biological p Study of whole biological systems p Wholeness : Organization of dynamic interactions Different behaviour of the individual

More information

Biological Pathways Representation by Petri Nets and extension

Biological Pathways Representation by Petri Nets and extension Biological Pathways Representation by and extensions December 6, 2006 Biological Pathways Representation by and extension 1 The cell Pathways 2 Definitions 3 4 Biological Pathways Representation by and

More information

Analysing the microrna-17-92/myc/e2f/rb Compound Toggle Switch by Theorem Proving

Analysing the microrna-17-92/myc/e2f/rb Compound Toggle Switch by Theorem Proving Analysing the microrna-17-92/myc/e2f/rb Compound Toggle Switch by Theorem Proving Giampaolo Bella and Pietro Liò @ Catania and Cambridge Under the auspices of British Council's grant ``Computer-assisted

More information

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

More information

Formal Verification of Mathematical Algorithms

Formal Verification of Mathematical Algorithms Formal Verification of Mathematical Algorithms 1 Formal Verification of Mathematical Algorithms John Harrison Intel Corporation The cost of bugs Formal verification Levels of verification HOL Light Formalizing

More information

METABOLIC PATHWAY PREDICTION/ALIGNMENT

METABOLIC PATHWAY PREDICTION/ALIGNMENT COMPUTATIONAL SYSTEMIC BIOLOGY METABOLIC PATHWAY PREDICTION/ALIGNMENT Hofestaedt R*, Chen M Bioinformatics / Medical Informatics, Technische Fakultaet, Universitaet Bielefeld Postfach 10 01 31, D-33501

More information

Chapter 6- An Introduction to Metabolism*

Chapter 6- An Introduction to Metabolism* Chapter 6- An Introduction to Metabolism* *Lecture notes are to be used as a study guide only and do not represent the comprehensive information you will need to know for the exams. The Energy of Life

More information

Requirements Validation. Content. What the standards say (*) ?? Validation, Verification, Accreditation!! Correctness and completeness

Requirements Validation. Content. What the standards say (*) ?? Validation, Verification, Accreditation!! Correctness and completeness Requirements Validation Requirements Management Requirements Validation?? Validation, Verification, Accreditation!! Check if evrything is OK With respect to what? Mesurement associated with requirements

More information

Introduction to Kleene Algebra Lecture 14 CS786 Spring 2004 March 15, 2004

Introduction to Kleene Algebra Lecture 14 CS786 Spring 2004 March 15, 2004 Introduction to Kleene Algebra Lecture 14 CS786 Spring 2004 March 15, 2004 KAT and Hoare Logic In this lecture and the next we show that KAT subsumes propositional Hoare logic (PHL). Thus the specialized

More information

38050 Povo Trento (Italy), Via Sommarive 14 CAUSAL P-CALCULUS FOR BIOCHEMICAL MODELLING

38050 Povo Trento (Italy), Via Sommarive 14  CAUSAL P-CALCULUS FOR BIOCHEMICAL MODELLING UNIVERSITY OF TRENTO DEPARTMENT OF INFORMATION AND COMMUNICATION TECHNOLOGY 38050 Povo Trento (Italy), Via Sommarive 14 http://www.dit.unitn.it CAUSAL P-CALCULUS FOR BIOCHEMICAL MODELLING M. Curti, P.

More information

arxiv: v1 [cs.lo] 7 Dec Department of Electrical and Computer Engineering,

arxiv: v1 [cs.lo] 7 Dec Department of Electrical and Computer Engineering, Dynamic Fault Trees Analysis using an Integration of Theorem Proving and Model Checking Yassmeen Elderhalli 1, Osman Hasan 1,2, Waqar Ahmad 2 and Sofiène Tahar 1 arxiv:1712.02872v1 [cs.lo] 7 Dec 2017 1

More information

EDA045F: Program Analysis LECTURE 10: TYPES 1. Christoph Reichenbach

EDA045F: Program Analysis LECTURE 10: TYPES 1. Christoph Reichenbach EDA045F: Program Analysis LECTURE 10: TYPES 1 Christoph Reichenbach In the last lecture... Performance Counters Challenges in Dynamic Performance Analysis Taint Analysis Binary Instrumentation 2 / 44 Types

More information

Logical Agents. Chapter 7

Logical Agents. Chapter 7 Logical Agents Chapter 7 Outline Knowledge-based agents Wumpus world Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules and theorem

More information

- Introduction to propositional, predicate and higher order logics

- Introduction to propositional, predicate and higher order logics Lecture 1: Deductive Verification of Reactive Systems - Introduction to propositional, predicate and higher order logics - Deductive Invariance Proofs Cristina Seceleanu MRTC, MdH E-mail: cristina.seceleanu@mdh.se

More information

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw Applied Logic Lecture 1 - Propositional logic Marcin Szczuka Institute of Informatics, The University of Warsaw Monographic lecture, Spring semester 2017/2018 Marcin Szczuka (MIMUW) Applied Logic 2018

More information

Validating QBF Invalidity in HOL4

Validating QBF Invalidity in HOL4 Interactive Theorem Proving (ITP) 14 July, 2010 Quantified Boolean Formulae Quantified Boolean Formulae Motivation System Overview Related Work QBF = propositional logic + quantifiers over Boolean variables

More information

BIOLOGICAL SCIENCE. Lecture Presentation by Cindy S. Malone, PhD, California State University Northridge. FIFTH EDITION Freeman Quillin Allison

BIOLOGICAL SCIENCE. Lecture Presentation by Cindy S. Malone, PhD, California State University Northridge. FIFTH EDITION Freeman Quillin Allison BIOLOGICAL SCIENCE FIFTH EDITION Freeman Quillin Allison 8 Lecture Presentation by Cindy S. Malone, PhD, California State University Northridge Roadmap 8 In this chapter you will learn how Enzymes use

More information

Structural Analysis of Expanding Metabolic Networks

Structural Analysis of Expanding Metabolic Networks Genome Informatics 15(1): 35 45 (24) 35 Structural Analysis of Expanding Metabolic Networks Oliver Ebenhöh oliver.ebenhoeh@rz.hu-berlin.de Reinhart Heinrich reinhart.heinrich@rz.hu-berlin.de Thomas Handorf

More information

Manual of Logical Style

Manual of Logical Style Manual of Logical Style Dr. Holmes January 9, 2015 Contents 1 Introduction 2 2 Conjunction 3 2.1 Proving a conjunction...................... 3 2.2 Using a conjunction........................ 3 3 Implication

More information

Automatic Differentiation Equipped Variable Elimination for Sensitivity Analysis on Probabilistic Inference Queries

Automatic Differentiation Equipped Variable Elimination for Sensitivity Analysis on Probabilistic Inference Queries Automatic Differentiation Equipped Variable Elimination for Sensitivity Analysis on Probabilistic Inference Queries Anonymous Author(s) Affiliation Address email Abstract 1 2 3 4 5 6 7 8 9 10 11 12 Probabilistic

More information

Computational Logic and the Quest for Greater Automation

Computational Logic and the Quest for Greater Automation Computational Logic and the Quest for Greater Automation Lawrence C Paulson, Distinguished Affiliated Professor for Logic in Informatics Technische Universität München (and Computer Laboratory, University

More information

Computer-Checked Meta-Logic

Computer-Checked Meta-Logic 1 PART Seminar 25 February 2015 Computer-Checked Meta-Logic Jørgen Villadsen jovi@dtu.dk Abstract Over the past decades there have been several impressive results in computer-checked meta-logic, including

More information

2 4 Chemical Reactions and Enzymes

2 4 Chemical Reactions and Enzymes 2 4 Chemical Reactions and Enzymes THINK ABOUT IT Living things are made up of chemical compounds, but chemistry isn t just what life is made of chemistry is also what life does. Everything that happens

More information

86 Part 4 SUMMARY INTRODUCTION

86 Part 4 SUMMARY INTRODUCTION 86 Part 4 Chapter # AN INTEGRATION OF THE DESCRIPTIONS OF GENE NETWORKS AND THEIR MODELS PRESENTED IN SIGMOID (CELLERATOR) AND GENENET Podkolodny N.L. *1, 2, Podkolodnaya N.N. 1, Miginsky D.S. 1, Poplavsky

More information

A Fixed Point Representation of References

A Fixed Point Representation of References A Fixed Point Representation of References Susumu Yamasaki Department of Computer Science, Okayama University, Okayama, Japan yamasaki@momo.cs.okayama-u.ac.jp Abstract. This position paper is concerned

More information

Maximal Introspection of Agents

Maximal Introspection of Agents Electronic Notes in Theoretical Computer Science 70 No. 5 (2002) URL: http://www.elsevier.nl/locate/entcs/volume70.html 16 pages Maximal Introspection of Agents Thomas 1 Informatics and Mathematical Modelling

More information

Single Axioms for Boolean Algebra

Single Axioms for Boolean Algebra ARGONNE NATIONAL LABORATORY 9700 South Cass Avenue Argonne, IL 60439 ANL/MCS-TM-243 Single Axioms for Boolean Algebra by William McCune http://www.mcs.anl.gov/ mccune Mathematics and Computer Science Division

More information

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig First-Order Logic First-Order Theories Roopsha Samanta Partly based on slides by Aaron Bradley and Isil Dillig Roadmap Review: propositional logic Syntax and semantics of first-order logic (FOL) Semantic

More information

Introduction Biology before Systems Biology: Reductionism Reduce the study from the whole organism to inner most details like protein or the DNA.

Introduction Biology before Systems Biology: Reductionism Reduce the study from the whole organism to inner most details like protein or the DNA. Systems Biology-Models and Approaches Introduction Biology before Systems Biology: Reductionism Reduce the study from the whole organism to inner most details like protein or the DNA. Taxonomy Study external

More information

Giving you the energy you need!

Giving you the energy you need! Giving you the energy you need! Use your dominant hand Open and close the pin (with your thumb and forefinger) as many times as you can for 20 seconds while holding the other fingers straight out! Repeat

More information

Deductive Verification

Deductive Verification Deductive Verification Mooly Sagiv Slides from Zvonimir Rakamaric First-Order Logic A formal notation for mathematics, with expressions involving Propositional symbols Predicates Functions and constant

More information

Performance Analysis of ARQ Protocols using a Theorem Prover

Performance Analysis of ARQ Protocols using a Theorem Prover Performance Analysis of ARQ Protocols using a Theorem Prover Osman Hasan Sofiene Tahar Hardware Verification Group Concordia University Montreal, Canada ISPASS 2008 Objectives n Probabilistic Theorem Proving

More information

CS 4700: Foundations of Artificial Intelligence

CS 4700: Foundations of Artificial Intelligence CS 4700: Foundations of Artificial Intelligence Bart Selman selman@cs.cornell.edu Module: Knowledge, Reasoning, and Planning Part 2 Logical Agents R&N: Chapter 7 1 Illustrative example: Wumpus World (Somewhat

More information

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning.

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning. 3: Logic Why logic? Logic about inference or argument Start from assumptions or axioms Make deductions according to rules of reasoning Logic 3-1 Why logic? (continued) If I don t buy a lottery ticket on

More information

Deliberative Agents Knowledge Representation I. Deliberative Agents

Deliberative Agents Knowledge Representation I. Deliberative Agents Deliberative Agents Knowledge Representation I Vasant Honavar Bioinformatics and Computational Biology Program Center for Computational Intelligence, Learning, & Discovery honavar@cs.iastate.edu www.cs.iastate.edu/~honavar/

More information

Manual of Logical Style (fresh version 2018)

Manual of Logical Style (fresh version 2018) Manual of Logical Style (fresh version 2018) Randall Holmes 9/5/2018 1 Introduction This is a fresh version of a document I have been working on with my classes at various levels for years. The idea that

More information

EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS

EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS Lecture 10, 5/9/2005 University of Washington, Department of Electrical Engineering Spring 2005 Instructor: Professor Jeff A. Bilmes Logical Agents Chapter 7

More information

Today s Lecture. Lecture 4: Formal SE. Some Important Points. Formal Software Engineering. Introduction to Formal Software Engineering

Today s Lecture. Lecture 4: Formal SE. Some Important Points. Formal Software Engineering. Introduction to Formal Software Engineering Today s Lecture Lecture 4: Formal SE Introduction to Formal Software Engineering Discuss Models Discuss Formal Notations Kenneth M. Anderson Foundations of Software Engineering CSCI 5828 - Spring Semester,

More information

Accurate Reliability Analysis of Combinational Circuits using Theorem Proving

Accurate Reliability Analysis of Combinational Circuits using Theorem Proving Accurate Reliability Analysis of Combinational Circuits using Theorem Proving Osman Hasan, Jigar Patel and Sofiène Tahar Department of Electrical and Computer Engineering, Concordia University, Montreal,

More information

Review Questions - Lecture 5: Metabolism, Part 1

Review Questions - Lecture 5: Metabolism, Part 1 Review Questions - Lecture 5: Metabolism, Part 1 Questions: 1. What is metabolism? 2. What does it mean to say that a cell has emergent properties? 3. Define metabolic pathway. 4. What is the difference

More information

Intelligent Agents. Pınar Yolum Utrecht University

Intelligent Agents. Pınar Yolum Utrecht University Intelligent Agents Pınar Yolum p.yolum@uu.nl Utrecht University Logical Agents (Based mostly on the course slides from http://aima.cs.berkeley.edu/) Outline Knowledge-based agents Wumpus world Logic in

More information

V14 extreme pathways

V14 extreme pathways V14 extreme pathways A torch is directed at an open door and shines into a dark room... What area is lighted? Instead of marking all lighted points individually, it would be sufficient to characterize

More information

Logic. Propositional Logic: Syntax. Wffs

Logic. Propositional Logic: Syntax. Wffs Logic Propositional Logic: Syntax Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about

More information

CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter p. 1/33

CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter p. 1/33 CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter 4.1-4.8 p. 1/33 CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer

More information

cis32-ai lecture # 18 mon-3-apr-2006

cis32-ai lecture # 18 mon-3-apr-2006 cis32-ai lecture # 18 mon-3-apr-2006 today s topics: propositional logic cis32-spring2006-sklar-lec18 1 Introduction Weak (search-based) problem-solving does not scale to real problems. To succeed, problem

More information

Introduction to Metalogic

Introduction to Metalogic Introduction to Metalogic Hans Halvorson September 21, 2016 Logical grammar Definition. A propositional signature Σ is a collection of items, which we call propositional constants. Sometimes these propositional

More information

23.1 Gödel Numberings and Diagonalization

23.1 Gödel Numberings and Diagonalization Applied Logic Lecture 23: Unsolvable Problems in Logic CS 4860 Spring 2009 Tuesday, April 14, 2009 The fact that Peano Arithmetic is expressive enough to represent all computable functions means that some

More information

INF5390 Kunstig intelligens. Logical Agents. Roar Fjellheim

INF5390 Kunstig intelligens. Logical Agents. Roar Fjellheim INF5390 Kunstig intelligens Logical Agents Roar Fjellheim Outline Knowledge-based agents The Wumpus world Knowledge representation Logical reasoning Propositional logic Wumpus agent Summary AIMA Chapter

More information

Deductive Systems. Lecture - 3

Deductive Systems. Lecture - 3 Deductive Systems Lecture - 3 Axiomatic System Axiomatic System (AS) for PL AS is based on the set of only three axioms and one rule of deduction. It is minimal in structure but as powerful as the truth

More information

Propositional Logics and their Algebraic Equivalents

Propositional Logics and their Algebraic Equivalents Propositional Logics and their Algebraic Equivalents Kyle Brooks April 18, 2012 Contents 1 Introduction 1 2 Formal Logic Systems 1 2.1 Consequence Relations......................... 2 3 Propositional Logic

More information

6. Logical Inference

6. Logical Inference Artificial Intelligence 6. Logical Inference Prof. Bojana Dalbelo Bašić Assoc. Prof. Jan Šnajder University of Zagreb Faculty of Electrical Engineering and Computing Academic Year 2016/2017 Creative Commons

More information

Lecture Series 9 Cellular Pathways That Harvest Chemical Energy

Lecture Series 9 Cellular Pathways That Harvest Chemical Energy Lecture Series 9 Cellular Pathways That Harvest Chemical Energy Reading Assignments Review Chapter 3 Energy, Catalysis, & Biosynthesis Read Chapter 13 How Cells obtain Energy from Food Read Chapter 14

More information

Constraint Solving for Program Verification: Theory and Practice by Example

Constraint Solving for Program Verification: Theory and Practice by Example Constraint Solving for Program Verification: Theory and Practice by Example Andrey Rybalchenko Technische Universität München Abstract. Program verification relies on the construction of auxiliary assertions

More information

Logical Inference. Artificial Intelligence. Topic 12. Reading: Russell and Norvig, Chapter 7, Section 5

Logical Inference. Artificial Intelligence. Topic 12. Reading: Russell and Norvig, Chapter 7, Section 5 rtificial Intelligence Topic 12 Logical Inference Reading: Russell and Norvig, Chapter 7, Section 5 c Cara MacNish. Includes material c S. Russell & P. Norvig 1995,2003 with permission. CITS4211 Logical

More information

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula:

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula: Logic: The Big Picture Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about time (and

More information

Ramsey s Theorem in ProofPower (Draft)

Ramsey s Theorem in ProofPower (Draft) A1 L E M M Lemma 1 Ltd. c/o Interglossa 2nd Floor 31A Chain St. Reading Berks RG1 2HX Ramsey s Theorem in ProofPower (Draft) Abstract This paper is concerned with a ProofPower-HOL proof of the finite exponent

More information

Dynamic Semantics. Dynamic Semantics. Operational Semantics Axiomatic Semantics Denotational Semantic. Operational Semantics

Dynamic Semantics. Dynamic Semantics. Operational Semantics Axiomatic Semantics Denotational Semantic. Operational Semantics Dynamic Semantics Operational Semantics Denotational Semantic Dynamic Semantics Operational Semantics Operational Semantics Describe meaning by executing program on machine Machine can be actual or simulated

More information

Proof strategies, or, a manual of logical style

Proof strategies, or, a manual of logical style Proof strategies, or, a manual of logical style Dr Holmes September 27, 2017 This is yet another version of the manual of logical style I have been working on for many years This semester, instead of posting

More information

Hoare Logic (I): Axiomatic Semantics and Program Correctness

Hoare Logic (I): Axiomatic Semantics and Program Correctness Hoare Logic (I): Axiomatic Semantics and Program Correctness (Based on [Apt and Olderog 1991; Gries 1981; Hoare 1969; Kleymann 1999; Sethi 199]) Yih-Kuen Tsay Dept. of Information Management National Taiwan

More information

Proseminar on Semantic Theory Fall 2013 Ling 720 Propositional Logic: Syntax and Natural Deduction 1

Proseminar on Semantic Theory Fall 2013 Ling 720 Propositional Logic: Syntax and Natural Deduction 1 Propositional Logic: Syntax and Natural Deduction 1 The Plot That Will Unfold I want to provide some key historical and intellectual context to the model theoretic approach to natural language semantics,

More information

Constraint Solving for Program Verification: Theory and Practice by Example

Constraint Solving for Program Verification: Theory and Practice by Example Constraint Solving for Program Verification: Theory and Practice by Example Andrey Rybalchenko Technische Universität München Abstract. Program verification relies on the construction of auxiliary assertions

More information

Introduction to Metalogic

Introduction to Metalogic Philosophy 135 Spring 2008 Tony Martin Introduction to Metalogic 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: Remarks: (i) sentence letters p 0, p 1, p 2,... (ii)

More information

System Description: ara An Automatic Theorem Prover for Relation Algebras

System Description: ara An Automatic Theorem Prover for Relation Algebras System Description: ara An Automatic Theorem Prover for Relation Algebras Carsten Sinz Symbolic Computation Group, WSI for Computer Science, Universität Tübingen, D-72076 Tübingen, Germany sinz@informatik.uni-tuebingen.de

More information

V19 Metabolic Networks - Overview

V19 Metabolic Networks - Overview V19 Metabolic Networks - Overview There exist different levels of computational methods for describing metabolic networks: - stoichiometry/kinetics of classical biochemical pathways (glycolysis, TCA cycle,...

More information

Propositional Logic Arguments (5A) Young W. Lim 11/8/16

Propositional Logic Arguments (5A) Young W. Lim 11/8/16 Propositional Logic (5A) Young W. Lim Copyright (c) 2016 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version

More information

Lecture 2: Axiomatic semantics

Lecture 2: Axiomatic semantics Chair of Software Engineering Trusted Components Prof. Dr. Bertrand Meyer Lecture 2: Axiomatic semantics Reading assignment for next week Ariane paper and response (see course page) Axiomatic semantics

More information

Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic.

Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic. Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic. The method consists of using sets of Rules of Inference (valid argument forms)

More information