From 442d732696ad431b84f6e5c72b6ee785be4fd968 Mon Sep 17 00:00:00 2001
From: adelon <22380201+adelon@users.noreply.github.com>
Date: Sat, 10 Feb 2024 02:22:14 +0100
Subject: Initial commit

---
 test/examples/abbr.tex | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 test/examples/abbr.tex

(limited to 'test/examples/abbr.tex')

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}
-- 
cgit v1.2.3

