<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ushumpei</author_name>
  <author_url>https://blog.hatena.ne.jp/ushumpei/</author_url>
  <blog_title>ushumpei’s blog</blog_title>
  <blog_url>https://ushumpei.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Lean4 を数学の証明以外で使ってみたい気持ちがあり、しかし現実にある複雑なプログラムを検証する方法がわかっていないため、とりあえず FizzBuzz の証明を書いてみました。 import Std def fizz_buzz : Nat → String := fun n =&gt; if n % 15 = 0 then &quot;FizzBuzz&quot; else if n % 3 = 0 then &quot;Fizz&quot; else if n % 5 = 0 then &quot;Buzz&quot; else toString n -- 15 の倍数で FizzBuzz になることを証明する theorem fizz_buzz_mul…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fushumpei.hatenablog.com%2Fentry%2F2023%2F10%2F30%2F155345&quot; title=&quot;Lean4 学習10 - ushumpei’s 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>2023-10-30 15:53:45</published>
  <title>Lean4 学習10</title>
  <type>rich</type>
  <url>https://ushumpei.hatenablog.com/entry/2023/10/30/155345</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
