The Spirit of Ghost Code

نویسندگان

  • Jean-Christophe Filliâtre
  • Léon Gondelman
  • Andrei Paskevich
چکیده

In the context of deductive program verification, ghost code is part of the program that is added for the purpose of specification. Ghost code must not interfere with regular code, in the sense that it can be erased without any observable difference in the program outcome. In particular, ghost data cannot participate in regular computations and ghost code cannot mutate regular data or diverge. The idea exists in the folklore since the early notion of auxiliary variables and is implemented in many state-of-the-art program verification tools. However, a rigorous definition and treatment of ghost code is surprisingly subtle and few formalizations exist. In this article, we describe a simple ML-style programming language with mutable state and ghost code. Non-interference is ensured by a type system with effects, which allows, notably, the same data types and functions to be used in both regular and ghost code. We define the procedure of ghost code erasure and we prove its safety using bisimulation. A similar type system, with numerous extensions which we briefly discuss, is implemented in the program verification environment Why3.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Nature of Man―has the Ghost in the Machine Finally been Exorcised?

The machine Gilbert Ryle expressed the scepticism of the age when he disparagingly referred to the traditional notion of man as composed of a spirit interacting with a brain as ‘the ghost in the machine’. For centuries dualism had been the prevalent view amongst philosophers, found embryonically in Plato and reaching its classical statement in Descartes. Man’s composite nature has also been ass...

متن کامل

Ghost Image Mapping of Palatal Bone of Maxilla and Nasal Cavity in Panoramic View Using Cranex D Digital Machine

Introdouction: The mapping of ghost images of the maxilla and the nasal cavity, which are complex structures, is very important. The position of objects that create a ghost image can differ when using various devices. The purpose of this investigation was to study the mapping of ghost images of the maxilla and the nasal cavity using a Cranex D digital panoramic machine. Materials and methods: ...

متن کامل

Democracy – The Real ‘Ghost’ in the Machine of Global Health Policy; Comment on “A Ghost in the Machine? Politics in Global Health Policy”

Politics is not the ghost in the machine of global health policy. Conceptually, it makes little sense to argue otherwise, while history is replete with examples of individuals and movements engaging politically in global health policy. Were one looking for ghosts, a more likely candidate would be democracy, which is currently under attack by a new global health technocracy. Civil society moveme...

متن کامل

Mapping the Zeitgeist

The concept represented by the term “zeitgeist” is such a universally appealing one that “zeitgeist” is one of the few loanwords adopted into English whole cloth from the modern German language. Literally translated, the term means “ghost of time”, but the term is mostly commonly used to represent the idea of the “spirit of the era”. In this paper, we inquire about the spatial component of this...

متن کامل

Construct validity and transpositional research: toward an empirical study of psychoanalytic concepts.

L IKE ALL GREAT HOUSES, the magnificent edifice of psychological constructs, erected by the master-architect Sigmund Freud has a resident ghost. This ghost is the spirit of verification. The imposing structure of psychoanalytic concepts has, of course, considerable internal consistency and coherence. This, otherwise felicitous circumstance however, further complicates the situation by frequentl...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Formal Methods in System Design

دوره 48  شماره 

صفحات  -

تاریخ انتشار 2014