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 条
  • [41] A Surface-Theoretic Approach for Statistical Shape Modeling
    Ambellan, Felix
    Zachow, Stefan
    von Tycowicz, Christoph
    MEDICAL IMAGE COMPUTING AND COMPUTER ASSISTED INTERVENTION - MICCAI 2019, PT IV, 2019, 11767 : 21 - 29
  • [42] A GRAPH THEORETIC APPROACH TO STATISTICAL-DATA SECURITY
    GUSFIELD, D
    SIAM JOURNAL ON COMPUTING, 1988, 17 (03) : 552 - 571
  • [43] A SET-THEORETIC APPROACH TO CLASSIFICATION OF STATISTICAL CLASSES
    BRONEVICH, AG
    KARKISHENKO, AN
    AUTOMATION AND REMOTE CONTROL, 1994, 55 (02) : 211 - 217
  • [44] STATISTICAL DECISION THEORETIC APPROACH TO DIGITAL RELAYING.
    Sakaguichi, Toshiaki
    Proceedings of the Annual Reliability and Maintainability Symposium, 1980,
  • [45] Semantics of programming languages: A tool-oriented approach
    Heering, J
    Klint, P
    ACM SIGPLAN NOTICES, 2000, 35 (03) : 39 - 48
  • [46] Modeling the use of Programming Languages: a very Simple Approach
    Chimal-Eguia, J. C.
    Chavez-Valle, A.
    APPLIED MATHEMATICS & INFORMATION SCIENCES, 2014, 8 (03): : 1037 - 1040
  • [47] Objects and polymorphism in system programming languages: A new approach
    Department of Algorithms and Their Applications, ELTE, Hungary
    不详
    Period Polytech Electr Eng, 2007, 3-4 (85-97):
  • [48] An ontology-based approach in learning programming languages
    Pierrakeas, Christos
    Solomou, Georgia
    Kameas, Achilles
    Proceedings of the 2012 16th Panhellenic Conference on Informatics, PCI 2012, 2012, : 393 - 398
  • [49] A FORMAL APPROACH TO UNDO OPERATIONS IN PROGRAMMING-LANGUAGES
    LEEMAN, GB
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1986, 8 (01): : 50 - 87
  • [50] ZIPF LAW IN NATURAL LANGUAGES, PROGRAMMING-LANGUAGES, AND COMMAND LANGUAGES - THE SIMON-YULE APPROACH
    CHEN, YS
    INTERNATIONAL JOURNAL OF SYSTEMS SCIENCE, 1991, 22 (11) : 2299 - 2312