Peritectic reactions are three-phase reactions involving a liquid and two solid phases and usually occur at a fixed temperature and composition in phase diagrams.
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.