Non-deterministic expressions and predicate transformers

被引:14
|
作者
Morris, JM
机构
关键词
non-deterministic expressions; weakest preconditions; refinement calculus;
D O I
10.1016/S0020-0190(97)00023-9
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Non-determinacy is important in the formal specification and formal derivation of programs, but non-determinacy within expressions is theoretically problematical. The refinement calculus side-steps the problem by admitting non-determinacy only at the level of statements, leading to a style of programming that favours statements and procedures over expressions and functions. But expressions are easier to manipulate than statements, and the poverty of the expression notation has made the formal derivation of imperative programs tedious. Here we introduce non-deterministic expressions into the refinement calculus by constructing a weakest precondition semantics for imperative specifications and programs that holds good even when expressions may be non-deterministic.
引用
收藏
页码:241 / 246
页数:6
相关论文
共 50 条
  • [1] NON-DETERMINISTIC FUNCTIONS AS NON-DETERMINISTIC PROCESSES
    Paulus, Joseph W. N.
    Nantes-Sobrinho, Daniele
    Perez, Jorge A.
    LOGICAL METHODS IN COMPUTER SCIENCE, 2023, 19 (04) : 1 - 1
  • [2] Non-deterministic matrices
    Avron, A
    Lev, I
    34TH INTERNATIONAL SYMPOSIUM ON MULTIPLE-VALUED LOGIC, PROCEEDINGS, 2004, : 282 - 287
  • [3] Deterministic and non-deterministic stable models
    Sacca, D
    Zaniolo, C
    JOURNAL OF LOGIC AND COMPUTATION, 1997, 7 (05) : 555 - 579
  • [4] NON-DETERMINISTIC FORTRAN
    COHEN, J
    CARTON, E
    COMPUTER JOURNAL, 1974, 17 (01): : 44 - 51
  • [5] Non-deterministic processors
    May, D
    Muller, HL
    Smart, NP
    INFORMATION SECURITY AND PRIVACY, PROCEEDINGS, 2001, 2119 : 115 - 129
  • [6] On Non-Deterministic Quantification
    Ferguson, Thomas Macaulay
    LOGICA UNIVERSALIS, 2014, 8 (02) : 165 - 191
  • [7] NON-DETERMINISTIC ALGORITHMS
    COHEN, J
    COMPUTING SURVEYS, 1979, 11 (02) : 79 - 94
  • [8] A novel algorithm for the conversion of shuffle regular expressions into non-deterministic finite automata
    Kumar, Ajay
    Verma, Anil Kumar
    MAEJO INTERNATIONAL JOURNAL OF SCIENCE AND TECHNOLOGY, 2013, 7 (03) : 396 - 407
  • [9] A Novel Algorithm for the Conversion of Parallel Regular Expressions to Non-deterministic Finite Automata
    Kumar, Ajay
    Verma, Anil Kumar
    APPLIED MATHEMATICS & INFORMATION SCIENCES, 2014, 8 (01): : 95 - 105
  • [10] Deterministic and non-deterministic hypersubstitutions for algebraic systems
    Joomwong, Jintana
    Phusanga, Dara
    ASIAN-EUROPEAN JOURNAL OF MATHEMATICS, 2016, 9 (02)