• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Coqによる証明駆動開発
 

Coqによる証明駆動開発

on

  • 3,805 views

わんくま同盟 名古屋勉強会 #16 http://www.wankuma.com/seminar/20110115nagoya16/Default.aspx で使う予定だったスライド。 ...

わんくま同盟 名古屋勉強会 #16 http://www.wankuma.com/seminar/20110115nagoya16/Default.aspx で使う予定だったスライド。 証明駆動開発の簡単な紹介。じゃっかんTDDにケンカを売ってる:)

Statistics

Views

Total Views
3,805
Views on SlideShare
3,788
Embed Views
17

Actions

Likes
3
Downloads
13
Comments
0

3 Embeds 17

http://a0.twimg.com 12
http://paper.li 4
http://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Coqによる証明駆動開発 Coqによる証明駆動開発 Presentation Transcript

  • Coq @mzp 2011/01/15 #16 1
  • • mzp( )• SE•• http://twitter.com/mzp 2
  • ‘‘ Coq Merge Sort - http://d.hatena.ne.jp/yoshihiro503/20090923/p1 3
  • ?4
  • • : Base64• encode ,decode : encode "abc" # => “YWJj” decode "YWJj" # => “abc• encode decode 5
  • TDD : Test::Unit / Rubyassert_equal "foo", decode(encode("foo"))assert_equal "bar", decode(encode("bar"))assert_equal "baz", decode(encode("baz")) • • 6
  • QucikCheck • : QuickCheck / Haskellprop :: String -> Boolprop s = s == decode (encode s)-- 100main = quickCheck prop • 7
  • • Goal forall ( s : string), s = decode (encode s).•• 8
  • Coq• OCaml / F#•• OCaml,Haskell,Scheme, (Ruby, Clojure) 9
  • Coq in Real world• Unison • • Coq• OCamltter: https://github.com/yoshihiro503/ocamltter • Twitter• MessagePack for OCaml: https://github.com/mzp/msgpack-ocaml • OCaml MessagePack 10
  • • TDD• Coq• Coq 11
  • Ruby / Reject• 2011/2/26( ) @• Ruby / Reject• 12