These homologies are closely related to the Donaldson and Seiberg invariants of 4-manifolds, as well as to Taubes's Gromov invariant of symplectic 4-manifolds; the differentials of the corresponding three-manifold homologies to these theories are studied by considering solutions to the relevant differential equations (Yang–Mills, Seiberg–Witten, and Cauchy–Riemann, respectively) on the 3-manifold cross R. The 3-manifold Floer homologies should also be the targets of relative invariants for four-manifolds with boundary, related by gluing constructions to the invariants of a closed 4-manifold obtained by gluing together bounded 3-manifolds along their boundaries. (This is closely related to the notion of a topological quantum field theory.) For Heegaard Floer homology, the 3-manifold homology was defined first, and an invariant for closed 4-manifolds was later defined in terms of it.