\documentclass[12pt,reqno]{amsart}
\usepackage{etex}
\def\draft{y}
\usepackage{
  fullpage,graphicx,dbnsymb,amsmath,amssymb,picins,
  multicol,mathtools,stmaryrd,xcolor,tikz
}
\usepackage{hyperref}

% Following http://tex.stackexchange.com/a/847/22475:
\usepackage{hyperref}\hypersetup{colorlinks,
   linkcolor={green!50!black},
   citecolor={green!50!black},
   urlcolor=blue
}

\usepackage[all]{xy}

\if\draft y
  \usepackage[color]{showkeys}
  \usepackage{everypage,draftwatermark}
  \SetWatermarkScale{4}
  \SetWatermarkLightness{0.9}
\fi

\input macros.tex
\input defs.tex

\begin{document}
\newdimen\captionwidth\captionwidth=\hsize
\setcounter{secnumdepth}{4}

\title{{Finite Type Invariants
  of w-Knotted Objects III: the Double Tree Construction}}

\author{Dror~Bar-Natan}
\address{
  Department of Mathematics\\
  University of Toronto\\
  Toronto Ontario M5S 2E4\\
  Canada
}
\email{drorbn@math.toronto.edu}
\urladdr{http://www.math.toronto.edu/~drorbn}

\author{Zsuzsanna Dancso}
\address{
  Mathematical Sciences Institute\\
  Australian National University\\
  John Dedman Bldg 26\\
  Acton ACT 2601, Australia
}
\email{zsuzsanna.dancso@anu.edu.au}
\urladdr{http://www.math.toronto.edu/zsuzsi}

\date{first edition in future, this edition Oct.~15,~2019. The
\arXiv{????.????} edition may be older}

\subjclass{57M25}
\keywords{
  virtual knots,
  w-braids,
  w-knots,
  w-tangles,
  knotted graphs,
  finite type invariants,
  Kashiwara-Vergne,
  associators,
  double tree,
  free Lie algebras%
}

\thanks{The first author's work was partially supported by NSERC grant RGPIN 264374.
The second author was partially supported by NSF grant no.~0932078~000 while in residence
at the Mathematical Sciences Research Institute in Berkeley, California during Fall 2014, and by the Australian Research Council DECRA DE170101128 from 2017.
  Electronic version and related files at~\cite{DoubleTree},
  \url{http://www.math.toronto.edu/~drorbn/papers/WKO3/}.
}

\begin{abstract}
  \input abstract.tex
\end{abstract}

\maketitle

\tableofcontents

\section{Introduction}

\subsection{Executive Summary} 
This section is a large-scale overview of the main result of this paper and the idea behind its proof; it is followed by a more detailed introduction.

A {\em homomorphic expansion} for a class of topological objects $\calK$ is an invariant \linebreak $Z\colon\calK\to\calA$ whose target space $\calA$ is canonically associated with $\calK$ (its {\em associated graded}). Homomorphic expansions satisfy a certain universality property, and respect operations which exist on $\calK$, and therefore also on $\calA$. Such invariants are often hard to find, and when they are found, they are often intimately connected with deep mathematics:

\begin{itemize}

\item For many classes of knotted objects in 3-dimensional spaces homomorphic expansions don't exist --- for example, one would have loved ordinary tangles to have homomorphic expansions, but they don't.

\item Yet a certain class $\calK^u$ of knotted objects in 3-space, {\em parenthesized tangles}, or nearly-equivalently, {\em knotted trivalent graphs} -- which we adopt in this paper and denote by $\sKTG$ -- do have homomorphic expansions. A homomorphic expansion $Z^u\colon\calK^u\to\calA^u$ is defined by its values on a couple of elements of $\calK^u$ which generate $\calK^u$ using the operations $\calK^u$ is equipped with. The most interesting of these generators is the tetrahedron $\tetrahedron$, and $\Phi=Z^u(\tetrahedron)$ turns out to be equivalent to a {\em Drinfel'd associator}.

\item A certain class $\calK^w$ of graphs, called {\em w-foams} and denoted $\wTF$ in the paper -- the name is based on a conjectured equivalence to a class of 2-dimensional {\em welded} knotted tubes in 4-dimensional space -- also has homomorphic expansions. The most interesting generator of $\calK^w$ is the {\em vertex} $\YGraph$, and if $Z^w\colon\calK^w\to\calA^w$ is a homomorphic expansion, then it turns out that $V=Z^w(\YGraph)$ is equivalent to a solution of the {\em Kashiwara-Vergne problem} in Lie theory.

\end{itemize}

\parpic[r]{\input{figs/uw.pstex_t}}
Roughly speaking, $\calK^u$ is a part of $\calK^w$ and $\calA^u$ is a part of $\calA^w$, as in the figure on the right (more precisely, there are natural maps $a\colon\calK^u\to\calK^w$ and $\alpha\colon\calA^u\to\calA^w$). The main purpose of this paper is to prove the following theorem, whose precise version is stated later as Theorem~\ref{thm:main}: 

\par\noindent{\bf Theorem.} Any homomorphic expansion $Z^u$ for $\calK^u$ extends uniquely to a homomorphic expansion $Z^w$ for $\calK^w$, and therefore, any Drinfel'd associator $\Phi$ yields a solution $V$ of the Kashiwara-Vergne problem.

The proof of this theorem is based on the natural idea: we simply show that the generators of $\calK^w$ can be explicitly expressed using the generators of $\calK^u$ and the operations of $\calK^w$, and that the resulting explicit formulas for $Z^w(\YGraph)$ (and for $Z^w$ of the other generators) satisfies all the required relations.

The devil is in the details. It is in fact impossible to express the generators of $\calK^w$ in terms of the generators of $\calK^u$ --- to do that, one first has to pass to a larger space $\tilde{\calK}^w$ (in the paper $\wTFe$) that has more objects and more operations, and in which the desired explicit expressions do exist. But even in $\tilde{\calK}^w$ these expressions are complicated, and are best described within a certain ``double tree construction'' which also provides the framework for the verification of relations. Here's an unexplained summary; the explanations make the bulk of this paper:

\[ \input{figs/QuickDT.pstex_t} \]



%----------------------------------------------------------------------------------------------------




\subsection{Detailed Introduction}
This paper is the third in a sequence \cite{Bar-NatanDancso:WKO1, Bar-NatanDancso:WKO2, DoubleTree}
studying finite type invariants of w-knotted objects, and contains the strongest result:
a topological construction for a homomorphic expansion of  {\em w-foams} from the Kontsevich integral. This in particular implies the Kashiwara-Vergne Theorem, more precisely, the \cite{AlekseevEnriquezTorossian:ExplicitSolutions} formula for solutions of 
the Kashiwara-Vergne equations in terms of Drinfel'd associators. Readers familiar with finite type invariants in general should
have no trouble reading \cite{Bar-NatanDancso:WKO2} and this paper without having read \cite{Bar-NatanDancso:WKO1}. The setup and main results of \cite{Bar-NatanDancso:WKO2} are used heavily in this paper. Reproducing all necessary details would be lengthy, so we only include concise summaries for readers already familiar with the content, and otherwise refer to specific sections of \cite{Bar-NatanDancso:WKO2} throughout.

The Kashiwara-Vergne conjecture (KV for short) --- 
proposed in 1978 \cite{KashiwaraVergne:Conjecture} and proven in 2006 by Alekseev and Meinrenken \cite{AlekseevMeinrenken:KV} --- asserts that solutions exist for a certain set of equations in the space of ``tangential automorphisms'' of the free lie algebra on two generators. For a precise statement we refer the reader to \cite{Bar-NatanDancso:WKO2} or \cite{AlekseevTorossian:KashiwaraVergne}. The existence of such solutions has 
has strong implications in Lie theory and harmonic analysis, in particular it implies the Duflo isomorphism, which was shown to be
knot-theoretic in~\cite{Bar-NatanLeThurston:TwoApplications}. 

In \cite{AlekseevTorossian:KashiwaraVergne} Alekseev and Torossian give another proof for the KV conjecture based on a deep connection with Drinfel'd associators. In turn, Drinfel'd's theory
of associators~\cite{Drinfeld:QuasiHopf} can be interpreted as a theory of well-behaved universal finite type
invariants of parenthesized tangles\footnote{``$q$-tangles'' in~\cite{LeMurakami:Universal}, ``non-associative tangles''
in~\cite{Bar-Natan:NAT}.}~\cite{LeMurakami:Universal, Bar-Natan:NAT}, or of knotted trivalent graphs~\cite{Dancso:KIforKTG}.
In \cite{AlekseevEnriquezTorossian:ExplicitSolutions} Alekseev, Enriquez and Torossian gave an explicit formula
for solutions of the Kashiwara-Vergne equations in terms of Drinfel'd associators.

In \cite{Bar-NatanDancso:WKO2} we re-interpreted the Kashiwara-Vergne
conjecture as the problem of finding a ``homomorphic'' universal finite type invariant of
a class of knotted trivalent tubes in 4-dimansional space (called w-tangled foams), and explained
the connection to Drilfel'd associators in terms of a relationship between 3-dimensional and 
4-dimensional topology. Another topological interpretation for the KV problem has recently emerged 
in \cite{AKKN:GoldmanTuraev}.

In this paper we present a topological construction for a homomorphic universal finite type invariant of w-tangled foams, thereby giving a new,
topological proof for the KV conjecture. This construction also leads to an explicit formula for solutions, which we prove agrees
with \cite{AlekseevEnriquezTorossian:ExplicitSolutions}.

\subsubsection{Topology}
We begin by describing a chain of maps from ``parenthesized braids'' to ``(signed) knotted trivalent graphs'' to ``w-tangled foams'':
$$\calK:=\{\uPB \stackrel{\cl}{\longrightarrow} \sKTG \stackrel{a}{\longrightarrow} \wTFe\}.$$
Let us first briefly elaborate on each of these spaces and maps.

Parenthesized braids are braids whose ends are ordered along two lines, the ``bottom'' and the ``top'', along with parenthetizations 
of the endpoints on the bottom and on the top. Two examples are shown in Figure \ref{fig:PBexample}. Parentehesized braids form a category whose
objects are parenthetizations, morphisms are the parenthesized braids themselves, and composition is given by stacking. In addition to stacking,
there are several operations defined on parenthesized braids: strand addition, removal and doubling. A detailed introduction 
to parenthesized braids is in \cite{Bar-Natan:GT1}.

\begin{figure}[b]
 \input{figs/PBexample.pstex_t}
 \caption{Two examples of parenthesized braids. Note that by convention the parenthetization can be read from the distance scales between the endpoints
 of the braid, and so we are going to omit the parentheses in the future.}\label{fig:PBexample}
\end{figure}

\parpic[r]{\input{figs/KTGExample.pstex_t}}
Trivalent graphs are oriented graphs with three edges meeting at each vertex and whose vertices are equipped with a cyclic orientation of the incident edges.
A knotted trivalent graph (KTG) is a framed embedding of a trivalent graph into $\bbR^3$.
KTGs are studied from a finite type invariant point of view in \cite{Bar-NatanDancso:KTG}. In this paper we use a version of KTGs that was 
introduced and studied in \cite[Section 4.6]{Bar-NatanDancso:WKO2}, namely trivalent tangles with one or two ends and with some extra combinatorial information: trivalent vertices are equipped with a marked ``distinguished edge''
and signs. We call this space $\sKTG$ (for signed KTGs), as in \wko. An example is shown on the right. 
The space $\sKTG$ is also equipped with several operations: tangle insertion, sticking a 1-tangle onto an edge of another tangle, 
disjoint union of 1-tangles, edge unzip, and edge orientation switch (see \cite[Section 4.6]{Bar-NatanDancso:WKO2} for details).

The space $\wTFe$ is a minor extension of the space $\wTF$ studied in \cite[Section 4.1 -- 4.4]{Bar-NatanDancso:WKO2}, and will be introduced in detail in Section 
\ref{sec:wTFe}. It can be described as a circuit algebra (similar to a planar algebra but with non-planar connections allowed, see \cite[Section 2.4]{Bar-NatanDancso:WKO2}) 
generated by certain features (various kinds of crossings and vertices, as well as ``caps'')
modulo certain relations (``Reidemeister moves'') and equipped with a number of auxiliary operations beyond circuit algebra composition. This Reidemeister
theory conjecturally represents knotted tubes in 4-dimensional space with singular {\em foam vertices}, caps, and attached one-dimensional strings.

The map $\cl: \uPB \to \sKTG$ is the ``closure map''. Given a parenthesized braid, close up its top and bottom each by 
gluing a binary tree according to the parentetization;
this produces a $\sKTG$ with the convention that all strands are oriented upwards, bottom vertices are negative, and top vertices are positive.
An example is shown below.
\begin{center}
\input{figs/Closure.pstex_t} 
\end{center}

The map $a: \sKTG \to \wTFe$ arises combinatorially from the fact that all $\sKTG$ diagrams can be interpreted as elements of $\wTFe$, and all
$sKTG$ Reidemeister moves are also imposed in $\wTFe$. Topologically, it is an extended version of Satoh's tubing map, described in Remark 3.1.1 of 
\wko.

\subsubsection{Algebra}
The chain of maps $\calK$ is an example of a general ``algebraic structure'', as discussed in \cite[Section 2.1]{Bar-NatanDancso:WKO2}. An algebraic
structure consists of a collection of objects belonging to a number of ``spaces'' or ``different kinds'', and operations that may be unary, binary,
multinary or nullary, between these spaces. In this case there are many spaces (or kinds of objects): for example, parenthesized braids with specified
bottom and top parenthetizations form one space, so do knottings of a given trivalent graph (skeleton). There is also a large collection of operations, consisting 
of all the internal operations of $\uPB$, $\sKTG$ and $\wTFe$, as well as the maps $a$ and $\cl$.

In Sections 2.1 to 2.3 of \wko we discuss associated graded structures and expansions for general algebraic structures. For any algebraic structure (think braids, or tangles with tangle composition), one allows formal linear compositions of elements of the same {\em kind} (think, same skeleton). Associated graded structures are 
taken with respect to the filtration by powers of the {\em augmentation ideal}. For the spaces $\uPB$, $\sKTG$ and $\wTFe$, the 
associated graded spaces $\calA^{hor}$, $\calA^{u}$ and $\calA^{sw}$ are the spaces of ``horizontal chord diagrams on parenthesized strands'', ``chord diagrams
on trivalent skeleta'', and ``arrow diagrams'', as described in \cite{Bar-Natan:GT1}, \cite[Section 4.6]{Bar-NatanDancso:WKO2}, and Section \ref{sec:wTFe} 
of this paper, respectively. As a result, the associated graded structure of $\calK$ is
$$\calA:=\{\calA^{hor}\stackrel{\cl}{\longrightarrow} \calA^{u} \stackrel{\alpha}{\longrightarrow} \calA^{sw}\},$$
where $\cl$ and $\alpha$ are the maps induced by $\cl$ and $a$, respectively. More specifically, $\cl$ is the ``closure of chord diagrams'', and $\alpha$ is 
``replacing each chord with the sum of its two possible oriantations'', see \cite[Section 3.3]{Bar-NatanDancso:WKO2}.

An expansion \cite[Section 2.3]{Bar-NatanDancso:WKO2} is a filtration-respecting map from an algebraic structure to its 
associated graded structure, whose associated graded map is the identity. In knot theory, expansions are also called universal finite type invariants. A homomorphic expansion is an expansion which behaves well with respect to
the operations of the algebraic structure, that is, it intertwines each operation with its induced counterpart on the associated graded structure; for a detailed definition and introduction see \cite[Section 2.3]{Bar-NatanDancso:WKO2}.
Hence, a homomorphic expansion $Z: \calK \to \calA$ is a triple of homomorphic expansions $Z^b, Z^u,$ and $Z^w$ for $\uPB$, $\sKTG$ and $\wTFe$, respectively, so that 
the following diagram commutes: 
\begin{equation}
 \xymatrix{
 \uPB  \ar[r]^{\cl}  \ar[d]^{Z^b} 
 & \sKTG  \ar[r]^{a}  \ar[d]^{Z^u} 
 & \wTFe  \ar[d]^{Z^w} \\
 \calA^{hor}  \ar[r]^{\cl} 
 & \calA^u  \ar[r]^{\alpha} 
 & \calA^w
 }
\end{equation}

We recall (see \cite{Bar-Natan:GT1}) that a homomorphic expansion $Z^b$ for parenthesized braids is determined by a ``horizontal chord associator'' 
$\Phi=Z^b(\raisebox{-1mm}{\input{figs/Phi.pstex_t}})$.
A homomorphic expansion $Z^u$ of $\sKTG$ is also determined\footnote{With the exception of some minor normalization, see \cite[Section 4.6]{Bar-NatanDancso:WKO2}, in particular Lemma~4.14 and the paragraph following it.} by a Drinfel'd associator (horizontal chords or not; see \cite[Section 4.6]{Bar-NatanDancso:WKO2}),
so the significance of the left commutative square is to force the associator corresponding to $Z^u$ to be a horizontal chord associator. 
In turn, $Z^w$ is determined by a solution $F$ (a close cousin of
$V=Z^w(\raisebox{-1mm}{\input{figs/PlusVertex.pstex_t}})$) to the Kashiwara-Vergne problem (see \cite[Section 4.4 -- 4.5]{Bar-NatanDancso:WKO2}).
The goal of this paper is to prove the following theorem, which, via the correspondence above, implies the KV conjecture:

\begin{theorem}\label{thm:main} 

\begin{enumerate}
 \item Assuming that $Z: \calK \to \calA$ exists, it is determined\footnote{In fact, almost entirely determined by $Z^b$, with the exception of the minor normalization of $Z^u$ which is not determined by an associator.} by $Z^u$.  
 \item There is a formula for $V$ in terms of the Drinfel'd associator $\Phi$ associated to $Z^{u}$:
$$V=C^{-1}_{1}C^{-1}_{2}C_{(12)}\varphi\left(\Phi^{{-1}}(a_{2(13)},-a_{2(13)}-a_{4(13})\cdot e^{a_{23}/2}\Phi(a_{23},a_{43})\right),$$
the notation will be explained later.
This agrees with the formula proven in \cite{AlekseevEnriquezTorossian:ExplicitSolutions}.
 \item Every $Z^b$ extends to a $Z$.
\end{enumerate}
\end{theorem} 

The key to the proof of the theorem is to show that the generator \raisebox{-.7mm}{\input{figs/PlusVertex.pstex_t}} of $\wTFe$ 
can be expressed in terms of the 
generator \raisebox{-.7mm}{\input{figs/Phi.pstex_t}} of $\uPB$ and the operations of $\calK$. Assuming that $Z$ exists, this yields a formula for $V$ in terms
of $\Phi$. 

%To preview the expression of \raisebox{-.7mm}{\input{figs/PlusVertex.pstex_t}} in terms of \raisebox{-.7mm}{\input{figs/Phi.pstex_t}}, let us display a picture with no explanation, below. 
%\begin{center} 
 %\input{figs/PhiToV.pstex_t}
%\end{center}

\subsection{Paper Structure}
In Section~\ref{sec:wTFe} we provide an overview of the space $\wTF$ of (oriented) w-foams and its extension with strings $\wTFe$. We provide a brief review of definitions and crucial facts from \cite{Bar-NatanDancso:WKO2}, and details of the extension. We prove that homomorphic expansions for $\wTF$ extend uniquely to homomorphic expansions for $\wTFe$.

Section~\ref{sec:Proof} makes up the bulk of the paper and is devoted to the proof of Theorem~\ref{thm:main}. In Section \ref{subsec:Part1TreeProof} we prove part (1) in a diagrammatic quotient called the {\em tree level}. Section~\ref{subsec:Part1Proof} upgrades this to a complete proof of part (1). In Section~\ref{subsec:AETFormula} we deduce the formula for Kashiwara-Vergne solutions in terms of Drinfel'd associators, proving part (2). In Section~\ref{subsec:DT} we prove statement (3): the hardest part. 



%-----------------------------------------------------------------------------------------------------------------



\section{The spaces $\wTFe$ and $\calA^{sw}$ in more detail}\label{sec:wTFe}

As we mentioned in the introduction, $\wTFe$ is a minor extension of the space $\wTF$ studied in \cite[Section 4.1 -- 4.4]{Bar-NatanDancso:WKO2}. 
It can be introduced
as a planar algebra or as a circuit algebra; we will do the latter as it is simpler and more concise. Circuit algebras are defined in 
\cite[Section 2.4]{Bar-NatanDancso:WKO2}; in short, they are similar to planar algebras but without the planarity requirement for ``connecting strands''. 
As in \wko, each generator and relation of $\wTFe$ has a local topological interpretation. 
Recall \cite[Sections 1.2, 3.4, 4.1]{Bar-NatanDancso:WKO2} that $\wTF$ diagrams represent certain ribbon knotted tubes with foam vertices in $\bbR^4$, 
and the circuit algebra $\wTF$ is conjecturally a Reidemeister theory for this space (i.e., there is a surjection $\delta$ from the
circuit algebra $\wTF$ to ribbon knotted tubes with foam vertices, and $\delta$ is conjectured to be an isomorphism). 
The space $\wTFe$ extends 
$\wTF$ by adding one-dimensional strands to the picture. Note that one dimensional strands cannot be knotted in $\bbR^4$, however, they can be knotted 
{\em with} the two-dimensional tubes. In figures two-dimensional tubes will be denoted by thick lines and one dimensional strings by thin red lines.
With this in mind, we define $\wTFe$ as a circuit algebra defined in terms of generators and relations, and with some extra operations beyond 
circuit algebra composition. Each generator, relation and operation has a local topological interpretation which provides much of the intuition
behind the proofs. However, the corresponding Reidemeister theorem is only conjectural.


\[
  \wTFe=\CA\!\left.\left.\left\langle
  \raisebox{-4mm}{\input{figs/wTFgens.pstex_t}}
  \right|
  \parbox{1.2in}{\centering relations as in Section~\ref{subsec:wrels}}
  \right|
  \parbox{1.1in}{\centering auxiliary operations as in Section~\ref{subsec:wops}}
  \right\rangle
\]







\subsection{The generators of $\wTFe$}\label{subsec:wgens}
We begin by discussing the local topological meaning of each generator shown above.

\parpic[l]{\includegraphics[width=1.5cm,height=5cm]{figs/TheVertex.ps}}
The first five generators are as described in \cite[Sections 4.1.1]{Bar-NatanDancso:WKO2}, we briefly recall their descriptions here.  
Knotted (more precisely, braided) tubes
in $\bbR^4$ can equivalently be thought of as movies of flying rings in $\bbR^3$. The two crossings stand for movies where two rings trade places
by the ring of the under strand flying through the ring of the  over strand. The dotted end represents a tube ``capped off''
by a disk. Generators 4 and 5 stand for singular ``foam vertices'', and will be referred to as the positive and negative vertex, respectively.
The positive vertex represents the movie shown on the left: the right ring approaches the left ring from below, flies inside it and merges with it.
The negative vertex represents a ring splitting and the inner ring flying out below and to the right. To be
completely precise, $\wTFe$ as a circuit algebra has more vertex generators than shown above: the vertices appear with all possible orientations of the strands.
However, all other versions can be obtained from the ones shown above using ``orientation switch'' operations (to be discussed in Section \ref{subsec:wops}).


\parpic[r]{\input figs/MixedCrossings.pstex_t }
The thin red strands denote one dimensional strings in $\bbR^4$, or ``flying points in $\bbR^3$''. The crossings between the two types of strands 
(generators 6 and 7) represent ``points flying through rings''. For example, the picture on the left shows generator 6, where ``the point on the right approaches the ring on the left from below, flies
through the ring and out to the left above it''.
This explains why there are no generators with a thick strand crossing under a 
thin red strand: a ring cannot fly through a point. 

Generator 9 is a trivalent vertex of 1-dimensional strings in $\bbR^4$. 
Finally, the last generator is a {\em mixed vertex:} a one-dimensional string attached to the wall of a 2-dimensional tube. 
All generators should be shown in all possible strand orientation combinations; we are suppressing this to save space.

%``Outside wall'' makes no sense but there is a framing issue where the string can wrap around the tube a number of times before it attaches itself.
% Since we have introduced only one kind of string to tube vertex, puncture is restricted later.
% Wens commute with string to tube vertices and disappear when punctured.






\subsection{The relations}\label{subsec:wrels}
As a list, the relations for $\wTFe$ are the same as the relations for $\wTF$ \cite[Section 4.5]{Bar-NatanDancso:WKO2}: 
$\{$\Rs, R2, R3, R4, OC, CP$\}$. 
Recall that \Rs~is the weak (framed) version
of the Reidemeister 1 move; R2 and R3 are the usual second and third Reidemeister moves; R4 allowes moving a strand over or under a vertex. 
OC stands for {\em Overcorssings Commute}, CP for {\em Cap Pullout}: these
two relations are shown in Figure~\ref{fig:wTFeRels}, for a detailed explanation see \cite[Section 4.1.2]{Bar-NatanDancso:WKO2}.
\begin{figure}
 \input figs/CapRel.pstex_t 
 \caption{The OC and CP relations.}\label{fig:wTFeRels}
\end{figure}

In $\wTFe$ all relations should be interpreted in all
possible combinations of strand types and orientations (tube or string), for example the lower strand of the R2 relation can either be thick black or thin red, as shown below:
\begin{center}
 \input figs/R2.pstex_t
\end{center}
Similarly, any of the lower strands of the R3, R4, and OC relations may be thin red.

As in $\wTF$, the relations all have local topological meaning and conjecturally $\wTFe$ is a Reidemeister theory for ribbon knotted tubes in $\bbR^4$
with caps, singular foam vertices and attached strings. For example, Reidemeister 2 with a thin red bottom strand is imposed because a point flying in through
a ring and then immediately flying back out is isotopic to not having any interaction between the point and ring at all.

It is easy to verify that all relations represent local isotopies of welded (ribbon knotted) tubes in $\bbR^4$ with singular vertices and attached strings. What is not clear at this stage 
is that this is a complete Reidemeister theory, that is, whether this is a complete set of relations. For more detail on this see \cite[Section 1.2]{Bar-NatanDancso:WKO2}.







\subsection{The operations}\label{subsec:wops}
Like $\wTF$, $\wTFe$ is equipped with a set of auxiliary operations in addition to the circuit algebra structure.

The first of these is orientation reversal. For the thin (red) strands, this simply means reversing the direction of the strand.
For the thick strands (tubes), orientation switch comes in two versions. Recall from \cite[Section 3.4]{Bar-NatanDancso:WKO2} 
that in the topological interpretation of 
$\wTF$, each tube is oriented as a 2-dimensional surface, and also has a distinguished ``core'': a line along the tube which is oriented as
a 1-dimensional manifold and determines the ``direction'' or ``1-dimensional orientation'' of the tube. Both of these are determined by
the direction of the strand in the circuit algebra, via Satoh's tubing map.

Topologically, the operation ``orientation switch'', denoted 
$S_e$ for a given strand $e$, acts by reversing both the (1-dimensional) direction and the (2-dimensional) orientation of the tube $e$. 
Diagrammatically, this corresponds to simply reversing the direction of the corresponding strand $e$. 

\parpic[r]{\input{figs/Adjoint.pstex_t}}
The ``adjoint'' operation, denoted $A_e$, on the other hand
only reverses the (1-dimensional) direction of the tube $e$, not the orientation as a surface. Diagrammatically, this manifests itself as reversing the strand
direction and adding two virtual crossings on either side of each crossing where $e$ crosses {\em over} another strand, as shown on the right (note 
that the strand below $e$ may be thick or thin). Note that virtual crossings don't appear when $e$ crosses under another strand.
For more details on orientations and orientation switches, see \cite[Sections 3.4 and 4.1.3]{Bar-NatanDancso:WKO2}.


The unzip operation $u_e$ doubles the strand $e$ using the
blackboard framing, and then attaches the ends of the doubled strand to the
connecting ones, as shown in Figure~\ref{fig:DiscUnzip}.  We restrict unzip to strands
whose two ending vertices are of different signs. (For the definition of 
crossing and vertex signs, see \cite[Sections 3.4 and 4.1]{Bar-NatanDancso:WKO2}.) Topologically,
the blackboard framing of the diagram induces a framing of the corresponding tube in $\bbR^4$
via Satoh's tubing map, and unzip is the act of ``pushing the tube off of itself slightly in the
framing direction''. Note that unzips preserve the ribbon property. 

A related operation, {\it disc unzip}, is unzip done on a capped strand, pushing the tube off in the direction of the framing 
(in diagram world, in the direction of the blackboard framing), as 
before. 
An example is shown in Figure~\ref{fig:DiscUnzip}; see \cite[Section 4.1.3]{Bar-NatanDancso:WKO2} for details on framings and unzips.
\begin{figure}
\input{figs/StringUnzip.pstex_t} \quad \quad \quad \quad \input{figs/CapUnzip.pstex_t}
\caption{Unzip and disc unzip.}\label{fig:DiscUnzip}
\end{figure}

So far all the operations we have introduced had already existed in $\wTF$. There is also a new operation is called ``puncture'', 
denoted $p_e$,
which diagrammatically simply turns the thick black strand $e$ into a thin red one. The corresponding topological picture
is ``puncturing a tube'', i.e., removing a small disk from it and retracting the rest to its core. 
Any crossings where $e$ passes under another 
strand are not affected, while crossings in which $e$ is the over strand turn into virtual crossings.

\begin{figure}
\input figs/PunctureRule.pstex_t 
\caption{Puncture operations: the picture on the left shows which edges are puncture-able at each vertex. The middle and right pictures show the effect of puncture operations.}\label{fig:punctures}
\end{figure}

For simplicity, we place a restriction on which strands can be punctured, namely at each (fully thick black) vertex puctures are only allowed for 
one of the three meeting strands, as shown on the left of Figure \ref{fig:punctures}. More general puctures could be allowed in a theory 
with more than one kind of ``string to tube'' vertex. The right of the same figure
shows that when puncturing one of the thick strands of a mixed vertex, the puncture ``spreads''. Topologically, this is because the mixed
vertex represents a string attached to a tube, so when puncturing $e$, the entire tube retracts to its core.
Finally, a capped tube disappears when punctured.

In summary,
\[
  \wTFe=\CA\!\left.\left.\left\langle
  \raisebox{-4mm}{\input{figs/wTFgens.pstex_t}}
  \right|
  \parbox{1in}{\centering \Rs, R2, R3, R4, OC, CP }
  \right|
  \parbox{0.6in}{\centering $S_e, A_e,$ $u_e, d_e, p_e$}
  \right\rangle
\]









\subsection{The associated graded structure $\calA^{sw}$}
As in \wko, the space $\wTFe$ is filtered by powers of the augmentation ideal and its associated graded space, 
denoted $\calA^{sw}$, is a ``space
of arrow diagrams on foam skeletons with strings''. As a circuit algebra, $\calA^{sw}$ is presented as follows:
\[
  \wTFe=\CA\!\left.\left.\left\langle
  \raisebox{-4mm}{\input{figs/AswGens.pstex_t}}
  \right|
  \parbox{0.8in}{\centering relations as below}
  \right|
  \parbox{0.8in}{\centering auxiliary operations as below}
  \right\rangle.
\]
Generators 1 and 5 are called single arrows and they are of degree one, while all others are ``skeleton features'' of degree zero.
The relations are almost the same as in \cite[Section 4.2.1]{Bar-NatanDancso:WKO2}, which describes the relations for 
the associated graded of $\wTF$: 
$\aft$ (the 4-Term relation), TC (Tails Commute), RI (Rotation 
Invariance), CP (the arrow Cap Pullout), and VI (Vertex Invariance). For $\wTFe$ there is an 
additional relation TF (Tails Forbidden on strings).
The TC and $\aft$ relations are shown in Figure \ref{fig:TCand4T}. The Vertex Invariance relation is shown in Figure \ref{fig:VI}: here the $\pm$ signs depend on the 
strand orientations. Note that the type of the 
vertex and the types of each strand (thick black or thin red) are left ambiguous: the VI relation applies in all cases. Figure \ref{fig:RICPTF} shows
the other relations: RI, CP and TF. Note that technically TF is not a relation: there were no generators with an arrow tail on a thin red strand,
so saying that such an element vanishes is superfluous. However, without TF the VI relation would have to be stated for all the sub-cases of 0, 1 or 3 thin red
strands, so we prefer this cleaner way, even if it is a  
slight abuse of notation.

\begin{figure}
 \input{figs/TCand4T.pstex_t}
 \caption{The TC and $\protect\aft$ relations. Note that the 3rd strand in each term of the $\protect\aft$ relation is ambiguous: it can be 
either thick black or thin red, the relation applies in either case.}
 \label{fig:TCand4T}
\end{figure}

\begin{figure}
 \input{figs/VI.pstex_t}
 \caption{The VI relation: the vertices and strands could be of any type, but the same throughout the relation.}
 \label{fig:VI}
\end{figure}
\begin{figure}
 \input{figs/RICPTF.pstex_t}
 \caption{The RI and CP relations, and the TF relation (which is not really a relation).}
 \label{fig:RICPTF}
\end{figure}

Each operation on $\wTFe$ induces a corresponding operation on $\calA^{sw}$. Orientation switch, adjoint, unzip, cap unzip, and long strand deletion 
act exactly the same way as they do for $\wTF^o$. We quickly recall these here, for details see \cite[Section 4.2.2]{Bar-NatanDancso:WKO2}. 
The orientation switch $S_e$ reverses the orientation of the  
skeleton strand $e$, and multiplies the arrow diagram by $(-1)^{\#\{\text{arrow endings on }e\}}$.
The adjoint operation also reverses the skeleton strand
$e$ and multiplies the arrow diagram by $(-1)^{\#\{\text{arrow heads on }e\}}$. Given a skeleton $S$ with a distinguished strand $e$, unzip (or disc
unzip, if $e$ is capped) is an operation $u_e: \calA^{sw}(S) \to \calA^{sw}(u_e(S))$ which maps each arrow ending on $e$ to a sum of two arrows, one 
ending on each of the two new strands which replace $e$. Deleting a long strand $e$ kills all arrow diagrams with any arrow ending on $e$.
The operation induced by puncture, denoted $p_e$, turns the formerly thick black $e$ into a thin red strand, and kills any arrow diagram with any arrow
tails on $e$.

To summarise:
\[
  \wTFe=\CA\!\left.\left.\left\langle
  \raisebox{-4mm}{\input{figs/AswGens.pstex_t}}
  \right|
  \parbox{1in}{\centering $\aft$, TC, VI, CP, RI, TF}
  \right|
  \parbox{0.7in}{\centering $S_e, A_e, u_e,$ $d_e, p_e$}
  \right\rangle
\]

As in \cite[Definition 3.7]{Bar-NatanDancso:WKO2}, we define a ``w-Jacobi diagram'' (or just ``arrow diagram'') by 
also allowing trivalent chord vertices, each of which is equipped with a cyclic orientation, and modulo the $\aSTU$ relations
of Figure~\ref{fig:ASIHXSTU}. 
Denote the circuit algebra
of formal linear combinations of these w-Jacobi diagrams by $\calA^{swt}$. Then, as in \cite[Theorem 3.8]{Bar-NatanDancso:WKO2}, we have the
following bracket-rise theorem:

\begin{theorem}
 The obvious inclusion of diagrams induces a circuit algebra isomorphism $\calA^{sw}\cong \calA ^{swt}$. Furthermore,
 the $\aAS$ and $\aIHX$ relations of Figure \ref{fig:ASIHXSTU} hold in $\calA^{swt}$.
\end{theorem}

\begin{figure}
 \input{figs/ASIHXSTU.pstex_t}
 \caption{The $\protect\aAS$, $\protect\aIHX$ and the three $\protect\aSTU$ rerations. Note that in $\protect\aSTU_1$, the skeleton strand can be thin red
 or thick black, and that $\protect\aSTU_3$ ``degenerates'' to the TC relation.}
 \label{fig:ASIHXSTU}
\end{figure}

The proof is identical to the proof of \cite[Theorem 3.8]{Bar-NatanDancso:WKO2}. In light of this isomorphism, we will drop the extra ``$t$'' from the
notation and use $\calA^{sw}$ to denote either of these spaces. As in \cite{Bar-NatanDancso:WKO2}, the primitive elements of $\calA^{sw}$ are connected diagrams,
denoted $\calP^{sw}$, and $\calP^{sw}=\{\text{trees}\}\oplus\{\text{wheels}\}$ as a vector space. Examples of trees and wheels are shown in Figure \ref{fig:TreeAndWheel}; 
for details
see \cite[Section 3.1]{Bar-NatanDancso:WKO2}. Note that the RI relation can now be rephrased (via $\aSTU_2$) as the vanishing of the wheel with a single spoke, or one-wheel.
\begin{figure}
 \input{figs/TreeAndWheel.pstex_t}
 \caption{An example of a ``tree'', left, and a ``wheel'', right.}
 \label{fig:TreeAndWheel}
\end{figure}

We recall the following two crucial fact \cite[Lemmas 4.6 and 4.7]{Bar-NatanDancso:WKO2}:

\begin{fact}\label{fact:CapIsWheels}
 $\calA^{sw}(\upcap)$, the part of $\calA^{sw}$ with skeleton a single capped strand, is isomorphic as a vector space to the completed polynomial algebra
 freely generated by wheels $w_k$ with $k \geq 2$.
\end{fact}

\begin{fact}\label{fact:VTwoStrands}
 $\calA^{sw}(\raisebox{-1mm}{\input{figs/PlusVertex.pstex_t}})\cong \calA^{sw}(\uparrow_2)$, where $\calA^{sw}(\raisebox{-1mm}{\input{figs/PlusVertex.pstex_t}})$ 
 stands for the space of arrow diagrams whose skeleton is a single vertex (the picture shows a positive vertex but the statement is 
 true for all kinds of vertices with thick black strands), 
 and $\calA^{sw}(\uparrow_2)$ is the space of arrow diagrams on two (thick black) strands. 
\end{fact}

The following Lemma will play an important role, in particular the second isomorphism stated is the map $\varphi$ appearing in Theorem~\ref{thm:main}, part $(2)$:
\begin{lemma}\label{lem:CapString}
 $\calA^{sw}\Big(\raisebox{-2.3mm}{\input{figs/LinesWithStrings.pstex_t}}\Big)\cong \calA^{sw}(\uparrow_n)$, and consequently 
 $\calA^{sw}\Big(\raisebox{-2.3mm}{\input{figs/VtxWithStrings.pstex_t}}\Big)\cong \calA^{sw}(\uparrow_2)$. The left hand side of
 the first isomorphism is the space of arrow diagrams on $n$ strands whose bottom is capped and a thin red string is attached above the cap.
 Similarly, the left hand side of the second isomorphism involves a vertex whose two incoming strands are capped with a string attached.
 \end{lemma} 


\begin{proof}
 To prove the first isomorphism, we construct inverse maps between the two spaces. There is an obvious map 
 $\calA^{sw}(\uparrow_n) \to \calA^{sw}\Big(\raisebox{-2.3mm}{\input{figs/LinesWithStrings.pstex_t}}\Big)$,
 namely, given an arrow diagram on two strands, place it on the capped/stringed strands above the attached string.
 
 \parpic[r]{\input{figs/SlideUpLemma.pstex_t}}
 In the other direction, given an arrow diagram on capped/stringed strands, first note that in the same vein as Fact \ref{fact:CapIsWheels}
 we can assume that there are only arrow tails on the capped strand under the attached string. Also, arrow tails die on the thin red strand, hence
 it has only arrow heads. To produce an arrow diagram on regular strands, first push the arrow tails from the capped strand up and over the string/tube
 vertex. This is done using the VI relation, but since tails die on the thin red strand they slide past
 the vertex without a cost. Once the capped side is cleared, continue by pushing the arrow tails up from the thin red string to the strand above the vertex.
 Note that now the cap kills any arrow heads and hence they also slide past the vertex at no cost. Once the capped and string strands are cleared of any
 arrow endings, the result can be regarded as an arrow diagram on $n$ regular strands.
 
 It is obvious that the two maps are inverses of each other, so we have proven the first isomorphism. For the second, do the same and combine with
 Fact \ref{fact:VTwoStrands}. \qed
\end{proof}




\subsection{The homomorphic expansion}
As discussed in \cite[Section 2.3]{Bar-NatanDancso:WKO2}, an expansion is a map $Z^w: \wTFe \to \calA^{sw}$ with the property that the associated graded map
$\operatorname{gr} Z^w: \calA^{sw} \to \calA^{sw}$ is the identity map $\operatorname{id}_{\calA^{sw}}$. A homomorphic expansion is an expansion which also
intertwines each operation of $\wTFe$ with its arrow diagrammatic counterpart, meaning that the appropriate squares commute. In 
\cite[Theorems 4.9 and 4.11]{Bar-NatanDancso:WKO2} we proved that the existence of solutions for the Kashiwara--Vergne equations implies that
there exsists a homomorphic expansion for $\wTF$. In fact that homomorphic expansions for $\wTF$ (with the minor techical condition that the value of
the vertex doesn't contain isolated arrows) are in one-to-one correspondence with solutions
to the Kahiwara-Vergne problem with even Duflo function. 

The point of this paper is to provide a topological construction for such a homomorphic expansion (and hence for the Kashiwara--Vergne conjecture), and this is easier to do for the slightly more general space $\wTFe$.  First we prove that finding a homomorphic expansion for $\wTF$ is equivalent to finding one for $\wTFe$.

\begin{theorem}
 Homomorphic expansions for $\wTF$ are in one-to-one correspondence with homomorphic expansions for $\wTFe$.
\end{theorem}

\parpic[r]{
\xymatrix{
 \wTF  \ar@{^{(}->}[r]  \ar[d]^{Z^w} 
 & \wTFe  \ar[d]^{\widetilde{Z}^w} \\
 \calA^{sw}  \ar@{^{(}->}[r]
 & \widetilde{\calA}^{sw}
 }
}
{\em Proof.}
For the duration of this proof we introduce the following notation: $\calA^{sw}$ will denote the associated graded space 
of $\wTF$ and $Z^w: \wTF \to \calA^{sw}$ a homomorphic expansion. The associated graded space of $\wTFe$ will be denoted by $\widetilde{\calA}^{sw}$
and the corresponding homomorphic expansion by $\widetilde{Z}^w: \wTFe \to \widetilde{\calA}^{sw}$; see the diagram on the right.

The horizontal maps of the diagram  are the obvious inclusions 
$\wTF \hookrightarrow \wTFe$ and \linebreak $\calA^{sw}\hookrightarrow \widetilde{\calA}^{sw}$, namely the maps which send each generator
of $\wTF$ or $\calA^w$ to the same generator of the corresponding extended space. These maps are injective as none of the relations of $\wTFe$ or 
$\widetilde{\calA}^{sw}$ change the skeletons of the participating diagrams. 
 
\parpic[r]{\input{figs/PunctureExample.pstex_t}}
First assume that $Z^w$ is a homomorphic expansion for $\wTF$, we want to show that this extends uniquely to a homomorphic extension of $\wTFe$. 
$Z^w$ assigns values in $\calA^{sw}$ to all the generators of $\wTF$, namely the crossings, vertices and cap; hence we only need to define the 
value of the extension $\widetilde{Z}^w$ on the remaining generators of $\wTFe$: those which involve thin red strands. Note that if such a 
{\em homomorphic} extension
exists, then it is unique: each generator of $\wTFe$ which involves thin red strand can be obtained via puncture operations from generators which do not,
see the example in the figure on the right.
Since we know the $\widetilde{Z}^w$-value of all the generators which do not involve thin red strands and $\widetilde{Z}^w$ should be homomorphic
with respect to the puncture operation, this determines the value of $\widetilde{Z}^w$ on all generators.

It is straightforward to check that these values satisfy all equations arising from the relations of $\wTFe$ and $\widetilde{Z}^w$ is indeed an expansion. 
Furthermore, $\widetilde{Z}^w$ is homomorphic by design, using the homomorphicity of $Z^w$.

Conversely, given a homomorphic expansion $\widetilde{Z}^w:\wTFe \to \widetilde{A}^{sw}$, then the corresponding homomorphic expansion $Z^w$ for $\wTF$ is 
the restriction (i.e., the composition of the inclusion of $\wTF$ into $\wTFe$ with $\widetilde{Z}^w$). \qed

In light of the result above and because this paper focuses on the space $\wTFe$, we are going to drop the tildes from $\widetilde{\calA}^{sw}$ and 
$\widetilde{Z}^w$. For the rest of this paper $\calA^{sw}$ denotes the associated graded space of $\wTFe$ and $Z^w$ a homomorphic
expansion $\wTFe \to \calA^{sw}$.

In the proof above we argued that the values of the punctured vertices can be computed from the values of the vertices which already exist in $\wTF$.
In fact, more is true: the value of the completely thin red vertex is obviously trivial (thin red strands can only support arrow heads, not tails, hence no
arrow diagram can live on a completely thin red skeleton). Moreover, the value of the left punctured vertex turns out to be trivial as well. 
This fact will be useful later, so we prove it here.

\begin{lemma}\label{lem:pV} For any homomorphic expansion $Z^w$, $Z^w\Big(\raisebox{-2mm}{\input{figs/PunctVertex.pstex_t}}\Big)=1$, 
that is, the $Z^w$-value of a left punctured vertex is 
trivial, save for possibly short arrows supported on the right strand.
\end{lemma}

\begin{proof}
 Recall from \cite[Proof of Theorem 4.9]{Bar-NatanDancso:WKO2} that the $Z^w$-value of the (positive, not punctured) vertex $V$ can be written as
 $V=e^be^{t}$, where $b$ consists of wheels only and $t$ (denoted $uD$ in \cite{Bar-NatanDancso:WKO2}) consists of trees. Puncturing the left strand
 of $V$ kills all arrow diagrams with tails on the left. This is almost everything: diagrams that survive are only wheels and short arrows supported entirely on the 
 right strand, and arrows pointing from the right to the left. (Note: if all tails of a tree are supported on one strand, then the tree
 is a single arrow, otherwise it is killed by the anti-symmetry of the trivalent arrow vertices.) Observe that all of the surviving arrow diagrams commute with each other.

 Let us then denote the value of the punctured vertex by $p_1V=e^{p_1(b)}e^{p_1(t)}$. Recall that $V$ must satisfy the ``unitarity'' equation \cite[Equation (12)]{Bar-NatanDancso:WKO2}: $V\cdot A_1A_2(V)=1$, where $A_i$ denotes the adjoint operation performed on strand $i$.
 Hence we have $p_1V\cdot A_1A_2(p_1 V)=1$. Since wheels have only tails, $A_1A_2(p_1(b))=p_1(b)$. Each arrow has one head, 
 so $A_1A_2(p_1(t))=-p_1(t)$. Hence, using commutativity, $p_1V\cdot A_1A_2(p_1 V)=e^{2p_1(b)}=1$, which implies that $p_1(b)=0$.
 As for $p_1(t)$, showing that there are no arrows pointing from the right to the left strand is a direct computation in degree 1.
 
 In \cite[Proof of Theorem 4.9]{Bar-NatanDancso:WKO2} we showed that short arrows supported on one strand of $V$ don't affect whether $Z^w$ 
 is a homomorphic expansion. In other words, if $Z^w$ is a homomorphic expansion and $a$ is a linear combination of such short arrows, then
 replacing $V$ by $e^a V$ gives rise to another homomorphic expansion. In this sense short arrows are unimportant in the
 value of $V$, and when they don't exist then $p_1V=1$. \qed
 \end{proof}




%--------------------------------------------------------------------------------------------------------





\section{Proof of Theorem \ref{thm:main}}\label{sec:Proof}

\subsection{Tree level proof of Part (1): $Z^u$ determines $V^{tree}$.}\label{subsec:Part1TreeProof}
Let $\calA^{tree}$ denote the quotient of $\calA^{sw}$ by all wheels, and let $\pi:\calA^{sw} \to \calA^{tree}$ denote the quotient 
map (cf \cite[Section 3.2]{Bar-NatanDancso:WKO2}). Part (1) of the main theorem states that if a ``global'' homomorphic expansion $Z$ 
exists, then it is determined by $Z^u$, in other words, $Z^w$ is determined by $Z^u$. $Z^w$ on the other hand is given by the values 
$V$ and $C$ of the positive vertex and the cap \cite[Sections 4.3 and 4.5]{Bar-NatanDancso:WKO2}, so one only needs to show that $V$ and $C$ are
determined by $Z^u$. Proving this ``on the tree level'' means showing only that $\pi(V)$ and $\pi(C)$ are determined by $Z^u$. We prove this
partial result first since this contains the main idea without any clouding details. In particular, observe that since $C$ consists entirely of wheels
(Fact \ref{fact:CapIsWheels}) we have $\pi(C)=1$, so we only need to study $\pi(V)$.

\parpic[r]{\input{figs/Buckle.pstex_t}}
Let $B^u$ denote the ``buckle'' $\sKTG$, as shown on the right (ignoring the dotted lines). All edges are oriented up, and by the drawing conventions
of \cite[Section 4.6]{Bar-NatanDancso:WKO2} all the vertices in the bottom half of the picture are negative and all the ones in the top half are positive. 
Let $B^w=a(B^u)$ be the corresponding element of $\wTFe$. Let $\beta^u:=Z^u(B^u)$, and
note that $\beta^u$ can be thought of as a chord diagram on four strands, as VI relations can be used to push all chord endings
to the ``middle'' of the skeleton (between the dotted lines on the picture). We use the shorthand abusive notation $\beta^u \in \calA^u(\uparrow_4)$,
even though four vertical strands don't form an $\sKTG$. 
Let $\beta^w=\alpha(\beta^u)$, and note that by the homomorphicity of $Z$ 
we also have $\beta^w=Z^w(B^w)$. We are going to perform a series of operations on $B^w$ and $\pi(\beta^w)$ which will allow us to recover $\pi(V)$ from it.

First, `multiply' $B^w$ by a positive vertex at the bottom, as shown in Figure \ref{fig:BuckleToV}. This is 
a circuit algebra operation, and correspondingly $\pi(\beta^w)$
is ``circuit algebra multiplied'' by $\pi(V)$, where $V$ is the value of the vertex. Then unzip the edge marked by $u$, and puncture the edges marked $e$ and
$e'$ (in that order). Then attach a cap to the thick black end at the bottom. This is a circuit algebra operation; keep in mind that image of the value
of the cap is trivial in $\calA^{trees}$. Finally, perform a disc unzip on the cap, followed by unzipping the red strand marked by $u$.

\begin{figure}[h]
 {\input{figs/BuckleToV.pstex_t}}
 \caption{From the ``buckle'' to the vertex.}
 \label{fig:BuckleToV}
\end{figure}

Let us call the resulting w-tangled foam $K$, as in Figure \ref{fig:BuckleToV}.
What is $Z^w(K)$? Due to the homomorphicity of $Z$, it is obtained from $\beta^w$ by performing the series of operations
described above. Unfortunately, one of these operations was multiplication by $\pi(V)$, which is what we are trying to compute. However, notice that 
the left strand of that vertex later got punctured, and hence by Lemma \ref{lem:pV} its value cancels, save for possible short arrows on its right strand. In turn, these cancel when the right strand is capped.
 Hence, $Z^w(K)$ can be computed from $\beta^w$ by performing punctures and unzips, and since 
$\beta^w=\alpha(\beta^u)$, this means that $Z^w(K)$ is determined by $Z^u$.

On the other hand, note that the space of chord diagrams on the skeleton of $K$ is the space $\calA(\uparrow_2)$ by Lemma \ref{lem:CapString}. 
Also note that the $Z^w$-value of $K$ in
$\calA^{tree}(\uparrow_2)$ is exactly $\pi(V)$. Hence, $\pi(V)$ is determined by $Z^u$ as needed, so $Z^u$ determines $Z^w$ on
the tree level. \qed


%----------------------------------------------------------------------------------------------------------



\subsection{Complete proof of Part (1): $Z^u$ determines V and C}\label{subsec:Part1Proof}
The main idea of the complete proof is the same as in the tree level proof: we compute $Z^w$ from $\beta^u$. This amounts
to computing the $Z^w$-value of the foam $K$ of Figure~\ref{fig:BuckleToV} two ways: from $\beta^w=\alpha(\beta^u)$ and from $V$ and $C$.
Then we use the resulting equation to solve for $V$ and $C$. However, now with one equation and two unknowns, we need some additional information,
and this is provided by the Cap Equation \cite[Equation (13)]{Bar-NatanDancso:WKO2}. Recall that the Cap Equation is a relationship between 
$V$ and $C$ which $Z^w$ must satisfy in order to be homomorphic with respect to disc unzip. The equation is shown on the left side of 
Figure~\ref{fig:CapEqn}.
\begin{figure}
 \input{figs/CapEqn.pstex_t}
 \caption{The Cap Equation and an implication. ***FIX: JUST CANCEL uC ON THE LEFT, NO REARRANGE NEEDED!***}\label{fig:CapEqn}
\end{figure}

Reverse the first strand of the cap equation and connect the
two strands as shown in Figure~\ref{fig:CapEqn}. Note that Fact~\ref{fact:CapIsWheels} implies that $\calA^{sw}$ of a single
strand capped on both ends is isomorphic to $\calA^{sw}(\upcap)$, hence we can ignore the cap at one end of the strand,
as in Figure~\ref{fig:CapEqn}. Due to the commutativity of $\calA^{sw}(\upcap)$, we can rearrange the left side so that 
$S_{1}u(C)$ is at the bottom, as shown.
Note that for any arrow diagram $D$, $S_1(u(D))=1$
when placed on a U-shaped strand as in Figure~\ref{fig:CapEqn}, by defitition of the unzip operation, so $S_{1}u(C)$ cancels.
On the right side, recall from \cite[Section 4.5.3]{Bar-NatanDancso:WKO2} that by the CW relation
$C$ is even (i.e. consists of even wheels only). Hence, $S_1(C)=C$. 

Recall from the tree level proof (Section~\ref{subsec:Part1TreeProof} 
that $Z^w(K)=u(C)\cdot p_1p_3(\beta^w) \in \calA^{sw}(\uparrow_2)$, where $p_1$ and $p_3$ stand for punctures of the first and third strands of $\beta^w$.
On the other hand, computing $Z^w(K)$ directly from $V$ and $C$, its value is a vertex multiplied by two caps in $\calA^{sw}(\uparrow_2)$, as 
shown in Figure \ref{fig:Part1Proof}, and these two results are equal by the compatibility of $Z^w$ with $Z^u$.

\begin{figure}
\input figs/Part1Proof.pstex_t
\caption{Proof of Part 1 of Theorem \ref{thm:main}.}\label{fig:Part1Proof}
\end{figure}

Now reverse strand 1, connect the two strands and cap the top, as shown in Figure~\ref{fig:Part1Proof}. As before, 
$u(C)$ cancels on the left hand side, and on the right we get $C^4$ since $S_1(V)=C^2$ in $\calA^{sw}(\upcap)$.
Hence, we have computed $C$ from $\beta^w$. Now plugging the value of $C$ into the left side equation of Figure~\ref{fig:Part1Proof},
we find $V$, hence we have computed $V$ from $\beta^w$. The claim of Theorem\ref{thm:main} was that we can compute $V$
from associators: indeed, it is easy to write $\beta^w$ in terms of associators, as we shall see shortly in Section~\ref{subsec:AETFormula}.\qed



%-----------------------------------------------------------------------------------------------------------



\subsection{Proof of Part (2): the explicit formula}\label{subsec:AETFormula}
We compute $V$ from $\Phi$ following the method of the proof of Part (1).
We start with computing $\beta^u$. $B^u$ is the closure of the parenthesized braid $B^{b}$ shown
in Figure~\ref{fig:BuckleBraid}, therefore it is enough to compute $\beta^b:=Z^b(B^b)$. The result can be read 
off the picture in Figure~\ref{fig:BuckleBraid}:
$$\beta^b=\Phi^{-1}_{(13)24}\Phi_{132}R_{32}\Phi^{-1}_{123}\Phi_{(12)34}.$$
To interpret this formula, recall that the associator $\Phi$ is an element of $\calA^{hor}(\uparrow_3)$, and the subscripts show which strands
diagrams are placed on (this is often done in the literature using superscripts instead). For example, the notation $\Phi^{-1}_{(13)24}$ 
means doubling the first strand of $\Phi^{-1}$ and placing the resulting chord endings on starnds 1 and 3, as well as placing the chord endings from the 
other two strands of 
$\Phi^{-1}$ on strands 2 and 4. Also recall that $R=e^{c/2}$, where $c$ is a single horizontal chord between two strands (and in this 
case $R_{32}$ means that this chord runs between strands 3 and 2). Note that in figures we number the strands at the top and read multiplication bottom to top.

\begin{figure}
 \input{figs/BuckleBraid.pstex_t}
 \caption{Computing $\beta^b$.}\label{fig:BuckleBraid}
\end{figure}

As $\beta^u$ is the tree closure of $\beta^b$, it is given by the same formula interpreted as an element of $\calA^u(\uparrow_4)$. 
In turn, $\beta^w=\alpha(\beta^u)$, and to compute $\pi(V)$, we
puncture strands 1 and 3 of $\beta^w$, and cap strands 2 and 4. 
Note that $p_3\alpha(R_{32})=e^{a_{23}/2}$, where $a_{23}$ is a single arrow pointing from strand 2 to strand 3.

Recall that $\Phi_{123}$ is a horizontal chord associator which can be expressed as a power series in non-commuting
variables $c_{12}$ and $c_{23}$ (i.e., chords between strands 1---2 and 2---3, respectively). The image of $\Phi$ in the quotient
where $c_{12}$ and $c_{23}$ commute is 1. Hence, $p_1p_3(\alpha\Phi^{-1}_{123})= 1$, as the punctured strands can only support heads,
and tails on the middle strand commute by TC. Similarly, $p_1p_3(\alpha\Phi_{132})=1$ because the punctures kill the entire ``left side'' of the 
associator (that is, $p_1p_3\alpha (c_{13})=0$).

Thus $p_1p_3(\beta^w)$ can be expressed as $\alpha(\Phi^{-1}_{(13)24}) e^{a_{23}/2} \alpha(\Phi_{(12)34})$. Since strands 1 and 3 are punctured, no arrows 
can be supported between these strands, hence $p_1p_3\alpha(\Phi_{(12)34})=p_1p_3\alpha(\Phi_{234})$.

Observe that the punctured strand 3 can only support  
arrow heads. 
Expressing $\Phi$ as a power series in two variables, $\Phi_{234}=\Phi(c_{23}, c_{34})$, and $p_1 p_3 \alpha (\Phi(c_{23},c_{34}))=\Phi(a_{23},a_{43})$,
where $a_{23}$ is an arrow pointing from strand 2 to strand 3, and $a_{43}$ is an arrow pointing from strand 4 to strand 3. Similarly,
$\Phi^{-1}_{(13)24}=\Phi^{-1}(c_{(13)2},c_{24})$, where $c_{(13)2}=c_{12}+c_{32}$. In turn, by a property of associators, $\Phi^{-1}(c_{(13)2},c_{24})=
\Phi^{-1}(c_{(13)2},-c_{(13)2}-c_{(13)4})$, and so $p_1 p_3 \alpha \Phi^{-1}_{(13)24}= \Phi^{-1}(a_{2(13)},-a_{2(13)}-a_{4(13)})$.

To summarise, 
\begin{equation}\label{eq:wBuckle}
p_1p_3\beta^w = \Phi^{-1}(a_{2(13)}, -a_{2(13)}-a_{4(13)}) \cdot e^{a_{23}/2} \cdot \Phi(a_{23},a_{43}).
\end{equation}
 Applying the 
isomorphism $\varphi$ of Lemma~\ref{lem:CapString} results in an arrow diagram on two strands. To obtain $V$, this result is multiplied by the appropriate cap values as in Figure~\ref{fig:Part1Proof}, namely $C^{-1}$ on each strand followed by $u(C)$. This gives the formula stated in Theorem~\ref{thm:main}. To make the formula truly explicit, the value of $C$ could be computed at this point from the reasoning of Figure~\ref{fig:Part1Proof}, but we skip this step here and will later see that it is in fact $\alpha(\nu^{1/4}),$ where $\nu$ is the Kontsevich integral of the unknot. 
 
 
To match this with the \cite{AlekseevEnriquezTorossian:ExplicitSolutions} formulas, first note that those only concern the tree-level part $\pi(V)$. To be more precise,
let $V=e^be^{u(D)}$ as in Section 4.4 of \cite{Bar-NatanDancso:WKO2}, where $b$ is a ``power series'' of wheels in the sense of Fact~\ref{fact:CapIsWheels}, 
and $u(D)$ is a primitive element in $\calA^{tree}$. Then $F=e^{D}\in TAut_2$
is a solution to the Kashiwara-Vergne problem in the sense of 
\cite{AlekseevEnriquezTorossian:ExplicitSolutions}. For details see\footnote{There are some notational differences between
\cite{AlekseevTorossian:KashiwaraVergne} and \cite{AlekseevEnriquezTorossian:ExplicitSolutions}, hence we don't switch strands here as we did in \cite{Bar-NatanDancso:WKO2}.
The value $V$ and associator $\Phi$ are the same throughout this series of papers, in particular they agree with \cite{Bar-NatanDancso:WKO2} and \cite{Bar-Natan:WKO4}.
For computatinal implementation and verifications see \cite{Bar-Natan:WKO4}.} Section~4 of \cite{Bar-NatanDancso:WKO2}.
Thus, to match our formulas to those of \cite{AlekseevEnriquezTorossian:ExplicitSolutions}, we only need to worry about $\pi(V)$.

The main task is to compute the isomorphism $\varphi$ of
via Lemma~\ref{lem:CapString} explicitly. The first strand of $\calA^w(\uparrow_2)$ joins strands 1 and 2 in a vertex, and the second strand of $\calA^w(\uparrow_2)$
joins strands 3 and 4. Let us call the two strands of $\calA^w(\uparrow_2)$ strand $I$ and strand $II$ to avoid confusion.
Recall from the construction of $\phi$ in Lemma~\ref{lem:CapString} that one first slides arrow tails ``up'' through the vertices from the capped strands 2 and 4 (according to the forulas above there are no arrow heads on the capped strands), then one slides all the heads up from the punctured 
strands 1 and 3. Hence, one obtains an element of $\calA^w(\uparrow_2)$ in which all arrow heads are below all tails on both strands. The result of this process is
shown in Figure~\ref{fig:ValueV}. 

\begin{figure}
 \input figs/ValueV.pstex_t
 \caption{The value of $\pi(V)$ in terms of associators. Here $\Phi^{-1}_1$ stands for all the arrow heads on strand 1 
 in $\Phi^{-1}(a_{2(13)}, -a_{2(13)}-a_{4(13)})$. Similarly $\Phi^{-1}_2$ denotes the arrow tails on strand 2 in the same formula, 
 $\Phi_2$ stands for the arrow tails on strand 2 of $\Phi(a_{23},a_{43})$, etc.}\label{fig:ValueV}
\end{figure}


Next, we need to find the corresponding element $F\in \TAut_2$, and check that it agrees with the formula of 
\cite[Theorem 4]{AlekseevEnriquezTorossian:ExplicitSolutions}. According to this formula\footnote{There are sign differences from \cite{AlekseevEnriquezTorossian:ExplicitSolutions}
due to notational misalignment, for example our $\Phi$ is \cite{AlekseevEnriquezTorossian:ExplicitSolutions}'s $\Phi^{-1}$. Our notation is consistent with all other papers in
this series and the formulas are computationally verified in \cite{Bar-Natan:WKO4}.}, 
\begin{equation}\label{eq:AET}
F=(\Phi^{-1}(x,-x-y),e^{-(x+y)/2}\Phi(-x-y, y)e^{y/2}),
\end{equation}
meaning that if $x$ and $y$ are the generators 
of the degree completed free Lie algebra $\lie_2$, then $F$ conjugates $x$ by $\Phi^{-1}(x,-x-y)$, and conjugates $y$ by $e^{-(x+y)/2}\Phi(-x-y,y)e^{y/2}$.

Section 3.2 of \cite{Bar-NatanDancso:WKO2}
described the relationship between the primitives of $\calA^w(\uparrow_n)$ and $\tder_n$ in detail. Familiarity with those results will be helful,
but we summarize the relevant facts about the relationship between $\calA^w(\uparrow_2)$ and $\TAut_2$ below.

\begin{figure}
$ \xymatrix{
 \calU(\lie_2^2)  \ar[dd]^{L} 
 & \calU(\lie_2^2)_{exp}  \ar@{_{(}->}[l]  \ar[dd]^{L} \ar[dr]^{\phi}
 \\ & & \TAut_2  \\
 \calA^w(\uparrow_2) 
 & \calA^w(\uparrow_2)_{exp}  \ar@{_{(}->}[l] \ar[ur]^{\xi}
 }$
\end{figure}

The map $\phi$ is the interpretation map assumed in Formula~ (\ref{eq:AET}): an element $(e^{\lambda_1}, e^{\lambda_2}) \in \calU(\lie_2^2)_{exp}$
is mapped to the automorphism of $\lie_2$ which sends the generator $x$ of $\lie_2$ to $e^{-\lambda_1} x e^{\lambda_1} $, and the generator $y$
to $e^{-\lambda_2} y e^{\lambda_2} $. Beware: this is not a group homomorphism! In other words, composition in $\TAut_2$
is {\em not} given by piecewise multiplication of the conjugators.

The map $L$ is defined as follows. A primitive element $(\lambda_1,\lambda_2)$ of $\lie_2^2$ can be represented by 
a linear combination of ``floating trees'' with symmetrized ends coloured by the symbols $x$ and $y$. A ``floating tree''
is an oriented uni-trivalent graph with two-in-one-out vertices equipped with a cyclic orientation. The leaves (tails) are coloured
by the symbols $x$ and $y$, and hence modulo $\aAS$ and $\aIHX$ each tree corresponds to an element in $\lie_2$. The heads are also
coloured by $x$ or $y$, so there are two kinds of such trees, that is, two factors of $\lie_2$. In other words, $\lambda_1$ represents a (possibly infinite)
linear combination of trees whose head is coloured by $x$ and $\lambda_2$ represents a linear combination of trees whose head is coloured by $y$. (Cf.\
primitive elements of $\calB^w_2$ as in \cite{Bar-NatanDancso:WKO2}[Theorem 3.16] and the discussion following it.)

Floating trees can be mapped into $\calA^w(\uparrow_2)$ by ``attaching its ends'' to the appropriate strands, namely, the ends labelled $x$ to 
first strand and the ends labelled $y$ to the second strand. There is a choice involved in where to attach the head of the tree in relation to the tails on
the same strand. In \cite{Bar-NatanDancso:WKO2}[Proof of Proposition 3.19] we defined a map $l$ which attaches the head of each tree below 
({\em l}ower than) all of its tails; $l$ is a Lie algebra map from $\lie_2^2$ to the primitives of $\calA^w(\uparrow_2)$. 

The map $L$ is an extension of $l$ to $\calU(\lie_2^2)$: an element of $\calU(\lie_2^2)$ is a sum of products (disjoint unions) of coloured trees and $L$
attaches the ends to the appropriate strands by attaching {\em all of the arrow heads} in a product below all of the arrow tails. Beware: $L\neq exp(l)$, and 
$L$ is not a homomorphism of algebras or groups.

However, the maps $L$ and $\phi$ fail to be group homomorphisms ``in exactly the same way'': there is a group 
homomorphism $\xi: \calA^w(\uparrow_2)_{exp} \to \TAut_2$ which makes the triangle commute. The map $\xi$ is the exponential of the 
action of the primitives of $\calA^w(\uparrow_2)$ on $\lie_2$ described in the ``Conceptual argument'' for \cite{Bar-NatanDancso:WKO2}[Proposition 3.19].
Namely, an element $D \in \calA^w(\uparrow_2)_{exp}$ acts on $\lie_2$ the following way. Add an extra strand. Reresent an element $v \in \lie_2$ by
a tree whose head is on the extra strand (more precisely, a linear combination of such trees). Its conjugae $D^{-1}vD$ is once again a linear
combination of such trees, defined to be the output of the action. The reader can check that this is indeed a hoomorphism and it makes the 
triangle commute.

Now we are ready to compute how $\pi(V)\in \calA^w(\uparrow_2)$ acts on the generator $x$ of $\lie_2$ and match this to the formula \ref{eq:AET}. 
Recall the value of $\pi(V)$ shown in Figure~\ref{fig:ValueV}. The generator $x$ is represented by an arrow from the first strand to the added third
strand, and the result of the action is $\pi(V)^{-1}x\pi(V)$, as shown in Figure~\ref{fig:ActOnx}. To compute this, one commutes the tail of $x$
up to the top of the strand across $\pi(V)$ using $\aSTU$ relations. At the end of this process, $\pi(V)$ and $\pi(V)^{-1}$ cancel, and the result 
of the action remains. Observe that due to the $TC$ relation, only the heads on strand I act on $x$, in other words the action is by 
$\Phi^{-1}_{124}=\Phi^{-1}(a_{21},-a_{21}-a_{41})$, arranged on strands I and II as shown in Figure~\ref{fig:ValueV}. An $L$-preimage of
this element is exactly $\Phi^{-1}(x,-x-y)$ in the first component, as in Formula~(\ref{eq:AET}).

\begin{figure}
 \input figs/ActOnx.pstex_t
 \caption{The action of $\pi(V)$ on the generator $x$ of $\lie_2$.}\label{fig:ActOnx}
\end{figure}

As for the action of $F$ on $y$, using the expression of Figure \ref{fig:BuckleBraid} results in a formula different from but equivalent 
to (\ref{eq:AET}). To obtain (\ref{eq:AET}), one needs to use a different expression of the ``buckle braid'' $\beta^b$, as shown in
Figure~\ref{fig:BuckleBraid2}.

\begin{figure}
 \input{figs/BuckleBraid2.pstex_t}
 \caption{A different expression of $\beta^b$.}\label{fig:BuckleBraid2}
\end{figure}

Simplifying the formula as before, we have that after the cap and puncture operations $R_{(13)(24)}=e^{a_{(24)(13)}/2}$, $\Phi^{-1}_{(24)13}=1$, 
$\Phi_{241}=\Phi(-a_{41}-a_{21},a_{41})$, $R^{-1}_{14}=e^{-a_{41}/2}$, $\Phi^{-1}_{214}=\Phi^{-1}(a_{21},a_{41})$, $\Phi_{(21)43}=\Phi(-a_{43}-a_{23},a_{43})$,
$R^{-1}_{12}=e^{-a_{21}/2}$, and $R^{-1}_{34}=e^{-a_{43}/2}$.

Using Lemma~\ref{lem:CapString} slide arrow endings up to strands I and II, first from strands 2 and 4, then from strands 1 and 3. Since we are computing the
action on $y$, the only part of the result which matters is arrow heads on strand II. These all come from strand 3, namely, read from bottom to top
they are $e^{(a_{23}+a_{43})/2}$, followed by $\Phi(-a_{43}-a_{23},a_{43})$, followed by $e^{-a_{43}/2}$. Taking the $L$-preimage we obtain 
$e^{(x+y)/2}\Phi(-x-y,y)e^{-y/2}$, as stated in Formula~\ref{eq:AET}.



%--------------------------------------------------------------------------------------------------




\subsection{Proof of part (3): the double tree construction.}\label{subsec:DT}

What remains is to prove that the values of $V$ and $C$ above indeed give rise to a homomorphic expansion of $\wTFe$. Unfortunately, checking 
directly that they satisfy all necessary equations is very difficult.

Note that most of the equations arise from relations that assert an equality between different planar algebra compositions of generators. For example,
the crucial $R4$ relation is of this kind. Hence, life would be much easier if $Z^u$ were to be a planar algebra map. This unfortunately makes no sense, 
as $\sKTG$ is not a planar algebra but a different, more complicated algebraic structure. The reader might ask, why work with a space as inconvenient
as $\sKTG$ instead of, say, the planar algebra of ordinary trivalent tangles? 
The answer is that the existence of a homomorphic expansion is a highly non-trivial property that is not guaranteed, and in particular 
ordinary trivalent tangles do not have one. Even without trivalent vertices, ordinary tangles, or u-tangles, do not have have a homomorphic expansion. 
Only {\em parenthesized tangles} (a.k.a. {\em q-tangles}) do, and in fact these are almost equivalent to $\sKTG$. 

Nonetheless, ``wishing that $Z^u$ were a planar algebra map'' leads 
to the following strategy: we map ordinary trivalent tangles into $\sKTG$ via a {\em double tree} construction, 
and use this to define $Z^w$ for the $a$-image of all usual trivalent tangles. Then we'll use the planar algebra structure to prove that this $Z^w$ is a 
homomorphic expansion, and finally show that this $Z^w$ is 
in fact the same as the one arising from part (1).

We start by defining usual trivalent tangles,  to be denoted $\uTT$: 
\[
  \uTT:=\PA\!\left.\left\langle
  \raisebox{-2mm}{\input{figs/uTTgens.pstex_t}}
  \right|
  \parbox{1.3in}{\centering \Rs, R2, R3, R4}
  \right\rangle
\]
Here $\PA$ stands for {\em planar algebra}, which in our context is the algebraic structure similar to a circuit algebra, but with {\em planar} wiring diagrams.
This is a slightly more simple-minded notion than the standard use of the term in the literature,
in particular we do not use checkerboard shadings.
The elements of $\uTT$ can be seen as usual (i.e., classical) trivalent tangles with signed vertices 
and no virtual crossings, modulo all of the relations which make sense in this context.


\begin{figure}
\input{figs/dt.pstex_t}
\caption{The {\em double tree map}:  
connect the ends of $T$ by two binary trees (hence ``double tree''), as shown. Note that the tree on the left
always crosses over the tree on the right, and all edges of both trees are oriented towards $T$. }\label{fig:dt}
\end{figure}

We define a {\em double tree} map $\doubletree: \uTT \to \sKTG$, as in Figure \ref{fig:dt}.
The map $\doubletree$ depends on two choices of binary trees: in Figure \ref{fig:dt} we chose a particular example.
It is important that, regardless of this choice, the ``left side'' tree always crosses over the ``right side'' tree.
We will demonstrate that in fact the choice of trees becomes irrelevant after some post-compositions, as in Equation (\ref{eq:dt}). 

Working towards a construction of $Z^w$, we post-compose $\doubletree$ with the following sequence of maps:
\begin{equation}\label{eq:dt}
T\in \uTT \stackrel{\doubletree}{\longrightarrow}\sKTG\stackrel{Z^u}{\longrightarrow}\calA^u(\doubletree(T))
\stackrel{\alpha}{\longrightarrow}\calA^{sw}(\doubletree(T))\stackrel{C,u,p}{\longrightarrow}
\calA^{sw}(\check{T})\cong\calA^{sw}(T).
\end{equation}
Here $T$ stands for an arbitrary tangle in $\uTT$. The double tree construction maps $T$ into $\sKTG$, and by applying $Z^u$ one
obtains a value in $\calA^u$, namely a chord diagram on the skeleton of $\doubletree(T)$. We 
denote the space of chord diagrams on this skeleton by $\calA^u(\doubletree(T))$.
Now $\alpha$ maps this to arrow diagrams on the skeleton of $\doubletree(T)$, that is, $\calA^{sw}(\doubletree(T))$.
In order to revert the skeleton back to that of $T$, we apply some operations in $\calA^{sw}$: a cap attachment, unzips and punctures (as shown in Figure \ref{fig:pCu} and 
explained in the next paragraph), resulting in a slightly modified version of the desired skeleton, denoted $\check{T}$. Finally, we use that 
$\calA^{sw}(\check{T})\cong\calA^{sw}(T)$ via the isomorphism of Lemma~\ref{lem:CapString}, and hence we obtain
a value in $\calA^{sw}(T)$, as needed.
Note that the proof of Lemma~\ref{lem:CapString} applies even though the punctured strands all connect in a binary tree: $VI$ relations can be used as part of the isomorphism. 


\begin{figure}
\input{figs/pCu.pstex_t}
\caption{The punctures, caps and unzips. While these operations are applied in $\calA^{sw}$,  
the picture only shows the effect on the skeleton.}\label{fig:pCu}
\end{figure}

The puncture, cap and unzip operations are done in the following order: first attach a cap -- a capped strand with no arrows on it -- to the end of the right vertical strand:
this is a circuit algebra operation in $\calA^{sw}$. If $T$ has $n$ ends, perform $(n-1)$ consecutive disc unzips on the right vertical strand, 
as shown in Figure~\ref{fig:pCu}. Then puncture the strand marked with ``1'' on the left of 
Figure~\ref{fig:pCu}. Then puncture strands 2, 3, and 4 in that order, and recall that these punctures also spread to the connecting diagonal
strands, as in Figure~\ref{fig:punctures}. Punctures could be done in any other ``legal'' order without changing the result.
Note that since the punctured tree had originally always crossed over the 
capped tree, these crossings become virtual after puncturing, hence the equality in Figure~\ref{fig:pCu}. 

Let us denote the composition of the maps and operations shown in Equation (\ref{eq:dt}) by $\xi$, that is, 
$\xi=\varphi \circ p\circ u \circ C\circ \alpha\circ Z^u \circ \doubletree$, where $\varphi$ denotes the isomorphism of Lemma~\ref{lem:CapString}. To summarise, $\xi(T)\in \calA^{sw}(T)$. The next task is to show that $\xi(T)$ is well-defined,
namely, it doesn't depend on the choice of binary trees.

\begin{lemma}\label{lem:TreeChange}
 The choice of binary trees in the double tree construction does not affect $\xi(T)$.
\end{lemma}

\parpic[r]{\input figs/IH.pstex_t }
{\em Proof.}
 Any binary tree can be changed into any other binary tree via a sequence of ``I to H'' moves, as shown on the right.
 Hence, it is enough to analyze how an I to H move on one of the trees affects the value of $Z^u(\doubletree(T))$,
 and prove that the difference does not ``survive'' the cap and puncture operations. 
 
 \parpic[r]{\input figs/IHPhi.pstex_t }
 Suppose $\tau_1$ and $\tau_2$ are two binary trees which differ by a single I to H move, and let $\doubletree_{\tau_1}$ 
 and $\doubletree_{\tau_2}$ denote the two resulting double-tree maps,
 assuming the tree on the other side is the same. The 
 I to H move can be realised by inserting\footnote{ See \cite[Section 4.6]{Bar-NatanDancso:WKO2} for a detailed description of tangle insertion in $\sKTG$.} an associator, followed by unzipping first the edge marked `1' on the right,
 then the edge marked `2'. Hence, by the homomorphicity of $Z^u$, 
 the values $Z^u(\doubletree_{\tau_2}(T))$ and $Z^u(\doubletree_{\tau_1}(T))$, only differ in an 
 inserted horizontal chord associator $\Phi$ on the three strands involved.
 In sloppy notation, $Z^u(\doubletree_{\tau_2}(T))=Z^u(\doubletree_{\tau_1}(T))*\Phi$.
 If the I to H move was done on the left side tree, then all the strands involved are later punctured, killing any arrow diagram that
 lived on them by the TF relation. As a result, the only surviving part of $\Phi$ is its constant term, 1, and the resulting values of 
 $\xi$ are equal.
 
 \parpic[r]{\input figs/RightTree.pstex_t }
 If the I to H move is done on the right side tree, then the all participating strands 
 are capped and disk unzipped. Arrow heads adjacent to a cap are zero by the CP relation,
 but there may be other arrow endings separating $\alpha(\Phi)$ 
 from the caps, preventing it from being eliminated. To get around this roblem we use the trick shown on the right: 
 an equivalent way to construct the right side tree of $\doubletree_{\tau_2}(T)$ is to attach $\tau_1$ under $T$, then $\tau_1$
 upside down (denoted $\overline{\tau_1}$), then $\tau_2$. Unzip the edge connecting 
 $\tau_1$ and $\overline{\tau_1}$ several times until all vertices of $\tau_1$ are gone,
 the result is just straight lines connecting $T$ and $\tau_2$, that is, 
 $\doubletree_{\tau_2}(T)$. 
 
 \parpic[r]{\input figs/TwoTrees.pstex_t }
 Now recall that $\tau_2$ is obtained from $\tau_1$ by inserting an associator (and unzipping). In the language of \cite[Section 5.2]{Bar-NatanDancso:WKO2},
 $\overline{\tau_1}\tau_2$ consists
 of some ``nested bubbles'', with a single associator inserted, as shown on the right. This implies\footnote{Since $Z^u$ of the bubble is trivial 
 and $Z^u$ commmutes with insertions, see \cite[Section 5.2]{Bar-NatanDancso:WKO2}.} that the only chords in $Z^u(\overline{\tau_1}\tau_2)$ are the ones in $Z^u(\Phi)$.
 Hence, after the cap attachment and disk unzips, $\alpha(\Phi)$ is directly adjacent to the caps, and since
 $\Phi$ is a horizontal chord associator, all positive degree parts of $\alpha(\Phi)$ canel due to
 the CP relation. This concludes the proof. \qed
 
 \vspace{2mm}
 
There is an action of $\bbZ/n\bbZ$ on elements of $\uTT$ with $n$ ends, by cyclic permutations of the ends.
The following lemma will be useful later in proving that $Z^w$ is a planar algebra map; we present it now because its proof 
is similar to that of Lemma~\ref{lem:TreeChange}.

\begin{lemma}\label{lem:CyclicPerm}
 The map $\xi$ is invariant under cyclic permutation of the ends of $T$.
\end{lemma}

\begin{proof}
To show that $\xi(T)$ is ivariat under cyclic permutations of ends of $T$, 
it is enough to show that $\xi(T)$ does not change when the rightmost end of $T$ is moved to the far left (denote this by $\sigma T$),
as shown in the left versus middle pictures of Figure \ref{fig:welldef}. 

\begin{figure}
 \input figs/WellDef.pstex_t
 \caption{Double tree construction for cyclically permuted ends of $T$.}\label{fig:welldef}
\end{figure}

The rightmost picture of Figure \ref{fig:welldef} is equivalent as $\sKTG$s to $\doubletree(\sigma T)$. It differs from 
$\doubletree(T)$ in three ways: 
\begin{itemize}
\item the binary trees connecting the ends of $T$ are different; 
\item two tree branches 
are connected to the trunk ``on the wrong side'', that is, these trivalent vertices have opposite cyclic orientation (marked by $*$ in Figure \ref{fig:welldef}); 
\item one tree branch has a kink in it.
\end{itemize}

As before, we need to analyse how $Z^u(\doubletree(\sigma T))$ differs from $Z^u(\doubletree(T))$, and show that the difference
doesn't survive the puncture, cap and unzip operations.

\begin{figure}
\input{figs/WellDef2.pstex_t}
\caption{The difference between $\doubletree(T)$ and $\doubletree(\sigma T)$, understood via insertions.}\label{fig:welldef2}
\end{figure}

To achieve this, we transform $\doubletree(\sigma T)$ into $\doubletree(T)$ using tangle insertions. 
First, cancel the kink by inserting the opposite kink on the same strand,
as shown in Figure \ref{fig:welldef2} in blue\footnote{Or grey in black and white print.}.
As $Z^u$ is compatible with insertion, the $Z^u$
values will differ by the value of a kink: a chord diagram on the one strand involved. 
Later in the process this strand is 
punctured, and no arrow diagram can live on a single punctured strand (TF), so the value of the kink cancels.

Similarly, switching the side that the tree branches are attached on amounts to inserting twists and unzipping the connecting edges, 
as also shown in Figure \ref{fig:welldef2}. Each of these operations changes
the value of $Z^u$ by inserting the value of a twist: $e^{c/2}$, where $c$ denotes a single chord between the appropriate strands. 
Applying $\alpha$ maps this to $e^{(a_L+a_R)/2}$,
where $a_L$ and $a_R$ denote horizontal left and right arrows, respectively. On the left side tree, this cancels after punctures, 
as before. 
On the right side tree, the strand directly underneath the twist is capped and uzipped, and hence the value of the twist cancels by the CP relation.

Now observe that the right side picture of Figure \ref{fig:welldef2} only differs from $\doubletree(T)$ in the choices of binary trees,
which do not change the value of $\xi$ by Lemma \ref{lem:TreeChange}.  \qed
\end{proof}

\begin{lemma}\label{lem:Compatibility}
 If there exists a homomorphic expansion $Z^w$ for $\wTFe$ compatible with $Z^u$,
 then for a tangle $T\in a(\uTT)$, the value $Z^w(T)$ is equal to $\xi(T)$ multiplied by $C^{-1}$ at each 
 end of $T$, where $C$ is the $Z^w$-value of the cap.
\end{lemma}

\begin{proof}
Assume there exists a homomorphic expansion $Z^w$ compatible with $Z^u$. We use, as in Figure~\ref{fig:BigCompat},
the homomorphicity of $Z^w$ and its compatibility with $Z^u$ to show that
$\xi(T)=Z^w(\check{T})$. 

The proof amounts to showing that the four squares, one pentagon and one octagon of the diagram in Figure~\ref{fig:BigCompat} all commute.
Square $(1)$ commutes by the compatibility of $Z^u$ and $Z^w$. In square $(2)$ the top $\cdot C$ map denotes the circuit algebra operation of 
attaching a cap at the bottom right end of the w-foam. The bottom $\cdot C$ map denotes the circuit algebra operation of arrow diagrams, which attaches a 
cap with a value $C$ on the strand, at the same place. The commutativity of this square is implied by the homomorphicity of $Z^w$. Square $(3)$ is commutative
because $Z^w$ commutes with disc unzips. Square $(4)$ commutes because $Z^w$ commutes with punctures.  

To explain the horizontal $Z^w$ arrow of the pentagon $(5)$, note that
since $Z^w$ is a circuit algebra homomorphism, $Z^w(\check{T})$ can be obtained from $Z^w(T)$ 
by attaching the $Z^w$-value of a left-punctured right-capped vertex at each tangle end.
By Lemma \ref{lem:pV} the value of the left-punctured vertex is 1, so the only arrows outside of $Z^w(T)$ are $C$ values at each end, 
as shown. The horizontal isomorphisms of the pentagon are the map $\calA^{sw}(T)\cong \calA^{sw}(\check{T})$ of Lemma \ref{lem:CapString}. The commutativity of the pentagon is obvious.

\begin{figure}
 \input figs/BigCompatibility.pstex_t
 \caption{The compatibility of $Z^w$ with $Z^u$ and various operations. The chords and arrows are schematic indications  
 of chord and arrow diagrams, not actual values.}
 \label{fig:BigCompat}
\end{figure}

\parpic[r]{\input figs/MoveCap.pstex_t }
The commutativity of the octagon $(6)$ would be true by definition, if not for the insertion of the value $C$. However, this cancels after punctures, by
a property of arrow diagrams in the image of $\alpha$, called {\em tail-invariance}.
In short, as long as a w-foam is in the image of $a$, one can slide a strand under it. The arrow diagram implication of this in the current situation is
that the value $C$ in the diagram, which has only tails on the skeleton, can be moved from one tangle end to the other, as shown on the right. Consequently, $C$ cancels when
the left strand is punctured. For details on tail-invariance, see \cite{Bar-NatanDancso:WKO2}, Remark 3.11 and early in Section 3.3. \qed
\end{proof}

\vspace{2mm}

{\bf Strategic preview:} By Lemma~\ref{lem:Compatibility}, if $Z^w$ exists, then one can compute $C$ by evaluating $\xi$ on a single un-knotted strand 
(denote this by $\uparrow$). Since $Z^w(\uparrow)=1$ for any homomorphic expansion, we have $\xi(\uparrow)=C^2$, determining the value of $C$.

To compute the value $V$ of the vertex, which is an element of $\uTT$, evaluate $\xi$ 
on it, then multiply by $C^{-1}$ at each end. We'll need to show that these agree with the values constructed in Part (1), Section~\ref{subsec:Part1Proof}. 
More significantly, we'll have to show that
$Z^w$ is indeed a homomorphic expansion of $\wTFe$. In order to do this,
we'll first show that it is a planar algebra homomorphism, which implies that it satisfies all and deal with the cap equation separately. The compatibility of $Z^w$ 
with $Z^u$ is automatic by design.

We start by computing $\xi(\uparrow)$ and $C$. Recall Fact \ref{fact:CapIsWheels}, which implies that $C$ involves wheels only,
so -- as a reality check -- $\xi(\uparrow)$ must consist only of wheels if it is to equal $C^2$. 

\begin{lemma}\label{lem:xiofstrand}
 For the un-knotted strand, $\xi(\uparrow)=\alpha(\nu^{1/2})$. Here $\nu \in \calA^u(\uparrow)$ 
 denotes the Kontsevich integral of the un-knot, which indeed involves wheels only\footnote{The value of $\nu$ was conjectured in
 \cite{Bar-NatanGaroufalidisRozanskyThurston:WheelsWheeling} and proven in \cite{Bar-NatanLeThurston:TwoApplications}.}.
\end{lemma}

{\em Proof.}
We apply $\doubletree$ to $\uparrow$, as shown in Figure \ref{fig:dtstrand}. Our first goal is to comupte $Z^u(\doubletree(\uparrow))$.
In \cite[Section 5.2]{Bar-NatanDancso:WKO2} we give an algorithm for writing any $\sKTG$ as a ``porduct'' of generators,
and hence expressing its $Z^u$ value in terms of the $Z^u$-values of the generators. To feed $\doubletree(\uparrow)$ into
this algorithm, one needs to ``curve up'' one strand, in this case the strand on the right 
(this choice doesn't affect the outcome). 

The result after applying $\doubletree$ and $Z^u$ are shown in Figure \ref{fig:dtstrand}. The value of $Z^u$ is expressed in terms of
$\Phi$, a horizontal-chord Drinfel'd associator which is the value of the {\em associator graph}, the value of the {\em twist} 
$R=e^{c/2}$ where $c$ is a single chord, and
the values $n$ and $b$ of the {\it noose} and {\it balloon} graphs, respectively. See \cite[Section 4.6]{Bar-NatanDancso:WKO2} for details.

\begin{figure}
 \input figs/dtstrand.pstex_t
 \caption{Double tree composed with $Z^u$, applied to a single strand.}
 \label{fig:dtstrand}
\end{figure}

In $\xi(\uparrow)$, $Z^u$ is followed by $\alpha$, a cap attachment, unzips and punctures. As explained in 
\cite[Section 4.6]{Bar-NatanDancso:WKO2}, there is a one-parameter uncertainty in the exact values of $n$ and $b$, but we do know 
that and $\alpha(b)=e^{a/2}\alpha(\nu)^{1/2}$, and $\alpha(n)=e^{a/2}\alpha(\nu)^{1/2}$. Note that the exponential part of $n$
cancels by the CP relation once the cap is attached. We ``push'' most of the arrow diagrams to the middle four strands using the VI
relation. The result after $\alpha$, cap attachment, unzip and puncture is shown in Figure \ref{fig:dtstrand2} and explained below. 

\begin{figure}
 \input figs/dtstrand2.pstex_t
 \caption{The result after applying $\alpha$, cap, unzips and puncture.}
 \label{fig:dtstrand2}
\end{figure}

Recall that $\alpha$ maps a chord to the sum of its two possible orientations. However, when one supporting strand is punctured, 
only one of these orientations survive. 
Hence, for example, $p_2(\alpha(R_{23}^{-1}))=(e^{-a_{32}/2})$. 
Figure~\ref{fig:dtstrand2} shows a schematic picture of $puC\alpha Z^u\doubletree(\uparrow)$ with exponentials and associators indicated 
by single arrows. To explain the notation for associators, recall that 
$\Phi \in \calA^{hor}(\uparrow_3)$ can be written as a power series in any two of the three generators of $\calA^{hor}(\uparrow_3)$: $c_{12}$,
$c_{23}$ and $c_{13}$. For each associator above, we chose the presentation in which $\alpha(\Phi)$ is of the simplest form. For example, 
we write the top associator $\Phi^{-1}_{13(24)}$ of Figure \ref{fig:dtstrand}
in terms of $c_{13}$ and $c_{1(24)}=c_{12}+c_{14}$, since after the puctures $p_1\alpha(c_{13})=a_{31}$ and $p_1p_2\alpha(c_{1(24)})=a_{41}$.
This is reflected in Figure \ref{fig:dtstrand2} in drawing only these two arrows for this associator.

Now observe that the two arguments of $\alpha(\Phi)_{12(34)}$ commute by the TC relation: strands 3 and 4 support only tails in this associator.
As mentioned before, the value of an associator in the quotient where its two arguments commute is 1, hence $p\alpha(\Phi)_{12(34)}=1$. Next, study
$p\alpha(\Phi^{-1})_{134}$: the tail of an arrow $a_{41}$ can be ``pulled over the top on strand 5'' using the VI relation and the fact that
$e^{-a/2}\alpha(\nu)$ is a local arrow diagram on one strand and hence it is central. So
$a_{41}=a_{31}$, meaning in particular that $a_{41}$ commutes with $a_{31}$, and so $p\alpha(\Phi^{-1})_{134}=1$. Applying the same trick also cancels 
$\alpha(\Phi)_{324}$, and $\alpha(\Phi^{-1})_{234}$. In the latter case note that the tail of $a_{42}$ also commutes with the tails of $\alpha(R^{-1})$.
In summary, all associators cancel.

Next we show that $\alpha(\nu^{1/2})_{(34)}$, which remains from $n$, cancels as well. Since $\nu$ is an exponential of wheels, so is 
$\alpha(\nu^{1/2})\in \calA^{sw}(\uparrow)$. Recall from \cite[Section 3.8]{Bar-NatanDancso:WKO1} that wheels in $\calA^{sw}$ have two possible orientations. For odd 
wheels these are negatives of each other by the AS relation, for even wheels they are equal. Hence, $\alpha$ kills odd wheels and multiplies even wheels 
by 2, as well as orienting them.
Let us write $\alpha(\nu^{1/2})$ as $e^{w(x)}$, where $w(x)$ is an (even) power series in $x$ with constant term 0: 
to interpret this as an element of $\calA^{sw}(\uparrow)$,
expand it and interpret each monomial $x^k$ as a $k$-wheel on the single strand. 
Then by the action of unzip, $\alpha(\nu^{1/2})_{(34)}=e^{w(x_3+x_4)}$, where each monomial is interpreted as a cyclic word which is in turn 
interpreted as a wheel on strands 3 and 4. Now slide this arrow diagram up on strands 3 and 4 to strand 5. Since all associators have canceled,
and $\alpha(R^{-1})$ has only tails on strand 3, there is no obstruction to doing this. At the junction of strands 3, 1 and 5, we need to apply the
VI relation. Tails on the punctured strand 1 are zero (TF relation), so each tail slides onto strand 5, whose orientation is compatible 
with strand 3. In other words we replace $x_3$ by $x_5$ in the expression. On the other side, tails again slide onto strand 5 but now the orientations are
opposite, and hence $x_4$ is replaced by $-x_5$. In summary, $\alpha(\nu^{1/2})_{(34)}=e^{w(x_5-x_5)}=1$.

Finally, move the top exponential $e^{-a/2}$ to strands 3 and 2, using the VI relation at both vertices. 
The tail of the arrows moves freely from strand 5 to strand 3. The heads commute with $\alpha(\nu)$, they are killed on strand 4
due to the CP relation, so they slide onto strand 2 but acquire a negative sign. Hence, $(e^{-a_{55}/2})=(e^{a_{32}/2})$, and this cancels $\alpha(R^{-1})$.

To summarize, $\xi(\uparrow)=\alpha(\nu^{1/2})$, as claimed.
\qed

\begin{corollary}
 The value of the cap is $C=\alpha(\nu^{1/4})$. \qed
\end{corollary}

Recall that this lets us define $Z^w(T)$ for any $T \in \uTT$, in particular the value $V$ of the vertex: namely,
$Z^w(T)$ is defined to be $\xi(T)$ multiplied by the value $C^{-1}$ at each end of $T$. Hence, we have defined $Z^w$ from $Z^u$, 
and it is compatible with $Z^u$ by design.
The next step is to prove that $Z^w$ is a homomorphic expansion of $\wTFe$. The bulk of the argument relies on the following proposition:

\begin{theorem}
 The restriction of $Z^w$ to $a(\uTT)$ is a planar algebra map.
\end{theorem}

\begin{proof}
Planar algebra operations can be written as compositions of two simpler, basic operations: disjoint unions and contractions.
For two tangles $T_1$ and $T_2$, the disjoint union $T_1 \sqcup T_2$ is the disjoint union of the two tangles where the ends 
are ordered by declaring that the ordered ends of $T_1$ come first, followed by the ordered ends of $T_2$. The contraction operation
$c_i$ can be applied to any tangle with at least $i+1$ ends, and acts by joining the $i$-th and $(i+1)$-st ends of $T$ and 
re-numbering the rest, resulting in a tangle with two less ends. Both operations are shown in Figure \ref{fig:AtomicPAOps}.

\begin{figure}
 \input figs/AtomicPAOps.pstex_t
 \caption{Basic planar algebra operations: disjoint union and contraction.}
 \label{fig:AtomicPAOps}
\end{figure}

All we need to show then is that $Z^w$ commutes with these two operations, that is, \linebreak $Z^w(T_1 \sqcup T_2)=Z^w(T_1)\sqcup Z^w(T_2)$,
and $Z^w(c_i(T))=c_i(Z^w(T))$. Note that the right sides of these equalities make sense: arrow diagrams on $\uTT$ skeleta, where
$Z^w$ takes its values, also form a planar algebra. 

{\bf Disjoint unions.} We need to compute $\xi(T_1\sqcup T_2)$, where $T_1$ and $T_2$ are two $\uTT$-s. 
The $\doubletree$ map applied to a disjoint union of $T_1$ and $T_2$ is shown in Figure \ref{fig:DisjUni}. Recall that the trees can be chosen 
arbitrarily by Lemma \ref{lem:TreeChange}, we chose the most convenient trees for the proof. Observe that $\doubletree(T_1\sqcap T_2)$ is the same
$\sKTG$ as $\doubletree(T_1)$ and $\doubletree(T_2)$ inserted into a simpler $\sKTG$, denoted $H$, as shown in the same figure (up to 
some orientation switches which don't impact what follows and hence will be ignored for simplicity). Hence, $Z^u(\doubletree(T_1\sqcup T_2))$
is given by inserting $Z^u(\doubletree(T_1))$ and $Z^u(\doubletree(T_2))$ into $Z^u(H)$. One could compute $Z^u(H)$ using the same algorithm 
as before, but we can save ourselves the work, as follows. All chords in $Z^u(H)$ can be assumed to be located in the rectangle shown in 
Figure~\ref{fig:DisjUni}. After applying $\alpha$, both strands on which $\alpha(Z^u(H))$ lives is punctured, so after punctures 
$p\alpha(Z^u(H))=1$ in $\calA^{sw}$. After the subsequent caps and unzips, $T_1$ and $T_2$ are once again separated, hence
we have shown that $\xi(T_1\sqcup T_2)=\xi(T_1) \sqcup \xi(T_2)$, and it follows immediately that $Z^w(T_1\sqcup T_2)=Z^w(T_1) \sqcup Z^w(T_2)$.

\begin{figure}
 \input figs/DisjUni.pstex_t
 \caption{The double tree map applied to a disjoint union of $\uTT$-s is the same as inserting the double tree of each individual $\uTT$ into
 the $\sKTG$ $H$. In $Z^u(H)$ all chords can be pushed into the rectangle shown, using VI relations when necessary.}
 \label{fig:DisjUni}
\end{figure}

{\bf Contractions.} Proving that $Z^w$ commutes with contractions is somewhat more involved. Firs of all, by Lemma~\ref{lem:CyclicPerm}, we 
can assume without loss of generality that the ends contracted are the last (rightmost) two ends of $T$. Hence we will drop the subscript from
$c_i$ and denote this operation simply by $c$. We need to show that $Z^w(cT)=cZ^w(T)$, for any $T\in \uTT$. The commutativity
with contractions is the outer perimeter of the diagram shown in Figure~\ref{fig:ContractCommutes}. Note that in the diagram is schematic: we indicate skeleta but omit chords and arrows for simplicity, and we suppress orientations and orientation switches.

\begin{figure}
 \input figs/ContractCommutes.pstex_t
 \caption{Proving that $Z^w$ commutes with contractions.}
 \label{fig:ContractCommutes}
\end{figure}


We're going to show that each numbered square (and in one case, pentagon) of this diagram commutes.
\begin{enumerate}
\item This square plays out in $\sKTG$, and the picture is the proof: contraction followed by the double tree map has the same effect as the double
tree map followed by deleting three strands. The strands to delete are indicated by broken lines. Deletion in the future
always refers to these same strands, so we no longer break up the lines.
\item  There is an ``edge delete'' operation of $\sKTG$-s which we have not mentioned before. When one deletes an edge (which 
ends in a vertex at both ends), the vertices at each end disappear (cease being vertices). The associated graded operation on 
chord diagrams deletes the skeleton edge, and a chord diagram with any chord endings on the deleted edge is sent to 0.

\noindent
The invariant $Z^{u}$ is not entirely homomorphic with respect to edge deletions. Recall that in \cite[Section 4.6.1]{Bar-NatanDancso:WKO2}  $Z^{u}$ was constructed from an invariant $Z^{old}$. In fact, $Z^{old}$ does commute with edge deletions 
\cite[Proposition 6.7]{Dancso:KIforKTG}, so the behaviour of $Z^{u}$ depends on the vertex normalisations implemented in 
\cite{Bar-NatanDancso:WKO2}. Namely, each vertex of an $\sKTG$ has one incident edge marked ``distinguished'', in drawings this is usually the vertical edge. If an edge is ``not distinguished'' at either of its ending vertices, then deleting it commutes
with $Z^{u}$. When deleting an edge is distinguished at a vertex, such as the right vertical edge of square (2),
then the square only commutes after a correction term of 
$e^{-c/4}\nu^{1/2}$ is inserted at the place of the vertex. (That is, where the two ends of $T$ are contracted at the bottom right
picture of square (2).) Here $c$ denotes a single chord.
\item There is a corresponding ``edge delete'' operation of $\wTFe$, which works the same way: when deleting a tube or a string,
the vertices at either end cease being vertices. (It is also possible to delete a capped edge.) The associated graded operation deletes the appropriate skeleton strand and sends any arrow 
diagram with arrow endings on the deleted strand to zero. The edge delete operations for chord and arrow diagrams clearly make
a commutative square with $\alpha$, hence square $(3)$ commutes.
\item This square plays out in $\calA^{sw}$ and it is obviously commutative.
\item Once again clearly commutes, note that on the right now two of the three deleted edges are capped tubes.
\item Deletions commute with punctures in $\calA^{sw}$. This follows from the definitions, the only thing to note is that when a 
tube strand is deleted at a ``tube-and-string'' vertex, the other tube strand deflates to a string (just like it does in the case of 
a puncture, as shown in Figure~\ref{fig:punctures}).
\item For the pentagon (7), we will show only that it commutes up to a possible small error (on the u-shaped strand), and later prove that this error is necessarily zero.

To show commutativity up to an error, a better understanding of the arrow diagram in the top left corner is necessary. This arrow diagram is the result of a sequence of operations $(p^{n-2}\circ u^{n-1}\circ \cdot C \circ \alpha \circ Z^{u} \circ \doubletree)$. All of these operations with the exception of $Z^{u}$ are ``easy'' in the sense that we have a complete understanding of their effect. $Z^{u}$ is ``hard'', but the proof of \cite[Proposition 4.13]{Bar-NatanDancso:WKO2} presents a technique for computing the relevant part of its value, see Figures \ref{fig:Square7Comm} and \ref{fig:Square7Comm2} and their captions. 

\begin{figure}
\input figs/Square7Comm.pstex_t
\caption{Computing the top left corner of Square 7. Step 1: $\doubletree(T)$  can be expressed as the $\sKTG$ denoted
$S$ inserted into the $\sKTG$ denoted $A$, followed by some unzips, as shown. $Z^{u}$ respects insertions, hence computing $Z^{u}(A)$ determines
the value of $Z^{u}(\doubletree(T))$ outside of $S$.
}
\label{fig:Square7Comm}
\end{figure}

\begin{figure}
\input figs/Square7Comm2.pstex_t
\caption{Computing the top left corner of Square 7, Step 2: computing $Z^{u(A)}$. The $\sKTG$ $A$ can be obtained by inserting the {\em buckle} $\sKTG$ twice
into a simpler $\sKTG$, and unzipping, as shown on the left. The value of the buckle was computed in Figure \ref{fig:BuckleBraid}. Using this value---denoted $\beta^{u}$---and the algorithm in \cite[Section 5.2]{Bar-NatanDancso:WKO2}, one computes $Z^{u}(A)$. The result is denoted $D$ and
shown on the right.}
\label{fig:Square7Comm2}
\end{figure}


The value at the top left corner of the pentagon (7) is the chord diagram $D$ of Figure \ref{fig:Square7Comm2}, with $Z^{u}(A)$ inserted, and then the appropriate sequence of $\alpha$, cap, unzips and punctures performed. We need to analyze which parts of $D$ survive these operations, and the operations of the pentagon (7): this is an exercise very similar to what has been done for Lemma~\ref{lem:xiofstrand} for example. The result is shown in Figure~\ref{fig:Square7Big}, and explained below.
Note that the $n$ value in $D$ cancels after punctures, see the last paragraph of Lemma~\ref{lem:Compatibility} for the reasoning;
the bottom $\Phi^{-1}$ also cancels, as in the proof of Lemma~\ref{lem:xiofstrand}, hence we don't show these values in 
Figure~\ref{fig:Square7Big}.

\begin{figure}
\input figs/Square7Big.pstex_t
\caption{The more detailed picture of the Pentagon 7.
}
\label{fig:Square7Big}
\end{figure}

Going down from the top left corner, the three edge deletions kill both buckle ($\beta^{w}$) values. The value arrow diagram 
$S\alpha u(b)$ cancels for the following simple reason, also illustrated in Figure~\ref{fig:KillAnArrow}: 

\begin{fact}\label{fact:cSu} Suppose that an arrow $a$ ends on a strand $e$. Unzipping the strand $e$ produces 
a diagram $a_{1}+a_{2}$, one summand ending on each daughter strand. Reversing the orientation of the first strand
gives $-a_{1}+a_{2}$. Now connecting the two daughter strands to form a u-shaped strand identifies $a_{1}$
and $a_{2}$, sending their difference to 0.
\end{fact}

\begin{figure}
\input figs/KillAnArrow.pstex_t
\caption{Unzip, switch orientation and connect kills arrows on the strand.}
\label{fig:KillAnArrow}
\end{figure}

This is essentially what happens to the arrow diagram $\alpha u(b)$, canceling it in both directions of the pentagon (7). The second down-going arrow on the left is applying the isomorphism $\varphi$ of Lemma~\ref{lem:CapString}.

On to the right side of the pentagon: from Equation~(\ref{eq:wBuckle}) and with the strand numbering of Figure~\ref{fig:BuckleBraid}, we have that
$$p_1p_3\beta^w = \Phi^{-1}(a_{2(13)}, -a_{2(13)}-a_{4(13)}) \cdot e^{a_{23}/2} \cdot \Phi(a_{23},a_{43}).$$
This is shown in the enlarged rectangle at the to right corner of Figure~\ref{fig:Square7Big}.

Once again, the down-going arrow applies the isomorphism $\varphi$ of Lemma~\ref{lem:CapString}, which is followed by the contraction. Understanding the
result requires a similar analysis to that of the Proof of Part 2 of the main theorem, in particular Figure~\ref{fig:ValueV}.
We'll briefly outline the argument. At the bottom, $\varphi (pu (\beta^{w}))$ cancels altogether after contraction, essentially by Fact~\ref{fact:cSu}.
This is straightforward except for the $\Phi^{{-1}}$ component, which requires a minor additional commutativity argument. Of
the other ``buckle'', $\varphi(p(\beta^{w}))$, the $\Phi^{-1}$ component cancels, again by Fact~\ref{fact:cSu}; only the exponential and the $\Phi$ component remains. The arrow in the exponent of $e^{{a/2}}$ switches sign due to the reversed orientation, and becomes the $e^{{-a/2}}$ component at the bottom of the pentagon in Figure~\ref{}. After contraction, the $\Phi$ component gives rise to a local arrow diagram on a single strand,
shown in Figure~\ref{fig:mu} and denoted $\mu$ from here on. 

\begin{figure}
\input{figs/Mu.pstex_t}
\caption{The $\Phi$ component of $\varphi(p(\beta^{w}))$ after contraction.}
\label{fig:mu}
\end{figure}

In summary, we see that the pentagon (7) commutes if and only if $\mu=\alpha(\nu)$, and otherwise has an error, which is a local arrow diagram on the contracted strand of the value $\alpha(\nu)^{-1}\mu$.

\item Finally, the square (8) clearly commutes.
\end{enumerate}
 
We have therefore shown that $Z^{w}$ commutes with contraction up to an error $\alpha(\nu)^{-1}\mu$ on the contracted strand.
It remains to show that this error is $1$. This follows from the facts that $Z^{w}(\uparrow)=1$, and that $Z^{w}$ commutes with
disjoint unions: 
$$1=c(Z^{w}(\downarrow \uparrow))= \alpha(\nu)^{-1}\mu Z^{w}(c(\downarrow\uparrow))=\alpha(\nu)^{-1}\mu\cdot1.$$
This completes the proof. \qed
\end{proof}

Note that as a side result we have proven the following curious fact about associators:
\begin{proposition}
For any $\Phi$ horizontal chord associator, $\mu$ defined from $\Phi$ as in Figure~\ref{fig:mu}, and $\nu$ the Kontsevich integral of the unknot, $\mu=\alpha(\nu)$. \qed 

\end{proposition}

To summarise

\begin{theorem}
\end{theorem}

\begin{proof}
\end{proof}

\input refs.tex

\if\draft y
  Everything below is to be blanked out before the completion of this paper.
  \input recycling.tex 
  \input ToDo.tex
\fi

\end{document}
\endinput

