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 ★
Commune · Savoirs
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.
Sur Wikipédia
Texte en anglais Pas encore d'article dans ta langue : extrait en anglais.
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...
Texte : Wikipédia en anglais, CC BY-SA 4.0. ·
Cartes voisines
-
I
ICON
Langage de programmation informatique
Nº Q1156474 ★
Pas en vente
-
C
Copy elision
Compiler optimization that eliminates copying of objects under certain conditions
Nº Q5169174 ★
Pas en vente
-
Encapsulation (réseau)
Procédé consistant à inclure les données d'un protocole dans un autre protocole
Nº Q1172449 ★
Pas en vente
-
H
History of artificial neural networks
Aspect of history
Nº Q85766763 ★
Pas en vente
-
l
langage de programmation multi-paradigme
Programming language type
Nº Q12772052 ★★
Pas en vente
-
S
Style de Fitch pour la déduction naturelle
Nº Q1142450 ★
Pas en vente
-
P
Programmation déclarative
Paradigme de programmation créant des applications sans décrire le fonctionnement
Nº Q531152 ★★
Pas en vente
-
P
P-Code
Programming virtual machine
Nº Q285614 ★
Pas en vente
-
a
arbre de comportement
Control method
Nº Q18205497 ★
Pas en vente
-
T
Threads POSIX
Nº Q928112 ★
Pas en vente
-
Méthode de Newton
Algorithme de calcul d'un zéro d'une fonction réelle d'une variable réelle
Nº Q374195 ★★★
Pas en vente
-
M
Méthode de Welch
Nº Q7980541 ★
Pas en vente
-
P
Process Lasso
Windows software
Nº Q4047412 ★★
Pas en vente
-
E
Exponentiation rapide
Algorithme de calcul de grands exposants
Nº Q864127 ★★
Pas en vente
-
T
Test de primalité AKS
Test de primalité déterministe, généraliste et polynomial
Nº Q294284 ★★
Pas en vente
-
T
TLA+
Langage de programmation
Nº Q28955120 ★
Pas en vente
-
P
Programmation lettrée
Paradigme de programmatoin basé sur la logique et la pensée
Nº Q607703 ★★
Pas en vente
-
APL (langage)
Langage de programmation
Nº Q296187 ★★
Pas en vente