summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoradelon <22380201+adelon@users.noreply.github.com>2026-08-01 23:23:22 +0200
committeradelon <22380201+adelon@users.noreply.github.com>2026-08-01 23:23:22 +0200
commitb1ef1d31bd19233c0d3490ba8312f7fceefba94f (patch)
tree8a2832245e2a2e850c64782ca9a006f81f7944d4 /test
parent804b5ee08fdbf81a33e9e23ef15598a8dadc37ad (diff)
Exercise exact escape authority
Diffstat (limited to 'test')
-rw-r--r--test/phase5/exact-escape-consumer.tex38
-rw-r--r--test/phase5/exact-escape-producer.tex10
2 files changed, 48 insertions, 0 deletions
diff --git a/test/phase5/exact-escape-consumer.tex b/test/phase5/exact-escape-consumer.tex
new file mode 100644
index 0000000..8060dcf
--- /dev/null
+++ b/test/phase5/exact-escape-consumer.tex
@@ -0,0 +1,38 @@
+\import{test/phase5/exact-escape-producer.tex}
+
+\begin{proposition}\label{phase5_from_source_axiom}
+ For all $x$ we have $x = x$.
+\end{proposition}
+\begin{proof}
+ Fix $x$.
+ Follows by \cref{phase5_escape_source_axiom}.
+\end{proof}
+
+\begin{proposition}\label{phase5_from_omitted_theorem}
+ For all $x$ we have $x = x$.
+\end{proposition}
+\begin{proof}
+ Fix $x$.
+ Follows by \cref{phase5_escape_omitted_theorem}.
+\end{proof}
+
+\begin{proposition}\label{phase5_source_axiom_through_local}
+ For all $x$ we have $x = x$.
+\end{proposition}
+\begin{proof}
+ Fix $x$.
+ We have $x = x$ by \cref{phase5_escape_source_axiom}.
+ Follows by assumption.
+\end{proof}
+
+\begin{proposition}\label{phase5_omitted_with_checked_continuation}
+ For all $x$ we have $x = x$.
+\end{proposition}
+\begin{proof}
+ Fix $x$.
+ Show $x = x$.
+ \begin{subproof}
+ Omitted.
+ \end{subproof}
+ Follows by \cref{phase5_escape_source_axiom}.
+\end{proof}
diff --git a/test/phase5/exact-escape-producer.tex b/test/phase5/exact-escape-producer.tex
new file mode 100644
index 0000000..8181112
--- /dev/null
+++ b/test/phase5/exact-escape-producer.tex
@@ -0,0 +1,10 @@
+\begin{axiom}\label{phase5_escape_source_axiom}
+ For all $x$ we have $x = x$.
+\end{axiom}
+
+\begin{proposition}\label{phase5_escape_omitted_theorem}
+ For all $x$ we have $x = x$.
+\end{proposition}
+\begin{proof}
+ Omitted.
+\end{proof}