CDM Boolean Decision Diagrams

Total Page:16

File Type:pdf, Size:1020Kb

CDM Boolean Decision Diagrams CDM Boolean Decision Diagrams 1 Boolean Functions Clones and Post Klaus Sutner Carnegie Mellon University Minimal Automata 24-bdd 2017/12/15 23:21 Binary Decision Diagrams Boolean Functions 3 There Are Lots 4 n Obviously there are 22 Boolean functions of arity n. Let us return to the two-element Boolean algebra B = ff, tt . { } To lighten notation we will overload and write 2 = 0, 1 instead. { } Definition n 1 2 3 4 5 6 7 8 A Boolean function of arity n is any function of the form n 22 4 16 256 65536 4.3 109 1.8 1019 3.4 1038 1.2 1077 2n 2 × × × × → 20 Note that we only consider single outputs here, f : 2n 2 rather than 22 = 6.7 10315652 = → f : 2n 2m. × ∞ → Slightly more vexing is the question of whether one should include n = 0. We’ll . , for all practical intents and purposes. Since there are quite so many, it is a fudge things a bit. good idea to think about how to describe and construct these functions. Different Angles 5 The Challenge Problems 6 The propositional logic angle immediately suggests the following computational problems. Combinatorics: 2n 2 → Problem: Tautology Logic: propositional formula Instance: A propositional formula ϕ. Question: Is ϕ a tautology? Circuits: logic gates Datatype: BDDs Problem: Satisfiability Instance: A propositional formula ϕ. Question: Is ϕ a contingency? In a sense, this is all the same–but different perspectives lead to different ideas and very different algorithms. Problem: Equivalence For example, from the logic perspective it is natural to generate tautologies, a Instance: Two propositional formulae ϕ and ψ. boring idea from the viewpoint of circuits. Question: Are ϕ and ψ equivalent? Alas, we know from complexity theory that these are all hard. Connections 7 Boolean Functions These are all closely connected: ϕ is a tautology iff ϕ fails to be satisfiable 2 Clones and Post ¬ ϕ is a tautology iff ϕ is equivalent to > ϕ and ψ are equivalent iff ϕ ψ is a tautology Minimal Automata ⇔ Note, though, that some care is necessary to deal with normal forms (which are often required by specific algorithms). Binary Decision Diagrams Taxonomy: Zero or One Inputs 9 Binary Boolean Functions 10 Case n = 2: This is much more interesting: here all the well-known operations from propositional logic appear. For small arities n we can easily enumerate all Boolean functions. x y Hand(x, y) Hor(x, y) Himp(x, y) Case n = 0: All we get is 2 constant functions 0 and 1. 0 0 0 0 1 0 1 0 1 1 1 0 0 1 0 1 1 1 1 1 Case n = 1: 2 constants, plus x y Hequ(x, y) Hxor(x, y) Hnand(x, y) Hid = x, the identity, and 0 0 1 0 1 Hnot(x) = 1 x, negation. − 0 1 0 1 1 1 0 0 1 1 Incidentally, the latter two are reversible. 1 1 1 0 0 Via composition we can generate all Boolean functions from these. Expressing Boolean Functions 11 Propositional Bases 12 It is well-known that some Boolean functions can be expressed in terms of As it turns out, there are lots of bases. others. For example, one can write “exclusive or” in disjunctive normal form, ⊕ conjunctive normal, or using only nand ¯ or nor ¯ as follows: ∧ ∨ Theorem (Basis Theorem) Any Boolean function f : 2n 2 can be obtained by composition from the → x y = (x y) (x y) basic functions (unary) negation and (binary) disjunction. ⊕ ∧ ∨ ∧ = (x y) (x y) ∨ ∧ ∨ Proof. = ((x ¯ x) ¯(y ¯ y)) ¯(x ¯ y) Consider the truth table for f. ∨ ∨ ∨ ∨ ∨ For every truth assignment α such that f(α) = 1 define a conjunction = (x ¯(x ¯ y)) ¯((x ¯ y) ¯ y) Cα = z1 ... zn by zi = xi whenever α(xi) = 1, zi = xi otherwise. ∧ ∧ ∧ ∧ ∧ ∧ ∧ Then f(x) Cα ... Cα . ≡ 1 ∨ ∨ r Use Morgan’s law to eliminate the conjunctions from this disjunctive normal A set of Boolean functions is a basis or functionally complete if it produces all form. Boolean functions by composition. 2 Other Bases 13 Clones 14 Here are some more bases: Definition (Clones) , , Write for all Boolean functions and for Boolean functions of arity n. {∧ ¬} BF BFn , , n { ⇒ ¬} A family F of Boolean functions is a clone if it contains all projections Pi and , 0 , is closed under composition. { ⇒ } , , 0 {∨ ⇔ } Recall that a projection is a simple map ¯ {∧} n n n ¯ Pi : 2 2 Pi (x1, . , xn) = xi {∨} → On the other hand, , does not work. and closure under composition means that {∨ ⇔ } m f : 2 2 f(x) = h(g1(x), . , gn(x)) One might be tempted to ask when a set of Boolean functions is a basis. → m n is in F, given functions gi : 2 2 for i = 1, . , n , and h : 2 2 , all in F. To tackle this problem we need to be a little more careful about what is meant → → by basis. More succinctly, we can write h (g1, . , gn). ◦ Characterization of Clones 15 One can rephrase the definition of a clone into a longer list of simpler According to rules (2), (3), (4), (5) we can construct h from f via conditions (that may be easier to work with). Let f, g F be an arbitrary ∈ h(x1, . , xn) = f(x , . , x ) functions of suitable arity. π(1) π(m) The following functions h must also be in . for any function π :[m] [n] . F → monadic identity:P 1 1 Together with the last rule this suffices to get arbitrary compositions. cylindrification: h(x1, . , xn) = f(x1, . , xn 1) − diagonalization: h(x1, . , xn) = f(x1, . , xn, xn) rotation: h(x1, . , xn) = f(x2, x3, . , xn, x1) Exercise Show that this characterization of clones is correct. transposition: h(x1, . , xn) = f(x1, . , xn 2, xn, xn 1) − − composition: h(x1, . , xn+m) = f(x1, . , xn, g(xn+1, . , xn+m)) Classifying Clones 17 Self-Dual Functions 18 Wild Question: Is there a way to describe all clones? For any Boolean function f we can define its dual f by f(x) = f(x) This may seem utterly hopeless at first, but at least a few simple clones can be b dealt with easily. For example, = and = . b ∨ ∧ ¬ ¬ It is clear that BF is a clone; we write for this clone. At the other end, the > smallest clone is the set all projections; we write for this clone. b b ⊥ A function is self-dual if The collections of all clones form a lattice under set inclusion. Operation is f(x) = f(x) u just intersection, but requires closure under composition. t Examples of self-dual functions are and projections. b ¬ Dual Clones 19 0/1-Preserving Functions 20 To find more interesting examples of clones, consider the following. For any clone F we can define the dual clone by Definition F = f f F { | ∈ } Let f be a Boolean function. b b f is 0-preserving if f(0) = 0. f is 1-preserving if f(1) = 1. So the claim here is that F is again a clone. f is bi-preserving if f is 0-preserving and 1-preserving. Unfortunately, for our trivialb clones and duality does not buy us anything. > ⊥ But later we will find a nice symmetric structure. For example n-ary disjunction and conjunction are both bi-preserving. Claim Claim The collection D of all self-dual Boolean functions is a clone. The collections P0, P1 and P of all 0-preserving, 1-preserving and bi-preserving Boolean functions are clones. Monotone Functions 21 Dedekind Numbers 22 For Boolean vectors a and b of the same length write a b iff ai bi (the ≤ ≤ product order on 2). Counting the number of n-ary monotone Boolean functions is not easy, the problem was first introduced by R. Dedekind in 1897, see Definition https://oeis.org/A000372. A Boolean function f is monotone if Here are the first few Dedekind numbers Dn, for arities n = 0,..., 8. a b implies f(a) f(b) ≤ ≤ 2, 3, 6, 20, 168, 7581, 7828354, 2414682040998, 56130437228687557907788 For example n-ary disjunction and conjunction are both monotone. One can define a topology on 2n so that these functions are precisely the One can show that Dn is the number of anti-chains in the powerset of [n]. For continuous ones. example, there are 6 anti-chains over [2] Claim , , 1 , 2 , 1, 2 , 1 , 2 ∅ {∅} {{ }} {{ }} {{ }} {{ } { }} The collection M of all monotone Boolean functions is a clone. More Anti-Chains 23 Quasi-Monadic Functions 24 And 20 anti-chains over [3]: These are functions that are essentially unary: they are formally n-ary but depend on only one argument. , , 1 , 2 , 3 , 1, 2 , 1, 3 , 2, 3 , 1, 2, 3 , Definition ∅ {∅} {{ }} {{ }} {{ }} {{ }} {{ }} {{ }} {{ }} 1 , 2 , 1 , 3 , 1 , 2, 3 , 2 , 3 , 2 , 1, 3 , 3 , 1, 2 , A Boolean function f is quasi-monadic if there is some index i such that {{ } { }} {{ } { }} {{ } { }} {{ } { }} {{ } { }} {{ } { }} 1, 2 , 1, 3 , 1, 2 , 2, 3 , 1, 3 , 2, 3 , 1 , 2 , 3 , {{ } { }} {{ } { }} {{ } { }} {{ } { } { }} xi = yi implies f(x) = f(y) 1, 2 , 1, 3 , 2, 3 {{ } { } { }} Claim Make sure you understand how the anti-chains correspond to monotone The collection U of all quasi-monadic Boolean functions is a clone. functions: every set in an anti-chain over [n] defines a clause over n Boolean variables x1, . , xn. Define f to be true on exactly these clauses. Quasi-Monadic Clones 25 Relations Between Quasi-Monadic Functions 26 Quasi-monadic functions are rather simple, so it is not too surprising that we can actually determine all clones containing only quasi-monadic functions: U there are exactly 6 of them.
Recommended publications
  • Control and Cybernetics
    Control and Cybernetics. VOL. 1 (1 972) No. 1/2 Finding an optimum dynamic spatial structure of information systems by LEON SLOMINSKI Polish Academy of Sciences Institute of Applied Cybernetics Warszawa In the present paper questions connected with the formulation of problems of finding optimum dynamic spatial structures of information systems are discussed in the form of integer programming problems. Possibilities of linearization of a non­ linear problem are indicated and the computational algorithm ARO for reduction of the original set of linear constraints is given. 1. Introduction We shall call an information system (SI) [1], a complex of technical equipment together with connecting lines and operating personnel designed for the purposes. of receiving, storing, processing, transmitting, diffusion and delivery of information. Radio-television broadcasting systems, postal and telecommunicational systems,. systems of elaboration and diffusion of scientific and technical information, systems. of computer centers, etc. may be regarded as examples of the SI. The spatial structure of systems of this type is, as a rule, clearly determined,. that is the allocation of devices and links between them are given. We shall introduce a certain classification of spatial structures of the SI. We shall call a spatial structure static if the allocation of its stations and links: between them do not change within the time interval under consideration. If we consider a developing information system in which, for example, new stations and links are built, then we say that its spatial structure is dynamic. Among all dynamic structures we distinguish those that are subject to rapid changes (reorganization, displacement) due to changes in the environment from which information is collected or to which information is delivered.
    [Show full text]
  • Novel Logic Synthesis Techniques for Asymmetric Logic Functions Based
    NOVEL LOGIC SYNTHESIS TECHNIQUES FOR ASYMMETRIC LOGIC FUNCTIONS BASED ON SPINTRONIC AND MEMRISTIVE DEVICES by Vaibhav Vyas APPROVED BY SUPERVISORY COMMITTEE: Joseph S. Friedman, Chair Mehrdad Nourani Carl Sechen William Swartz Copyright c 2018 Vaibhav Vyas All Rights Reserved This thesis document is dedicated to my parents, Ruchi and Rakesh Vyas. NOVEL LOGIC SYNTHESIS TECHNIQUES FOR ASYMMETRIC LOGIC FUNCTIONS BASED ON SPINTRONIC AND MEMRISTIVE DEVICES by VAIBHAV VYAS, BS THESIS Presented to the Faculty of The University of Texas at Dallas in Partial Fulfillment of the Requirements for the Degree of MASTER OF SCIENCE IN ELECTRICAL ENGINEERING THE UNIVERSITY OF TEXAS AT DALLAS May 2018 ACKNOWLEDGMENTS It has been a privilege to be a part of a highly creative, intellectual and productive research group at the NanoSpinCompute Lab. Not only has it contributed to polishing my technical skills and understanding, it has helped me to harness my creativity and problem solving capabilities to their fullest extent. Undoubtedly, I owe gratitude to the people who have made this possible. I am highly grateful to my teacher, research advisor and mentor Dr. Joseph S. Friedman, for without him, none of this would have been possible. I couldn't have worked with a more intellectual, vibrant and understanding supervisor than him. He was quick to spot my interests and channelize my efforts in the most productive way possible. I am thankful to him for his encouragement and support in times of uncertainty, and for constantly making me realize my research's worth. Finally, I am grateful for his honest feedbacks that helped me stay on course.
    [Show full text]
  • Lecture 3 Today's Topic: Basics of Algorithms and Complexity 1
    CSE 513T Theory of Artificial Intelligence & Machine Learning Jan 20, 2015 Lecture 3 Lecturer: Brendan Juba Scribe: Tzai-Shuen Chen Today's topic: Basics of algorithms and complexity 1 Relative power of representations (Cont'd) 2 Efficient Computation: algorithms and Circuits 3 Computation Problems and NP-completeness 1 Relative power of representations (Cont'd) 1.1 recap Last time we saw the elimination algorithm for learning conjunctions (ANDs of literals, where literals are variables or negations). By using the same algorithm as a subroutine, we can also learn disjunctions (ORs of literals), i.e., given access to examples x(1); :::; x(m) drawn from a common D, and labeled by some c 2 C, c(x(1); :::; c(x(m))), the elimination algorithm would return a representation h such that Pr[c(x) = h(x)] ≥ 1 − with probability 1 − δ. The idea is to apply De Morgan's Law: l1 ^ l2 ^ ::: ^ (i) (i) (i) ln = :(:l1 _:l2 _ ::: _:ln). For each given example (x1 ; :::; xn ; b ), we give the bitwise negation (i) (i) (i) (1) (1) (:x1 ; :::; :xn ; :b ). Since there's a disjunction c such that c(x ) = b , the negated examples are labeled by a conjunction. When the conjunction h is returned from the algorithm, we flip all of the labels' polarity to get a disjunction. Since there is a 1-1 correspondence between the negated examples and the original examples, errors in the resulting disjunction are made with the same probability as they would for the conjunction. Therefore, the bound on the error made by the conjunction of negated examples translates directly into a bound on the error of the disjunction.
    [Show full text]
  • Asynchronous Genetic Circuit Design
    ASYNCHRONOUS GENETIC CIRCUIT DESIGN by Tramy T Nguyen A dissertation submitted to the faculty of The University of Utah in partial fulfillment of the requirements for the degree of Doctor of Philosophy Department of Electrical and Computer Engineering The University of Utah December 2019 Copyright c Tramy T Nguyen 2019 All Rights Reserved The University of Utah Graduate School STATEMENT OF DISSERTATION APPROVAL The dissertation of Tramy T Nguyen has been approved by the following supervisory committee members: Chris J. Myers , Chair(s) August 29, 2019 Date Approved Kenneth Stevens , Member August 29, 2019 Date Approved Priyank Kalla , Member August 29, 2019 Date Approved Tara Deans , Member August 29, 2019 Date Approved Nicholas Roehner , Member September 04, 2019 Date Approved by Florian Solzbacher , Chair/Dean of the Department/College/School of Electrical and Computer Engineering and by David B. Kieda , Dean of The Graduate School. ABSTRACT Synthetic biology is applying engineering concepts to biological processes to enable genetic circuit designs, among other applications. As more biological parts are being discovered, it is vital to have an automated procedure to allow complex circuit designs to be built. Technology mapping is a set of procedures that maps biological components to a design specification. Current technology mapping frameworks for genetic circuits are used to design combinational circuits. This dissertation illustrates the process of building an automated workflow for a technology mapping framework to design asynchronous sequential genetic circuits. An automated process to create a library of gates for logic and memory circuits is described to construct gates from DNA parts retrieved from a standardize data repository.
    [Show full text]
  • Representation of Compositional Relational Programs
    Representation of Compositional Relational Programs Representation of Compositional Relational Programs Görkem Paçacı Dissertation presented at Uppsala University to be publicly examined in Lecture hall 2, Ekonomikum, Uppsala, Friday, 28 April 2017 at 13:00 for the degree of Doctor of Philosophy. The examination will be conducted in English. Faculty examiner: Professor Alberto Pettorossi (University of Rome Tor Vergata). Abstract Paçacı, G. 2017. Representation of Compositional Relational Programs. 216 pp. Uppsala: Department of Informatics and Media, Uppsala University. ISBN 978-91-506-2621-6. Usability aspects of programming languages are often overlooked, yet have a substantial effect on programmer productivity. These issues are even more acute in the field of Inductive Synthesis, where programs are automatically generated from sample expected input and output data, and the programmer needs to be able to comprehend, and confirm or reject the suggested programs. A promising method of Inductive Synthesis, CombInduce, which is particularly suitable for synthesizing recursive programs, is a candidate for improvements in usability as the target language Combilog is not user-friendly. The method requires the target language to be strictly compositional, hence devoid of variables, yet have the expressiveness of definite clause programs. This sets up a challenging problem for establishing a user-friendly but equally expressive target language. Alternatives to Combilog, such as Quine's Predicate-functor Logic and Schönfinkel and Curry's Combinatory Logic also do not offer a practical notation: finding a more usable representation is imperative. This thesis presents two distinct approaches towards more convenient representations which still maintain compositionality. The first is Visual Combilog (VC), a system for visualizing Combilog programs.
    [Show full text]
  • Potential and Methods for Embedding Dynamic Offloading
    ARTICLE IN PRESS JID: CAEE [m3Gsc; June 15, 2016;10:26 ] Computers and Electrical Engineering 0 0 0 (2016) 1–21 Contents lists available at ScienceDirect Computers and Electrical Engineering journal homepage: www.elsevier.com/locate/compeleceng Potential and methods for emb e dding dynamic offloading decisions into application code ∗ Gavin Vaz, Heinrich Riebler , Tobias Kenter, Christian Plessl Department of Computer Science, Paderborn University, 33098 Paderborn, Germany a r t i c l e i n f o a b s t r a c t Article history: A broad spectrum of applications can be accelerated by offloading computation intensive Received 10 June 2015 parts to reconfigurable hardware. However, to achieve speedups, the number of loop it- Revised 28 April 2016 erations (trip count) needs to be sufficiently large to amortize offloading overheads. Trip Accepted 28 April 2016 counts are frequently not known at compile time, but only at runtime just before entering Available online xxx a loop. Therefore, we propose to generate code for both the CPU and the coprocessor, and Keywords: defer the offloading decision to the application runtime. We demonstrate how a toolflow, Runtime system based on the LLVM compiler framework, can automatically embed dynamic offloading de- Runtime decision cisions into the application code. We perform in-depth static and dynamic analysis of pop- Hotspot offloading ular benchmarks, which confirm the general potential of such an approach. We also pro- Convey HC-1 pose to optimize the offloading process by decoupling the runtime decision from the loop LLVM execution (decision slack). The feasibility of our approach is demonstrated by a toolflow SCEV that automatically identifies suitable data-parallel loops and generates code for the FPGA coprocessor of a Convey HC-1.
    [Show full text]
  • Normal Form (9A)
    Normal Form (9A) Young Won Lim 7/12/18 Copyright (c) 2015 – 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to [email protected]. This document was produced by using LibreOffice and Octave. Young Won Lim 7/12/18 Horn Clause https://en.wikipedia.org/wiki/Horn_clause Logic (9A) Young Won Lim Normal Form 3 7/12/18 Conjunctive Normal Form a formula is in conjunctive normal form (CNF) or clausal normal form if it is a conjunction of one or more clauses, where a clause is a disjunction of literals; otherwise put, it is an AND of ORs. As a normal form, it is useful in automated theorem proving. It is similar to the product of sums form used in circuit theory. All conjunctions of literals and all disjunctions of literals are in CNF, as they can be seen as conjunctions of one-literal clauses and conjunctions of a single clause, respectively. As in the disjunctive normal form (DNF), the only propositional connectives a formula in CNF can contain are and, or, and not. The not operator can only be used as part of a literal, which means that it can only precede a propositional variable or a predicate symbol.
    [Show full text]
  • Methods for Stability and Noise Analysis of Coupled Oscillating Systems
    Downloaded from orbit.dtu.dk on: Dec 17, 2017 Methods for Stability and Noise Analysis of Coupled Oscillating Systems Djurhuus, Torsten Publication date: 2008 Document Version Early version, also known as pre-print Link back to DTU Orbit Citation (APA): Djurhuus, T. (2008). Methods for Stability and Noise Analysis of Coupled Oscillating Systems. General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain • You may freely distribute the URL identifying the publication in the public portal If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim. Methods for Stability and Noise Analysis of Coupled Oscillating Systems. Torsten Djurhuus September 28, 2007 Contents Introduction 6 1 Basic Theory 13 1.1EquivalenceTheory............................... 13 1.1.1 Single Oscillators - The Andronov-Hopf Normal-Form ....... 14 1.1.2 Coupled Oscillators - The Synchronized State . .......... 23 1.2AveragingTheory................................ 28 1.3 Symmetry Considerations ........................... 31 2 Single Oscillators Perturbed by White Noise - Inhomogeneous Phase Diffusion 36 2.1 A Linear Response Theory for Noise Forced Limit Cycle Solutions .... 37 2.1.1 Deriving the Oscillator Phase Stochastic Differential Equation .
    [Show full text]
  • Python EDA Documentation Release 0.17.1
    Python EDA Documentation Release 0.17.1 Chris Drake February 12, 2014 Contents i ii Python EDA Documentation, Release 0.17.1 Release 0.17.1 Date February 12, 2014 PyEDA is a Python library for electronic design automation. Fork PyEDA: https://github.com/cjdrake/pyeda Features: • Symbolic Boolean algebra with a selection of function representations: – Logic expressions – Truth tables, with three output states (0, 1, “don’t care”) – Reduced, ordered binary decision diagrams (ROBDDs) – Fast, disjunctive/conjunctive normal form logic expressions • SAT solvers: – Backtracking – DPLL – PicoSAT • Formal equivalence • Multi-dimensional bit vectors • DIMACS CNF/SAT parsers • Logic expression parser Contents: Contents 1 Python EDA Documentation, Release 0.17.1 2 Contents CHAPTER 1 Overview 1.1 What is Electronic Design Eutomation (EDA)? The Intel 4004, the world’s first commercially available microprocessor, was built from approximately 2300 transistors, and had a clock frequency of 740 kilohertz (thousands of cycles per second) 12 . A modern Intel microprocessor can contain over 1.5 billion transistors, and will typically have a clock frequency ranging from two to four gigahertz (billions of cycles per second). In 1971 it took less than one hundred people to manufacture the 4004. That is approximately 23 transistors per employee. If that ratio stayed the same between 1971 and 2012, Intel would need to employ about 65 million people just to produce the latest Core i7 processor. That is one fifth the entire population of the United States! Clearly, companies that design and manufacture integrated circuits have found ways to be more productive since then. Simply stated, electronic design automation (EDA) is the science of optimizing productivity in the design and manu- facture of electronic components.
    [Show full text]
  • Adapting Logic to Physics: the Quantum-Like Eigenlogic Program
    entropy Article Adapting Logic to Physics: The Quantum-Like Eigenlogic Program Zeno Toffano 1,* and François Dubois 2 1 Université Paris-Saclay, CNRS, CentraleSupélec, Laboratoire des signaux et systèmes, 91190 Gif-sur-Yvette, France 2 Conservatoire National des Arts et Métiers, AFSCET, 75003 Paris, France; [email protected] * Correspondence: zeno.toff[email protected] Received: 15 December 2019; Accepted: 21 January 2020; Published: 24 January 2020 Abstract: Considering links between logic and physics is important because of the fast development of quantum information technologies in our everyday life. This paper discusses a new method in logic inspired from quantum theory using operators, named Eigenlogic. It expresses logical propositions using linear algebra. Logical functions are represented by operators and logical truth tables correspond to the eigenvalue structure. It extends the possibilities of classical logic by changing the semantics from the Boolean binary alphabet 0, 1 using projection operators to the binary alphabet +1, 1 employing f g f − g reversible involution operators. Also, many-valued logical operators are synthesized, for whatever alphabet, using operator methods based on Lagrange interpolation and on the Cayley–Hamilton theorem. Considering a superposition of logical input states one gets a fuzzy logic representation where the fuzzy membership function is the quantum probability given by the Born rule. Historical parallels from Boole, Post, Poincaré and Combinatory Logic are presented in relation to probability theory, non-commutative quaternion algebra and Turing machines. An extension to first order logic is proposed inspired by Grover’s algorithm. Eigenlogic is essentially a logic of operators and its truth-table logical semantics is provided by the eigenvalue structure which is shown to be related to the universality of logical quantum gates, a fundamental role being played by non-commutativity and entanglement.
    [Show full text]
  • Methods for Stability and Noise Analysis of Coupled Oscillating Systems
    Downloaded from orbit.dtu.dk on: Oct 01, 2021 Methods for Stability and Noise Analysis of Coupled Oscillating Systems Djurhuus, Torsten Publication date: 2008 Document Version Early version, also known as pre-print Link back to DTU Orbit Citation (APA): Djurhuus, T. (2008). Methods for Stability and Noise Analysis of Coupled Oscillating Systems. General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. Users may download and print one copy of any publication from the public portal for the purpose of private study or research. You may not further distribute the material or use it for any profit-making activity or commercial gain You may freely distribute the URL identifying the publication in the public portal If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim. Methods for Stability and Noise Analysis of Coupled Oscillating Systems. Torsten Djurhuus September 28, 2007 Contents Introduction 6 1 Basic Theory 13 1.1EquivalenceTheory............................... 13 1.1.1 Single Oscillators - The Andronov-Hopf Normal-Form ....... 14 1.1.2 Coupled Oscillators - The Synchronized State . .......... 23 1.2AveragingTheory................................ 28 1.3 Symmetry Considerations ........................... 31 2 Single Oscillators Perturbed by White Noise - Inhomogeneous Phase Diffusion 36 2.1 A Linear Response Theory for Noise Forced Limit Cycle Solutions .... 37 2.1.1 Deriving the Oscillator Phase Stochastic Differential Equation .
    [Show full text]
  • A Comparative Analysis of Different Boolean Function Synthesis Methods
    A Comparative Analysis of Different Boolean Function Synthesis Methods Gabriel Ammes, Walter Lau and Renato P. Ribas Institute of Informatics UFRGS Porto Alegre, Brazil (gabriel.ammes, wlneto, rpribas)@inf.ufrgs.br Abstract—This paper presents a useful evaluation of Boolean of XOR expressions. Section III presents the experimental function synthesis methods considering metrics like number of results and the comparative analysis of the presented methods. literals, number of operations, circuit logic depth and execution The conclusions are outlined in Section IV. time. Several logic function synthesis approaches have been proposed, but the comparison between them is not clearly defined. Such analysis becomes quite useful for the decision of which one II. BOOLEAN FUNCTION SYNTHESIS is more suitable for a given application. Many methods of Boolean Synthesis uses an n-variable Index Terms—Boolean function, logic synthesis, CAD tool, logic optimization, digital circuit. truth table as input, as shown in Fig. 1a. Minterms and maxterms can represent a truth table. A minterm is a product I. INTRODUCTION of all function variables, where each variable appears once in positive or negative polarity. A maxterm corresponds to a sum Logic synthesis is a well-established research field, with a of all functions variables, where each variable also appears direct impact on the quality of digital circuit design [1]. Logic once and can be in either polarities. The maxterm can be synthesis methods exploit properties of the Boolean function obtained by negating the a minterm and vice versa. to get a minimized expression concerning a given metric and Even though we present a range of different methods, there profile.
    [Show full text]