Finite Model Theory / Descriptive Complexity: bin

Похожие документы
U Corso di italiano, Lezione Dieci

U Corso di italiano, Lezione Tre

Algoritmi e strutture di dati 2

Quando mi collego ad alcuni servizi hosting ricevo un messaggio relativo al certificato di protezione del sito SSL, come mai?

U Corso di italiano, Lezione Dodici

U Corso di italiano, Lezione Quindici

Come noterete più sotto, avendone avuta richiesta esplicita, da oggi unisco alla versione italiana anche una inglese del post. Passiamo all'argomento.

Sezione 1 / Section 1. Elementi d identità: il marchio Elements of identity: the logo

Combinazioni serie IL-MIL + MOT

REGISTRATION GUIDE TO RESHELL SOFTWARE

Scritto da DEApress Lunedì 14 Aprile :03 - Ultimo aggiornamento Martedì 26 Maggio :34

Risvolti patologici e allocazione rischio. Avv. Gennaro Mazzuoccolo Partner Banking Norton Rose Fulbright Studio Legale Roma 14 novembre 2013

User Guide Guglielmo SmartClient

TNCguide OEM Informativa sull introduzione di documentazione aggiuntiva nella TNCguide

U Corso di italiano, Lezione Trenta

Babaoglu 2006 Sicurezza 2

U Corso di italiano, Lezione Uno

GstarCAD 2010 Features

Prova finale di Ingegneria del software

Dr Mila Milani. Comparatives and Superlatives

RAPPORTO DEL MEDICO DI FAMIGLIA PRIVATE MEDICAL ATTENDANT S REPORT. Compilare in stampatello

Esercizi Programming Contest

Newborn Upfront Payment & Newborn Supplement

U Corso di italiano, Lezione Diciassette

EVENTI (PRIVATE DINNER) F A B R I Z I O

Introduzione al Semantic Web Linguaggi per la rappresentazione di ontologie. L idea del Semantic Web.

Data Alignment and (Geo)Referencing (sometimes Registration process)

Sponsorship opportunities

CORSO DI CUCINA A CASA!

Comunicare l Europa Il ruolo del Dipartimento Politiche Europee

Copyright 2012 Binary System srl Piacenza ITALIA Via Coppalati, 6 P.IVA info@binarysystem.eu

U Corso di italiano, Lezione Ventinove


Posta elettronica per gli studenti for the students

I geni marker sono necessari per l'isolamento di piante transgeniche (efficienza di trasf. non ottimale), ma poi non servono più.

Pezzi da ritagliare, modellare e incollare nell ordine numerico indicato.

Unità 2: Presentazione per "I giorni di scuola" Produce a multimedia rich presentation on school life in the United States and Italy.

3d Comenius Newsletter. ISIS L. Calabrese P. Levi. The project poster. This is the final project poster! All the posters are very interesting,

Le cellule staminali dell embrione: cosa possono fare Embryonic stem cells are exciting because they can make all the different types of cell in the

Estendere Lean e Operational Excellence a tutta la Supply Chain

A Solar Energy Storage Pilot Power Plant

OTTICA DELLA VISIONE Mauro Zuppardo 2015

Solutions in motion.

e-spare Parts User Manual Peg Perego Service Site Peg Perego [Dicembre 2011]

up date basic medium plus UPDATE

U Corso di italiano, Lezione Diciannove

DICHIARAZIONE DI RESPONSABILITÀ


We take care of your buildings

MATLAB:Condizionamento Sistemi Lineari.

INFORMAZIONE AGLI UTENTI DI APPARECCHIATURE DOMESTICHE O PROFESSIONALI

Corsi di Laurea Magistrale/ Master Degree Programs

Spin Applicazioni Magnetiche S.r.l. Programmi di calcolo per la simulazione elettromeccanica, termica e meccatronica

Kit trasmissione. data transmission. Ref

Village for sale in Florence.

Compatibilità del Portale Piaggio con Internet Explorer 10 e 11. Internet Explorer 10

Società per la Biblioteca Circolante Programma Inglese Potenziato

brand implementation

Name on a passport, HANGTAG

Verifica di Fisica classe 2 N

AIM OF THE LESSON: for the students to familiarise themselves with the language of cooking

DOCUMENTO DEL CONSIGLIO DI CLASSE

PROGRAMMA DI LINGUA INGLESE

SANTE PELLEGRINO

U Corso di italiano, Lezione Otto

Famiglie di tabelle fatti

Introduzione Kerberos. Orazio Battaglia

drag & drop visual programming appinventor storia appinventor un esempio di drag & drop programming: Scratch

Gi-Gi Art User's Guide Istruzioni d'uso

Unbounce Optimization

PIANO DI STUDI. Primo anno di corso

GCE. Edexcel GCE Italian(9330) Summer Mark Scheme (Results)

su efficienza ed etichettatura dei prodotti ErP e Labelling - guida ai regolamenti UE on EU efficiency and product labelling

Area 1: storia e cultura politico-istituzionale

Tribunale civile e penale di Busto Arsizio Sezione fallimentare Largo Gaetano Giardino, Busto Arsizio (VA)

UNIVERSITÀ DEGLI STUDI DI TORINO. Instructions to apply for exams ONLINE Version 01 updated on 17/11/2014

Tutte le fotografie presenti in catalogo hanno valore cromatico puramente indicativo. Essenze e formati possono variare. All the pictures of this

Corso di Ottimizzazione MODELLI MATEMATICI PER IL PROBLEMA DELLO YIELD MANAGEMENT FERROVIARIO. G. Di Pillo, S. Lucidi, L. Palagi

PIANO di LAVORO A. S. 2013/2014 ISTITUTO ALBERTI- PORRO

Clicca sulle immagini di preview qui sotto per aprire e visualizzare alcuni esempi di presentazioni dinamiche create con Focusky:

Per il progetto MESA 2015 andremo ad utilizzare Unity3D per la creazione di alcuni exergame da utilizzar ein ambito riabilitativo.

On Line Press Agency - Price List 2014

Laguna d Oro Switzerland

Introduzione a Matlab

ISAC. Company Profile

The Elves Save Th. Il gioco del Villaggio segreto di Babbo Natale

Istruzioni per lo smontaggio delle Lancette; smontaggio quadrante e la regolazione della lancetta dei minuti.

Si ricorda che il pagamento è possibile solo tramite CARTE DI CREDITO del circuito VISA VBV (Verified By Visa) o MASTERCARD SECURECODE

You can visualize the free space percentage in Compact Flash memory from the MENU/INFO C.F. UTILITY-FREE SPACE page.

Il differenziamento cellulare

1 1 0 / n news

Calcolo efficienza energetica secondo Regolamento UE n. 327/2011 Energy efficiency calculation according to EU Regulation no.

Get Instant Access to ebook Venditore PDF at Our Huge Library VENDITORE PDF. ==> Download: VENDITORE PDF

Транскрипт:

, CMPSCI 601: Recall From Last Time Lecture 19 Finite Model Theory / Descriptive Compleity: Th: FO L DSPACE Fagin s Th: NP SO. bin is quantifier-free.!#"$&% ('*), 1

Space 0 1 ) % Time $ "$ $ $ "$ $..... ) "$ $ ) $..... Accepting computation of on input $ " $ 2

, Theorem 19.1 [Cook-Levin Theorem] SAT is NP-complete. Proof: Let NP be arbitrary. By Fagin s theorem,!#" $ % ' $, ) with, quantifier-free and CNF: with each a disjunction of literals. For all, have: Want: ) $ SAT ) 3

Let be arbitrary, Wanted: SAT Define: formula as follows: boolean variables: $ % $, $ clauses: ),, ) ) is ) with the following replacements:, % if if $ if $ % then true else false then true else false then true else false!#" $% ' $! #"$"#"% '&)(* * $ $ ) ) SAT, 4

Proposition 19.2 3-SAT CNF-SAT has literals per clause 3-SAT is NP-complete. Proof: Show SAT 3-SAT. Eample: $ $ $ $ Claim: SAT 3-SAT In general do this construction for each clause independently. SAT 3-SAT, 5

What about reducing 3-SAT to SAT? Can we do it? Easily! The identity function serves as a reduction, because every 3-SAT instance is also a SAT instance with the same answer. This is an eample of the general phenomenon of one problem being a special case of another. Another eample was on HW#5, where LEVELLED- REACH was a special case of REACH and so clearly LEVELLED-REACH REACH. 6

But what does it prove to reduce 3-SAT to SAT? Not much only the fact that 3-SAT is in NP or that LEVELLED-REACH is in NL, neither of which was hard to prove anyway. To prove that a special case of a general problem is complete for some class, we have two options: 1. Reduce the general problem to the specific one, or 2. Show that the completeness proof for the general case can be adapted to always yield an instance of the special case For eample, in HW#5 the first method would be to follow my hint and reduce REACH to LEVELLED-REACH directly. The second method would be to show that when we map an arbitrary NL problem to a REACH instance, we can get a LEVELLED-REACH instance. (This happens if the TM in question keeps a clock on its worktape, for eample.) 7

Proposition 19.3 3-COLOR is NP-complete. Proof: Show 3-SAT 3-COLOR. $ VAR Must build graph $ s.t. 3-SAT 3-CNF 3-COLOR Working assumption: 3-SAT requires time. 8

T F 1 2 1 2 R a 1 d 1 e 1 G1 b 1 c 1 f 1 3 3 n n Claim: Triangle $ $ encodes clause $ $ a t b t d t G t e t c t f $ t $ serves as an or -gate: $ may be colored true iff at least one of its inputs $ is colored true. Similarly, the output $ may be colored true iff at least one of $ and the third input, is colored true. can only be colored true. A three coloring of the literals can be etended to color iff the corresponding truth assignment makes true., 9

Proposition 19.4 CLIQUE is NP-complete. Proof: Show SAT CLIQUE. $ VAR Must build graph $ s.t. SAT CNF CLIQUE $ $ $!!!!! $ $ $ and $ occurs in! 10

w 0 C 1 C 2 C t 1 1 2 2 n n $ $!! $ $ $ and $ occurs in! 11

!! $ $ $ and $ occurs in! SAT CLIQUE Claim: L 12

Proposition 19.5 Subset Sum is NP-Complete. $ N ( Show 3-SAT Subset Sum. VAR $ $ 3-CNF Build L such that for all, 3-SAT Subset Sum 13

$ $ 1 1 1 3 3 3 $ 1 0 0 1 0 1 $ $ $ 1 0 0 0 1 0 0 1 0 0 1 1 0 1 0 1 0 0....... $ $ 0 0 1 0 1 0 0 0 1 0 0 1 $ 0 0 0 1 0 0 $ 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0....... 0 0 0 0 0 1 0 0 0 0 0 1 14

Given objects: object $ weight $ value $ Knapsack = ma weight I can carry in my knapsack. Optimization Problem: choose to maimize ( such that ( Decision Problem: Given ) ) weight is, can I get total value while total? 15

, Proposition 19.6 Knapsack is NP-Complete. Proof: Let Sum. $ Problem: Let of Knapsack. $ $ be an instance of Subset ( Claim: Subset Sum be an instance Knapsack ( ( ( Fact 19.7 Even though Knapsack is NP-Complete there is an efficient dynamic programming algorithm that can closely approimate the maimum possible. 16