diff options
| author | adelon <22380201+adelon@users.noreply.github.com> | 2024-02-10 02:22:14 +0100 |
|---|---|---|
| committer | adelon <22380201+adelon@users.noreply.github.com> | 2024-02-10 02:22:14 +0100 |
| commit | 442d732696ad431b84f6e5c72b6ee785be4fd968 (patch) | |
| tree | b476f395e7e91d67bacb6758bc84914b8711593f /test/examples/proofdefinefunction.tex | |
Initial commit
Diffstat (limited to 'test/examples/proofdefinefunction.tex')
| -rw-r--r-- | test/examples/proofdefinefunction.tex | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/examples/proofdefinefunction.tex b/test/examples/proofdefinefunction.tex new file mode 100644 index 0000000..ac17d0b --- /dev/null +++ b/test/examples/proofdefinefunction.tex @@ -0,0 +1,27 @@ +% The builtin "-(-)" notation desugars to "\apply{-}{-}". +% This is just a dummy definition. +\begin{definition}\label{apply} + $\apply{f}{x} = x$. +\end{definition} + +% Dummy definition for the domain +\begin{definition}\label{dom} + $\dom{f} = f$. +\end{definition} + +% Dummy definition for right-uniqueness +\begin{definition}\label{rightunique} + $f$ is right-unique iff $f=f$. +\end{definition} + +% Dummy definition for relations +\begin{definition}\label{relation} + $f$ is a relation iff $f=f$. +\end{definition} + +\begin{proposition}\label{definefunctiontest} + If $x\in y$, then $x\in y$. +\end{proposition} +\begin{proof} + Let $f(z) = z$ for $z\in x$. +\end{proof} |
