VOOZH about

URL: https://qiita.com/yoshihiro503/items/730eba53797de7a23328

⇱ Coqコーディング規約 #Coq - Qiita


👁 Image
12

Go to list of users who liked

10

Share on X(Twitter)

Share on Facebook

Add to Hatena Bookmark

More than 5 years have passed since last update.

@yoshihiro503in👁 Image
株式会社proof ninja

Coqコーディング規約

12
Last updated at Posted at 2015-06-09

全般

  • コンパイルできないコードはコミットしない
  • 使用しているCoqのバージョンをREADMEに書く

タクティックに関すること

  • bulletを使う (https://coq.inria.fr/refman/Reference-Manual009.html#sec332)
  • 同じ時点でできたサブゴールは、同じインデントにする
  • サブゴールの末尾はterminatorまたはnowタクティカルを使う
  • 新しく生成される変数名、仮定の名前を明示する
    • 例: introsタクティックでは引数を明示し、数と名前を指定
    • 例: destructタクティックではasで新しくできる変数名を明示
  • optional(セミコロンは前半のタクティックでサブゴールが増える場合以外は使わない)
12

Go to list of users who liked

10
4

Go to list of comments

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12

Go to list of users who liked

10