A peritectic reaction is a type of phase transformation in which, upon cooling, a liquid and a solid phase combine to form a different solid phase.
This can be represented as:
Liquid + Solid$_1$ $⇒$ Solid$_2$
Such reactions are observed in certain binary alloy systems, especially where incongruent melting occurs.
Among the given options, only option (4) represents this behavior correctly.