思想的风车:费马二平方定理的算法
Windmills of the minds: an algorithm for Fermat's Two Squares Theorem
摘要:
费马的两个平方定理是数论中的瑰宝,有一个壮观的一句话“从书中证明”。下面是这个证明的形式化,使用风车模式进行解释。其背后的理论涉及有限集合上的对合,特别是对合中不动点数目的奇偶性。作为一个非构造性的存在性证明,有一个巧妙的方法可以将它变成一个构造性的证明。这给出了一个算法来计算这两个平方迭代的两个对合交替从一个已知的不动点。
英文摘要:
The 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。