summaryrefslogtreecommitdiff
path: root/test/examples/abbr.tex
diff options
context:
space:
mode:
authoradelon <22380201+adelon@users.noreply.github.com>2024-02-10 02:22:14 +0100
committeradelon <22380201+adelon@users.noreply.github.com>2024-02-10 02:22:14 +0100
commit442d732696ad431b84f6e5c72b6ee785be4fd968 (patch)
treeb476f395e7e91d67bacb6758bc84914b8711593f /test/examples/abbr.tex
Initial commit
Diffstat (limited to 'test/examples/abbr.tex')
-rw-r--r--test/examples/abbr.tex45
1 files changed, 45 insertions, 0 deletions
diff --git a/test/examples/abbr.tex b/test/examples/abbr.tex
new file mode 100644
index 0000000..c4790bb
--- /dev/null
+++ b/test/examples/abbr.tex
@@ -0,0 +1,45 @@
+\begin{abbreviation}\label{empty}
+ $x$ is empty iff there exists no $y$ such that $y\in x$.
+\end{abbreviation}
+
+\begin{proposition}\label{dummy_abbr_test_adj}
+ If $x$ is empty, then $x$ is empty.
+\end{proposition}
+
+
+% Dummy abbreviation to test noun abbreviations.
+\begin{abbreviation}\label{function}
+ $x$ is a function iff $x = x$.
+\end{abbreviation}
+
+\begin{proposition}\label{dummy_abbr_test_noun}
+ $x$ is a function.
+ \end{proposition}
+
+
+% Dummy abbreviation to test verb abbreviations.
+\begin{abbreviation}\label{converges}
+ $x$ converges to $y$ iff $x = y$.
+\end{abbreviation}
+
+\begin{proposition}\label{dummy_abbr_test_verb}
+ If $x$ converges to $y$, then $x = y$.
+ \end{proposition}
+
+
+% Test of built-in \notin abbreviation. The two variants should produce the same TPTP atoms.
+\begin{proposition}\label{abbr_test_notin}
+ If $x\notin y$, then $x\not\in y$.
+\end{proposition}
+
+
+% Test of built-in "element of" abbreviation. The two variants should produce the same TPTP atoms.
+\begin{proposition}\label{abbr_test_elementof_is_in}
+ If $x$ is an element of $y$, then $x\in y$.
+\end{proposition}
+
+
+% Test of built-in "equals" abbreviation. The two variants should produce the same TPTP atoms.
+\begin{proposition}\label{abbr_test_equals_is_eq}
+ If $x$ equals $y$, then $x = y$.
+\end{proposition}