How proofs are prepared at Camelot
|
|
- Angel Henderson
- 5 years ago
- Views:
Transcription
1 How proofs are prepared at Camelot Andreas Björklund Lund University Petteri Kaski Aalto University Fine-Grained Complexity and Algorithm Design Reunion Simons Institute, UC Berkeley 15 December 2016
2 Fine-grained design and analysis of proof systems Nondeterministic strong exponential-time hypothesis (Carmosino, Gao, Impagliazzo, Mihajlin, Paturi, Schneider 2016) fine-grained design & analysis with a deterministic verifier Merlin Arthur proofs of batch evaluation (Williams 2016) fine-grained design & analysis with a randomized verifier SETH breaks with Merlin and Arthur
3 (Noninteractive) proofs Claim [Clipart: Merlin] Proof [Clipart: Arthur] Prover Verifier
4 Completeness, (probabilistic) soundness, ease of verification Claim [Clipart: Merlin] Proof [Clipart: Arthur] Prover Verifier
5 SETH fails with Merlin and Arthur (Williams 2016) Claim (#CNFSAT): This n-variable CNF-formula φ has exactly A satisfying [Clipart: Merlin] assignments [Clipart: Arthur] Proof string Pφ of length O*(2 n/2 ) Runs in time O*(2 n/2 ), always accepts correct proof, rejects bad proof w.h.p.
6 But what if Merlin is taking [Clipart: Arthur panic] a vacation? (How powerful does the prover need to be?)
7 Interactive proofs for muggles 1 [Goldwasser, Kalai, Rothblum 2015] Claim [Clipart: Polynomial-time prover] [Clipart: lowerpolynomial-time verifier] Prover Verifier 1 In the fiction of J. K. Rowling: a person who possesses no magical powers (Oxford English Dictionary)
8 [Clipart: Merlin] [Clipart: Arthur] [Clipart: Merlin] [Clipart: Arthur] [Clipart: Arthur] [Clipart: Arthur]
9 K Knights prepare the proof, in parallel (+ any single Knight can verify the proof, probabilistically, using about the same effort that he put into the preparation) Claim [Clipart: Knights around the Round Table of Camelot] Proof [Clipart: Arthur]
10 Modern computers are parallel Titan (Oak Ridge) #3 top500.org Courtesy of Oak Ridge National Laboratory, U.S. Department of Energy. Image in the public domain. (18,688 GPUs, 50,233,344 cores)
11 Modern computers make (some) errors [Clipart: faulty prover] [Figure 2 from Tiwari et al.] Tiwari et al. Supercomputing 15
12 Proof preparation Courtesy of Oak Ridge National Laboratory, U.S. Department of Energy. Image in the public domain. Preparation takes place in parallel Errors may occur
13 Proof verification Can error-correct proof? Always accept good proof Reject bad proof w.h.p.
14 What is the overhead for parallel proof preparation and error-tolerance? (Compared with best sequential algorithm that just solves the problem on error-free hardware)
15 Camelot [Clipart: Knights around the Round Table of Camelot] KE = Õ(T) T = best known sequential runtime K = number of Knights E = effort (runtime) of each Knight
16 Camelot algorithms for e.g. Permanent, #Hamiltonian cycles, #Orthogonal vectors, are implicit in Williams (2016) [Björklund & K. 2016]: Replace Merlin with mere Knights + more Camelot algorithms e.g. #k-clique, #triangles, #Graph Coloring,
17 Example: Camelot algorithm for #6-clique (Björklund & K. 2016) KE = Õ(T) [Clipart: Knights around the Round Table of Camelot] T = O(n 2ω+ε ) for any constant ε>0 = best known sequential runtime (Nešetřil & Poljak 1985) K = O(n ω+ε ) = number of Knights E = Õ(n ω+ε ) = effort of each Knight for any constant ε >0 ω = limn (log rk0 <n,n,n>)/(log n)
18 G [Clipart: Knights around the Round Table of Camelot] Proof (ξ1,pg(ξ1)), (ξ2,pg(ξ2)),, (ξk,pg(ξk)) The proof is a list of K evaluations of a degree d univariate polynomial p G (x) K d+1 (modulo q, for 3 distinct primes q, with q d+1) d = ϴ(n ω+ε ) Effort to evaluate pg(x) at a given point x=ξ: E = Õ(n ω+ε )
19 To design a Camelot algorithm is to design (i) the low-degree proof polynomial p (x), and G (ii) a fast algorithm for computing p (ξ) G given x=ξ and G as input Error-correcting the proof: Reed-Solomon decoding (using Gao s (2003) fast decoder) Proof verification: Polynomial identity testing (using (ii) to randomly access the true polynomial)
20 Near-linear-time toolbox for univariate polynomials Addition Multiplication Division (quotient and remainder) Batch evaluation (at d+1 given points) Interpolation (from d+1 given evaluations) Extended Euclid (gcd) Õ(d) operations for inputs of degree at most d [These algorithms are practical]
21 Fast interpolation from (partly) erroneous data Interpolation of degree d polynomial from K given evaluations, when at most (K d 1)/2 evaluations are in error Runs in Õ(K) operations, uses one (error-free) interpolation one extended Euclid one division [This is a practical algorithm] (Gao 2003)
22 To design a Camelot algorithm is to design (i) the low-degree proof polynomial p (x), and G (ii) a fast algorithm for computing p (ξ) G given x=ξ and G as input pg(x) for #6-cliques?
23 The 15-linear form (~ #6-cliques) Let be an N N matrix We seek to compute the 6 2 -linear form X ( 6 2) = X a,b,c,d,e,f ab ac ad ae af bc bd be bf cd ce cf de df ef A direct evaluation takes O(N 6 ) operations c b d a e f
24 Nešetřil & Poljak (1985) algorithm Nešetřil and Poljak (1985) observe that we can precompute the three N 2 N 2 matrices U ab,cd = ab ac ad bc bd S ab,ef = ae af be bf ef T cd,ef = cd ce cf de df and then use fast matrix multiplication to compute X ( 6 2) = X a,b,c,d U ab,cd V ab,cd, V ab,cd = X e,f S ab,ef T cd,ef This takes O(N 2!+ ) operations for any constant > 0
25 New evaluation formula (Björklund & K. 2016) Nešetřil & Poljak (1985) formula appears not to split naturally into O(N ω+ε ) parts with O(N ω+ε ) effort each We want such a formula ideally it should be a simple sum of O(N ω+ε ) terms, with O(N ω+ε ) effort to prepare each term Such a formula exists, and it extends to a univariate proof polynomial P(x)
26 Trilinear decomposition of <N,N,N> For d, e, f =1, 2,...,N and r =1, 2,...,R let de (r), ef (r), df (r) be integers that satisfy the polynomial identity X RX X X X d,e,f u de v ef w df = r=1 d,e 0 de 0(r)u de 0 e,f 0 ef 0 (r)v ef 0 d 0,f d 0 f (r)w d 0 f We can assume that R = O(N!+ ) for an arbitrary constant > 0 Furthermore, the N 2 R matrices,, are Kronecker powers of matrices of size O(1) Example: Strassen s 4 x 7 trilinear decomposition of <2,2,2> α0 = β0 = γ0 =
27 New evaluation formula (Björklund & K. 2016) For each r =1, 2,...,R, compute, using fast matrix multiplication, H ad (r) = X e 0 de 0(r) ae 0 de 0, A ab (r) = X d ad bdh ad (r), K be (r) = X f 0 ef 0 (r) bf 0 ef 0, B bc (r) = X e be cek be (r), L cf (r) = X d 0 d 0 f (r) cd 0 d 0 f, C ac (r) = X f af cf L cf (r) Finally, compute, again using fast matrix multiplication, Q ab (r) = X c ac bcb bc (r)c ac (r), P (r) = X a,b aba ab (r)q ab (r) Each term P (r) takes O(N!+ ) operations to compute
28 New evaluation formula (Björklund & K. 2016) Theorem. X ( 6 2) = P R r=1 P (r) Proof. Extension to Camelot : The integer values P(r) extend to a degree-at-most 3R polynomial P(x) that admits, using Yates s (1937) algorithm, an evaluation algorithm that for a given x 0 computes P(x 0 ) mod q in O(N ω+ε ) operations mod q RX r=1 P (r) = RX r=1 X a,b,c ab ac bca ab (r)b bc (r)c ac (r) RX X = X X ab ac bc de 0 (r) ad ae 0 bd de 0 ef 0 (r) be bf 0 ce ef 0 r=1 a,b,c d,e 0 e,f 0 d 0,f, = X a,b,c = X a,b,c ab ac bc ab ac bc RX X X de 0 (r) ad ae 0 bd de 0 d,e 0 X r=1 ad ae af bd be bf cd ce cf de df ef d,e,f X e,f 0 ef 0 (r) be bf 0 ce ef 0 d 0 f (r) af cd 0 cf d 0 f X d 0 f (r) af cd 0 cf d 0 f d 0,f
29 CAMELOT ALGORITHMS (IMPLICIT, WILLIAMS 2016) #CNF-SAT Matrix permanent #Hamiltonian cycles #Orthogonal vectors Closest pairs in Hamming metric CAMELOT ALGORITHMS (BJÖRKLUND & K. 2016) Polynomial extension of many fastest known sequential algorithms k-clique [Nešetřil & Poljak 1985] graph colouring [Björklund et al. 2006, 2009] triangle counting in sparse graphs** [Itai & Rodeh 1978] [Alon, Yuster & Zwick 1997] Tutte polynomial** [Björklund et al. 2008] (** We almost match the best sequential running time)
30 [Clipart: Arthur] [Clipart: Merlin] THANK YOU
Holger Dell Saarland University and Cluster of Excellence (MMCI) Simons Institute for the Theory of Computing
Fine-Grained Complexity Classification of Counting Problems Holger Dell Saarland University and Cluster of Excellence (MMCI) Simons Institute for the Theory of Computing 1 In P or not in P? Exact counting
More informationStrong ETH Breaks With Merlin and Arthur. Or: Short Non-Interactive Proofs of Batch Evaluation
Strong ETH Breaks With Merlin and Arthur Or: Short Non-Interactive Proofs of Batch Evaluation Ryan Williams Stanford Two Stories Story #1: The ircuit and the Adversarial loud. Given: a 1,, a K F n Want:
More informationFaster Satisfiability Algorithms for Systems of Polynomial Equations over Finite Fields and ACC^0[p]
Faster Satisfiability Algorithms for Systems of Polynomial Equations over Finite Fields and ACC^0[p] Suguru TAMAKI Kyoto University Joint work with: Daniel Lokshtanov, Ramamohan Paturi, Ryan Williams Satisfiability
More informationConnections between exponential time and polynomial time problem Lecture Notes for CS294
Connections between exponential time and polynomial time problem Lecture Notes for CS294 Lecturer: Russell Impagliazzo Scribe: Stefan Schneider November 10, 2015 We connect problems that have exponential
More informationThe Advanced Encryption Standard
Lecturers: Mark D. Ryan and David Galindo. Cryptography 2017. Slide: 48 The Advanced Encryption Standard Successor of DES DES considered insecure; 3DES considered too slow. NIST competition in 1997 15
More informationFine Grained Counting Complexity I
Fine Grained Counting Complexity I Holger Dell Saarland University and Cluster of Excellence (MMCI) & Simons Institute for the Theory of Computing 1 50 Shades of Fine-Grained #W[1] W[1] fixed-parameter
More information37th United States of America Mathematical Olympiad
37th United States of America Mathematical Olympiad 1. Prove that for each positive integer n, there are pairwise relatively prime integers k 0, k 1,..., k n, all strictly greater than 1, such that k 0
More informationSample Question Paper Mathematics First Term (SA - I) Class X. Time: 3 to 3 ½ hours
Sample Question Paper Mathematics First Term (SA - I) Class X Time: 3 to 3 ½ hours M.M.:90 General Instructions (i) All questions are compulsory. (ii) The question paper consists of 34 questions divided
More informationArthur-Merlin Streaming Complexity
Weizmann Institute of Science Joint work with Ran Raz Data Streams The data stream model is an abstraction commonly used for algorithms that process network traffic using sublinear space. A data stream
More informationCounting t-cliques: Worst-case to average-case reductions and Direct interactive proof systems
Counting t-cliques: Worst-case to average-case reductions and Direct interactive proof systems Oded Goldreich Guy N. Rothblum April 1, 2018 Abstract We present two main results regarding the complexity
More informationLecture 12: Interactive Proofs
princeton university cos 522: computational complexity Lecture 12: Interactive Proofs Lecturer: Sanjeev Arora Scribe:Carl Kingsford Recall the certificate definition of NP. We can think of this characterization
More informationA FINE-GRAINED APPROACH TO
A FINE-GRAINED APPROACH TO ALGORITHMS AND COMPLEXITY Virginia Vassilevska Williams MIT ICDT 2018 THE CENTRAL QUESTION OF ALGORITHMS RESEARCH ``How fast can we solve fundamental problems, in the worst case?
More informationCHMMC 2015 Individual Round Problems
CHMMC 05 Individual Round Problems November, 05 Problem 0.. The following number is the product of the divisors of n. What is n? 6 3 3 Solution.. In general, the product of the divisors of n is n # of
More informationSUMMATIVE ASSESSMENT I, IX / Class IX
I, 0 SUMMATIVE ASSESSMENT I, 0 0 MATHEMATICS / MATHEMATICS MATHEMATICS CLASS CLASS - IX - IX IX / Class IX MA-0 90 Time allowed : hours Maximum Marks : 90 (i) (ii) 8 6 0 0 (iii) 8 (iv) (v) General Instructions:
More informationThe One-Quarter Fraction
The One-Quarter Fraction ST 516 Need two generating relations. E.g. a 2 6 2 design, with generating relations I = ABCE and I = BCDF. Product of these is ADEF. Complete defining relation is I = ABCE = BCDF
More informationFractional Replications
Chapter 11 Fractional Replications Consider the set up of complete factorial experiment, say k. If there are four factors, then the total number of plots needed to conduct the experiment is 4 = 1. When
More informationComplexity Theory of Polynomial-Time Problems
Complexity Theory of Polynomial-Time Problems Lecture 11: Nondeterministic SETH Karl Bringmann Complexity Inside P SAT 2 n 3SUM n 2 OV n 2 Colinearity n 2 3SUM-hard APSP n 3 APSP equivalent Radius n 3
More informationSolution: By direct calculation, or observe that = = ( ) 2222 = =
1 Fillins 1. Find the last 4 digits of 3333 6666. Solution: 7778. By direct calculation, or observe that 3333 6666 = 9999 2222 = (10000 1) 2222 = 22220000 2222 = 22217778. 2. How many ways are there to
More informationHardness for easy problems. An introduction
Hardness for easy problems An introduction The real world and hard problems I ve got data. I want to solve this algorithmic problem but I m stuck! Ok, thanks, I feel better that none of my attempts worked.
More informationConstruction of Mixed-Level Orthogonal Arrays for Testing in Digital Marketing
Construction of Mixed-Level Orthogonal Arrays for Testing in Digital Marketing Vladimir Brayman Webtrends October 19, 2012 Advantages of Conducting Designed Experiments in Digital Marketing Availability
More informationInteractive Proofs. Merlin-Arthur games (MA) [Babai] Decision problem: D;
Interactive Proofs n x: read-only input finite σ: random bits control Π: Proof work tape Merlin-Arthur games (MA) [Babai] Decision problem: D; input string: x Merlin Prover chooses the polynomial-length
More informationGeometric Problems in Moderate Dimensions
Geometric Problems in Moderate Dimensions Timothy Chan UIUC Basic Problems in Comp. Geometry Orthogonal range search preprocess n points in R d s.t. we can detect, or count, or report points inside a query
More information2 Evidence that Graph Isomorphism is not NP-complete
Topics in Theoretical Computer Science April 11, 2016 Lecturer: Ola Svensson Lecture 7 (Notes) Scribes: Ola Svensson Disclaimer: These notes were written for the lecturer only and may contain inconsistent
More informationB(w, z, v 1, v 2, v 3, A(v 1 ), A(v 2 ), A(v 3 )).
Lecture 13 PCP Continued Last time we began the proof of the theorem that PCP(poly, poly) = NEXP. May 13, 2004 Lecturer: Paul Beame Notes: Tian Sang We showed that IMPLICIT-3SAT is NEXP-complete where
More informationSECTION A(1) k k 1= = or (rejected) k 1. Suggested Solutions Marks Remarks. 1. x + 1 is the longest side of the triangle. 1M + 1A
SECTION A(). x + is the longest side of the triangle. ( x + ) = x + ( x 7) (Pyth. theroem) x x + x + = x 6x + 8 ( x )( x ) + x x + 9 x = (rejected) or x = +. AP and PB are in the golden ratio and AP >
More informationComplexity Theory of Polynomial-Time Problems
Complexity Theory of Polynomial-Time Problems Lecture 3: The polynomial method Part I: Orthogonal Vectors Sebastian Krinninger Organization of lecture No lecture on 26.05. (State holiday) 2 nd exercise
More informationSUMMATIVE ASSESSMENT-1 SAMPLE PAPER (SET-2) MATHEMATICS CLASS IX
SUMMATIVE ASSESSMENT-1 SAMPLE PAPER (SET-) MATHEMATICS CLASS IX Time: 3 to 3 1 hours Maximum Marks: 80 GENERAL INSTRUCTIONS: 1. All questions are compulsory.. The question paper is divided into four sections
More informationT-2 In the equation A B C + D E F = G H I, each letter denotes a distinct non-zero digit. Compute the greatest possible value of G H I.
2016 ARML Local Problems and Solutions Team Round Solutions T-1 All the shelves in a library are the same length. When filled, two shelves side-by-side can hold exactly 12 algebra books and 10 geometry
More informationVermont Talent Search April 12, 2011 School Year Test 4 Solutions
Vermont Talent Search April, 0 School Year 00-0 Test 4 Solutions Problem. Find the area of a triangle whose medians have lengths of 39, 4 and 45. Let M be the center of gravity or centroid of the triangle.
More informationPaper: 03 Class-X-Math: Summative Assessment - I
1 P a g e Paper: 03 Class-X-Math: Summative Assessment - I Total marks of the paper: 90 Total time of the paper: 3.5 hrs Questions: 1] Triangle ABC is similar to triangle DEF and their areas are 64 cm
More informationNon-standard MMC problems
Non-standard MMC problems Carl Joshua Quines 1 Algebra 1. (15S/9B/E6) A quadratic function f(x) satisfies f(0) = 30 and f(2) = 0. Determine all the zeros of f(x). [2 and 15] 2. (15S/IVB/E6) What is the
More informationLecture 19: Interactive Proofs and the PCP Theorem
Lecture 19: Interactive Proofs and the PCP Theorem Valentine Kabanets November 29, 2016 1 Interactive Proofs In this model, we have an all-powerful Prover (with unlimited computational prover) and a polytime
More informationComplexity Theory of Polynomial-Time Problems
Complexity Theory of Polynomial-Time Problems Lecture 13: Recap, Further Directions, Open Problems Karl Bringmann I. Recap II. Further Directions III. Open Problems I. Recap Hard problems SAT: OV: APSP:
More informationFRACTIONAL FACTORIAL
FRACTIONAL FACTORIAL NURNABI MEHERUL ALAM M.Sc. (Agricultural Statistics), Roll No. 443 I.A.S.R.I, Library Avenue, New Delhi- Chairperson: Dr. P.K. Batra Abstract: Fractional replication can be defined
More informationThe running time of Euclid s algorithm
The running time of Euclid s algorithm We analyze the worst-case running time of EUCLID as a function of the size of and Assume w.l.g. that 0 The overall running time of EUCLID is proportional to the number
More informationSome Basic Logic. Henry Liu, 25 October 2010
Some Basic Logic Henry Liu, 25 October 2010 In the solution to almost every olympiad style mathematical problem, a very important part is existence of accurate proofs. Therefore, the student should be
More informationMath Contest, Fall 2017 BC EXAM , z =
Math Contest, Fall 017 BC EXAM 1. List x, y, z in order from smallest to largest fraction: x = 111110 111111, y = 1 3, z = 333331 333334 Consider 1 x = 1 111111, 1 y = thus 1 x > 1 z > 1 y, and so x
More informationOut-colourings of Digraphs
Out-colourings of Digraphs N. Alon J. Bang-Jensen S. Bessy July 13, 2017 Abstract We study vertex colourings of digraphs so that no out-neighbourhood is monochromatic and call such a colouring an out-colouring.
More informationCS151 Complexity Theory. Lecture 13 May 15, 2017
CS151 Complexity Theory Lecture 13 May 15, 2017 Relationship to other classes To compare to classes of decision problems, usually consider P #P which is a decision class easy: NP, conp P #P easy: P #P
More informationComputing the Independence Polynomial: from the Tree Threshold Down to the Roots
1 / 16 Computing the Independence Polynomial: from the Tree Threshold Down to the Roots Nick Harvey 1 Piyush Srivastava 2 Jan Vondrák 3 1 UBC 2 Tata Institute 3 Stanford SODA 2018 The Lovász Local Lemma
More informationDESIGN OF THE QUESTION PAPER Mathematics Class X
SET-I DESIGN OF THE QUESTION PAPER Mathematics Class X Time : 3 Hours Maximum Marks : 80 Weightage and the distribution of marks over different dimensions of the question shall be as follows: (A) Weightage
More informationNotes on Complexity Theory Last updated: November, Lecture 10
Notes on Complexity Theory Last updated: November, 2015 Lecture 10 Notes by Jonathan Katz, lightly edited by Dov Gordon. 1 Randomized Time Complexity 1.1 How Large is BPP? We know that P ZPP = RP corp
More informationCS151 Complexity Theory. Lecture 14 May 17, 2017
CS151 Complexity Theory Lecture 14 May 17, 2017 IP = PSPACE Theorem: (Shamir) IP = PSPACE Note: IP PSPACE enumerate all possible interactions, explicitly calculate acceptance probability interaction extremely
More informationProblems and Solutions: INMO-2012
Problems and Solutions: INMO-2012 1. Let ABCD be a quadrilateral inscribed in a circle. Suppose AB = 2+ 2 and AB subtends 135 at the centre of the circle. Find the maximum possible area of ABCD. Solution:
More informationThe Class NP. NP is the problems that can be solved in polynomial time by a nondeterministic machine.
The Class NP NP is the problems that can be solved in polynomial time by a nondeterministic machine. NP The time taken by nondeterministic TM is the length of the longest branch. The collection of all
More informationThis class will demonstrate the use of bijections to solve certain combinatorial problems simply and effectively.
. Induction This class will demonstrate the fundamental problem solving technique of mathematical induction. Example Problem: Prove that for every positive integer n there exists an n-digit number divisible
More informationLecture 11 - Basic Number Theory.
Lecture 11 - Basic Number Theory. Boaz Barak October 20, 2005 Divisibility and primes Unless mentioned otherwise throughout this lecture all numbers are non-negative integers. We say that a divides b,
More informationInput Decidable Language -- Program Halts on all Input Encoding of Input -- Natural Numbers Encoded in Binary or Decimal, Not Unary
Complexity Analysis Complexity Theory Input Decidable Language -- Program Halts on all Input Encoding of Input -- Natural Numbers Encoded in Binary or Decimal, Not Unary Output TRUE or FALSE Time and Space
More informationDownloaded from
Question 1: Exercise 2.1 The graphs of y = p(x) are given in following figure, for some polynomials p(x). Find the number of zeroes of p(x), in each case. (i) (ii) (iii) Page 1 of 24 (iv) (v) (v) Page
More informationCollinearity/Concurrence
Collinearity/Concurrence Ray Li (rayyli@stanford.edu) June 29, 2017 1 Introduction/Facts you should know 1. (Cevian Triangle) Let ABC be a triangle and P be a point. Let lines AP, BP, CP meet lines BC,
More informationOrganization Team Team ID# 2. [2] Regular octagon CHILDREN has area 1. Find the area of pentagon CHILD. Organization Team Team ID#
1. [2] Suppose x is a rational number such that x 2 is also rational. Find x. 2. [2] Regular octagon CHILDREN has area 1. Find the area of pentagon CHILD. 3. [2] The length of a rectangle is three times
More informationUSA Mathematics Talent Search
ID#: 036 16 4 1 We begin by noting that a convex regular polygon has interior angle measures (in degrees) that are integers if and only if the exterior angle measures are also integers. Since the sum of
More informationComputational Complexity of Inference
Computational Complexity of Inference Sargur srihari@cedar.buffalo.edu 1 Topics 1. What is Inference? 2. Complexity Classes 3. Exact Inference 1. Variable Elimination Sum-Product Algorithm 2. Factor Graphs
More informationChapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013
Chapter 2 Reductions and NP CS 573: Algorithms, Fall 2013 August 29, 2013 2.1 Reductions Continued 2.1.1 The Satisfiability Problem SAT 2.1.1.1 Propositional Formulas Definition 2.1.1. Consider a set of
More informationError Correcting Codes Questions Pool
Error Correcting Codes Questions Pool Amnon Ta-Shma and Dean Doron January 3, 018 General guidelines The questions fall into several categories: (Know). (Mandatory). (Bonus). Make sure you know how to
More informationCS 320, Fall Dr. Geri Georg, Instructor 320 NP 1
NP CS 320, Fall 2017 Dr. Geri Georg, Instructor georg@colostate.edu 320 NP 1 NP Complete A class of problems where: No polynomial time algorithm has been discovered No proof that one doesn t exist 320
More information6.S078 A FINE-GRAINED APPROACH TO ALGORITHMS AND COMPLEXITY LECTURE 1
6.S078 A FINE-GRAINED APPROACH TO ALGORITHMS AND COMPLEXITY LECTURE 1 Not a requirement, but fun: OPEN PROBLEM Sessions!!! (more about this in a week) 6.S078 REQUIREMENTS 1. Class participation: worth
More information2002 AIME The solutions to the system of equations. log 225 x + log 64 y = 4 log x 225 log y 64 = 1 ...
2002 AIME 2 1 Many states use a sequence of three letters followed by a sequence of three digits as their standard license-plate pattern Given that each three-letter three-digit arrangement is equally
More informationChapter 4 Finite Fields
Chapter 4 Finite Fields Introduction will now introduce finite fields of increasing importance in cryptography AES, Elliptic Curve, IDEA, Public Key concern operations on numbers what constitutes a number
More informationFinding a Heaviest Triangle is not Harder than Matrix Multiplication
Finding a Heaviest Triangle is not Harder than Matrix Multiplication Artur Czumaj Department of Computer Science New Jersey Institute of Technology aczumaj@acm.org Andrzej Lingas Department of Computer
More informationComputational Models Lecture 11, Spring 2009
Slides modified by Benny Chor, based on original slides by Maurice Herlihy, Brown University. p. 1 Computational Models Lecture 11, Spring 2009 Deterministic Time Classes NonDeterministic Time Classes
More information10! = ?
AwesomeMath Team Contest 013 Solutions Problem 1. Define the value of a letter as its position in the alphabet. For example, C is the third letter, so its value is 3. The value of a word is the sum of
More informationLecture 8 - Algebraic Methods for Matching 1
CME 305: Discrete Mathematics and Algorithms Instructor: Professor Aaron Sidford (sidford@stanford.edu) February 1, 2018 Lecture 8 - Algebraic Methods for Matching 1 In the last lecture we showed that
More informationLecture 10 Oct. 3, 2017
CS 388R: Randomized Algorithms Fall 2017 Lecture 10 Oct. 3, 2017 Prof. Eric Price Scribe: Jianwei Chen, Josh Vekhter NOTE: THESE NOTES HAVE NOT BEEN EDITED OR CHECKED FOR CORRECTNESS 1 Overview In the
More informationChapter 2 : Time complexity
Dr. Abhijit Das, Chapter 2 : Time complexity In this chapter we study some basic results on the time complexities of computational problems. concentrate our attention mostly on polynomial time complexities,
More informationQMA(2) workshop Tutorial 1. Bill Fefferman (QuICS)
QMA(2) workshop Tutorial 1 Bill Fefferman (QuICS) Agenda I. Basics II. Known results III. Open questions/next tutorial overview I. Basics I.1 Classical Complexity Theory P Class of problems efficiently
More informationSAT, NP, NP-Completeness
CS 473: Algorithms, Spring 2018 SAT, NP, NP-Completeness Lecture 22 April 13, 2018 Most slides are courtesy Prof. Chekuri Ruta (UIUC) CS473 1 Spring 2018 1 / 57 Part I Reductions Continued Ruta (UIUC)
More information1 Maintaining a Dictionary
15-451/651: Design & Analysis of Algorithms February 1, 2016 Lecture #7: Hashing last changed: January 29, 2016 Hashing is a great practical tool, with an interesting and subtle theory too. In addition
More informationMath Wrangle Practice Problems
Math Wrangle Practice Problems American Mathematics Competitions November 19, 2010 1. Find the sum of all positive two-digit integers that are divisible by each of their digits. 2. A finite set S of distinct
More informationNP and Computational Intractability
NP and Computational Intractability 1 Review Basic reduction strategies. Simple equivalence: INDEPENDENT-SET P VERTEX-COVER. Special case to general case: VERTEX-COVER P SET-COVER. Encoding with gadgets:
More informationOn The Hardness of Approximate and Exact (Bichromatic) Maximum Inner Product. Lijie Chen (Massachusetts Institute of Technology)
On The Hardness of Approximate and Exact (Bichromatic) Maximum Inner Product Max a,b A B a b Lijie Chen (Massachusetts Institute of Technology) Max-IP and Z-Max-IP (Boolean) Max-IP: Given sets A and B
More informationChapter 7: Time Complexity
Chapter 7: Time Complexity 1 Time complexity Let M be a deterministic Turing machine that halts on all inputs. The running time or time complexity of M is the function f: N N, where f(n) is the maximum
More informationMore NP-Complete Problems
CS 473: Algorithms, Spring 2018 More NP-Complete Problems Lecture 23 April 17, 2018 Most slides are courtesy Prof. Chekuri Ruta (UIUC) CS473 1 Spring 2018 1 / 57 Recap NP: languages/problems that have
More informationSMT China 2014 Team Test Solutions August 23, 2014
. Compute the remainder when 2 30 is divided by 000. Answer: 824 Solution: Note that 2 30 024 3 24 3 mod 000). We will now consider 24 3 mod 8) and 24 3 mod 25). Note that 24 3 is divisible by 8, but 24
More informationInternational Mathematics TOURNAMENT OF THE TOWNS
International Mathematics TOURNAMENT OF THE TOWNS Senior A-Level Paper Fall 2008. 1. A standard 8 8 chessboard is modified by varying the distances between parallel grid lines, so that the cells are rectangles
More informationComputer Algebra: General Principles
Computer Algebra: General Principles For article on related subject see SYMBOL MANIPULATION. Computer algebra is a branch of scientific computation. There are several characteristic features that distinguish
More informationProbabilistically Checkable Proofs. 1 Introduction to Probabilistically Checkable Proofs
Course Proofs and Computers, JASS 06 Probabilistically Checkable Proofs Lukas Bulwahn May 21, 2006 1 Introduction to Probabilistically Checkable Proofs 1.1 History of Inapproximability Results Before introducing
More informationThe Alberta High School Mathematics Competition Solution to Part I, 2014.
The Alberta High School Mathematics Competition Solution to Part I, 2014. Question 1. When the repeating decimal 0.6 is divided by the repeating decimal 0.3, the quotient is (a) 0.2 (b) 2 (c) 0.5 (d) 0.5
More informationCBSE Class IX Mathematics Term 1. Time: 3 hours Total Marks: 90. Section A
CBSE sample papers, Question papers, Notes for Class 6 to 1 CBSE Class IX Mathematics Term 1 Time: 3 hours Total Marks: 90 General Instructions: 1. All questions are compulsory.. The question paper consists
More informationThe 33 rd Balkan Mathematical Olympiad Tirana, May 7, 2016
Language: English The 33 rd Balkan Mathematical Olympiad Tirana, May 7, 2016 Problem 1. Find all injective functions f : R R such that for every real number x and every positive integer n, n i f(x + i
More information1 Probabilistically checkable proofs
CSC 5170: Theory of Computational Complexity Lecture 12 The Chinese University of Hong Kong 12 April 2010 Interactive proofs were introduced as a generalization of the classical notion of a proof in the
More informationIntroduction to Algorithms
Lecture 1 Introduction to Algorithms 1.1 Overview The purpose of this lecture is to give a brief overview of the topic of Algorithms and the kind of thinking it involves: why we focus on the subjects that
More informationBasic Probabilistic Checking 3
CS294: Probabilistically Checkable and Interactive Proofs February 21, 2017 Basic Probabilistic Checking 3 Instructor: Alessandro Chiesa & Igor Shinkar Scribe: Izaak Meckler Today we prove the following
More informationCSCI 1590 Intro to Computational Complexity
CSCI 1590 Intro to Computational Complexity Interactive Proofs John E. Savage Brown University April 20, 2009 John E. Savage (Brown University) CSCI 1590 Intro to Computational Complexity April 20, 2009
More information-bit integers are all in ThC. Th The following problems are complete for PSPACE NPSPACE ATIME QSAT, GEOGRAPHY, SUCCINCT REACH.
CMPSCI 601: Recall From Last Time Lecture 26 Theorem: All CFL s are in sac. Facts: ITADD, MULT, ITMULT and DIVISION on -bit integers are all in ThC. Th The following problems are complete for PSPACE NPSPACE
More informationA State of the Art MIP For Circuit Satisfiability. 1 A 2-Prover MIP for Low-Depth Arithmetic Circuit Satisfiability
COSC 544 Probabilistic Proof Systems 10/17/17 Lecturer: Justin Thaler A State of the Art MIP For Circuit Satisfiability 1 A 2-Prover MIP for Low-Depth Arithmetic Circuit Satisfiability The succinct argument
More informationIntro to Theory of Computation
Intro to Theory of Computation LECTURE 24 Last time Relationship between models: deterministic/nondeterministic Class P Today Class NP Sofya Raskhodnikova Homework 9 due Homework 0 out 4/5/206 L24. I-clicker
More informationSAMPLE QUESTION PAPER 11 Class-X ( ) Mathematics
SAMPLE QUESTION PAPER 11 Class-X (2017 18) Mathematics GENERAL INSTRUCTIONS (i) All questions are compulsory. (ii) The question paper consists of 30 questions divided into four sections A, B,C and D. (iii)
More informationINMO-2001 Problems and Solutions
INMO-2001 Problems and Solutions 1. Let ABC be a triangle in which no angle is 90. For any point P in the plane of the triangle, let A 1,B 1,C 1 denote the reflections of P in the sides BC,CA,AB respectively.
More informationDiscrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 8
CS 70 Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 8 Polynomials Polynomials constitute a rich class of functions which are both easy to describe and widely applicable in
More informationHanoi Open Mathematical Competition 2017
Hanoi Open Mathematical Competition 2017 Junior Section Saturday, 4 March 2017 08h30-11h30 Important: Answer to all 15 questions. Write your answers on the answer sheets provided. For the multiple choice
More informationStreaming Graph Computations with a Helpful Advisor. Justin Thaler Graham Cormode and Michael Mitzenmacher
Streaming Graph Computations with a Helpful Advisor Justin Thaler Graham Cormode and Michael Mitzenmacher Thanks to Andrew McGregor A few slides borrowed from IITK Workshop on Algorithms for Processing
More informationPROBLEM SOLVING IN MATHEMATICS
PROBLEM SOLVING IN MATHEMATICS WORKSHOP FOR CLASSES 8 AND 9 OFFERED JOINTLY BY RISHI VALLEY SCHOOL, A.P., & INDIAN INSTITUTE OF SCIENCE, BANGALORE 8 10 AUGUST, 2008 1. APPETIZERS A cryptarithm is a coded
More informationComplexity Classes IV
Complexity Classes IV NP Optimization Problems and Probabilistically Checkable Proofs Eric Rachlin 1 Decision vs. Optimization Most complexity classes are defined in terms of Yes/No questions. In the case
More informationThe sum x 1 + x 2 + x 3 is (A): 4 (B): 6 (C): 8 (D): 14 (E): None of the above. How many pairs of positive integers (x, y) are there, those satisfy
Important: Answer to all 15 questions. Write your answers on the answer sheets provided. For the multiple choice questions, stick only the letters (A, B, C, D or E) of your choice. No calculator is allowed.
More informationHIGH SCHOOL - SOLUTIONS = n = 2315
PURPLE COMET! MATH MEET April 018 HIGH SCHOOL - SOLUTIONS Copyright c Titu Andreescu and Jonathan Kane Problem 1 Find the positive integer n such that 1 3 + 5 6 7 8 + 9 10 11 1 = n 100. Answer: 315 1 3
More informationFRACTIONAL REPLICATION
FRACTIONAL REPLICATION M.L.Agarwal Department of Statistics, University of Delhi, Delhi -. In a factorial experiment, when the number of treatment combinations is very large, it will be beyond the resources
More informationAlgebra 1. Predicting Patterns & Examining Experiments. Unit 5: Changing on a Plane Section 4: Try Without Angles
Section 4 Examines triangles in the coordinate plane, we will mention slope, but not angles (we will visit angles in Unit 6). Students will need to know the definition of collinear, isosceles, and congruent...
More information1 Recommended Reading 1. 2 Public Key/Private Key Cryptography Overview RSA Algorithm... 2
Contents 1 Recommended Reading 1 2 Public Key/Private Key Cryptography 1 2.1 Overview............................................. 1 2.2 RSA Algorithm.......................................... 2 3 A Number
More informationMT EDUCARE LTD. SUMMATIVE ASSESSMENT Roll No. Code No. 31/1
CBSE - X MT EDUCARE LTD. SUMMATIVE ASSESSMENT - 03-4 Roll No. Code No. 3/ Series RLH Please check that this question paper contains 6 printed pages. Code number given on the right hand side of the question
More information