We construct here a
conformally invariant differential operator on algebraic Weyl tensors that gives
special curved analogues of certain operators related to the deformation complex and
that, upon application to the Weyl curvature, yields the (Fefferman–Graham)
ambient obstruction tensor. This new definition of the obstruction tensor leads to
simple direct proofs that the obstruction tensor is divergence-free and vanishes
identically for conformally Einstein metrics. Our main constructions are based on the
ambient metric of Fefferman–Graham and its relation to the conformal tractor
connection. We prove that the obstruction tensor is an obstruction to finding an
ambient metric with curvature harmonic for a certain (ambient) form Laplacian. This
leads to a new ambient formula for the obstruction in terms of a power of this
form Laplacian acting on the ambient curvature. This result leads us to
construct Laplacian-type operators that generalise the conformal Laplacians of
Graham–Jenne–Mason–Sparling. We give an algorithm for calculating explicit
formulae for these operators, and this is applied to give formulae for the obstruction
tensor in dimensions 6 and 8. As background to these issues, we give an explicit
construction of the deformation complex in dimensions n ≥ 4, construct two related
(detour) complexes, and establish essential properties of the operators in
these.