A patient complains of intermittent spontaneous pain in a tooth that was previously treated with a direct pulp cap. The tooth is not sensitive to percussion. Both hot and cold produce severe pain. The most likely diagnosis is

symptomatic irreversible pulpitis.

reversible pulpitis.

cracked tooth syndrome.

symptomatic apical periodontitis (acute periradicular periodontitis).