x = 2 ⇒ x = 1 ⇒ x = 0. When x 6= 2, it is T because
it is then of the form F ⇒ something. When x = 2, it
is T because x = 1 ⇒ x = 0 is then of the form F ⇒ F
which is T, so the expression as a whole is of the form
T ⇒ T, and thus T. That is, although in our conven-
tion x = 2 ⇒ x = 1 ⇒ x = 0 is just plain wrong, under
the Stanford convention it is T for every value of x!
In our convention, P ⇒ (Q ⇒ R) is a syntax error.
The notations original, subproof, subend and
assume are by us, but of course the ideas are next to
trivial. Together with assume, original ⇒ is essen-
tially the same as Γ |= in hard-core formal logic.
The undefined truth value U is almost never men-
tioned in textbooks. Its behaviour in the case of ¬,
∧, ∨, → and ↔ is fairly unproblematic; the tool fol-
lows (Kleene, 1952). Beyond that, in particular re-
garding ⇒ and ⇔, the issue becomes complicated
indeed. A number of different approaches were dis-
cussed by (Schieder and Broy, 1999). The tool uses
our own approach (Valmari and Hella, 2017).
7 CONCLUDING REMARKS
We illustrated how our tool can automatically check
various patterns of reasoning in a restricted domain
of problems, and give feedback that the student can
use as a starting point for improving the solution. Al-
though the domain is restricted, it can meaningfully
accommodate many non-straightforward patterns of
reasoning. The example by (P
´
olya, 1945) is certainly
challenging enough to bring forward the benefits of
creative thinking over blindly following mechanical
procedures. It was successfully dealt with by the tool.
It is worth emphasizing that our tool facilitates
verbal problems that the students have to translate
to (in)equations themselves. The teacher gives the
(in)equation (or anything logically equivalent, such as
the roots) to the tool as the original problem and asks
the tool to keep it hidden from the students.
An earlier feature of our tool has been found to
statistically significantly improve performance in an
examination (Kaarakka et al., 2019). The implemen-
tation of the features discussed in this paper started
in spring 2020. Therefore, there is not yet much ped-
agogical experience. In a course, students had little
problems with the tool itself, but had big problems
with mathematics that they were supposed to already
master: absolute values, pairs of equations, and so on.
They also had big problems in modelling verbally ex-
pressed problems mathematically. Their earlier stud-
ies had not developed these skills to the promised
level.
Until now it has not been possible to make stu-
dents solve this kind of problems in great numbers,
because of the lack of teachers to check the answers
and provide feedback. Now we have a tool for this.
REFERENCES
ACM and IEEE. (2013). Joint Task Force on Computing
Curricula, Association for Computing Machinery and
IEEE Computer Society, Computer Science Curric-
ula 2013 : Curriculum Guidelines for Undergraduate
Degree Programs in Computer Science. ACM, New
York, NY, USA.
Anthony, G. and Walshaw, M. (2009). Effective pedagogy
in mathematics. UNESCO/IBE.
Hammack, R. (2018). Book of Proof. Open access.
Hein, J. L. (1995). Discrete Structures, Logic, and Com-
putability. Jones and Bartlett Publishers, Inc., USA.
Hiebert, J. and Grouws, D. A. (2007). The effects of class-
room mathematics teaching on students’ learning. In
Lester, F. K., editor, Second Handbook of Research on
Mathematics Teaching and Learning, pages 371–404.
Information Age Pub.
Huth, M. and Ryan, M. D. (2004). Logic in Computer Sci-
ence - Modelling and Reasoning About Systems (2.
ed.). Cambridge University Press.
Kaarakka, T., Helkala, K., Valmari, A., and Joutsenlahti,
M. (2019). Pedagogical experiments with MathCheck
in university teaching. LUMAT: International Journal
on Math, Science and Technology Education, 7(3):84–
112.
Kilpatrick, J., Swafford, J., and Findell, B., editors (2001).
Adding It Up: Helping Children Learn Mathematics.
The National Academies Press, Washington, DC.
Kleene, S. C. (1952). Introduction to metamathematics. Van
Nostrand, New York.
P
´
olya, G. (1945). How to Solve It. Princeton University
Press.
Schieder, B. and Broy, M. (1999). Adapting calcula-
tional logic to the undefined. The Computer Journal,
42(2):73–81.
Stanford University. (2021). Stanford introduction to logic:
An online course on symbolic logic. http://intrologic.
stanford.edu/; accessed 2021-01-23.
Valmari, A. and Hella, L. (2017). The logics taught and
used at high schools are not the same. In Karhum
¨
aki,
J., Matiyasevich, Y., and Saarela, A., editors, Pro-
ceedings of the Fourth Russian Finnish Symposium on
Discrete Mathematics, volume 26 of TUCS Lecture
Notes, pages 172–186, Turku, Finland. Turku Centre
for Computer Science.
Valmari, A. and Rantala, J. (2019). Arithmetic, logic, syn-
tax and MathCheck. In Lane, H., Zvacek, S., and
Uhomoibhi, J., editors, Proceedings of the 11th Inter-
national Conference on Computer Supported Educa-
tion, CSEDU 2019, Heraklion, Crete, Greece, May 2-
4, 2019, Volume 2., pages 292–299, Set
´
ubal, Portugal.
SciTePress.
Automated Checking of Flexible Mathematical Reasoning in the Case of Systems of (In)Equations and the Absolute Value Operator
331