today s exercises
play

Todays exercises 5.17: Football Pools 5.18: Cells of Line and - PowerPoint PPT Presentation

Exercise Session 9 03.05.2016 slide 1 Todays exercises 5.17: Football Pools 5.18: Cells of Line and Hyperplane Arrangements Inclass: PPZ on the formula F 6.1: Harmonic vs. Geometric Mean 6.2: Many j -isolated Satisfying


  1. Exercise Session 9 03.05.2016 slide 1 Today’s exercises • 5.17: Football Pools • 5.18: Cells of Line and Hyperplane Arrangements • Inclass: PPZ on the formula F ⋆ • 6.1: Harmonic vs. Geometric Mean • 6.2: Many j -isolated Satisfying Assignments • 6.3: Many Isolated Satisfying Assignments • 6.4: Make it Hard for PPZ Coding and k -SAT Algorithms Chidambaram Annamalai

  2. Exercise Session 9 03.05.2016 slide 2 5.17: Football Pools An outcome (or prediction) of the matches can be mapped to an element in { 0 , 1 } n . The number of incorrect guesses for a given prediction is exactly its hamming distance from the outcome. As any outcome is possible, the smallest number of bets needed to guarantee that at least one of the predictions has at most r incorrect guesses exactly corresponds to the problem of finding the smallest code C over { 0 , 1 } n of covering radius r or smaller. Coding and k -SAT Algorithms Chidambaram Annamalai

  3. Exercise Session 9 03.05.2016 slide 3 5.18: Cells of Line and Hyperplane Arrangements 1. Proof by induction. True for n = 1 . Let n > 1 . Consider the arrangement formed by the union of n − 1 lines which partition R 2 � n − 1 � into 1 + ( n − 1) + cells by the induction hypothesis. Add 2 the a new line ℓ . Since ℓ does not pass through any of the points of intersection between line pairs in the union of n − 1 lines and ℓ is not parallel to any of these n − 1 lines, ℓ intersects each line in a unique point. Thus, the number of cells increases by exactly n . Together, � n − 1 � n � � 1 + ( n − 1) + + n = 1 + n + . 2 2 Coding and k -SAT Algorithms Chidambaram Annamalai

  4. Exercise Session 9 03.05.2016 slide 4 2. Outer induction on d and inner induction on n . Base case d = 2 is true for all n . Let d > 2 . Base case is again n = 1 . Let n > 1 . By the (inner) induction hypothesis there are � n − 1 � n − 1 � � 1 + + · · · + 1 d many cells in any n − 1 hyperplane arrangement in d dimensions. Add the n -th hyperplane and project all the n − 1 hyperplanes onto it to form a d − 1 dimensional arrangement which by the (outer) induction hypothesis has � n − 1 � n − 1 � � 1 + + · · · + 1 d − 1 many cells of dimension d − 1 . The main observation is that these cells correspond exactly to the newly formed cells in d dimensions Coding and k -SAT Algorithms Chidambaram Annamalai

  5. Exercise Session 9 03.05.2016 slide 5 upon adding the n -th hyperplane. Together the number of cells in total is � n − 1 � n − 1 � n − 1 � n − 1 � �� � �� � � 1 + + · · · + + 1 + + · · · + , 1 d 1 d − 1 which simplifies to � n − 1 � n − 1 � � 1 + + · · · + 1 d � n � n − 1 � n − 1 � � � repeatedly using the identity = + for 0 ≤ i ≤ n . i i − 1 i Coding and k -SAT Algorithms Chidambaram Annamalai

  6. Exercise Session 9 03.05.2016 slide 6 Inclass: PPZ on the formula F ⋆ Consider the formula F ⋆ on variables { x 1 , x 2 , . . . , x n } containing • all clauses on x 1 , x 2 , x 3 with at least one positive literal • all clauses { ¯ x 1 , ¯ x 2 , x i } for 4 ≤ i ≤ n Question: What is the success probability of PPZ on F ⋆ ? Coding and k -SAT Algorithms Chidambaram Annamalai

  7. Exercise Session 9 03.05.2016 slide 7 Inclass: PPZ on the formula F ⋆ (2) Notice that ( x 1 �→ 1 , x 2 �→ 1 , . . . , x n �→ 1) is a satisfying assignment. � n � Claim. The success probability is ≥ 1 / 4 . 2 1 Proof: With probability n ( n − 1) , x 1 and x 2 are the first two variables in the random permutation (in some order). Supposing that x 1 and x 2 are set correctly (which happens with probability 1/4), all other variables are forced. ✷ Coding and k -SAT Algorithms Chidambaram Annamalai

  8. Exercise Session 9 03.05.2016 slide 8 6.1: Harmonic vs. Geometric Mean Use Jensen’s inequality to prove this statement. Recall Jensen’s inequality which says for a convex function f : R �→ R ≥ 0 , E [ f ( x )] ≥ f ( E [ x ]) for x chosen according to any probability distribution with finite sup- port over R . Appendix A.5 of the lecture notes contains this application. Coding and k -SAT Algorithms Chidambaram Annamalai

  9. Exercise Session 9 03.05.2016 slide 9 6.2: Many j -isolated Satisfying Assignments One possible way is to use the example from the lecture notes over j variables (which will be critical in every assignment) and augment it with n − j dummy variables not appearing in the formula (which will be non-critical in every assignment). Coding and k -SAT Algorithms Chidambaram Annamalai

  10. Exercise Session 9 03.05.2016 slide 10 6.3: Many Isolated Satisfying Assignments In the example formula there are t = 2 n − n/k satisfying assignments all of which are isolated. PPZ has a success probability of finding each one of them with probability at least 2 − ( n − n/k ) . After one round the probability that none of them were found is at most 1 − 2 n − n/k · 2 − ( n − n/k ) = 0 . Thus, the probability that PPZ does not find a satisfying assignment with this input formula is zero. Coding and k -SAT Algorithms Chidambaram Annamalai

  11. Exercise Session 9 03.05.2016 slide 11 6.4: Make it Hard for PPZ Since we, if possible, do not want to sum over multiple satisfying assignments, let us go for a formula with a unique isolated solution. In a unique solution, each variable has a critical clause. To minimize the success probability, we want to have exactly one critical clause per variable. Moreover, for simplicity, we would like not to have long-range influ- ences and dependencies between the variables, so the formula should consist of components as independent as possible. Coding and k -SAT Algorithms Chidambaram Annamalai

  12. Exercise Session 9 03.05.2016 slide 12 6.4: Make it Hard for PPZ (2) A good example is the formula F consisting of n/k independent com- ponents, where each component is a maximal satisfiable formula over k variables. This way, there is a unique solution: each component has one satisfy- ing assignment and composing these is the only way to get a satisfying assignment for F . Coding and k -SAT Algorithms Chidambaram Annamalai

  13. Exercise Session 9 03.05.2016 slide 13 6.4: Make it Hard for PPZ (3) And in each component, as long as less than k − 1 variables are set, there cannot arise any unit clauses. Once k − 1 variables are set in a component, there is always a unit clause forcing the last variable. Therefore exactly n − n/k variables are being guessed, yielding exactly the success probability desired. Coding and k -SAT Algorithms Chidambaram Annamalai

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend