Predicative programming
Method of computer program specification
Predicative programming is the original name of a formal method for program specification and refinement, more recently called a Practical Theory of Programming, invented by Eric Hehner. The central idea is that each specification is a binary (boolean) expression that is true of acceptable computer behaviors and false of unacceptable behaviors.
Nº Q7239635 ★
Comum · Saberes
Predicative programming
Method of computer program specification
Predicative programming is the original name of a formal method for program specification and refinement, more recently called a Practical Theory of Programming, invented by Eric Hehner. The central idea is that each specification is a binary (boolean) expression that is true of acceptable computer behaviors and false of unacceptable behaviors.
Na Wikipédia
Texto em inglês Ainda não há artigo no seu idioma: trecho em inglês.
Predicative programming is the original name of a formal method for program specification and refinement, more recently called a Practical Theory of Programming, invented by Eric Hehner. The central idea is that each specification is a binary (boolean) expression that is true of acceptable computer behaviors and false of unacceptable behaviors. It follows that refinement is just implication. This is the simplest formal method, and the most general, applying to sequential, parallel, stand-alone, communicating, terminating, nonterminating, natural-time, real-time, deterministic, and probabilistic programs, and includes time and space bounds. Commands in a programming language are considered to be a special case of specification—those specifications that are compilable. For example, if the program variables are x {\displaystyle x} , y {\displaystyle y} , and z {\displaystyle z} , the command x {\displaystyle x} := y {\displaystyle y} +1 is equivalent to the specification (binary expression) x ′ {\displaystyle x'} = y {\displaystyle y} +1 ∧ y ′ {\displaystyle y'} = y {\displaystyle y} ∧ z ′ {\displaystyle z'} = z {\displaystyle z} in which x {\displaystyle x} , y {\displaystyle y} , and z {\displaystyle z} represent the values of the program variables before the assignment, and x ′ {\displaystyle x'} , y ′ {\displaystyle y'} , and z ′ {\displaystyle z'} represent the values of the program variables after the assignment. If the specification is x ′ {\displaystyle x'} > y {\displaystyle y} , we easily prove ( x {\displaystyle x} := y {\displaystyle y} +1) ⇒ ( x ′ {\displaystyle x'} > y {\displaystyle y} ), which says that x {\displaystyle x} := y {\displaystyle y} +1 implies, or refines, or implements x ′ {\displaystyle x'} > y {\displaystyle y} . Loop proofs are greatly simplified. For example, if x {\displaystyle x} is an integer variable, to prove that while...
Texto: Wikipédia em inglês, CC BY-SA 4.0. ·
Cartas próximas
-
I
Icon (linguagem de programação)
Linguagem de programação
Nº Q1156474 ★
Sem ofertas
-
C
Copy elision
Compiler optimization that eliminates copying of objects under certain conditions
Nº Q5169174 ★
Sem ofertas
-
Encapsulamento (redes)
Nº Q1172449 ★
Sem ofertas
-
H
History of artificial neural networks
Aspect of history
Nº Q85766763 ★
Sem ofertas
-
L
Linguagem de programação multiparadigma
Nº Q12772052 ★★
Sem ofertas
-
F
Fitch notation
Notational system for constructing formal proofs
Nº Q1142450 ★
Sem ofertas
-
P
Programação declarativa
Nº Q531152 ★★
Sem ofertas
-
U
UCSD p-System
Nº Q285614 ★
Sem ofertas
-
B
Behavior tree (artificial intelligence, robotics and control)
Control method
Nº Q18205497 ★
Sem ofertas
-
P
POSIX Threads
Nº Q928112 ★
Sem ofertas
-
Método de Newton–Raphson
Algoritmo para encontrar raízes
Nº Q374195 ★★★
Sem ofertas
-
W
Welch's method
Estimating signal power
Nº Q7980541 ★
Sem ofertas
-
P
Process Lasso
Windows software
Nº Q4047412 ★★
Sem ofertas
-
E
Exponentiation by squaring
Algorithm
Nº Q864127 ★★
Sem ofertas
-
T
Teste de primalidade AKS
Nº Q294284 ★★
Sem ofertas
-
T
TLA+
Linguagem de programação
Nº Q28955120 ★
Sem ofertas
-
P
Programação letrada
Nº Q607703 ★★
Sem ofertas
-
APL (linguagem de programação)
Linguagem de programação
Nº Q296187 ★★
Sem ofertas