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
-
P
Programação orientada a aspecto
Em ciência da computação é um paradigma de programação de computadores
Nº Q30267 ★★
Sem ofertas
-
p
programação reativa funcional
Programming paradigm for reactive programming using key features of functional programming
Nº Q5508843 ★
Sem ofertas
-
P
Predictor–corrector method
Algorithms in numerical analysis
Nº Q2650267 ★
Sem ofertas
-
B
B (linguagem de programação)
Linguagem de programação
Nº Q797302 ★★★
Sem ofertas
-
P
P′′
Linguagem de programação
Nº Q2072087 ★★
Sem ofertas
-
Programação inteira
Nº Q6042592 ★★
Sem ofertas
-
F
FRACTRAN
Turing-complete esoteric programming language invented by John Conway
Nº Q3063395 ★
Sem ofertas
-
C
Convenção sobre configuração
Nº Q1462470 ★
Sem ofertas
-
P
Programação automática
Nº Q762268 ★
Sem ofertas
-
D
Dhrystone
Computer performance test
Nº Q1207761 ★
Sem ofertas
-
S
Static program analysis
Program analysis performed without actually executing programs
Nº Q1329550 ★★★
Sem ofertas
-
P
Pascal (linguagem de programação)
Linguagem de programação
Nº Q81571 ★★★★
Sem ofertas
-
equação de Bellman
Necessary condition for optimality associated with dynamic programming
Nº Q1430750 ★★
Sem ofertas
-
Programação lógica
Nº Q275603 ★★
Sem ofertas
-
A
Algoritmo de Markov
Nº Q1900936 ★★
Sem ofertas
-
d
decomposição própria generalizada
Numerical method for solving boundary value problems
Nº Q55080117 ★★
Sem ofertas
-
A
Algoritmo de Trabb Pardo-Knuth
Nº Q7831057 ★★
Sem ofertas
-
F
Forth
Linguagem de programação
Nº Q275472 ★★
Sem ofertas