错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Formalizing Pick’s Theorem in Isabelle/HOL

  • Sage Binder,
  • Katherine Kosaian

摘要

We formalize Pick’s theorem for finding the area of a simple polygon whose vertices are integral lattice points. We are inspired by John Harrison’s formalization of Pick’s theorem in HOL Light, but tailor our proof approach to avoid a primary challenge point in his formalization, which is proving that any polygon with more than three vertices can be split (in its interior) by a line between some two vertices. We detail the approach we use to avoid this step and reflect on the pros and cons of our eventual formalization strategy. We use the theorem prover Isabelle/HOL, and our formalization involves augmenting the existing geometry libraries in various foundational ways (e.g., by adding the definition of a polygon and formalizing some key properties thereof).