SpecGen: Automated Generation of Formal Program Specifications via Large Language Models. (arXiv:2401.08807v1 [cs.SE])