{"categories":[],"title":" \u505c\u6b62\u6027\u306e\u8a3c\u660e\uff1f","url":"https://a-san.hatenadiary.org/entry/20090729/p1","blog_url":"https://a-san.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-san.hatenadiary.org%2Fentry%2F20090729%2Fp1\" title=\" \u505c\u6b62\u6027\u306e\u8a3c\u660e\uff1f - a-san\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5fc5\u305a\u7d42\u4e86\u3059\u308b\u304b\uff1f \u7121\u9650\u30eb\u30fc\u30d7\u306b\u306a\u3089\u306a\u3044\u304b\uff1f \u306e\u8a3c\u660e\u3002 \u3053\u308c\u3067\u3042\u3063\u3066\u308b\u306e\u304b\u306a\uff1f \u4f8b\u984c\uff1a\u968e\u4e57\u3002\u8a00\u8a9e\u306fVDM\u3067\u3002 \u968e\u4e57: nat +> nat \u968e\u4e57(n) == if n=0 then 1 else n*\u968e\u4e57(n-1); n=0\u306e\u3068\u304d \u505c\u6b62\u3059\u308b\u304b\uff1f\uff1a\u968e\u4e57(0) \u505c\u6b62\u3059\u308b\u304b\uff1f\uff1aif 0=0 then 1 else 0*\u968e\u4e57(0-1); \u505c\u6b62\u3059\u308b\u304b\uff1f\uff1a1 \u505c\u6b62\u3059\u308b\u304b\uff1f\uff1aYES n=k\u306e\u3068\u304d\u3001\u968e\u4e57(k)\u306f\u505c\u6b62\u3059\u308b\u3068\u4eee\u5b9a\u3059\u308b\u3002 n=k+1\u306e\u3068\u304d \u505c\u6b62\u3059\u308b\u304b\uff1f\uff1a\u968e\u4e57(k+1) \u505c\u6b62\u3059\u308b\u304b\uff1f\uff1aif (k+1)=0 then 1 else (k+1)*\u968e\u4e57((k+1)-1); \u505c\u6b62\u3059\u308b\u304b\uff1f\uff1a(k+1)\u2026","author_url":"https://blog.hatena.ne.jp/a-san/","author_name":"a-san","published":"2009-07-29 00:00:00","image_url":null,"type":"rich","version":"1.0","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","blog_title":"a-san\u306e\u65e5\u8a18","height":"190","width":"100%"}