Views and normal forms

Views

The truth table. Subset of the hypercube. The concept.

A set system: Can consider c as a set: set of ‘selected’ points, induces dichotomies on X.

Social (binary) choice or voting scheme of n people.

Normal forms

Write as sign of multinomial of n variables

x{0,1}n. Take DNF, change xi¯(1xi).

k-DNF and k-CNF

kn. DNF is a disjunction of conjunctions. CNF is a conjunction of disjunctions.

Derivation from truth tables.

DNF c for boolean function f is obtainable from truth table of f: {x:f(x)=0}.

CNF d for boolean function f is obtainable from truth table of f: get the CNF of f¯(x), negate it to get a d.

Connection between DNF and CNF.

Any term in d and any clause in c cannot be disjoint \why.

t term CNF can be reduced to t-DNF using distributive laws.

t-DNF to t-term CNF is also possible, but this may take exponential time as RPNP: See colt ref about hardness of proper learning k-DNF.

Minimization of number of terms

Drawing rectangles in Karnaugh / Veitch tables.

\paragraph*{Minterms and maxterms} Minterms of a DNF are terms such that: Each var appears 1 times. Maxterms of a CNF are similarly define. So, a minimal DNF is a sum of minterms, while the minimal CNF is a product of maxterms.

A minterm as {±1}n fn: (1+xi2). Constant term is coefficient of pϕ:=1.

DNF norm

In the uniform distr fn space, Mansour’s conjecture: \ polynomial p: DNF1O(n1ϵ);fp2ϵ.

Size s DNF f

Aka s-term DNF. Some notation: Term-length t, terms Ti, s = size(f) = num of terms: maybe poly(n), n variables.

Actual representation size nslogn.

|kDNF|(2n)k: count the number of possible ways to make a k-DNF.

Number of functions: O((3ns))=O(3ns). So, number of polysize DNF: 3nO(logn).

t-DNF reducible to disjunction upon feature expansion. With distributive laws, size s DNF reducible to s-CNF and thence to negation of s-DNF. Negation of size s DNF is size s CNF.

Strictly more expressive than decision lists: \why: so more powerful.

DNF f to l-augmented Decision tree of rank \htext{\(\leq \frac{2n{l}\log s + 1\)}{}}

Let p = terms of length >l, make most commonly occuring literal xi in the p terms (occurs atleast in pl2n by pigeon hole), make kids DNF’s with xi set to 0 (make many terms disappear) and 1; repeat till all terms have lower term length: rank r(n, p) increases when r(kids): r(n1,ppl2n) and r(n-1,p) are same; r(n,0) = r(0, p) = 0; solving recurrance, rank 2nllogs+1.

DNF f to PTF

sign(T1+Ts21). So, Any f needs n PTF: Any f is at most n-DNF.

Has PTF of degree O(tlogs): Let Ti=x1xt,ai(x¯)=x1+xtt, Chebyshev pol (see Approx theory sheet) Ct((1+t1)ai(x¯))=Qi,deg(Qi)=t; for Ti(x)=1,|Qi|2, else |Qi|1; PTF is Qilogss21.

Has O(n1/3logs) PTF: \ Make n2/3 augmented Decision tree of rank 2n1/3logs+1; change each n2/3 DNF at leaf to n1/3logs PTF; change Decision tree to 2n1/3logs+2 Decision list (k long, terms: \({T’{i}}\)) which output PTF’s \({P{i}}\); PTF with polynomial \(2^{k}T’{1}P{1} + 2^{k-1}T’{2}P{2} \dots\) of degree O(2n1/3logs+n1/3logs).

Lower bounds on PTF degree

f = parity fn: 0,1n±1, an O(2n) size DNF needs n PTF: Let sign(Q(x)) be parity PTF: xi2=xi, so all polynomials (even Q(x)) multilinear; Q(x)=Q(π(x)); let Q(x)=πQ(π(x1xi)); Q’ symmetric, sign(Q’) computes parity, degree(Q’) = degree(Q); Q(x)=Q(xi); Q(0)<0,Q(1)>0,Q(2)<0; so Q’’ has n roots; so Q’, Q has degree n.

Some polysize DNF in n variables needs PTF of degree n1/3: DNF f = ‘1 in a box’ fn (Minsky, Papert): s=m;Ti=j=14m2xi,j; let xi be variables in box Ti; let sign(Q(x)) be PTF for f; Q(x)=π1,iπm,iQ(π1,i(x1),πm,i(xm)); sign(Q’) also is f, degree(Q’) same; Q(x1,i,xm,i) with same degree Q(x)>0 iff x1,i4m2; let p(t)=Q(4m2(t1)2,4m2(t3)24m2(t(2m1))2); deg(p)=2deg(Q); p(1)>0,p(2)<0,p(3)>0; degree(p)2m, so deg(Q)m.

Boolean circuits (ckt)

A DAG with n inputs: Cn; internal nodes represent logic gates/ operations; directed edges represent inputs and outputs to these nodes. Circuit basis: the gates: usually AND, OR. Bounded vs unbounded fanin. Size and depth of ckt.

Using De Morgan’s laws, any ckt can be changed to have all NOT gates at input. Ckt with bounded fan in k can be changed to have bounded fan in 2 with constant blowup in depth. Unbounded fanin ckt convertible to bounded fanin ckt with log(size(ckt)) blowup in depth.

Turing machine halting in time T(n) convertible to ckt of depth T(n) and size (T(n))2.

Boolean formula f

Aka Boolean expressions, tree like circuits. Subset of Boolean circuits: Only 1 output per gate. Can be rewritten as a 3 CNF.

Balance tree-like circuits, reduce depth

(Spira): Take tree O with n nodes, find subtree A with (2/3)n nodes; A could be T or F: create 2 trees BT, BF out of the other n/3 nodes with either A=T or A=F; Now, O=(ABT)(ABF); keep repeating this for A, BF, BT to get tree of depth log32n.

Turing machines

See Computational Complexity ref.