Windmills of the minds: an algorithm for fermat’s two squares theorem

POPL(2022)

引用 0|浏览0
暂无评分
摘要
ABSTRACTThe two squares theorem of Fermat is a gem in number theory, with a spectacular one-sentence "proof from the Book". Here is a formalisation of this proof, with an interpretation using windmill patterns. The theory behind involves involutions on a finite set, especially the parity of the number of fixed points in the involutions. Starting as an existence proof that is non-constructive, there is an ingenious way to turn it into a constructive one. This gives an algorithm to compute the two squares by iterating the two involutions alternatively from a known fixed point.
更多
查看译文
关键词
Number Theory, Algorithm, Iteractive Theorem Proving
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要