{"url":"https://naokirin.hatenablog.com/entry/20120404/1333494792","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0-Coq","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"author_url":"https://blog.hatena.ne.jp/naokirin/","provider_url":"https://hatena.blog","published":"2012-04-04 08:13:12","blog_title":"What is it, naokirin?","image_url":null,"height":"190","type":"rich","title":"refine\u306e\u4f8b","width":"100%","description":"Coq\u3092\u52c9\u5f37\u3057\u3066\u3044\u305f\u3089\u3001refine\u30bf\u30af\u30c6\u30a3\u30af\u3068\u3044\u3046\u3082\u306e\u306b\u51fa\u4f1a\u3063\u305f\u3002\u4e00\u7dd2\u306bSpecif module\u306esig\u306e\u8a18\u8ff0\u3082\u3042\u3063\u305f\u306e\u3067\u6700\u521d\u306f\u6df7\u4e71\u3057\u3066\u3044\u305f\u3082\u306e\u306e\u3001\u4f55\u3068\u306a\u304f\u628a\u63e1\u3057\u3066\u304d\u305f\u3002\u4f7f\u3044\u65b9\u306f\u6b21\u306e\u3088\u3046\u306a\u611f\u3058\u3002 Definition pred (n : nat) : n>0 -> nat. refine (match n with | 0 => _ | S m => (fun _ => m) end). auto. Qed. Definition example_refine: forall (n : nat), {m : nat | m = S n}. refine (fun n => exist _ \u2026","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaokirin.hatenablog.com%2Fentry%2F20120404%2F1333494792\" title=\"refine\u306e\u4f8b - What is it, naokirin?\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://naokirin.hatenablog.com/","provider_name":"Hatena Blog","author_name":"naokirin"}