A Case-Based Approach to Diagrammatic Reasoning

Total Page:16

File Type:pdf, Size:1020Kb

A Case-Based Approach to Diagrammatic Reasoning From: AAAI Technical Report FS-97-03. Compilation copyright © 1997, AAAI (www.aaai.org). All rights reserved. Using Diagrams to Understand Diagrams: A Case-Based Approach to Diagrammatic Reasoning Dale E. Fish and Robert McCartney Department of ComputerScience and Engineering University of Connecticut Storrs, CT 06269-3155 [email protected] robert @eng2.uconn.edu Abstract diagrammatic reasoning (DR) but little work using case- Weare exploring the possibility of using case-based based reasoning (CBR) as an approach to DR. We think reasoning as an approachto diagrammaticreasoning. This this maybe a natural fit, reasoning with diagrams about paper describes a work in progress on a system that diagrams. This work explores the possible advantages of ’understands’a diagramof a problemsituation by finding using a store of case diagramsto interpret newdiagrams. correspondencesbetween it and similar diagramsin its case This paper describes a workin progress on a system that memory.The input to the system is a diagram of the ’understands’ a diagram of a problemsituation by finding problemsituation consisting of somenumber of simple correspondencesbetween it and similar diagrams in its case elementssuch as circles and lines. Thegoal of the systemis memory. The input to the system is a diagram of the to determine the significance of the diagram and its constituent elementsby recognizingthe structure of the problem situation consisting of some number of simple diagramand structures withinit. Theapproach is to use high elementssuch as circles and lines. The goal of the systemis level perception(recognition of instancesof categoriesand to determine the significance of the diagram and its relations) to build a representationof the problemsituation constituent elements by recognizing the structure of the (a diagram), and infer additional informationby finding diagram and structures within it. The approach is to use correspondencesbetween this representation and stored high level perception (recognition of instances of cases. Theoutput is the problemsituation diagramannotated categories and relations) to build a representation of the with descriptions of the elementsand relationships between problem situation (a diagram), and infer additional them and any inferences the system maybe able to make information by finding correspondences between this alongwith their justifications. representation and stored cases. The output is the problem situation diagram (or just problemdiagram) annotated with descriptions of the elements and relationships between Introduction them and any inferences the system may be able to make There are a numberof problem domains where information alongwith their justifications. is more easily and naturally represented using diagrams. In the next section, we state the problem we are While humans are adept at using diagrams, automated addressing with this workand follow that with a discussion reasoning systems typically use pre-distilled codified of the approach we are taking. The following section representations. This means that in domains where elaborates on the approach by providing an example. We diagrammatic representations are the norm, the diagrams then discuss someother work related to our approach, some must first be interpreted by humans, which (in extreme problems to be addressed and possible extensions to our cases) results in either simplified representations where work, and we conclude with a brief discussion of the determinations of relevancy and saliency have already been contribution we believe this workprovides. made, or representations that (attempt to) include all the information present in the original diagrams. The former reduces the system’s reasoning to a form of unification and Problem Statement the latter can be very difficult if not impossible given the Weare interested in looking at the utility of using diagrams density and complexity of information inherent even in we knowand understand to reason about new diagrams. In simple diagrams. An automated system that reasons general terms, the question we are dealing with is can directly from diagrams both precludes the necessity of diagrams be useful in understanding other diagrams. For spoon feeding the system interpreted representations and humansworking in domains where information is routinely retains the original information-rich diagrams. Using the represented diagrammatically, the answer seems to be an actual diagrams in reasoning is especially important when obvious yes. Architects represent plans with diagrams and there is limited domainknowledge (i.e. the first principles understand these representations because of their of a domainare unknown)or flexibility is required, both of experience in working with them. The military uses whichare characteristics of learning systems. diagrams to represent tactical scenarios, sports teams use There has been considerable interest in the area of diagrams to represent plays, and directors and actors use 6 diagrams to represent sets and stage movement. The terms of offensive plays with whichit is familiar. Figure 2 usefulness of diagrammatic representations in these and shows a diagram of a problem situation as it would be other domains is the efficiency with which they convey presented to the system. The diagramconsists of 11 circles information, and the efficiency with which the people representing wherethe players on offense line up relative involved understand the diagrams is due in large part to to one another for the given play. their experience in workingwith them. We would like to develop a CBRsystem that uses diagrams of situations as cases and reasons from these cases about new diagrammatically represented problem situations. Weare assumingthat a problemsituation can be represented using some number of simple pictorial elements such as basic geometric figures, and that the identity of these elements along with their location and orientation is given, sidestepping the issue of low level recognition. (Whatthis really meansis that the system is ! given instructions on howto draw the problemsituation as opposed to giving it a bit map.) What these elements represent at some basic level may also be knowngiven somedomain, but the roles the individual elements play in a particular diagram must be inferred by recognizing the structures and relationships inherent in the diagram. This seems to be a difficult problem. Take a simple relationship like grouping: if an element can be in at most Figure 1: Sample play diagram showing player alignment one group, the numberof possible groupings is given by and routes of receivers. the size of the powerset of the elements. Evenwith a small number of elements, a small number of relationships between elements and/or groups, and a small number of possible categories to assign to the elements, the problem space gets large in a hurry. Onerole of the cases then is to focus attention, sort of like saying look for somethinglike this around here. The structures discovered in the problem O O diagram may be mappedto the structures in the case or O cases that prompted their discovery along with the corresponding elements, allowing inferences to be formed 000 00 0 about the elementsin the problemdiagram (i.e. if this maps ! to that, thenthis is like that). Figure 2: A problemsituation. The domain we have chosen is the game of football which is a domain where diagrams are routinely used to Whatwe would like to do is take a diagram such as this represent plans called plays. These play diagrams showthe and makeuseful inferences to achieve somegoal. The goal initial locations of the players and their assignmentsduring maybe something as nebulous as ’understand the picture’ the play. Figure 1 shows an example of a play diagram. or somethingas specific as ’identify the primary receiver’. This domain can be quite complicated although the For now, our concern is to be able to makegood judgments diagrams themselves are very simple, using a small set of about similarity between the problem situation and cases symbols, mostly easily recognizable geometric shapes. The and find reasonable correspondences, or mappings, simplicity of these diagrams makes it a good domain for between the elements of two similar diagrams. Webelieve initial investigation (since we are more interested in that this is useful since missing information about an conceptual analysis of a diagram rather than low level element in the problem diagram maybe inferred from the recognition of complexelements within a diagram) while information knownabout its corresponding element in a the complexity inherent in the domain should provide similar case. The desired output of the system is the fertile ground for interesting extensions. Weare of course problem diagram annotated with labels identifying the very interested in provingclaims of generality by using this types of the player elements and the discovered structures approach on other domains. and relationships; the mappings are included as For the present we are ignoring the action part of the justifications for the inferences madeand to indicate which diagrams (the lines showing player movementduring the groups in the problemdiagram are inferred to share roles play) and concentrating on the initial positioning, or with which groups in the case diagram. In other words, the alignment, of the players. This is the problemsituation the system’sgoal is to flesh out the diagram. system is to understand. The perspective is that of the defense trying to recognize a novel
Recommended publications
  • Maintaining Spatial Relations in an Incremental Diagrammatic Reasoner
    Maintaining Spatial Relations in an Incremental Diagrammatic Reasoner Ronald W. Ferguson, Joseph L. Bokor, Rudolph L. Mappus IV and Adam Feldman College of Computing Georgia Institute of Technology 801 Atlantic Avenue Atlanta, GA 30332 {rwf, jlbokor, cmappus, storm} @cc.gatech.edu Abstract gram. This work extends the GeoRep diagrammatic rea- soner (Ferguson & Forbus, 2000), which is described in Because diagrams are often created incrementally, a qualitative section 3. After describing GeoRep, we discuss how Ge o- diagrammatic reasoning system must dynamically manage a po- Rep was modified to allow incremental processing, and tentially large set of spatial interpretations. This paper describes cover a number of implementation issues: how to handle an architecture for handling spatial relations in an incremental, nonmonotonic diagrammatic reasoning system. The architecture composite objects, the interface between low-level and represents jointly exhaustive and pairwise disjoint (JEPD) spatial high-level reasoning, and a modified default assumption relation sets as nodes in a dependency network. Examples of these mechanism. We also describe extensions to a user interface spatial relation sets are interval relations, relative orientation rela- allowing a user to create diagrams and update the infer- tions, and connectivity relations. The network caches dependen- ences of the reasoner. We then discuss future challenges cies between low-level spatial relations, allowing those relations for this architecture. to be easily assumed or retracted as visual elements are added or removed from a diagram. We also describe how the system sup- ports high-level reasoning, including support for creating default 2. Related Work assumptions. Finally, we show how this system was integrated In qualitative spatial reasoning, researchers have explored with an existing drawing program and discuss its possible use in how to process qualitative spatial vocabularies incremen- diagrammatic and geographic reasoning.
    [Show full text]
  • Improving Knowledge Development and Exchange Via Transformative Pictogram Design
    2020 24th International Conference Information Visualisation (IV) Visual Design Thinking for Public Education: Improving knowledge development and exchange via transformative pictogram design 1st Nana Wang 2nd Leah Burns Sichuan University Aalto Univeristy China Finland 0000-0003-3902-7393 leah.burns@aalto.fi Abstract—How might the exchange and development of knowl- edge improve through a critical examination of pictogram- based methods of information visualization? In this article, we investigate the International System of TYpographic Picture Education(ISOTYPE), an influential model of pictorial diagram design theory and practice. Given ISOTYPE’s continuing impact on information design, we use it as a critical case study to assess the potential and limitations of pictorial diagrams(PD) for knowl- edge development and exchange. The goal of this study is not to evaluate artistic quality, style, or designer talent; rather, our focus is on analysis of the learning functions of pictograms and their potential for knowledge transmission and supporting reasoning behaviour among diverse audiences. We explore the different features of a pictogram, and how these features might support knowledge development through diagrammatic reasoning(DR). Three key questions are posed: 1. What are the advantages and disadvantages of pictograms for promoting learning and reasoning behaviour versus more abstract or representational visual information design? 2. What are the criteria for choosing the visual characteristics of pictograms? 3. How can the visual characteristics of pictograms be evaluated and revised base on the goal of supporting learning and reasoning behaviour? Index Terms Fig. 1. ISOTYPE, Atlas, Gesellschaft und Wirtschaft,1930, reproduced from —ISOTYPE; Pictorial diagram(PD); Public ed- Osterreichisches¨ Gesellschafts - und Wirtschaftsmuseum ucation; Informal learning; Knowledge visualization(KV); dia- grammatic reasoning(DR) I.
    [Show full text]
  • Knowledge Representation in Bicategories of Relations
    Knowledge Representation in Bicategories of Relations Evan Patterson Department of Statistics, Stanford University Abstract We introduce the relational ontology log, or relational olog, a knowledge representation system based on the category of sets and relations. It is inspired by Spivak and Kent’s olog, a recent categorical framework for knowledge representation. Relational ologs interpolate between ologs and description logic, the dominant formalism for knowledge representation today. In this paper, we investigate relational ologs both for their own sake and to gain insight into the relationship between the algebraic and logical approaches to knowledge representation. On a practical level, we show by example that relational ologs have a friendly and intuitive—yet fully precise—graphical syntax, derived from the string diagrams of monoidal categories. We explain several other useful features of relational ologs not possessed by most description logics, such as a type system and a rich, flexible notion of instance data. In a more theoretical vein, we draw on categorical logic to show how relational ologs can be translated to and from logical theories in a fragment of first-order logic. Although we make extensive use of categorical language, this paper is designed to be self-contained and has considerable expository content. The only prerequisites are knowledge of first-order logic and the rudiments of category theory. 1. Introduction arXiv:1706.00526v2 [cs.AI] 1 Nov 2017 The representation of human knowledge in computable form is among the oldest and most fundamental problems of artificial intelligence. Several recent trends are stimulating continued research in the field of knowledge representation (KR).
    [Show full text]
  • What's in a Diagram?
    What’s in a Diagram? On the Classification of Symbols, Figures and Diagrams Mikkel Willum Johansen Abstract In this paper I analyze the cognitive function of symbols, figures and diagrams. The analysis shows that although all three representational forms serve to externalize mental content, they do so in radically different ways, and conse- quently they have qualitatively different functions in mathematical cognition. Symbols represent by convention and allow mental computations to be replaced by epistemic actions. Figures and diagrams both serve as material anchors for con- ceptual structures. However, figures do so by having a direct likeness to the objects they represent, whereas diagrams have a metaphorical likeness. Thus, I claim that diagrams can be seen as material anchors for conceptual mappings. This classi- fication of diagrams is of theoretical importance as it sheds light on the functional role played by conceptual mappings in the production of new mathematical knowledge. 1 Introduction After the formalistic ban on figures, a renewed interest in the visual representation used in mathematics has grown during the last few decades (see e.g. [11–13, 24, 27, 28, 31]). It is clear that modern mathematics relies heavily on the use of several different types of representations. Using a rough classification, modern mathe- maticians use: written words, symbols, figures and diagrams. But why do math- ematicians use different representational forms and not only, say, symbols or written words? In this paper I will try to answer this question by analyzing the cognitive function of the different representational forms used in mathematics. Especially, I will focus on the somewhat mysterious category of diagrams and M.
    [Show full text]
  • Discipline-Based Education Research: Understanding and Improving Learning in Undergraduate Science and Engineering
    This PDF is available from The National Academies Press at http://www.nap.edu/catalog.php?record_id=13362 Discipline-Based Education Research: Understanding and Improving Learning in Undergraduate Science and Engineering ISBN Susan R. Singer, Natalie R. Nielsen, and Heidi A. Schweingruber, Editors; 978-0-309-25411-3 Committee on the Status, Contributions, and Future Directions of Discipline-Based Education Research; Board on Science Education; 282 pages Division of Behavioral and Social Sciences and Education; National 6 x 9 PAPERBACK (2012) Research Council Visit the National Academies Press online and register for... Instant access to free PDF downloads of titles from the NATIONAL ACADEMY OF SCIENCES NATIONAL ACADEMY OF ENGINEERING INSTITUTE OF MEDICINE NATIONAL RESEARCH COUNCIL 10% off print titles Special offers and discounts Distribution, posting, or copying of this PDF is strictly prohibited without written permission of the National Academies Press. Unless otherwise indicated, all materials in this PDF are copyrighted by the National Academy of Sciences. Request reprint permission for this book Copyright © National Academy of Sciences. All rights reserved. Discipline-Based Education Research: Understanding and Improving Learning in Undergraduate Science and Engineering DISCIPLINE!BASED EDUCATION RESEARCH Understanding and Improving Learning in Undergraduate Science and Engineering Committee on the Status, Contributions, and Future Directions of Discipline-Based Education Research Board on Science Education Division of Behavioral
    [Show full text]
  • When Everything Goes Wrong Make a Diagram Focusing on Visualising Reasoning and Trying to Reclaim the Power of Logical Thinking and Good Argumentation
    https://doi.org/10.25145/b.2COcommunicating.2020.006 34 COmmunicating COmplexity When Everything goes wrong Make a Diagram focusing on visualising reasoning and trying to reclaim the power of logical thinking and good argumentation. It might feel a small action, but diagrams are actually really powerful. Maria Rosaria Digregorio De Montfort University, Leicester Media School, Faculty of Technology, 2 The Power of Diagrams The Gateway, Leicester, LE1 9BH, United Kingdom focusing on visualising reasoning and trying to reclaim the power of logical thinking [email protected] and good argumentation. It might feel a small action, but diagrams are actually reallyVisual inferences. In math and geometry, visual configurations are used as proper powerful.inferences to demonstrate the validity of reasoning – for instance in the case of the Pythagoras’s Theorem and the binomial theorem. Despite written words or Abstract. Looking at historical examples, this research explores the power of notations can also be used to visually represent theorems, the diagram is able to diagrams and visual reasoning. It focuses on their ability to make knowledge show at glance the reasons behind the rule (Perondi, 2012). more accessible, train critical thinking and trigger a form of intellectual 2 The Power of Diagrams resistance in a post-truth world; it encourages a deeper integration between diagrams and writing, and the diffusion of information design approaches Visual inferences. In math and geometry, visual configurations are used as proper outside the design realm. inferences to demonstrate the validity of reasoning – for instance in the case of the Keywords: post-truth / diagrammatic reasoning / non-linear writing / visual Pythagoras’s Theorem and the binomial theorem.
    [Show full text]
  • Do We Really Reason About a Picture As the Referent?
    Do We Really Reason about a Picture as the Referent? Atsushi Shimojima1,2 and Takugo Fukaya 1School of Knowledge Science, Japan Advanced Institute of Science and Technology 1-1 Asahi-dai, Tatsunokuchi, Nomi-gun, Ishikawa 923-1292, Japan 2ATR Media Information Science Laboratories 2-2-2 Hikari-dai, Keihanna Science City, Kyoto 619-0288, Japan [email protected] [email protected] Abstract the previous case, however, the hypothesized operation is not an operation on the hinge picture, but an operation A significant portion of the previous accounts of infer- on the physical hinge the picture depicts. You may refer ential utilities of graphical representations (e.g., Sloman, 1971; Larkin & Simon, 1987) implicitly relies on the exis- back to the hinge picture now and then, but what your in- tence of what may be called inferences through hypothet- ference is about is the movement of the upper leg of the ical drawing. However, conclusive detections of them by hinge, not the movement of the upper line of the hinge means of standard performance measures have turned out picture. You are reasoning about the picture’s referent, to be difficult (Schwartz, 1995). This paper attempts to fill rather than the picture itself. the gap and provide positive evidence to their existence on the basis of eye-tracking data of subjects who worked Well, the concept of “reasoning about the picture it- with external diagrams in transitive inferential tasks. self” is thus clear, but is it real? Are we really engaged in that type of inferences in some cases? If so, how do Schwartz (1995) cites an intriguing example to dis- we tell when we are? tinguish what he calls “reasoning about a picture as the Schwartz (1995) himself assumed the existence of that referent” from “reasoning about the picture’s referent.” type of inferences, and went on to investigate what fea- Suppose you are given the picture of a hinge in Figure tures of pictorial representations encourage it.
    [Show full text]
  • Visualization for Constructing and Sharing Geo-Scientific Concepts
    Colloquium Visualization for constructing and sharing geo-scientific concepts Alan M. MacEachren*, Mark Gahegan, and William Pike GeoVISTA Center, Department of Geography, Pennsylvania State University, 302 Walker, University Park, PA 16802 Representations of scientific knowledge must reflect the dynamic their instantiation in data. These visual representations can nature of knowledge construction and the evolving networks of provide insight into the similarities and differences among relations between scientific concepts. In this article, we describe scientific concepts held by a community of researchers. More- initial work toward dynamic, visual methods and tools that sup- over, visualization can serve as a vehicle through which groups port the construction, communication, revision, and application of of researchers share and refine concepts and even negotiate scientific knowledge. Specifically, we focus on tools to capture and common conceptualizations. Our approach integrates geovisu- explore the concepts that underlie collaborative science activities, alization for data exploration and hypothesis generation, col- with examples drawn from the domain of human–environment laborative tools that facilitate structured discourse among re- interaction. These tools help individual researchers describe the searchers, and electronic notebooks that store records of process of knowledge construction while enabling teams of col- individual and group investigation. By detecting and displaying laborators to synthesize common concepts. Our visualization ap- similarity and structure in the data, methods, perspectives, and proach links geographic visualization techniques with concept- analysis procedures used by scientists, we are able to synthesize mapping tools and allows the knowledge structures that result to visual depictions of the core concepts involved in a domain at be shared through a Web portal that helps scientists work collec- several levels of abstraction.
    [Show full text]
  • The Mystery of Deduction and Diagrammatic Aspects of Representation
    Rev.Phil.Psych. (2015) 6:49–67 DOI 10.1007/s13164-014-0212-5 The Mystery of Deduction and Diagrammatic Aspects of Representation Sun-Joo Shin Published online: 20 January 2015 © Springer Science+Business Media Dordrecht 2015 Abstract Deduction is decisive but nonetheless mysterious, as I argue in the intro- duction. I identify the mystery of deduction as surprise-effect and demonstration- difficulty. The first section delves into how the mystery of deduction is connected with the representation of information and lays the groundwork for our further discussions of various kinds of representation. The second and third sections, respec- tively, present a case study for the comparison between symbolic and diagrammatic representation systems in terms of how two aspects of the mystery of deduction – surprise-effect and demonstration-difficulty – are handled. The fourth section illustrates several well-known examples to show how diagrammatic representation suggests more clues to the mystery of deduction than symbolic representation and suggests some conjectures and further work. When we have a choice to get from given premises to a conclusion either by deduc- tion or by induction, the choice is obvious: deduction is the way to go. With a correctly carried out deduction, the truth of the conclusion is guaranteed by the truth of the premises. Hence, after accepting premises to be true and checking each deduc- tive step, we embrace the truth of the conclusion. It is one sure way to secure the certainty of the truth of a proposition. This is the strength of deduction. Hence, math- ematics, the discipline where deduction plays a crucial role, has enjoyed its special status in the world of knowledge.
    [Show full text]
  • Diagrammatic Reasoning in Support of Situation Understanding and Planning
    DIAGRAMMATIC REASONING IN SUPPORT OF SITUATION UNDERSTANDING AND PLANNING B. Chandrasekaran, John R. Josephson, Bonny Banerjee and Unmesh Kurup Department of Computer & Information Science The Ohio State University Columbus, OH 43210 Robert Winkler U. S. Army Research Lab 2800 Powder Mill Rd Adelphi, MD 20783 ABSTRACT Visual representations consisting of terrain maps with an overlay of diagrammatic elements are ubiquitous in Army situation understanding, planning and plan monitoring. The Objective Force requirements of responsiveness, agility and versatility call for digitized graphical decision support interfaces that automate or otherwise help in various reasoning tasks. The main purpose of the paper is to describe the issues involved in building a diagrammatic reasoning system, specifications for a diagrammatic representation formalism, and an architecture for problem solving with diagrams. We have begun implementation of an application that infers maneuvers from data, obtained from an exercise at the Figure 1. A COA diagram using Army standard National Training Center, about locations and motions of symbology. Blue and Red forces. We present algorithms used in the initial stages of an implementation. conceptual knowledge to make a complex series of inferences to help them predict, evaluate and plan. The 1. INTRODUCTION whole process is so natural that we often fail to appreciate the complexity of the cognitive activities involved. Visual representations with overlay of diagrammatic Nevertheless, understanding and formalizing the elements are ubiquitous in military decision-making. processes involved in such apparently effortless reasoning Commanders represent their situation understanding and is necessary if we wish to provide effective decision intended maneuvers and plans, and monitor the action, on support systems for a commander and his staff.
    [Show full text]
  • Diagrammatic Reasoning Meets Medical Risk Communication
    Diagrammatic Reasoning Meets Medical Risk Communication Angela Brunstein ([email protected]) Department of S.A.P.E. - Psychology, American University in Cairo, AUC Ave, PO Box 74, New Cairo 11835, Egypt Joerg Brunstein ([email protected]) Department of S.A.P.E. - Psychology, American University in Cairo, AUC Ave, PO Box 74, New Cairo 11835, Egypt Ali Marzuk ([email protected]) Royal College of Surgeons in Ireland – Bahrain, PO Box 15503, Adliya, Bahrain Abstract 2006). Also medical students perform better for displays on accumulation problems than non-medical students for some, Informed consent for medical procedures requires that patients understand risks associated with diagnostic and but not all medical scenarios (Brunstein, Gonzalez, & treatment options. Similar to performance for diagrammatic Kanter, 2010). reasoning and system dynamics, patients, physicians and In this study, we aimed to combine the lessons learned medical students are reported to perform poorly on from diagrammatic reasoning for understanding a treatment understanding medical risk-related information. At the same scenario on ventricular fibrillation with medical students time, different presentation formats seem to support different and non-medical undergraduates. kind of conclusions across domains. In this research, we investigated different formats of presenting risk information For decision whether or not to undergo surgery to get an related to a treatment scenario with 22 medical and 50 non- implantable cardioverter defibrillator (ICD) after surviving a medical students. As expected, medical students performed heart attack, patients need to evaluate the risk of having better than non-medical students for all versions of the another heart attack (i.e., severity of disease) and how likely problem, while non-medical students could partially an ICD can save their life during that heart attack (i.e., compensate missing medical knowledge with displays that effectiveness of treatment).
    [Show full text]
  • Diagrammatic Reasoning in Separation Logic
    Diagrammatic Reasoning in Separation Logic M. Ridsdale1, M. Jamnik1, N. Benton2, and J. Berdine2 1 University of Cambridge 2 Microsoft Research Cambridge Abstract. A new method of reasoning about simple imperative pro- grams in separation logic is proposed. Rather than proving program specifications symbolically, the hope is to model more closely human diagrammatic reasoning, and to perform automated diagrammatic rea- soning in separation logic. 1 Introduction Separation logic is used for reasoning about low-level imperative programs that manipulate pointer data structures. It enables the writing of concise proofs of correctness of the specifications of simple programs, and such proofs have been successfully automated. When reasoning informally about separation logic, it is often useful to draw diagrams representing program states, with memory locations represented by boxes, pointers represented by arrows, etc. We aim to formalise these diagrams and implement an automated theorem prover (ATP) which makes use of this formalism. This proposal outlines a promising direction for research. The ideas on diagrammatic reasoning are drawn from [1], which is on diagrammatic theorem proving in arithmetic; we also draw on ideas from [2], which is on symbolic automated theorem proving in separation logic. An example of the kind of y:=nil; while x!=nil do x (k:=[x+1]; [x+1]:=y; y:=x; x:=k) α α k α α k := [x+1] 4. y 1 2 3 4 α α α α [x+1]:= y 1. x 1 2 3 4 Initial state nil nil nil y α α k α α y := x α α α α k := [x+1] 5.
    [Show full text]