Cookies Policy
The website need some cookies and similar means to function. If you permit us, we will use those means to collect data on your visits for aggregated statistics to improve our service. Find out More
Accept Reject
  • Menu
Publications

Publications by Alexandra Sofia Mendes

2023

bGSL: An imperative language for specification and refinement of backtracking programs

Authors
Dunne, S; Ferreira, JF; Mendes, A; Ritchie, C; Stoddart, B; Zeyda, F;

Publication
JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING

Abstract
We present an imperative refinement language for the development of backtracking programs and discuss its semantic foundations. For expressivity, our language includes prospective values and preference - the latter being a variant of Nelson's biased choice that backtracks from infeasibility of a continuation. Our key contribution is to examine feasibility-preserving refinement as a basis for developing backtracking programs, and several key refinement laws that enable compositional refinement in the presence of non -monotonic program combinators.

2021

Formal Methods Teaching

Authors
Ferreira, JF; Mendes, A; Menghi, C;

Publication
Lecture Notes in Computer Science

Abstract

2014

Structure Editing of Handwritten Mathematics

Authors
Mendes, A; Backhouse, R; Ferreira, JF;

Publication
Proceedings of the Ninth ACM International Conference on Interactive Tabletops and Surfaces - ITS '14

Abstract

2017

Certified Password Quality

Authors
Ferreira, JF; Johnson, SA; Mendes, A; Brooke, PJ;

Publication
Lecture Notes in Computer Science - Integrated Formal Methods

Abstract

2017

Certified Password Quality - A Case Study Using Coq and Linux Pluggable Authentication Modules

Authors
Ferreira, JF; Johnson, SA; Mendes, A; Brooke, PJ;

Publication
IFM

Abstract
We propose the use of modern proof assistants to specify, implement, and verify password quality checkers. We use the proof assistant Coq, focusing on Linux PAM, a widely-used implementation of pluggable authentication modules for Linux. We show how password quality policies can be expressed in Coq and how to use Coq’s code extraction features to automatically encode these policies as PAM modules that can readily be used by any Linux system. We implemented the default password quality policy shared by two widely-used PAM modules: pam_cracklib and pam_pwquality. We then compared our implementation with the original modules by running them against a random sample of 100,000 leaked passwords obtained from a publicly available database. In doing this, we demonstrated a potentially serious bug in the original modules. The bug was reported to the maintainers of Linux PAM and is now fixed.

2014

Structure Editing of Handwritten Mathematics: Improving the Computer Support for the Calculational Method

Authors
Mendes, A; Backhouse, RC; Ferreira, JF;

Publication
ITS

Abstract
We present a structure editor that aims to facilitate the presentation and manipulation of handwritten mathematical expressions. The editor is oriented to the calculational mathematics involved in algorithmic problem solving and it provides features that allow reliable structure manipulation of mathematical formulae, as well as flexible and interactive presentations. We describe some of its most important features, including the use of gestures to manipulate algebraic formulae, the structured selection of expressions, definition and redefinition of operators in runtime, gesture's editor, and handwritten templates. The editor is made available in the form of a C# class library which can be easily used to extend existing tools. For example, we have extended Classroom Presenter, a tool for ink-based teaching presentations and classroom interaction. We have tested and evaluated the editor with target users. The results obtained seem to indicate that the software is usable, suitable for its purpose and a valuable contribution to teaching and learning algorithmic problem solving.

  • 8
  • 10