{"type":"rich","author_name":"morita_non","blog_url":"https://morita-non.hatenadiary.org/","height":"190","provider_url":"https://hatena.blog","description":"\u5909\u6570 X \u304c\u3042\u308b\u6570 x \u3092\u6301\u3064\u72b6\u614b\u3067 fact_com \u3092\u5b9f\u884c\u3059\u308b\u3068\u3001 \u5909\u6570 Y \u304c x \u306e\u968e\u4e57\u306e\u5024\u3092\u6301\u3064\u72b6\u614b\u3067\u505c\u6b62\u3059\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u3092\u793a\u3057\u305f\u304f\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u793a\u3059\u305f\u3081\u3001\u30eb\u30fc\u30d7\u4e0d\u5909\u5f0f (loop invariant) \u3068\u3044\u3046\u91cd\u8981\u306a\u6982\u5ff5\u3092\u4f7f\u3044\u307e\u3059\u3002 Z := X; Y := 1; WHILE not (Z = 0) DO Y := Y * Z; Z := Z - 1 END\u3068\u3044\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u304a\u3044\u3066 Fixpoint real_fact (n:nat) : nat := match n with | O => 1 | S n' => n * (real_fact n') end. Definitio\u2026","blog_title":"memo","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmorita-non.hatenadiary.org%2Fentry%2F20131003%2F1380756125\" title=\" - memo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":[],"title":"","published":"2013-10-03 08:22:05","width":"100%","author_url":"https://blog.hatena.ne.jp/morita_non/","version":"1.0","url":"https://morita-non.hatenadiary.org/entry/20131003/1380756125","image_url":null,"provider_name":"Hatena Blog"}