Variational and optimal control representations of conditioned and driven processes | Synapse