Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
prolog_prologue #TechLunch
Search
Livesense Inc.
PRO
April 23, 2014
Technology
77
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
prolog_prologue #TechLunch
20110824(水) @ Livesense TechLunch
発表者:福田 絵里
Livesense Inc.
PRO
April 23, 2014
More Decks by Livesense Inc.
See All by Livesense Inc.
Rubyはただの⾔語に⾮ず
livesense
PRO
0
530
28新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
120
27新卒_総合職採用_会社説明資料
livesense
PRO
0
7.2k
27新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
12k
株式会社リブセンス・転職会議 採用候補者様向け資料
livesense
PRO
0
550
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
PRO
1
1.8k
データ基盤の負債解消のためのリプレイス
livesense
PRO
0
690
26新卒_総合職採用_会社説明資料
livesense
PRO
0
13k
株式会社リブセンス会社紹介資料 / Invent the next common.
livesense
PRO
2
75k
Other Decks in Technology
See All in Technology
AI時代、データエンジニアが一番おもろい
genshun9
0
680
「ピッケル本」日本語版は4.0(第6版)が出版されるべき / pickaxe4-nagoyark05
kakutani
2
270
SREは、MCPとAutopilotをこう使え!
kazumax55
3
940
開発投資の期待値を上げるプロダクトロードマップづくり ~プロダクトエンジニアが越境して事業を伸ばす~
kekekenta
1
240
「どのログを見ればいい?」 から始めた サーバーレス障害解析
y_waka1
1
120
aws-iot-platform-architecture-use-cases.pdf
ma2shita
0
500
山手線を徒歩で一周してわかった、 位置情報アプリは「足」が最強のデバッガー
hinakko
0
180
Azure Serverless 2026:Production-ready な AI エージェント基盤 / Azure Serverless 2026: Production-Ready AI Agent Platform
miyake
2
500
Deployment の 先にある AI Agent 基盤 - kagent vNext、Agent Substrate、Hermes から読み解く Agent Runtime の現在地 / k8s-matsuri-2-ai-agent-platform-amsy810
masayaaoyama
4
700
AIは推し活である。
kurazuuuuuu
1
940
積み重なった技術負債への挑戦 〜初手としての全社ゴト化〜
techtekt
PRO
0
1.5k
AI coding 整合正規方法
philipz
0
470
Featured
See All Featured
Leo the Paperboy
mayatellez
10
2.3k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
550
Design in an AI World
tapps
1
330
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
540
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The agentic SEO stack - context over prompts
schlessera
0
940
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
330
Embracing the Ebb and Flow
colly
88
5.2k
Documentation Writing (for coders)
carmenintech
77
5.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Transcript
Prolog
(Programming in Logic) by Colmerauer in 1972 programmation en logique
from Q-SYSTEM, Planner 非手続き型 AI Prolog Prologue ISOが 標準規格制定 (1995) 第5世代コンピュータ プロジェクト
論理型計算モデル 命題を証明する、 ということを基本的な動作とする 計算モデル 「三段論法を使って命題を証明する、ということを 基本的な動作とする計算モデル」を提供 Prolog
三段論法を使って命題を証明する 何らかの方法によって、 正しいか正しくないかということを 判定することのできる言明 疑問文、 命令文、 感動文ではない文 例)「Room Bは広い。」
「Room Cはいつも空いていない。」 「みんなが幸せだと私も幸せだ。」
三段論法を使って命題を証明する 大前提 AならばB (規則) 小前提 A (事実) 結論 B
規則:一方が真のときはかならず他方も真になる、 という関係が成り立っている、という事実 事実:真だということがすでにわかっている命題
Prologのプログラムは公理系を記述する。 命題を証明するための 前提として使われる、 規則または事実の集合
Prologのプログラムを実行する = 質問の証明を試みる 証明することが要請される命題 プログラムが記述する公理系に基づいて、 三段論法を使って、 質問の証明を試みる。
Prologのプログラムが公理系を記述する。 → 述語を定義する。 「Joe Hewitt氏はFirebugを生み出した。」 例 ものの性質、 またはものとものとの あいだの関係 「Joe
Hewitt氏は偉大である。」 = 規則または事実を定義する。
事実 「Joe Hewitt氏は偉大である。」 事実 「Joe Hewitt氏はFirebugを生み出した。」 idai(hewitt). umidashita(firebug, hewitt).
事実 「いい天気である。」 iitenki. 規則 「増雄が働き者ならば恵子は幸せである。」 shiawase(keiko) :- hatarakimono(masuo). 頭部 本体
?- shiawase(keiko). shiawase(keiko) :- hatarakimono(masuo). hatarakimono(masuo). ゴールを実行する = ゴールの証明を試みる インタプリタ:SWI-Prolog
ゴールが成功する = ゴールが証明される 証明することが 要請される命題を あらわしている項
Easter egg in SWI-Prolog ?- X. % ... 1,000,000 ............
10,000,000 years later % % >> 42 << (last release gives the question) Google search 「answer to life the universe and everything」
次回テーマ AIプログラミング + Prolog