Let $M$ be a smooth scheme over some field $k$ of characteristic $p$, and $\vec X$ a vector field on it. Equivalently, $\vec X$ gives a map $Spec\ k[\epsilon]/\langle \epsilon^2 \rangle \times M \to M$ whose reduction is the identity map $(Spec\ k,m) \mapsto m$. Let $D\_n = Spec\ k[\epsilon]/\langle \epsilon^n \rangle$, and $D\_\infty = Spec\ k[[\epsilon]]$ be the inverse limit, thought of as the additive formal group.



> 
> What are the obstructions in extending this map $D\_2 \times M \to M$ to a formal group action $D\_\infty \times M \to M\ ?$ How unique is such an extension?
> 
> 
> 


Motivation: I'm annoyed by the fact that a function on ${\mathbb A}^1\_k$ with first derivative zero, i.e. invariant under the $D\_2$-action, need not be constant (it could be a $p$th power). When I asked in [Replacement for derivations in characteristic p?](https://mathoverflow.net/questions/71423/replacement-for-derivations-in-characteristic-p) 
for the right condition to replace it, I was told to take all Hasse derivatives, which I am reinterpreting as having a $D\_\infty$- not just $D\_2$-action. (I prefer the formal group action to the group action, because it restricts to open sets.)



Obstructions to formally integrating vector fields in characteristic p?
This is not an answer to the questions but some general comments. One should be aware that the relation between vector fields and Hasse derivations in characteristic $p$ is not at all analogous to the characteristic $0$. It is true that a Hasse derivation in all characteristics is the same thing as an acction of the formal additive group. The difference is whereas in characteristic $0$ the formal additive group is the only $1$-dimensional formal group whereas in positive characteristic there are more, for instance the formal multiplicative group. In positive characteristic the derivation part of a Hasse derivation corresponds to an action of the group scheme that is the kernel of the Frobenius map which is $\alpha\_p$. Again there are several group schemes of order $p$ (such as $\mu\_p$ which is the kernel of Frobenius on the formal multiplicative group). On the vector field side there thus is a first obstruction on the vector field itself, that it should give rise to an $\alpha\_p$-action. Concretely that means that the $p$-th power of the derivation should be $0$.


Note that that means that there may not even be a vector field to start with even though there might be many vector fields on $M$ there may not be any with that property (for instance a smooth proper toric variety with no automorphisms outside of the torus).


In any case if one wants an obstruction theory one should note that given $D\_1$, $D\_n$ for $n=1,\ldots,p-1$ is just $D\_1^n$ so the first undetermined one would be $D\_p$. If one has local liftings one should compare two such liftings $D\_p$ and $D'\_p$ and it follows that their difference $D'\_p-D\_p$ is a derivation and one gets a torsor of the tangent sheaf as a first obstruction. Unfortonately if $D$ is a derivation $D'\_p=D\_p+D$ may not fulfil the further condition for being a part of a Hasse derivation namely that *its* $p$'th power should be zero. One can expand its $p$'th power using the Jacobson formula but it leads to a (seemingly) nasty non-linear problem. Anyway if solvable one can continuer with $D\_{p^2}$ which would be the next undetermined term and continue in the same manner but it looks like a nightmare (the fact that I don't think that local liftings may exist makes it even less palatable).


However, it is clear that you do not have unique extensions: Take some $M$ on which an action of $\hat G\_a\times \hat G\_a$ is given. Then the actions of $\hat G\_a$ given by the inclusions $t\mapsto (t,0)$ and $t\mapsto (t,t^p)$ have the same first order action.


**Addendum**: I think that all in all Hasse-Schmidt derivations are better than Hasse derivations (recall that a Hasse-Schmidt derivation is just a map $D\_\infty\times M\to M$, i.e., not necessarily a formal group action). There the liftings of an order $n$ HS-derivation to order $n+1$ is just a pseudo-torsor over the tangent sheaf with local liftings existing so that the obstruction for extension is just an $H^1$. Of course you will have many more of them but as you don't have uniqueness for lifting vector fields to Hasse derivations anyway it seems to matter less.


**Addendum (formal multiplicative group)**: Whereas actions of the formal additive group are quite messy, the formal multiplicative group (as always with tori) is much nicer. As $\mu\_p$ is linearly reductive an action of it is nothing but a $\mathbb Z/p$-grading on $M$. This is the best description though in terms of vector fields it corresponds to a derivation $D$ with $D^p=D$. Similarly a $\mu\_{p^n}$-action is nothing but a $\mathbb Z/p^n$-grading. Hence, lifting from $\mu\_{p^n}$ to $\mu\_{p^{n+1}}$ corresponds to a refinement of a $\mathbb Z/p^n$-grading to a $\mathbb Z/p^{n+1}$-grading. Hence an action of the formal multiplicative group is the same thing as a $\mathbb Z\_p$-grading. 


**NB**: As a topological group that is; a collection of compatible $\mathbb Z/p^n$-gradings for each $n$. In particular the part of degree $a\in \mathbb Z\_p$ is an infinite intersection and could very well be $0$ for all $a$. On the other hand an action of the actual multiplicative group is the same thing as a $\mathbb Z$-grading and the associated $\mathbb Z\_p$-grading is just induced by $\mathbb Z\subset \mathbb Z\_p$.


However things can be more complicated yet very close to such an action. If we have a derivation $D$ with $D^p=fD$ where $f$ is an invertible function then we don't have a $\mu\_p$-action unless $f=1$ and we may not even be able to get a $\mu\_p$-action by scaling $D$. However, on the étale cover where we extract a $p-1$'th root of $f$ we do get such a modification. So what we have is a kind of twisted $\mu\_p$-action and a sheaf of gradings which is an abelian sheaf of $M$ isomorphic to $\mathbb Z/p$ over the above étale cover (in fact it is the twist of $\mathbb Z/p$ by exactly this cover). This extends without problem to twisted actions of the formal multiplicative group.


Such thingies do occur in practice. My favourite example is the following: Look at the moduli space (i.e., stack if you want to quibble) of *ordinary* elliptic curves. Formally at each point this space can be identified using Serre-Tate coordinates (which I guess in this $1$-dimensional case is earlier than Serre-Tate) with the formal multiplicative group. We can now consider the (pro)-étale covering (with structure group $\mathbb Z\_p^\ast$) trivialising the group of $p$-torsion points of the universal elliptic curve. By Igusa this is connected and on it we have an action of the formal multiplicative group realising formally at each point the Serre-Tate coordinates.


