3,640 research outputs found

    Towards Verifying Nonlinear Integer Arithmetic

    Full text link
    We eliminate a key roadblock to efficient verification of nonlinear integer arithmetic using CDCL SAT solvers, by showing how to construct short resolution proofs for many properties of the most widely used multiplier circuits. Such short proofs were conjectured not to exist. More precisely, we give n^{O(1)} size regular resolution proofs for arbitrary degree 2 identities on array, diagonal, and Booth multipliers and quasipolynomial- n^{O(\log n)} size proofs for these identities on Wallace tree multipliers.Comment: Expanded and simplified with improved result

    Time-Space Tradeoffs for the Memory Game

    Get PDF
    A single-player game of Memory is played with nn distinct pairs of cards, with the cards in each pair bearing identical pictures. The cards are laid face-down. A move consists of revealing two cards, chosen adaptively. If these cards match, i.e., they bear the same picture, they are removed from play; otherwise, they are turned back to face down. The object of the game is to clear all cards while minimizing the number of moves. Past works have thoroughly studied the expected number of moves required, assuming optimal play by a player has that has perfect memory. In this work, we study the Memory game in a space-bounded setting. We prove two time-space tradeoff lower bounds on algorithms (strategies for the player) that clear all cards in TT moves while using at most SS bits of memory. First, in a simple model where the pictures on the cards may only be compared for equality, we prove that ST=Ω(n2logn)ST = \Omega(n^2 \log n). This is tight: it is easy to achieve ST=O(n2logn)ST = O(n^2 \log n) essentially everywhere on this tradeoff curve. Second, in a more general model that allows arbitrary computations, we prove that ST2=Ω(n3)ST^2 = \Omega(n^3). We prove this latter tradeoff by modeling strategies as branching programs and extending a classic counting argument of Borodin and Cook with a novel probabilistic argument. We conjecture that the stronger tradeoff ST=Ω~(n2)ST = \widetilde{\Omega}(n^2) in fact holds even in this general model

    Deterministic Black-Box Identity Testing π\pi-Ordered Algebraic Branching Programs

    Get PDF
    In this paper we study algebraic branching programs (ABPs) with restrictions on the order and the number of reads of variables in the program. Given a permutation π\pi of nn variables, for a π\pi-ordered ABP (π\pi-OABP), for any directed path pp from source to sink, a variable can appear at most once on pp, and the order in which variables appear on pp must respect π\pi. An ABP AA is said to be of read rr, if any variable appears at most rr times in AA. Our main result pertains to the identity testing problem. Over any field FF and in the black-box model, i.e. given only query access to the polynomial, we have the following result: read rr π\pi-OABP computable polynomials can be tested in \DTIME[2^{O(r\log r \cdot \log^2 n \log\log n)}]. Our next set of results investigates the computational limitations of OABPs. It is shown that any OABP computing the determinant or permanent requires size Ω(2n/n)\Omega(2^n/n) and read Ω(2n/n2)\Omega(2^n/n^2). We give a multilinear polynomial pp in 2n+12n+1 variables over some specifically selected field GG, such that any OABP computing pp must read some variable at least 2n2^n times. We show that the elementary symmetric polynomial of degree rr in nn variables can be computed by a size O(rn)O(rn) read rr OABP, but not by a read (r1)(r-1) OABP, for any 0<2r1n0 < 2r-1 \leq n. Finally, we give an example of a polynomial pp and two variables orders ππ\pi \neq \pi', such that pp can be computed by a read-once π\pi-OABP, but where any π\pi'-OABP computing pp must read some variable at least $2^n

    Optimization guide for programs compiled under IBM FORTRAN H (OPT=2)

    Get PDF
    Guidelines are given to provide the programmer with various techniques for optimizing programs when the FORTRAN IV H compiler is used with OPT=2. Subroutines and programs are described in the appendices along with a timing summary of all the examples given in the manual

    Streaming and Query Once Space Complexity of Longest Increasing Subsequence

    Full text link
    Longest Increasing Subsequence (LIS) is a fundamental problem in combinatorics and computer science. Previously, there have been numerous works on both upper bounds and lower bounds of the time complexity of computing and approximating LIS, yet only a few on the equally important space complexity. In this paper, we further study the space complexity of computing and approximating LIS in various models. Specifically, we prove non-trivial space lower bounds in the following two models: (1) the adaptive query-once model or read-once branching programs, and (2) the streaming model where the order of streaming is different from the natural order. As far as we know, there are no previous works on the space complexity of LIS in these models. Besides the bounds, our work also leaves many intriguing open problems.Comment: This paper has been accepted to COCOON 202
    corecore