<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zakky_dev</author_name>
  <author_url>https://blog.hatena.ne.jp/zakky_dev/</author_url>
  <blog_title>眠気と戦う日々</blog_title>
  <blog_url>https://zakky-dev.hateblo.jp/</blog_url>
  <categories>
    <anon>coq</anon>
  </categories>
  <description>久々の記事もまたCoqでソフトウェアの基礎ネタです。 今回はList_Jにおける練習問題「rev_injective」について。 問題のTheorem Theorem rev_injective: forall l1 l2: natlist, rev l1 = rev l2 -&gt; l1 = l2. ソフトウェアの基礎ではCoqコードではありませんが、型Xの部分をnatとしてCoqコードにするとこんな感じになります。 これについて証明していきましょう。 定理の意味を確認 まずはとにかく定理を見てみましょう。 Theorem rev_injective: forall l1 l2: natlist…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzakky-dev.hateblo.jp%2Fentry%2F2014%2F10%2F12%2F072518&quot; title=&quot;リスト反転関数が単射であることを証明する - 眠気と戦う日々&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>2014-10-12 07:25:18</published>
  <title>リスト反転関数が単射であることを証明する</title>
  <type>rich</type>
  <url>https://zakky-dev.hateblo.jp/entry/2014/10/12/072518</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
