Renormalization in open quantum field theory. Part I. Scalar field theory | Synapse