Type Declarations and Typed Substitution in School Algebra
Preprint
- 4 October 2026
- preprint
- Published by Qeios Ltd in Qeios Preprints
Abstract
Leibniz’s principle—that expressions denoting the same object may be substituted without changing truth value—is an implicit warrant for transformations in school algebra. Yet familiar examples appear to violate it: \(2(x + 1)\) and \(2x + 2\) agree in value, but only the first is factorised; \(\frac{\left( x^{2} - 4 \right)}{(x - 2)}\) and \(x + 2\) agree away from \(x\ = \ 2\), but differ as partial functions on ℝ. This paper argues that such cases conflate three levels: a written expression, a typing judgement, and a denotation in a specified domain. Expressions formed in a context Γ of variable declarations constitute a typed family \(Expr_{A}(\Gamma)\), and an evaluation assigns each of them a value in a declared semantic domain, relative to an environment for Γ. A typed substitution rule then shows why a predicate about an expression form cannot receive a semantically equal value as an argument. Earlier work has already distinguished syntax from semantics and advocated explicit attention to types in mathematics teaching. The narrower contribution here is to connect student-written type declarations to an explicit substitution rule for algebra, develop that connection into a three-level instructional design, and formulate testable transfer and error-detection hypotheses.
Keywords
All Related Versions
This publication has 20 references indexed in Scilit:
- The Computer Algebra System OSCAR2025
- An empirical study on the impact of static typing on software maintainabilityEmpirical Software Engineering, 2013
- Articulating syntactic and numeric perspectives on equivalence: the case of rational expressionsEducational Studies in Mathematics, 2013
- A Cognitive Analysis of Problems of Comprehension in a Learning of MathematicsEducational Studies in Mathematics, 2006
- Symbols and Language2006
- Term Rewriting and All That1998
- axịom™1992
- Encouraging versatile thinking in algebra using the computerEducational Studies in Mathematics, 1991
- On the dual nature of mathematical conceptions: Reflections on processes and objects as different sides of the same coinEducational Studies in Mathematics, 1991
- Concepts associated with the equality symbolEducational Studies in Mathematics, 1981