We should distinguish
Cuntz–Quillen formal smoothness in noncommutative setup (see quasi-free algebra)
the Grothendieck’s notion of formal smoothness for commutative rings, schemes, morphisms (or even more general functors ) which will be discussed here.
In EGA IV, Grothendieck defines formal smoothness in the generality of relative setup: for morphisms. Formal smoothness is weaker than smoothness, and there are characterizations when formally smooth morphisms are smooth.
A morphism is formally smooth if it satisfies the infinitesimal lifting property: for every ring and nilpotent ideal and morphism the induced map
is surjective.
For a morphism of schemes, and a point of , the following are equivalent
(i) is smooth at
(ii) is locally of finite presentation at and there is an open neighborhood of such that is formally smooth
(iii) is flat at , locally of finite presentation at and the sheaf of Kähler differentials is locally free in a neighborhood of
The relative dimension of at will equal the rank of the module of Kähler differentials.
For EGAIV (Publ. IHÉS, 32 (1967), p. 5-361) see numdam.
A scheme , i.e. a scheme over the ground ring , is a formally smooth scheme if the corresponding morphism is a formally smooth morphism.
There is also an interpretation of formal smoothness via the formalism of Q-categories.