186,959 research outputs found

    Quadratic Word Equations with Length Constraints, Counter Systems, and Presburger Arithmetic with Divisibility

    Full text link
    Word equations are a crucial element in the theoretical foundation of constraint solving over strings, which have received a lot of attention in recent years. A word equation relates two words over string variables and constants. Its solution amounts to a function mapping variables to constant strings that equate the left and right hand sides of the equation. While the problem of solving word equations is decidable, the decidability of the problem of solving a word equation with a length constraint (i.e., a constraint relating the lengths of words in the word equation) has remained a long-standing open problem. In this paper, we focus on the subclass of quadratic word equations, i.e., in which each variable occurs at most twice. We first show that the length abstractions of solutions to quadratic word equations are in general not Presburger-definable. We then describe a class of counter systems with Presburger transition relations which capture the length abstraction of a quadratic word equation with regular constraints. We provide an encoding of the effect of a simple loop of the counter systems in the theory of existential Presburger Arithmetic with divisibility (PAD). Since PAD is decidable, we get a decision procedure for quadratic words equations with length constraints for which the associated counter system is \emph{flat} (i.e., all nodes belong to at most one cycle). We show a decidability result (in fact, also an NP algorithm with a PAD oracle) for a recently proposed NP-complete fragment of word equations called regular-oriented word equations, together with length constraints. Decidability holds when the constraints are additionally extended with regular constraints with a 1-weak control structure.Comment: 18 page

    The Strategy the Use of False Assumption and Word Problem Solving

    Get PDF
    The paper describes one problem solving strategy – the Use of false assumption. The objective of the paper is to show, in accordance with Phylogenesis and Ontogenesis Theory, that it is worthwhile to reiterate the process of development of the concept of a variable and thus provide to pupils one of the ways helping them to eliminate usual difficulties when solving word problems using linear equations, namely construction of the equations. The paper presents the outcomes of a study conducted on three lower secondary schools in the Czech Republic with 147 14–15-year-old pupils. Pupils from the experimental group were, unlike pupils from the control group, taught the strategy the Use of false assumption before being taught the topic Solving word problems. The tool for the study was a test of four problems that was sat by all the involved pupils three weeks after finishing the topic “Solving word problems” and whose results were evaluated statistically. The experiment confirmed the research hypothesis that the introduction of the strategy the Use of false assumption into 8th grade mathematics lessons (14–15-year-old pupils) helps pupils construct equations more successfully when solving word problems

    Чи бувають сприйнятні ціни?

    Get PDF
    This paper describes a classroom experiment on the use of digital technology in initial algebra. Indonesian grade seven students of 12-13 year-old took part in a four session teaching sequence on beginning algebra enriched with digital technology, and in particular applets embedded in the Digital Mathematics Environment. The intervention aimed to improve students’ conceptual understanding and procedural skills in the domain of equations in one variable. The qualitative analysis of written and digital student work, backed up with video observations during the experiment, reveal that the use of digital technology affects student thinking and strategies dealing with equations and with related word problems. Practical and theoretical consequences of the results are discussed

    Polynomial-time complexity for instances of the endomorphism problem in free groups

    Get PDF
    We say the endomorphism problem is solvable for an element W in a free group F if it can be decided effectively whether, given U in F, there is an endomorphism Φ of F sending W to U. This work analyzes an approach due to C. Edmunds and improved by C. Sims. Here we prove that the approach provides an efficient algorithm for solving the endomorphism problem when W is a two- generator word. We show that when W is a two-generator word this algorithm solves the problem in time polynomial in the length of U. This result gives a polynomial-time algorithm for solving, in free groups, two-variable equations in which all the variables occur on one side of the equality and all the constants on the other side

    Small Scale AES Toolbox: Algebraic and Propositional Formulas, Circuit-Implementations and Fault Equations

    Get PDF
    Cryptography is one of the key technologies ensuring security in the digital domain. As such, its primitives and implementations have been extensively analyzed both from a theoretical, cryptoanalytical perspective, as well as regarding their capabilities to remain secure in the face of various attacks. One of the most common ciphers, the Advanced Encryption Standard (AES) (thus far) appears to be secure in the absence of an active attacker. To allow for the testing and development of new attacks or countermeasures a small scale version of the AES with a variable number of rounds, number of rows, number of columns and data word size, and a complexity ranging from trivial up to the original AES was developed. In this paper we present a collection of various implementations of the relevant small scale AES versions based on hardware (VHDL and gate-level), algebraic representations (Sage and CoCoA) and their translations into propositional formulas (in CNF). Additionally, we present fault attack equations for each version. Having all these resources available in a single and well structured package allows researchers to combine these different sources of information which might reveal new patterns or solving strategies. Additionally, the fine granularity of difficulty between the different small scale AES versions allows for the assessment of new attacks or the comparison of different attacks

    Grade 4-6 student conceptions and utilization of informal and formal variable representations across mathematically equivalent tasks

    Get PDF
    Title from PDF of title page (University of Missouri--Columbia, viewed on October 22, 2012).The entire thesis text is included in the research.pdf file; the official abstract appears in the short.pdf file; a non-technical public abstract appears in the public.pdf file.Dissertation advisor: Dr. John LanninIncludes bibliographical references.Vita.Ph. D. University of Missouri--Columbia 2011.Dissertations, Academic -- University of Missouri--Columbia -- Curriculum and instruction."May 13, 2011"This study reports how 24 grade 4-6 students in one elementary and middle school interpreted formal (e.g., x + y = 12) and informal representations of variables (e.g., □ + ∆ = 12). While interpretations for variables represented as letters (e.g., x and y) have been well established for students in algebra classes and beyond, little research into elementary school students' initial interpretations of variables exists. The students were consistent in their meaning of various representations of variables presented in equations, but did not parallel normative algebraic solutions. For example, students treated the representation of the variables as different variables and consistently produced multiple solutions for each variable (e.g., y + y = 12; a + b = 12; and □ + ∆ = 12). Further, the common misconception that different variables can only take on different values was not a typical response for these students (Fujii, 2003). When these same tasks were presented as word problems, students treated variables in an algebraically normative way. In other words, the students were more “successful” solving the word problems (Koedinger & Nathan, 2004). Students attended to the syntactic and semantic structure of the word problems to determine meanings for the variables that were not evident in the equations

    (Un)Decidability Results for Word Equations with Length and Regular Expression Constraints

    Full text link
    We prove several decidability and undecidability results for the satisfiability and validity problems for languages that can express solutions to word equations with length constraints. The atomic formulas over this language are equality over string terms (word equations), linear inequality over the length function (length constraints), and membership in regular sets. These questions are important in logic, program analysis, and formal verification. Variants of these questions have been studied for many decades by mathematicians. More recently, practical satisfiability procedures (aka SMT solvers) for these formulas have become increasingly important in the context of security analysis for string-manipulating programs such as web applications. We prove three main theorems. First, we give a new proof of undecidability for the validity problem for the set of sentences written as a forall-exists quantifier alternation applied to positive word equations. A corollary of this undecidability result is that this set is undecidable even with sentences with at most two occurrences of a string variable. Second, we consider Boolean combinations of quantifier-free formulas constructed out of word equations and length constraints. We show that if word equations can be converted to a solved form, a form relevant in practice, then the satisfiability problem for Boolean combinations of word equations and length constraints is decidable. Third, we show that the satisfiability problem for quantifier-free formulas over word equations in regular solved form, length constraints, and the membership predicate over regular expressions is also decidable.Comment: Invited Paper at ADDCT Workshop 2013 (co-located with CADE 2013

    Recompression: a simple and powerful technique for word equations

    Get PDF
    In this paper we present an application of a simple technique of local recompression, previously developed by the author in the context of compressed membership problems and compressed pattern matching, to word equations. The technique is based on local modification of variables (replacing X by aX or Xa) and iterative replacement of pairs of letters appearing in the equation by a `fresh' letter, which can be seen as a bottom-up compression of the solution of the given word equation, to be more specific, building an SLP (Straight-Line Programme) for the solution of the word equation. Using this technique we give a new, independent and self-contained proofs of most of the known results for word equations. To be more specific, the presented (nondeterministic) algorithm runs in O(n log n) space and in time polynomial in log N, where N is the size of the length-minimal solution of the word equation. The presented algorithm can be easily generalised to a generator of all solutions of the given word equation (without increasing the space usage). Furthermore, a further analysis of the algorithm yields a doubly exponential upper bound on the size of the length-minimal solution. The presented algorithm does not use exponential bound on the exponent of periodicity. Conversely, the analysis of the algorithm yields an independent proof of the exponential bound on exponent of periodicity. We believe that the presented algorithm, its idea and analysis are far simpler than all previously applied. Furthermore, thanks to it we can obtain a unified and simple approach to most of known results for word equations. As a small additional result we show that for O(1) variables (with arbitrary many appearances in the equation) word equations can be solved in linear space, i.e. they are context-sensitive.Comment: Submitted to a journal. Since previous version the proofs were simplified, overall presentation improve
    corecore