<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>m-hiyama</author_name>
  <author_url>https://blog.hatena.ne.jp/m-hiyama/</author_url>
  <blog_title>檜山正幸のキマイラ飼育記 (はてなBlog)</blog_title>
  <blog_url>https://m-hiyama.hatenablog.com/</blog_url>
  <categories>
    <anon>雑記／備忘</anon>
  </categories>
  <description>メイヤー流契約に限らず、一般のホーア式もプログラムコードに翻訳する方法を考えてみました。特に、全称限量子（「すべての…に関して…」を意味する）の扱いを工夫してみます。（これは、「AspectJによる契約駆動開発」に関連したエントリーです。）明示的な含意記号契約とホーア式は似てるけどわずかに違う、と言いました。例えば、「事前条件：x &gt; 0、実行文：f(x);、事後条件：result &gt;= 15」の3つ組を考えて： 契約としての解釈：x &gt; 0 が成立しないなら、契約が破られている。 ホーア式としての解釈：x &gt; 0 が成立しないなら、この式は真である。 3つ組（トリプル）記法(x &gt; 0){f…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fm-hiyama.hatenablog.com%2Fentry%2F20060405%2F1144196802&quot; title=&quot;契約とホーア式をプログラムコードに翻訳する - 檜山正幸のキマイラ飼育記 (はてなBlog)&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>2006-04-05 09:26:42</published>
  <title>契約とホーア式をプログラムコードに翻訳する</title>
  <type>rich</type>
  <url>https://m-hiyama.hatenablog.com/entry/20060405/1144196802</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
