<?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>今日もちょっとAlloyで遊んでみます。ある目的から、自然数の区間 {0, 1, 2, ..., n} の性質の一部を抽象した構造が欲しくなりました。その構造とは次のものです。 サクセッサ（後者関数）に基づく全順序（線形順序） 2点間の距離 2点間の距離とは、x, y∈{0, 1, 2, ..., n} として、次のように定義されます。 δ(x, y) = |x - y| ここでは便宜上引き算と絶対値で表現してますが、事前に引き算や絶対値を要求しているわけではありません。とりあえず、サクセッサ（名前はnextにします）と順序＜（名前はlt）、それと定数ゼロ（zero）、最後の数（last）を定…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fm-hiyama.hatenablog.com%2Fentry%2F20110720%2F1311129932&quot; title=&quot;自然数の区間をAlloyで書いてみる - 檜山正幸のキマイラ飼育記 (はてな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>2011-07-20 11:45:32</published>
  <title>自然数の区間をAlloyで書いてみる</title>
  <type>rich</type>
  <url>https://m-hiyama.hatenablog.com/entry/20110720/1311129932</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
