SlideShare une entreprise Scribd logo
1  sur  17
Télécharger pour lire hors ligne
Nobuhisa Koizumi

[(F# における)
 Modus Ponens と Cut ]
Profile
•   ハイパーK泉さん
•   近況:ピーナッツ
Nobuhisa Koizumi

[(F# における)
 Modus Ponens と Cut ]
Modus Ponens
Modus Ponens
                  A A→B
                     B
                (A → B) → B
               A → (A → B) → B




          A→ A→B →B
          ※A⋀ A→B →B
Modus Ponens
> 1 |> (fun x -> (x, x)) ;;
val it : int * int = (1, 1)




                       A→ A→B →B
Modus Ponens
> 1 |> (fun x -> (x, x)) ;;
val it : int * int = (1, 1)
> ( |> ) ;;
val it : ('a -> ('a -> 'b) -> 'b) = <fun:it@21-2>


                       A→ A→B →B
Nobuhisa Koizumi

[(F# における)
 Modus Ponens と Cut ]
Cut

Γ → Δ, 𝐴 𝐴, Π → ∑
   Γ, Π → Δ, ∑
Cut                           A A→B
                                  B     B→C
                                      C
Γ → Δ, 𝐴 𝐴, Π → ∑                     A→C
                                (B → C) → (A → C)
   Γ, Π → Δ, ∑             (A → B) → (B → C) → (A → C)




        (A → B) → B → C → (A → C)
        ※ A → B ⋀ B → C → (A → C)
Cut
> (1, 2) |> (fst >> float) ;;
val it : float = 1.0




            (A → B) → B → C → (A → C)
Cut
> (1, 2) |> (fst >> float) ;;
val it : float = 1.0
> ( >> ) ;;
val it : (('a -> 'b) -> ('b -> 'c) -> 'a -> 'c) =
<fun:it@30-5>


            (A → B) → B → C → (A → C)
命題論理 ↔ 型付きラムダ計算



     カリー・ハワード同型対応
     (Curry–Howard isomorphism)
“37221” 事件
F# 37221
F# 37221


           ダメ!ゼッタイ!
Nobuhisa Koizumi

[(F# における)
 Modus Ponens と Cut ]
          おしまい

Contenu connexe

Tendances

UTPC2012 - K
UTPC2012 - KUTPC2012 - K
UTPC2012 - Komeometo
 
Fukuoka DSL Night 2011 08-25
Fukuoka DSL Night 2011 08-25Fukuoka DSL Night 2011 08-25
Fukuoka DSL Night 2011 08-25Akifumi Nambu
 
The boolean operation for Cubic Bezier
The boolean operation for Cubic BezierThe boolean operation for Cubic Bezier
The boolean operation for Cubic Beziermikanplus
 
20170408 cv geometric_estimation_1-2.2
20170408 cv geometric_estimation_1-2.220170408 cv geometric_estimation_1-2.2
20170408 cv geometric_estimation_1-2.2Kyohei Unno
 
位置情報コード「ロカポ」のご紹介
位置情報コード「ロカポ」のご紹介位置情報コード「ロカポ」のご紹介
位置情報コード「ロカポ」のご紹介Hal Seki
 
オルタードコードとスケール Altered chord and scale 
オルタードコードとスケール Altered chord and scale オルタードコードとスケール Altered chord and scale 
オルタードコードとスケール Altered chord and scale Hitoshi Kawai
 
写像の基本性質
写像の基本性質写像の基本性質
写像の基本性質政孝 鍋島
 
Disco Presents ディスカバリーチャンネルプログラミングコンテスト2016 本選 解説
Disco Presents ディスカバリーチャンネルプログラミングコンテスト2016 本選 解説Disco Presents ディスカバリーチャンネルプログラミングコンテスト2016 本選 解説
Disco Presents ディスカバリーチャンネルプログラミングコンテスト2016 本選 解説AtCoder Inc.
 
平面への射影と行列
平面への射影と行列平面への射影と行列
平面への射影と行列政孝 鍋島
 
Magical
MagicalMagical
Magicaloupc
 
圏論 3分(?) クッキング
圏論 3分(?) クッキング圏論 3分(?) クッキング
圏論 3分(?) クッキングaiya000
 
円と円の交点の求め方
円と円の交点の求め方円と円の交点の求め方
円と円の交点の求め方Sho IIZUKA
 

Tendances (20)

Ilerpg Study 003
Ilerpg Study 003Ilerpg Study 003
Ilerpg Study 003
 
UTPC2012 - K
UTPC2012 - KUTPC2012 - K
UTPC2012 - K
 
会津合宿2015Day3:D問題
会津合宿2015Day3:D問題会津合宿2015Day3:D問題
会津合宿2015Day3:D問題
 
5 Info Theory
5 Info Theory5 Info Theory
5 Info Theory
 
Fukuoka DSL Night 2011 08-25
Fukuoka DSL Night 2011 08-25Fukuoka DSL Night 2011 08-25
Fukuoka DSL Night 2011 08-25
 
The boolean operation for Cubic Bezier
The boolean operation for Cubic BezierThe boolean operation for Cubic Bezier
The boolean operation for Cubic Bezier
 
20170408 cv geometric_estimation_1-2.2
20170408 cv geometric_estimation_1-2.220170408 cv geometric_estimation_1-2.2
20170408 cv geometric_estimation_1-2.2
 
位置情報コード「ロカポ」のご紹介
位置情報コード「ロカポ」のご紹介位置情報コード「ロカポ」のご紹介
位置情報コード「ロカポ」のご紹介
 
CG2013 11
CG2013 11CG2013 11
CG2013 11
 
オルタードコードとスケール Altered chord and scale 
オルタードコードとスケール Altered chord and scale オルタードコードとスケール Altered chord and scale 
オルタードコードとスケール Altered chord and scale 
 
写像の基本性質
写像の基本性質写像の基本性質
写像の基本性質
 
Disco Presents ディスカバリーチャンネルプログラミングコンテスト2016 本選 解説
Disco Presents ディスカバリーチャンネルプログラミングコンテスト2016 本選 解説Disco Presents ディスカバリーチャンネルプログラミングコンテスト2016 本選 解説
Disco Presents ディスカバリーチャンネルプログラミングコンテスト2016 本選 解説
 
固有値問題
固有値問題固有値問題
固有値問題
 
固有値の問題
固有値の問題固有値の問題
固有値の問題
 
線形写像のker
線形写像のker線形写像のker
線形写像のker
 
平面への射影と行列
平面への射影と行列平面への射影と行列
平面への射影と行列
 
Magical
MagicalMagical
Magical
 
Ilerpg Study 006
Ilerpg Study 006Ilerpg Study 006
Ilerpg Study 006
 
圏論 3分(?) クッキング
圏論 3分(?) クッキング圏論 3分(?) クッキング
圏論 3分(?) クッキング
 
円と円の交点の求め方
円と円の交点の求め方円と円の交点の求め方
円と円の交点の求め方
 

[(F#における)Modus Ponens と Cut]