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 à linguagem
Programming paradigm
Nº Q6486619 ★
Sem ofertas
-
Computação paralela
Nº Q232661 ★★
Sem ofertas
-
P
Principle of individuation
Concept in metaphysics
Nº Q371857 ★★
Sem ofertas
-
Método de Euler
Método de integração numérica
Nº Q868454 ★★★
Sem ofertas
-
Compilação AOT
Nº Q56248162 ★
Sem ofertas
-
S
Satisfiability modulo theories
Problem of determining whether a mathematical formula is satisfiable
Nº Q2067766 ★★
Sem ofertas
-
Algoritmo de Quine-McCluskey
Nº Q621409 ★
Sem ofertas
-
C
Currying
Nº Q1144925 ★★
Sem ofertas
-
C++
Linguagem de programação
Nº Q2407 ★★★★
Sem ofertas
-
Binary GCD algorithm
Algorithm that computes the greatest common divisor of two integers using only arithmetic shifts, comparisons, and subtraction
Nº Q622328 ★
Sem ofertas
-
S
Stack-oriented programming
Programming paradigm that relies on a stack machine model
Nº Q52845127 ★
Sem ofertas
-
Strategy
Nº Q775349 ★★
Sem ofertas
-
S
Satisficing
Cognitive heuristic that entails searching through the available alternatives until an acceptability threshold is met
Nº Q1578122 ★★
Sem ofertas
-
S
Sequential probability ratio test
Hypothesis test in mathematics
Nº Q2271882 ★
Sem ofertas
-
S
Skeleton (computer programming)
Design pattern in software development
Nº Q1169129 ★★
Sem ofertas
-
P
Principle of least astonishment
Principle in computer system design
Nº Q22668 ★★
Sem ofertas
-
B
BPP
Nº Q796890 ★
Sem ofertas
-
L
Loop unrolling
Loop transformation technique
Nº Q1869750 ★
Sem ofertas