<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>morita_non</author_name>
  <author_url>https://blog.hatena.ne.jp/morita_non/</author_url>
  <blog_title>memo</blog_title>
  <blog_url>https://morita-non.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>変数 X がある数 x を持つ状態で fact_com を実行すると、 変数 Y が x の階乗の値を持つ状態で停止する、ということを示したくなります。これを示すため、ループ不変式 (loop invariant) という重要な概念を使います。 Z := X; Y := 1; WHILE not (Z = 0) DO Y := Y * Z; Z := Z - 1 ENDというプログラムにおいて Fixpoint real_fact (n:nat) : nat := match n with | O =&gt; 1 | S n' =&gt; n * (real_fact n') end. Definitio…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmorita-non.hatenadiary.org%2Fentry%2F20131003%2F1380756125&quot; title=&quot; - memo&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-10-03 08:22:05</published>
  <title></title>
  <type>rich</type>
  <url>https://morita-non.hatenadiary.org/entry/20131003/1380756125</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
