TITLE: Algebro-geometric version of {vector fields} $\longleftrightarrow$ {flows} correspondence?
QUESTION [9 upvotes]: Main Question: What Is the correpondence between flows and vector
  fields in algebraic geometry?

Here is a more precise statement could be an answer If it was true (I have no idea it is):

"Proposition": Let $X$ be a nice enough (intentionally ambiguous) scheme over a field $k$ with tangent sheaf $\mathcal{T}_X$. For every point $x \in X$ There is a 1-1 correpsodence between germs of vector fields through $x$ and "germs" of formal flows. 
More precisely for every $v \in \mathcal{T}_{X,x}$ there corresponds a (continuous) morphism of complete local rings $\phi_v \in Hom_{cont}(\widehat{\mathcal{O}_{X,x}},\widehat{\mathcal{O}_{X,x} \otimes_k k[[t]]})$ and vice versa.

This "Proposition" was mentioned to me as a brief comment by a very respected mathematician (who's name I won't mention since I'm not completely convinced that the above is a fiathfull interpretation of his original statement). Unfortunately he didn't have time to elaborate on this and couldn't point me to a relevant reference.

Reference request: What are some good sources to turn to considering questions about formal geometry? Specifically the formulation of the classical theory of differential equations (of which this question is a particular case) in formal geometric terms.

Even the "proposition" above isn't really precise since I'm not sure what meaning I should give to the tensor product (some kind of completed tensor product perhaps). Which leads me to the following minor question.
Consider the category whose objects are topological rings $A$ whose topology can be generated by an $I$-adic filtration for some ideal $I \subset A$ and let the morphisms be continuous homomorphisms of rings. 

(minor) Question: For arbitrary $A$ and $B$ in this category what is pushout of $A \leftarrow \mathbb{Z} \to B$? should this be the correct interpretation of the tensor product above?

REPLY [10 votes]: You need a characteristic zero assumption, and you need some additional axioms on the homorphism to make it a bijection.
The map from derivations $D$ to homomorphisms sends a function $y \in \mathcal O_{X,x}$ to $$e^{t D} y = y + (Dy) t + (D^2 y) t^2/2 + (D^3 y) t^3/6 + \dots$$
The inverse map is just going to send a homomorphism $f$ to the derivation that sends $y$ to the coefficient of $t$ in $f(y)$. However we need some axioms to ensure this is actually a derivation and that its exponential is $f$.
You can find the right axioms by thinking of a flow as a (formal) group action by the (formal) group of time translations. The axioms are:

Composing $f$ with the projection from $\mathcal O_{X,x}[[t]]$ (which is equivalent to the completed tensor product you wrote down) to $\mathcal O_{X,x}$ should give the identity.
Composing $f$ with the map $\mathcal O_{X,x}[[t]] \to \mathcal O_{X,x}[[t_1,t_2]]$ that sends $t$ to $t_1+t_2$ should equal applying $f$ twice, once adding the variable $t_1$ and once adding the variable $t_2$.

These axioms immediately imply that the first coefficient of $f(y)$ is $y$, the second is a derivation of $y$, and the other ones are inductively given by powers of the derivation in this way.