Homotopy Type Theory Sandbox (Rev #11, changes)

Showing changes from revision #10 to #11: Added | Removed | Changed

Comments about school mathematics

On functions

The “functions” taught in school mathematics at many levels aren’t functions on a type TT as presented in type theory, but rather they are partial and/or multivalued “functions”, which are basically just spans on TT. In school algebra, the reciprocal function 1x\frac{1}{x} for x:Fx:F in a field FF is a partial function and the principal square root function x\sqrt{x} is partial. Many implicit functions are multivalued. In school calculus, the derivative x\frac{\partial}{\partial x} is a partial function on the function type \mathbb{R} \to \mathbb{R} because certain functions are nowhere-differentiable, and the antiderivative implicit function 1x 1\frac{\partial^{-1}}{\partial x^{-1}} is multivalued even for the zero function f(x)0f(x) \coloneqq 0.

Thus, in this particular context, I would rather prefer to use the homotopy theoretic terminology instead of the type theoretic terminology in many cases, i.e. the objects of the object theory are “spaces” rather than “types”, “points” rather than “terms”, “path spaces” rather than “identity types”, “mappings” rather than “functions”, “mapping spaces” rather than “function types”, and so forth.

Function definitions

Natural logarithm

The natural logarithm f: +f:\mathbb{R}_{+} \to \mathbb{R} written as f(x)ln(x)f(x) \coloneqq \ln(x) is defined by the following differential equation

xf(x)=1x\frac{\partial}{\partial x} f(x) = \frac{1}{x}

and the initial condition f(1)=0f(1) = 0.

Base rr logarithms

Given a positive real number r: +r:\mathbb{R}_{+}, the base rr logarithm f: +f:\mathbb{R}_{+} \to \mathbb{R} written as f(x)log r(x)f(x) \coloneqq \log_r(x) is defined by the following differential equation

xf(x)=1ln(r)x\frac{\partial}{\partial x} f(x) = \frac{1}{\ln(r) x}

and the initial condition f(1)=0f(1) = 0.

Exponential functions

The exponential function f:f:\mathbb{R} \to \mathbb{R} written as f(x)exp(x)f(x) \coloneqq \exp(x) is defined by the following differential equation

xf(x)=f(x)\frac{\partial}{\partial x} f(x) = f(x)

and the initial condition f(0)=1f(0) = 1.

Given a positive real number r: +r:\mathbb{R}_{+}, the base rr exponential function f:f:\mathbb{R} \to \mathbb{R} written as f(x)r xf(x) \coloneqq r^x is defined by the following differential equation

xf(x)=ln(r)f(x)\frac{\partial}{\partial x} f(x) = \ln(r) f(x)

and the initial condition f(0)=1f(0) = 1.

Non-integer power functions

Given a real number r:r:\mathbb{R}, the power function f: +f:\mathbb{R}_{+} \to \mathbb{R} written as f(x)x rf(x) \coloneqq x^r is defined by the following differential equation

xf(x)=rxf(x)\frac{\partial}{\partial x} f(x) = \frac{r}{x} f(x)

and the initial condition f(1)=1f(1) = 1.

In particular, the square root function is defined when r=12r = \frac{1}{2}.

Revision on April 7, 2022 at 02:30:46 by Anonymous?. See the history of this page for a list of all contributions to it.