Why is the melting point of hydrogen iodide larger than that of hydrogen fluoride? Compare the melting points of hydrogen fluoride (HF) and hydrogen iodide (HI).


I know the following things:


$\ce{HF}$ melts at $189.6~\mathrm{K}$ and $\ce{HI}$ at $222.35~\mathrm{K}$.
There are a lot of factors that have to be considered while comparing melting point, i.e., lattice enthalpy, packing fraction, intermolecular forces.
Generally, compounds that show hydrogen bonding show it in the solid and liquid phases because in the gaseous phase the molecules have enough energy to break the electrostatic interactions of hydrogen bonding.
So, HF shows hydrogen bonding in solid state. In fact, it even shows hydrogen bonding in gaseous state, though its not relevant here.
As molecular mass increases, van der Waals interactions between molecules also increase. If we only consider this factor, then melting point of HI must be definitely higher.
The strength of hydrogen bonding of HF is so much that the boiling point of $\ce{HF}&gt;\ce{HI}$ although boiling point of $\ce{SbH3}&gt;\ce{NH3}$, i.e. the hydrogen bonding dominates the van der Waals interactions in HI molecules because of their high molecular mass.
It's the combined effect of all the factors that determine the melting point of a substance.
Lattice energy is inversely related to the internuclear distance, it is also inversely proportional to the size of the ions. So, I expect HF to have more lattice energy.


Every factor that I can think of is in favour of HF except molecular mass. But if molecular mass of iodine is the reason that melting point of HI is higher, than boiling point of HI must have also been higher. Then why is the melting point of HI higher than that of HF?

Why is this contradiction?

Do let me know if I am wrong in the above mentioned facts or if I have any gaps in my understanding of the above points.
The increase in dispersive attraction between HI molecules is greater than the loss of dipole interactions. Only in $\ce{H2O}$ do dipole forces dominate (Intermolecular and Surface Forces, Jacob N. Israelachvili). Contribution of dispersion to intermolecular bonding for various molecules:


$\ce{CH4-CH4}$ - 100%
$\ce{HI-HI}$ - 99%
$\ce{HBr-HBr}$ - 96%
$\ce{HCl-HI}$ - 96%
$\ce{H2O-CH4}$ - 87%
$\ce{HCl-HCl}$ - 86%
$\ce{CH3Cl-CH3Cl}$ - 68%
$\ce{NH3-NH3}$ - 57%
$\ce{H2O-H2O}$ - 24%


What makes the contribution of dispersion so great is that it's non-directional and always attractive. Think of atoms as sticky spheres.