A Domain-theoretic Approach to Statistical Programming Languages

被引:2
|
作者
Goubault-Larrecq, Jean [1 ]
Jia, Xiaodong [2 ,3 ]
Theron, Clement [1 ]
机构
[1] Univ Paris Saclay, CNRS, Lab Methodes Formelles, ENS Paris Saclay, 4 Ave Sci, F-91190 Gif Sur Yvette, France
[2] Hunan Univ, Sch Math, Changsha 410082, Hunan, Peoples R China
[3] Hunan Univ, Coll Comp Sci & Elect Engn, Changsha 410082, Hunan, Peoples R China
关键词
Statistical programming languages; semantics; domain theory; adequacy; REAL; EXTENSION; SPACES;
D O I
10.1145/3611660
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We give a domain-theoretic semantics to a statistical programming language, using the plain old category of dcpos, in contrast to some more sophisticated recent proposals. Remarkably, our monad of minimal valuations is commutative, which allows for program transformations that permute the order of independent random draws, as one would expect. A similar property is not known for Jones and Plotkin's monad of continuous valuations. Instead of working with true real numbers, we work with exact real arithmetic, providing a bridge towards possible implementations (implementations by themselves are not addressed here). Rather remarkably, we show that restricting ourselves to minimal valuations does not restrict us much: All measures on the real line can be modeled by minimal valuations on the domain IR. of exact real arithmetic. We give three operational semantics for our language, and we show that they are all adequate with respect to the denotational semantics. We also explore quite a few examples to demonstrate that our semantics computes exactly as one would expect and to debunk the myth that a semantics based on continuous maps would not be expressive enough to encode measures with non-compact support using only measures with compact support, or to encode measures via non-continuous density functions, for instance. Our examples also include some useful, non-trivial cases of distributions on higher-order objects.
引用
收藏
页数:63
相关论文
共 50 条
  • [31] Statistical Data and Programming Languages Analysis for Developing a Chatbot in Telegram
    Rytikova, Victoria O.
    Medvedev, Maxim A.
    APPLICATIONS OF MATHEMATICS IN ENGINEERING AND ECONOMICS (AMEE20), 2021, 2333
  • [32] Programming Languages in Bioinformatics- An Interdisciplinary Approach
    Lohar, Prakash S.
    BIOSCIENCE BIOTECHNOLOGY RESEARCH COMMUNICATIONS, 2012, 5 (01): : 5 - 5
  • [33] A Namespace Approach for Modularity in BDI Programming Languages
    Ortiz-Hernandez, Gustavo
    Hubner, Jomi Fred
    Bordini, Rafael H.
    Guerra-Hernandez, Alejandro
    Hoyos-Rivera, Guillermo J.
    Cruz-Ramirez, Nicandro
    ENGINEERING MULTI-AGENT SYSTEMS, EMAS 2016, 2016, 10093 : 117 - 135
  • [34] A mixin-based, semantics-based approach to reusing domain-specific programming languages
    Duggan, D
    ECOOP 2000 - OBJECT-ORIENTED PROGRAMMING, 2000, 1850 : 179 - 200
  • [35] A model transformation framework for Domain Specific Languages: An approach using UML and attribute-oriented programming
    Wada, Hiroshi
    Suzuki, Junichi
    Takada, Shingo
    Doi, Norihisa
    WMSCI 2005: 9th World Multi-Conference on Systemics, Cybernetics and Informatics, Vol 3, 2005, : 334 - 339
  • [36] Adaptation of programming plans in transfer between programming languages: A developmental approach
    Wiedenbeck, S
    Scholtz, J
    EMPIRICAL STUDIES OF PROGRAMMERS: SIXTH WORKSHOP, 1996, : 233 - 253
  • [37] A proof theoretic approach to failure in functional logic programming
    López-Fraguas, FJ
    Sánchez-Hernández, J
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2004, 4 : 41 - 74
  • [38] An order-theoretic approach to dynamic programming: an exposition
    Takashi Kamihigashi
    Economic Theory Bulletin, 2014, 2 (1) : 13 - 21
  • [39] The (Re) Emergence of Agile Languages and Domain-Oriented Programming
    Thomas, Dave
    JOURNAL OF OBJECT TECHNOLOGY, 2005, 4 (09): : 7 - 10
  • [40] STATISTICAL APPROACH TO EVALUATION OF INTERNAL COMPUTER LANGUAGES
    GULINSKII, PY
    RABINOVICH, ZL
    CYBERNETICS, 1989, 25 (02): : 237 - 242