### From High-school algebra to University algebra

Friday, November 25th, 2005 by ThorstenAn equation like can be read as an equation over the natural numbers or as an isomorphism which hold in a category with the appropriate structure. The problem of solving equations over 1,+,x,^ in the natural numbers is called *the High School Algebra problem* and Tarski asked whether the equations we learn at school are complete. Roberto di Cosmo and others observed that this is closely related to isomorphisms in cartesian closed categories with + (I recommend Roberto’s very readable survey).

Wilkie showed that high school algebra is incomplete, the core of his counterexample is that we cannot show using the equations of High School Algebra that implies . I observed that this isomorphism is derivable using dependent types and exploiting and . This observation leads to formulating what I call *university algebra* which generalizes high school algebra by using and .

Here are some laws of university algebra:

- where is an isomorphism
- where is an isomorphism

When deriving isomorphisms we may use equalities of types which relies on equality of terms. We can read those as equations on natural numbers, every type corresponds to a number and

can be read as . I believe that unlike High School algebra, University Algebra is complete. Without 0 it may even be decidable, with 0 it isn’t because we can encode consistency of formulas of intuitionistic predicate logic in it.