2 versions of the statement of Graded infinitesimal cohomology, newest first, as written in TeX. Only the paragraphs that changed are shown; words added since the version before are marked like this and words removed like this. Times are those of the commits, in your local time.
Version 2 , changes from version 1 are marked
Let $K$ be a commutative ring and let $X$ be a scheme over $K$. The *graded infinitesimal cohomology* of $X$ over $K$ is the family of $K$-modules $H^n_a(X/K)$, for integers $a,n\ge0$, defined below: $H^n_a(X/K)$ is the $n$-th cohomology of the cochains on the category of divided-power thickenings of $X$ with values in the $a$-th graded piece of the divided-power filtration. It has pullbacks along morphisms of schemes over $K$, cup products and a unit.
Two universes $\mathcal U\in\mathcal U'$ are fixed. Rings and schemes, among them $K$, $X$ and the algebras $B$ of the thickenings, are elements of $\mathcal U$. The categories considered have sets of morphisms in $\mathcal U$ and a set of objects in $\mathcal U'$, and the modules of cochains and the modules $H^n_a(X/K)$ are elements of $\mathcal U'$.
Let $K$ be a commutative ring and let $X$ be a scheme over $K$.2 unchanged paragraphs
**Cohomology.** Fix $a\ge0$. For $n\ge0$, an $n$-chain is a sequence $\sigma=(T_0\to T_1\to\dots\to T_n)$ of $n$ composable morphisms of $\operatorname{Thick}(X/K)$, and an $n$-cochain $f$$\alpha$ assigns to every $n$-chain $\sigma$ an element $f(\sigma)\in\operatorname{gr}^a(T_n)$.$\alpha(\sigma)\in\operatorname{gr}^a(T_n)$. The $n$-cochains form a $K$-module $C^n_a(X/K)$. For an $(n+1)$-chain $\sigma=(T_0\to\dots\to T_{n+1})$ and $0\le i\le n+1$, let $\partial_i\sigma$ be the $n$-chain obtained by omitting $T_i$; when $0<i<n+1$ the two morphisms at $T_i$ are replaced by their composite. The differential $d:C^n_a(X/K)\to C^{n+1}_a(X/K)$ is
$$(df)(\sigma)=\sum_{i=0}^{n}(-1)^i f(\partial_i\sigma)+(-1)^{n+1}\psi_*\bigl(f(\partial_{n+1}\sigma)\bigr),$$$$(d\alpha)(\sigma)=\sum_{i=0}^{n}(-1)^i\alpha(\partial_i\sigma)+(-1)^{n+1}\psi_*\bigl(\alpha(\partial_{n+1}\sigma)\bigr),$$
where $\psi:T_n\to T_{n+1}$ is the last morphism of $\sigma$. It satisfies $d\circ d=0$. Put
$$H^n_a(X/K)=\ker\bigl(d:C^n_a(X/K)\to C^{n+1}_a(X/K)\bigr)\big/d\bigl(C^{n-1}_a(X/K)\bigr),$$
where $d(C^{-1}_a(X/K))=0$. It is a $K$-module.
**Pullback.** Let $u:X\to Y$$g:X\to Z$ be a morphism of schemes over $K$. Sending $(B,J,\delta,y)$ to $(B,J,\delta,u\circ$(B,J,\delta,g\circ y)$, and every morphism to the same homomorphism of $K$-algebras, is a functor $u_!:\operatorname{Thick}(X/K)\to\operatorname{Thick}(Y/K)$,$g_!:\operatorname{Thick}(X/K)\to\operatorname{Thick}(Z/K)$, and $\operatorname{gr}^a(u_!T)=\operatorname{gr}^a(T)$.$\operatorname{gr}^a(g_!T)=\operatorname{gr}^a(T)$. For a cochain $f\in C^n_a(Y/K)$$\alpha\in C^n_a(Z/K)$ put $(u^*f)(\sigma)=f(u_!\sigma)$.$(g^*\alpha)(\sigma)=\alpha(g_!\sigma)$. This commutes with $d$ and defines a $K$-linear map
$$u^*:H^n_a(Y/K)\longrightarrow$$g^*:H^n_a(Z/K)\longrightarrow H^n_a(X/K).$$
**Cup product and unit.** Let $f\in$\alpha\in C^i_a(X/K)$ and $g\in$\beta\in C^j_{a'}(X/K)$. For an $(i+j)$-chain $\sigma=(T_0\to\dots\to T_{i+j})$ put
$$(f\cup g)(\sigma)=\rho_*\bigl(f(T_0\to\dots\to T_i)\bigr)\cdot g(T_i\to\dots\to$$(\alpha\cup\beta)(\sigma)=\rho_*\bigl(\alpha(T_0\to\dots\to T_i)\bigr)\cdot\beta(T_i\to\dots\to T_{i+j})\in\operatorname{gr}^{a+a'}(T_{i+j}),$$
where $\rho:T_i\to T_{i+j}$ is the composite of the last $j$ morphisms of $\sigma$. For classes $x\in H^i_a(X/K)$ and $x'\in H^j_{a'}(X/K)$, the cup product $x\cup x'\in H^{i+j}_{a+a'}(X/K)$ is the class of $f\cup g$$\alpha\cup\beta$ for cocycles $f$$\alpha$ and $g$$\beta$ representing $x$ and $x'$. The unit $1\in H^0_0(X/K)$ is the class of the $0$-cochain whose value at every $T$ is the element $1$ of $\operatorname{gr}^0(T)=B_T/J_T$.
Version 1 , first version
Let $K$ be a commutative ring and let $X$ be a scheme over $K$.
**Thickenings.** A *divided-power thickening* of $X$ over $K$ is a quadruple $T=(B,J,\delta,y)$ consisting of a commutative $K$-algebra $B$, an ideal $J\subseteq B$ with $J^N=0$ for some $N\ge1$, a divided-power structure $\delta=(\delta_k)_{k\ge0}$ on $J$, and a morphism of $K$-schemes $y:\operatorname{Spec}(B/J)\to X$. A morphism from $(B,J,\delta,y)$ to $(B',J',\delta',y')$ is a homomorphism of $K$-algebras $\varphi:B\to B'$ such that $\varphi(J)\subseteq J'$, such that $\delta'_k(\varphi(x))=\varphi(\delta_k(x))$ for all $x\in J$ and $k\ge0$, and such that $y'=y\circ\operatorname{Spec}(\bar\varphi)$, where $\bar\varphi:B/J\to B'/J'$ is the homomorphism induced by $\varphi$. Divided-power thickenings of $X$ over $K$ and their morphisms form a category $\operatorname{Thick}(X/K)$. For an object $T$ we write $T=(B_T,J_T,\delta_T,y_T)$.
**The divided-power filtration.** For $T=(B,J,\delta,y)$ and $r\ge0$, let $J^{[r]}$ be the ideal of $B$ generated by the products
$$\delta_{k_1}(x_1)\cdots\delta_{k_m}(x_m),\qquad m\ge0,\quad x_1,\dots,x_m\in J,\quad k_1+\dots+k_m\ge r.$$
Thus $J^{[0]}=B$, $J^{[1]}=J$, $J^{[r+1]}\subseteq J^{[r]}$ and $J^{[r]}J^{[s]}\subseteq J^{[r+s]}$. A morphism $\varphi:T\to T'$ maps $J_T^{[r]}$ into $J_{T'}^{[r]}$. For $a\ge0$ put
$$\operatorname{gr}^a(T)=J_T^{[a]}/J_T^{[a+1]},$$
a $K$-module. A morphism $\varphi:T\to T'$ induces a $K$-linear map $\varphi_*:\operatorname{gr}^a(T)\to\operatorname{gr}^a(T')$, and multiplication in $B_T$ induces $K$-bilinear maps $\operatorname{gr}^a(T)\times\operatorname{gr}^{a'}(T)\to\operatorname{gr}^{a+a'}(T)$ that commute with the maps $\varphi_*$.
**Cohomology.** Fix $a\ge0$. For $n\ge0$, an $n$-chain is a sequence $\sigma=(T_0\to T_1\to\dots\to T_n)$ of $n$ composable morphisms of $\operatorname{Thick}(X/K)$, and an $n$-cochain $f$ assigns to every $n$-chain $\sigma$ an element $f(\sigma)\in\operatorname{gr}^a(T_n)$. The $n$-cochains form a $K$-module $C^n_a(X/K)$. For an $(n+1)$-chain $\sigma=(T_0\to\dots\to T_{n+1})$ and $0\le i\le n+1$, let $\partial_i\sigma$ be the $n$-chain obtained by omitting $T_i$; when $0<i<n+1$ the two morphisms at $T_i$ are replaced by their composite. The differential $d:C^n_a(X/K)\to C^{n+1}_a(X/K)$ is
$$(df)(\sigma)=\sum_{i=0}^{n}(-1)^i f(\partial_i\sigma)+(-1)^{n+1}\psi_*\bigl(f(\partial_{n+1}\sigma)\bigr),$$
where $\psi:T_n\to T_{n+1}$ is the last morphism of $\sigma$. It satisfies $d\circ d=0$. Put
$$H^n_a(X/K)=\ker\bigl(d:C^n_a(X/K)\to C^{n+1}_a(X/K)\bigr)\big/d\bigl(C^{n-1}_a(X/K)\bigr),$$
where $d(C^{-1}_a(X/K))=0$. It is a $K$-module.
**Pullback.** Let $u:X\to Y$ be a morphism of schemes over $K$. Sending $(B,J,\delta,y)$ to $(B,J,\delta,u\circ y)$, and every morphism to the same homomorphism of $K$-algebras, is a functor $u_!:\operatorname{Thick}(X/K)\to\operatorname{Thick}(Y/K)$, and $\operatorname{gr}^a(u_!T)=\operatorname{gr}^a(T)$. For a cochain $f\in C^n_a(Y/K)$ put $(u^*f)(\sigma)=f(u_!\sigma)$. This commutes with $d$ and defines a $K$-linear map
$$u^*:H^n_a(Y/K)\longrightarrow H^n_a(X/K).$$
**Cup product and unit.** Let $f\in C^i_a(X/K)$ and $g\in C^j_{a'}(X/K)$. For an $(i+j)$-chain $\sigma=(T_0\to\dots\to T_{i+j})$ put
$$(f\cup g)(\sigma)=\rho_*\bigl(f(T_0\to\dots\to T_i)\bigr)\cdot g(T_i\to\dots\to T_{i+j})\in\operatorname{gr}^{a+a'}(T_{i+j}),$$
where $\rho:T_i\to T_{i+j}$ is the composite of the last $j$ morphisms of $\sigma$. For classes $x\in H^i_a(X/K)$ and $x'\in H^j_{a'}(X/K)$, the cup product $x\cup x'\in H^{i+j}_{a+a'}(X/K)$ is the class of $f\cup g$ for cocycles $f$ and $g$ representing $x$ and $x'$. The unit $1\in H^0_0(X/K)$ is the class of the $0$-cochain whose value at every $T$ is the element $1$ of $\operatorname{gr}^0(T)=B_T/J_T$.