summaryrefslogtreecommitdiff
path: root/test/golden/separation
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/golden/separation
Initial commit
Diffstat (limited to 'test/golden/separation')
-rw-r--r--test/golden/separation/encoding tasks.golden1
-rw-r--r--test/golden/separation/generating tasks.golden65
-rw-r--r--test/golden/separation/glossing.golden40
-rw-r--r--test/golden/separation/parsing.golden44
-rw-r--r--test/golden/separation/scanning.golden1
-rw-r--r--test/golden/separation/tokenizing.golden18
-rw-r--r--test/golden/separation/verification.golden1
7 files changed, 170 insertions, 0 deletions
diff --git a/test/golden/separation/encoding tasks.golden b/test/golden/separation/encoding tasks.golden
new file mode 100644
index 0000000..5d0994b
--- /dev/null
+++ b/test/golden/separation/encoding tasks.golden
@@ -0,0 +1 @@
+fof(sep_test,conjecture,![Xx]:(elem(Xx,fX)<=>(elem(Xx,fX)&Xx=Xx))). \ No newline at end of file
diff --git a/test/golden/separation/generating tasks.golden b/test/golden/separation/generating tasks.golden
new file mode 100644
index 0000000..889906b
--- /dev/null
+++ b/test/golden/separation/generating tasks.golden
@@ -0,0 +1,65 @@
+[ Task
+ { taskDirectness = Direct
+ , taskHypotheses = []
+ , taskConjectureLabel = Marker "sep_test"
+ , taskConjecture = Quantified Universally
+ ( Scope
+ ( Connected Equivalence
+ ( TermSymbol
+ ( SymbolPredicate
+ ( PredicateRelation
+ ( Command "in" )
+ )
+ )
+ [ TermVar
+ ( B
+ ( NamedVar "x" )
+ )
+ , TermVar
+ ( F
+ ( TermVar
+ ( NamedVar "X" )
+ )
+ )
+ ]
+ )
+ ( Connected Conjunction
+ ( TermSymbol
+ ( SymbolPredicate
+ ( PredicateRelation
+ ( Command "in" )
+ )
+ )
+ [ TermVar
+ ( B
+ ( NamedVar "x" )
+ )
+ , TermVar
+ ( F
+ ( TermVar
+ ( NamedVar "X" )
+ )
+ )
+ ]
+ )
+ ( TermSymbol
+ ( SymbolPredicate
+ ( PredicateRelation
+ ( Symbol "=" )
+ )
+ )
+ [ TermVar
+ ( B
+ ( NamedVar "x" )
+ )
+ , TermVar
+ ( B
+ ( NamedVar "x" )
+ )
+ ]
+ )
+ )
+ )
+ )
+ }
+] \ No newline at end of file
diff --git a/test/golden/separation/glossing.golden b/test/golden/separation/glossing.golden
new file mode 100644
index 0000000..47d574b
--- /dev/null
+++ b/test/golden/separation/glossing.golden
@@ -0,0 +1,40 @@
+[ BlockLemma
+ ( SourcePos
+ { sourceName = "test/examples/separation.tex"
+ , sourceLine = Pos 1
+ , sourceColumn = Pos 1
+ }
+ )
+ ( Marker "sep_test" )
+ ( Lemma []
+ ( TermSymbol
+ ( SymbolPredicate
+ ( PredicateRelation
+ ( Symbol "=" )
+ )
+ )
+ [ TermVar
+ ( NamedVar "X" )
+ , TermSep
+ ( NamedVar "x" )
+ ( TermVar
+ ( NamedVar "X" )
+ )
+ ( Scope
+ ( TermSymbol
+ ( SymbolPredicate
+ ( PredicateRelation
+ ( Symbol "=" )
+ )
+ )
+ [ TermVar
+ ( B () )
+ , TermVar
+ ( B () )
+ ]
+ )
+ )
+ ]
+ )
+ )
+] \ No newline at end of file
diff --git a/test/golden/separation/parsing.golden b/test/golden/separation/parsing.golden
new file mode 100644
index 0000000..2a2110f
--- /dev/null
+++ b/test/golden/separation/parsing.golden
@@ -0,0 +1,44 @@
+[ BlockLemma
+ ( SourcePos
+ { sourceName = "test/examples/separation.tex"
+ , sourceLine = Pos 1
+ , sourceColumn = Pos 1
+ }
+ )
+ ( Marker "sep_test" )
+ ( Lemma []
+ ( StmtFormula
+ ( FormulaChain
+ ( ChainBase
+ ( ExprVar
+ ( NamedVar "X" ) :| []
+ ) Positive
+ ( RelationSymbol
+ ( Symbol "=" )
+ )
+ ( ExprSep
+ ( NamedVar "x" )
+ ( ExprVar
+ ( NamedVar "X" )
+ )
+ ( StmtFormula
+ ( FormulaChain
+ ( ChainBase
+ ( ExprVar
+ ( NamedVar "x" ) :| []
+ ) Positive
+ ( RelationSymbol
+ ( Symbol "=" )
+ )
+ ( ExprVar
+ ( NamedVar "x" ) :| []
+ )
+ )
+ )
+ ) :| []
+ )
+ )
+ )
+ )
+ )
+] \ No newline at end of file
diff --git a/test/golden/separation/scanning.golden b/test/golden/separation/scanning.golden
new file mode 100644
index 0000000..0637a08
--- /dev/null
+++ b/test/golden/separation/scanning.golden
@@ -0,0 +1 @@
+[] \ No newline at end of file
diff --git a/test/golden/separation/tokenizing.golden b/test/golden/separation/tokenizing.golden
new file mode 100644
index 0000000..40b30d8
--- /dev/null
+++ b/test/golden/separation/tokenizing.golden
@@ -0,0 +1,18 @@
+[ BeginEnv "proposition"
+, Label "sep_test"
+, BeginEnv "math"
+, Variable "X"
+, Symbol "="
+, VisibleBraceL
+, Variable "x"
+, Command "in"
+, Variable "X"
+, Command "mid"
+, Variable "x"
+, Symbol "="
+, Variable "x"
+, VisibleBraceR
+, EndEnv "math"
+, Symbol "."
+, EndEnv "proposition"
+] \ No newline at end of file
diff --git a/test/golden/separation/verification.golden b/test/golden/separation/verification.golden
new file mode 100644
index 0000000..69b9873
--- /dev/null
+++ b/test/golden/separation/verification.golden
@@ -0,0 +1 @@
+VerificationSuccess \ No newline at end of file