<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jurupapa</author_name>
  <author_url>https://blog.hatena.ne.jp/jurupapa/</author_url>
  <blog_title>Maxima で綴る数学の旅</blog_title>
  <blog_url>https://maxima.hatenablog.jp/</blog_url>
  <categories>
    <anon>数学</anon>
  </categories>
  <description>前回はコインを2回投げる試行のPMF（確率質量関数）による記述方法を紹介し、2回とも同じ面がでる確率事象の記述の仕方と確率を証明しました。 今回は同じように2回投げる試行で2回とも表が出る確率事象の記述を行い、その確率が1/4であることを証明します。 noncomputabledef two_coins_one_one : PMF (ZMod 2) := do let b1 ← coin_toss let b2 ← coin_toss pure (b1*b2) -- b1*b2=1 only when b1=1 and b2=1 この場合にはpureの引数にはZMod 2型の積を使ってb1*b…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmaxima.hatenablog.jp%2Fentry%2F2025%2F05%2F17%2F193955&quot; title=&quot;-数学- 確率とLean4　コインを2回投げて表が2回出る場合 - Maxima で綴る数学の旅&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>https://cdn-ak.f.st-hatena.com/images/fotolife/j/jurupapa/20250510/20250510155306.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-05-17 19:39:55</published>
  <title>-数学- 確率とLean4　コインを2回投げて表が2回出る場合</title>
  <type>rich</type>
  <url>https://maxima.hatenablog.jp/entry/2025/05/17/193955</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
