
%Proof Complexity Scribe Notes template

\ifx\CompleteCourse\relax
\ClassScribeSetupA
\else
\documentclass[11pt]{article}
%THESE WEREN"T COMMENTED OUT BEFORE
%\usepackage [dvips]{graphicx}
%\usepackage {epsfig}
%AND I ADDED THIS INSTEAD
\usepackage{graphicx,epstopdf}
%\usepackage[centertags]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
%\usepackage{amsthm}

\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{homework}{Homework}
\newenvironment{definition}{\begin{trivlist}\item[]{\bf Definition}\ }%
{\end{trivlist}}
\newenvironment{fact}{\begin{trivlist}\item[]{\bf Fact}\ }%
{\end{trivlist}}
\newenvironment{example}{\begin{trivlist}\item[]{\bf Example}\ }%
{\end{trivlist}}
\newenvironment{proof}{\begin{trivlist}\item[]{\bf Proof}\ }%
{\end{trivlist}}
% Make the page large
\addtolength{\textwidth}{1.50in}
\addtolength{\textheight}{1.00in}
\addtolength{\evensidemargin}{-0.75in}
\addtolength{\oddsidemargin}{-0.75in}
\addtolength{\topmargin}{-.50in}

% \vdashsub{X}  makes a turnstyle with subscript "X"
% \vdashsup{X}  makes a turnstyle with superscript "X"

\newdimen\srbdimenA
\newcommand{\vdashsupsub}[2]{ \mathop{
  \setbox251 = \hbox{$\scriptstyle #1$}
  \setbox252 = \hbox{$\scriptstyle #2$}
  \ifdim \wd251<\wd252 \srbdimenA = \wd252 \else \srbdimenA = \wd251 \fi
  \setbox255 = \hbox {${\srbAvdash \vphantom( \kern -\srbdimenA \kern +.05em}
                  ^{\hbox to\srbdimenA{\hfill \box251\hfill}}
                  _{\hbox to\srbdimenA{\hfill \box252\hfill}}$}
  \box255 \kern .05em}}
\newcommand{\srbAvdash}{\hbox{ \vrule height1.4ex width0.02em
                                \dimen255 = \srbdimenA
                                \advance\dimen255 by 0.1em
                              \vbox{\hrule width\srbdimenA height0.02em
                                    \kern .65ex  }}}
\newcommand{\vdashsup}[1]{\vdashsupsub{{#1}}{\mbox{~}}}
\newcommand{\vdashsub}[1]{\vdashsupsub{\mbox{~}}{#1}}
\fi

%   FOR THE SCRIBE: CUSTOMIZE THE ENTRIES BELOW:
%   Fill in the following information particular to these scribe notes:

\def\scribeone{Periklis A. Papakonstantinou}    % Who is the scribe?
\def\classdate{21 November 2002} % Date of the class
\def\classnumber{10}     % Is this the first, second, ...?

% Here are some commands that stay the same for the whole class.

\def\classinstructor{Toniann Pitassi}
\def\classtitle{Propositional Proof Complexity}
\def\doctitle{\textup{CS 2429 - Propositional Proof Complexity}}
\def\classid{\textup{Lecture \#\classnumber: \classdate}}

%   Put your macros for these scribe notes HERE
%  It is best to use as few as possible.
%  environments for "theorem", "corollary", "lemma", "fact" "definition"
%   "homework", "proof", "example", "proposition"
%   are already defined above.

% Start the document

\ifx\CompleteCourse\relax
\ClassScribeSetupB
\else
\def\makeatletter{\catcode`\@=11\relax}
\def\makeatother{\catcode`\@=12\relax}
\makeatletter
\def\ps@scribeheadings{\let\@mkboth\@gobbletwo
\def\@oddhead{\sl\doctitle \hfill \classid
}\def\@oddfoot{\hfil \rm \thepage \hfil}\def\@evenhead{\@oddhead}%
\def\@evenfoot{\@oddfoot}\def\sectionmark##1{}\def\subsectionmark##1{}}
\makeatother
\newcommand{\php}{$PHP_{n}^{n+1}$}
\newcommand{\phpp}{$PHP_{n}^{n+1}$ }
\newcommand{\rrho}{\upharpoonright_\rho}

\pagestyle{scribeheadings}
\begin{document}
\bibliographystyle{siam}
\fi

\begin{center}
\Large\bf\doctitle\\[1em]
\Large\bf\classid\\[1em]
{\large\bf Lecturer: \classinstructor}\\[.5em]
{\large\bf Scribe Notes by: \scribeone}
\end{center}

\vspace*{.4in}

% HERE IS WHERE YOUR SCRIBE NOTES SHOULD START
%  DELETE ALL OF ROB'S TEXT AND ENTER YOUR OWN.

In the previous lecture we presented the first part of the proof that for the $AC_0$-Frege proof systems (also called bounded depth Frege proof systems) there exists an exponential lower bound with respect to the proof size. In order to establish this result we started to prove that every \phpp proof requires exponential proof size. The attack to this problem uses the following tools: (a)``translation'' of the switching lemma from the circuit complexity to the proof complexity context and (b) an interpretation from model/proof theory. From model/proof theory we apply the idea of interpreting each formula in a local fashion that it is consistent with the negation of the pigeonhole principle derived formula. In this lecture we define and sketch the proof of the switching lemma.
\begin{theorem}
Any $AC_0$-Frege proof of \phpp requires exponential size.
\end{theorem}

\section{Overview}
There is a difference between the use of the decision trees in circuit complexity lower bound proof and their use in proof complexity. The problem is that we cannot straightforward relate a decision tree with each formula or subformula (as we did with the gates of the circuits), because each formula/subformula is a tautology and hence computes the constant $1$. So, subsequently, we are going to define the notion of \emph{Matching Decision Trees}. The high level of this proof follows:
\begin{itemize}
\item Define matching decision trees and relate them with the restrictions. Show how to ``combine'' matching decision trees.
\item Prove a variation of the \emph{switching lemma} we demonstrated in the previous lecture. This switching lemma concerns the proof complexity. Specifically it concerns the pigeonhole principle where we will use new distributions of the restrictions.
\end{itemize}

In this lecture we sketch the proof of the switching lemma and we give the basic intuition behind the semantics we are going to use.

%\begin{figure}[ht]
	%\begin{center}
		%%\includegraphics{fig1.eps}
		%\includegraphics{fig1}
	%\end{center}
	%\caption{$D$ stands for the domain and $R$ for the range. $\vert D\vert=n+1$, $\vert R\vert=n$ and $P_{ij},i\leq n+1, j\leq n$}
	%\label{fig:fig1}
%\end{figure}

\section{Matching Decision Trees and Restrictions}
We begin with some definitions, and then we are going to prove a few properties for them.
\newpage
\begin{definition}
~\\
\begin{enumerate}
\item A restriction $\rho$ is a matching from $D$ to $R$.
%\item The set of all partial matchings $M_n$ (there is no total matching from $D$ to $R$ - figure \ref{fig:fig2}).
\item A matching term is the associated set of literals (i.e. $P_{32},P_{45},P_{54}$).
\end{enumerate}
\end{definition}

%\begin{figure}[ht]
	%\begin{center}
		%\includegraphics{fig2.eps}
	%\end{center}
	%\caption{A partial matching}
	%\label{fig:fig2}
%\end{figure}
%All of the above definitions are referring to the same thing. We continue by providing some more definitions:

\begin{definition}
A matching \emph{covers} a pigeon at the hole $i$ if some edge in matching mentions $i$.
\end{definition}

\begin{definition}
A \emph{matching disjunction} is an unbounded disjunction of \emph{matching terms}. An \emph{$r$-disjunction} is a matching disjunction where all terms have size at most $r$.
For example $P_{11}P_{22}\vee P_{34}P_{21}\vee P_{54}P_{11}$ is a $2$-disjunction. 
\end{definition}
%Keep in mind that this is the kind of matching we really care about. 

%\begin{definition}
%An \emph{$r$-disjunction} is a matching disjunction where all terms have size at most $r$.
%\end{definition}

\begin{definition}
Let $t$ be a matching term and let $\rho$ be a matching restriction.
Then $t|_{\rho}$ is defined as follows:
If there exists a variable $P_{i,j}$ that occurs in $t$ and either $\rho$ maps $i$ to some $j' \neq j$ or $\rho$ maps some $i' \neq i$ to $j$, then $P_{i,j}|_{\rho}=0$ and therefore $t|_{\rho} =0$. Otherwise for every variable $P_{i,j}$ in $t$ such that $t$ contains $P_{i,j}$, $P_{i,j}$ is set to 1 by $\rho$.

Let $F=C_1\vee C_2\vee\ldots\vee C_n$ be a matching disjunction and $\rho$ a matching restriction. 
Then $F|_{\rho}$ is another matching disjunction obtained by applying $\rho$ to each term one at a time. If any term is set to 1 under $\rho$, then $F|_{\rho}=1$, and if all terms are set to 0 under $\rho$, then $F|_{\rho}=0$. 
\end{definition}


%A \emph{canonical matching decision tree} for $F$ over $S$, $Tree_S(F\rrho)$ is described as follows: \emph{In the decision tree we are going to ``truncate'' all the paths that contain assignments that do not correspond to the matching}. Schematically, assume that we have the matching of figure \ref{fig:fig3}. Also, assume that we have the (\textbf{lexicographically ordered subscripts}) formula\\

For example, let $F=P_{17}P_{38}\vee P_{16}P_{27}\vee P_{49}P_{56}\vee P_{16}P_{59}$, and let $\rho$ be the restriction that maps
pigeon 2 to hole 8, and pigeon 3 to hole 7.
Then : $F\rrho =P_{27}\vee P_{59}$.

%\begin{figure}[ht]
	%\begin{center}
		%\includegraphics{fig3.eps}
	%\end{center}
	%\caption{Pigeon $1$ goes to hole $6$. Hence $P_{16}$ is true. The dashed lines correspond to falsified variables (not all dashed lines appear in this figure).}
	%\label{fig:fig3}
%\end{figure}

%We now are ready to define a canonical decision tree associated with a matching disjunction.

%The decision tree of figure \ref{fig:fig3} is going to \emph{query} all possible holes where $P$ can get mapped to. Pay attention of how the tree is being formed. For example consider the path $2,7,5$. from node $5$ we only ask whether ``pigeon $5$ goes to hole $9$'' and we do not ask (query) whether ``pigeon $5$ goes to hole $7$'' because in this path pigeon $4$ has already been mapped to hole $7$.
\begin{figure}[ht]
	\begin{center}
		\includegraphics{fig4.eps}
	\end{center}
	\caption{A canonical matching decision tree for $P_{2,7} \lor P_{5,9}$.}
	\label{fig:fig4}
\end{figure}

%To make things more clear, consider another formula $F'=P_{27}\vee P_{59}$. Assume that we have a restriction $\sigma$ where pigeon $2$ goes to hole $8$ and pigeon $3$ goes to hole $7$ (in $F'$ pigeon $2$ is mapped to hole $7$). Thus, $F'\upharpoonright_\sigma=P_{59}$.

%A branch of a (decision) tree is a path from the root to a leaf. It is clear that a matching tree is a decision tree in which branches represent matchings. The formal definition of a \emph{matching tree} follows:

\begin{definition}
A \emph{matching tree} $T$ over $S=D\cup R$ is a tree satisfying the following conditions:
\begin{enumerate}
\item The nodes of the tree, other than the leaves, are labeled with vertices of $S$.
\item If a node of a $T$ is labeled with a vertex $i\in S$ then the edges leading out of the vertex are labeled with distinct pairs of the form $\{i,j\}$, where $j\in R$ if $i\in D$ or $j\in D$ if $i \in R$.
\item No vertex or edge label is repeated on a branch of $T$.
\item If $p$ is a vertex of $T$ then the edge labels on the path from the root of $T$ to $p$ determine a matching $\pi(p)$ between $D$ and $R$.
\end{enumerate}
\end{definition}

%Intuitively there is a need for an ``interface'' between the tree and the matching. The following definitions establish this fact:

\begin{definition}
The \emph{branches of $T$} $Br(T)$ is the set of all matching terms/restrictions associated with the paths of $T$. We distinguish between the paths having as leaves $1$ and $0$. Then, $Br_1(T)\cup Br_0(T)=Br(T)$.
\end{definition}
~\\
Formally, the above definition corresponds to $Br(T)=\{\pi(l)\vert l\mbox{ is a leaf of }T\}$.\\
If $M$ is the set of matchings, then $T$ is \emph{complete} for $M$ if for every vertex $p$ in $T$ labeled with a vertex $i\in S$, the set of matchings $\{\pi(q)\vert q\mbox{ is a child of }p\}$ consists of all matchings of $M$ of the form $\pi(q)\cup\{\{i,j\}\}$. 

\begin{definition}
If $F$ is a matching disjunction and $T$ is a matching decision tree then $T$ \emph{represents} $F$ if for every $\pi\in B_r(T), F\upharpoonright_\pi=1$. If $\pi$ is labeled $1$ in $T$ and $F\upharpoonright_\pi=0$ if $\pi$ is labeled by $0$ in $T$.
\end{definition}

Below we provide the inductive definition of a \emph{canonical matching tree}.

\begin{definition}
Let $F=C_1\vee\ldots\vee C_m$ be a matching disjunction over $S$. The \emph{canonical matching decision tree for $F$ over $S$}, $Tree_S{F}$, is defined inductively as follows:
\begin{enumerate}
\item If $F\equiv 0$ then $Tree_S(F)$ is a single node labeled $0$. If $F\equiv 1$ then $Tree_S(F)$ is a single node labeled $1$.
\item If $F\not\equiv 1$ and $F\not\equiv 0$, then let $C$ be the first matching term in $F$ such that $C\not\equiv 0$. Then $Tree_S(F)$ is constructed as follows:
\begin{enumerate}
\item Construct the full matching tree for the vertices that are associated with variables occurring in $C$.
\item Replace each leaf $l$ of the previously constructed full matching tree by the canonical matching decision tree $Tree_{S\upharpoonright_{\pi(l)}}(F\upharpoonright \pi(l))$.
\end{enumerate}
\end{enumerate}
\end{definition}
~\\
%Follows a key concept of this proof:\\\\

See Figure 1 for an example of a construction of a canonical decision tree associated with a matching disjunction.

\textbf{Important Remark:} The same tree can represent a lot of formulae. The reason is that we do not have values for the hole truth assignment.

We schematically sketch the definition of a restriction applied to a complete matching decision tree: Let $T$ be a complete matching decision tree and $\rho$ a restriction. Consider the tree of figure \ref{fig:fig4}.  Then $T\rrho$ is another matching decision tree obtained as in figure \ref{fig:fig5}. You can observe that the restriction \emph{shrinks the tree}. The new (derived under the restriction) tree is the one of figure \ref{fig:fig6}. 
The $X$'s means that the variable labelling this edge is set to either 0 or 1 by the restriction. For example, the edge labelled "3,7" is set to 0, and the edge labelled "4,7" is set to 1. 
The new derived tree is obtained by pruning the original tree in the natural way starting at the root: (ii) if there is an edge from the root to a vertex $v$ that is labelled 1, we replace the whole tree with the subtree rooted at $v$; (ii) otherwise, for any edge from the root to a vertex $v$ labelled by 0, we remove this edge as well as the subtree rooted at $v$.

\begin{figure}[ht]
	\begin{center}
		\includegraphics{fig5.eps}
	\end{center}
	\caption{We apply the restriction $\mathbf{\rho:4\rightarrow 7}$}
	\label{fig:fig5}
\end{figure}

\begin{figure}[ht]
	\begin{center}
		\includegraphics{fig6.eps}
	\end{center}
	\caption{The resulting tree, after the application of the restriction (see figure \ref{fig:fig5}).}
	\label{fig:fig6}
\end{figure}


\begin{definition}
Let $T$ be a matching decision tree, then $T^c$ is the tree $T$ with the leaf labels complemented (just change the leaves from 0 to 1 and vice versa).
\end{definition}

\begin{definition}
$Disj(T)=t_1\vee\ldots\vee t_m$, where $\{t_1,\ldots,t_m\}=Br_1(T)$.
\end{definition}

\begin{lemma}
Let $T$ be a matching decision tree, $\rho$ a restriction.
\begin{enumerate}
\item $Disj(T)\rrho=Disj(T\rrho)$.
\item If $T$ is complete for $D,R$ then $T\rrho$ is complete for $D\rrho,R\rrho$.
\item $(T\rrho)^c=T^c\rrho$
\item If $l$ is a leaf in $T\upharpoonright_l$ then there is a leaf $l'$ in $T$ with the same label as $l$ so that $\pi(l')\subseteq\pi(l)\cup\rho$, where $\pi$ is a restriction or a matching term.
\item If $T$ represents $F$, then $T\rrho$ represents $F\rrho$.
\end{enumerate}
\end{lemma}

From the above lemma the ``most important'' part for our proof is the (5).

\section{Evaluations and the Matching Switching Lemma}

Let $\cal P$ be a small (that is $2^{n^s}$, where $s<\frac{1}{5^d}$) depth of Frege proof of \php. $\mathcal{P}=F_1,F_2,\ldots,F_m$, where $F_m=$\phpp bounded depth Frege proof. Let $\cal R$ be their set of \emph{all} subformulae occurring in $\cal P$ (think of it of the corresponding way, of as having many circuits). 
\begin{definition}
$\mathcal{R}=\mathcal{R}_1\cup \mathcal{R}_2\cup\ldots\cup \mathcal{R}_d$, where $\mathcal{R}_i$ is the depth\footnote{For a definition of circuit depth see at lecture 9} $i$ subformulae in $\mathcal{R}$.
\end{definition}


Let $M_n^\rho=\{\rho\in M_n\vert \mathcal{R}\rrho=l\}$. We intuitively define which is bad: ``you'' are bad if the corresponding canonical tree has height bigger than $s$. Hence:\\
$Bad_n^l(F,s)=\{\rho\in M_n^l\vert\:\: height (Tree_{S\rrho}(F\rrho))\geq s\}$

\begin{lemma}
Let $F$ be an $r$-disjunction over $D,R$, where $\vert D\vert=n+1,\vert R\vert=n,\: l\geq 10, \rho=\frac{l}{n}$. If $r\leq l$ and $p^4n^3\leq 1/10$ then:
\begin{displaymath}
\frac{\vert Bad_n^l(F,2s)\vert}{\vert M_n^l\vert}\leq (11p^4n^3r)^s
\end{displaymath}
\end{lemma}

The proof goes like the one we have seen in the previous lecture (lecture 9). Now we are going to put everything together:
\begin{definition}
Let $\mathcal{R}$ be as defined previously. A $k$-evaluation $T$ is an assignment of a complete matching decision trees $T(A)$ to formulae $A$ in $\cal R$ such that:
\begin{enumerate}
\item $T(A)$ has depth less or equal to $k$.
\item $T(1)$ is the single node labeled $1$, and $T(0)$ is the single node labeled $0$. 
\item $T(P_{ij})$ is the full tree for $i,j$ over $D,R$ (i.e. the canonical tree for $P_{ij}$).
\item $T(\neg A)=T(A)^c$
\item If $A$ is a disjunction $A=A_1\vee A_2\vee\ldots\vee A_k$, then $T(A)$ represents $\vee_{i\in I} Disj(T(A_i))$.
\end{enumerate}
\end{definition}

This is one of the basic concepts of the proof. Semantically there is some connection with the tree and the representation as it is shown in figure \ref{fig:fig7}. For example if all leaves are labeled to $1$ we have a ``kind'' of ``tautology''. However this notion of ``tautology'' is \textbf{not preserved} under (sound) inferences. This is the key idea of the lower bound argument.
\begin{figure}[ht]
	\begin{center}
		\includegraphics{fig7.eps}
	\end{center}
	\caption{XXX}
	\label{fig:fig7}
\end{figure}

This connection can be demonstrated by the example of figure \ref{fig:fig8} (Attention! This is not a formula which corresponds to the PHP; we provided it here only to exemplify things). We will talk about this ``semantic connection'' in the next lecture.

\begin{figure}[ht]
	\begin{center}
		\includegraphics{fig8.eps}
	\end{center}
	\caption{XXX}
	\label{fig:fig8}
\end{figure}

\end{document}


