COOKIES: By using this website you agree that we can place Google Analytics Cookies on your device for performance monitoring. |
University of Cambridge > Talks.cam > Computer Laboratory Automated Reasoning Group Lunches > Logic programming beyond Prolog
Logic programming beyond PrologAdd to your list(s) Download to your calendar using vCal
If you have a question about this talk, please contact Alan Mycroft. This is a MSR Seminar (Station Road), duplicated on the ARG list A program in pure Prolog is an executable specification. For example, Quicksort in Prolog is a logical formula, yet shows creditable performance on long lists. But such executable specifications are a compromise: the logic is compromised by algorithmic considerations, yet only indirectly executable via an abstract machine. This talk introduces relational programming, a method that solves the difficulty with Prolog programming by a separation of concerns. It requires writing three texts: (1) Axioms, a logical formula that specifies the problem and is not compromised by algorithmic considerations, (2) Theorem, a logical formula that expresses the algorithm, and (3) Code, a transcription of Theorem to C+. Correctness of Code relies on the logical justification of Theorem by Axioms and on a faithful transcription of Theorem to C+. Sorting is an example where relational programming has the advantage of a higher degree of abstractness: the data to be sorted can be any C++ data type that satisfies the axioms of linear order, while the Prolog version is limited to the Herbrand universe. Another advantage of relational programs is that they can be shown to have a model-theoretic and fixpoint semantics equivalent to each other and analogous to those of pure Prolog programs. This talk is part of the Computer Laboratory Automated Reasoning Group Lunches series. This talk is included in these lists:
Note that ex-directory lists are not shown. |
Other listsMedicine for the Elderly EPRG Energy and Environment Seminars Michaelmas 2009 Construction Engineering Seminars Joint EBI/ Cambridge University Research Symposium CRASSH 'Go Far, Go Together' - Creating an Innovation EnvironmentOther talksAnnual General Meeting St Catharine’s Political Economy Seminar - ‘Global Imbalances and Greece's Exit from the Crisis’ by Dimitrios Tsomocos Streptococcus suis - managing a global zoonotic pathogen of pigs The world is not flat: towards 3D cell biology and 3D devices Superconformal quantum mechanics and integrability CANCELLED Ñande reko: alterity and (non-)participatory research with guaraní women in Bolivia |