28,551 research outputs found

    Procedural embodiment and magic in linear equations

    Get PDF
    How do students think about algebra? Here we consider a theoretical framework which builds from natural human functioning in terms of embodiment – perceiving the world, acting on it and reflecting on the effect of the actions – to shift to the use of symbolism to solve linear equations. In the main, the students involved in this study do not encapsulate algebraic expressions from process to object, they do not solve ‘evaluation equations’ such as by ‘undoing’ the operations on the left, they do not find such equations easier to solve than , and they do not use general principles of ‘do the same thing to both sides.’ Instead they build their own ways of working based on the embodied actions they perform on the symbols, mentally picking them up and moving them around, with the added ‘magic’ of rules such as ‘change sides, change signs.’ We consider the need for a theoretical framework that includes both embodiment and process-object encapsulation of symbolism and the need for communication of theoretical insights to address the practical problems of teachers and students

    Symbolic crosschecking of data-parallel floating-point code

    Get PDF

    Modeling Algorithms in SystemC and ACL2

    Full text link
    We describe the formal language MASC, based on a subset of SystemC and intended for modeling algorithms to be implemented in hardware. By means of a special-purpose parser, an algorithm coded in SystemC is converted to a MASC model for the purpose of documentation, which in turn is translated to ACL2 for formal verification. The parser also generates a SystemC variant that is suitable as input to a high-level synthesis tool. As an illustration of this methodology, we describe a proof of correctness of a simple 32-bit radix-4 multiplier.Comment: In Proceedings ACL2 2014, arXiv:1406.123

    Accurate and Efficient Expression Evaluation and Linear Algebra

    Full text link
    We survey and unify recent results on the existence of accurate algorithms for evaluating multivariate polynomials, and more generally for accurate numerical linear algebra with structured matrices. By "accurate" we mean that the computed answer has relative error less than 1, i.e., has some correct leading digits. We also address efficiency, by which we mean algorithms that run in polynomial time in the size of the input. Our results will depend strongly on the model of arithmetic: Most of our results will use the so-called Traditional Model (TM). We give a set of necessary and sufficient conditions to decide whether a high accuracy algorithm exists in the TM, and describe progress toward a decision procedure that will take any problem and provide either a high accuracy algorithm or a proof that none exists. When no accurate algorithm exists in the TM, it is natural to extend the set of available accurate operations by a library of additional operations, such as x+y+zx+y+z, dot products, or indeed any enumerable set which could then be used to build further accurate algorithms. We show how our accurate algorithms and decision procedure for finding them extend to this case. Finally, we address other models of arithmetic, and the relationship between (im)possibility in the TM and (in)efficient algorithms operating on numbers represented as bit strings.Comment: 49 pages, 6 figures, 1 tabl
    • …
    corecore