意味論
en: semantics
おこり
ざっくり、言葉などの表象が指す先であるところの意味についての理論や学問のこと
現時点での理解wint.icon
疑問wint.icon
表現なしに意味論を扱うことは不可能だが、その様に間接的に扱われる意味論とは、なんだ?
原点から派生への系統で整理しよう
言語学の意味論
自然言語のsyntax(統語)に対して意味論を考える
cf. 統語論
「言葉の意味」という直感的にわかりやすい概説が出せる
形式化が難しそう
語用論まで出てくるとどうするんだ?wint.icon
でも(自然言語の)形式意味論なる分野がある。
統計的にやる
e.g. 統計的意味論、機械学習、 BERT
論理学の意味論
syntaxもsemanticsも かなり数理的にできる
cf. 数理論理学
logic は形式言語だと言える
いろんなモデルへの割り当てを考えるので、想像力の余地がある
もっと正確に言えば、記号から解釈への割り当てについての領域を扱ってる
ref. 『論理学をつくる』
解釈
ref. https://en.wikipedia.org/wiki/Interpretation_%28logic%29
e.g. nonstandard な自然数(算術)のモデル
というか standard model of arithmetic を一階述語論理で表現できない。
e.g. nonstandard analysis / 超準解析
nonstandard な実数のモデルを与える
概ねモデル理論と言って良いのか?wint.icon
プログラミング言語の意味論
i.e. プログラム意味論
プログラミング言語も形式言語の一種
原則(計算機上で)実行できるものなので、少なくとも操作的意味論はあると事実上保証できそうだ。
フツーの物理的な計算機は 状態機械なので。
表示的意味論
一般の言語の表示的意味論は難しいようだ…
特に領域理論
より位相に近づいた議論もできるようだ?
プログラミング言語の函数と 数学の函数とを 一致させよう、という素朴なモチベからスタートしたら、これが できる。
公理的意味論
cf. Hoare tuple
e.g. spec/test
また、上記のそれぞれに対して形式意味論を考えられる という。
自然言語においては、形式言語の意味論の一般化らしい。
粗視化?
abstract → concrete
concrete semantics
ref. https://ja.wikipedia.org/wiki/抽象解釈
定理
表現定理
同型射(つまりペアとなる準同型)が あること
2つの構造の同型性
語源
semantics - Wiktionary
semantics | Etymology, origin and meaning of semantics by etymonline
the study of meaning in language; the science of the relationship between linguistic symbols and their meanings
意味の学問
→ semantic
semantic | Etymology, origin and meaning of semantic by etymonline
sēmainein「記号で示す、意味する、指摘する、記号で示す」
いわば「指し示すもの」
分野
形式意味論
参考資料
意味論 - Wikipedia
形式意味論 - Wikipedia
意味論 (言語学) - Wikipedia
意味論 (論理学) - Wikipedia
プログラム意味論 - Wikipedia
領域理論 - Wikipedia
cf. 領域理論
計算の領域が何であるべきか
計算が表す領域?
https://en.wikipedia.org/wiki/Domain_theory#Directed_sets_as_converging_specifications
Hence we can view directed subsets as consistent specifications, i.e. as sets of partial results in which no two elements are contradictory. This interpretation can be compared with the notion of a convergent sequence in analysis, where each element is more specific than the preceding one. Indeed, in the theory of metric spaces, sequences play a role that is in many aspects analogous to the role of directed sets in domain theory.
歴史的には、ラムダ計算 → プログラム
Semantics - New World Encyclopedia
Semantics - Historical and contemporary theories of meaning | Britannica
言語設計者が意味論を書くときに考えていたこと