Skip to content

Commit

Permalink
remove coq tests besides Logic and nat_ind, add expeted output for those
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaspena committed Feb 5, 2020
1 parent a514a4b commit d318981
Show file tree
Hide file tree
Showing 7 changed files with 114 additions and 25 deletions.
2 changes: 0 additions & 2 deletions prover/t/And.v

This file was deleted.

10 changes: 0 additions & 10 deletions prover/t/AndComm.v

This file was deleted.

3 changes: 0 additions & 3 deletions prover/t/False_ind.v

This file was deleted.

7 changes: 0 additions & 7 deletions prover/t/Four.v

This file was deleted.

84 changes: 84 additions & 0 deletions prover/t/Logic.v.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<prover>
<k>
.CoqSentences
</k>
<exit-code>
1
</exit-code>
<goals>
.GoalCellSet
</goals>
<declarations>
<declaration>
axiom \equals ( AndComm , \lambda { A { Term } , B { Term } , H { Term } , .Patterns } \or ( \exists { H0 , H1 , .Patterns } \and ( \equals ( H , conj ( H0 , H1 , .Patterns ) ) , conj ( H1 , H0 , .Patterns ) , .Patterns ) , .Patterns ) )
</declaration> <declaration>
axiom \equals ( IF_then_else , or ( and , P , Q , .Patterns ) ( and , not , P , R , .Patterns ) )
</declaration> <declaration>
axiom \equals ( iff , and ( \forall { x { Term } , .Patterns } B , .Patterns ) ( \forall { y { Term } , .Patterns } A , .Patterns ) )
</declaration> <declaration>
axiom \equals ( not , \lambda { A { Term } , .Patterns } \forall { x { Term } , .Patterns } False )
</declaration> <declaration>
axiom \type ( I ( .Patterns ) , True )
</declaration> <declaration>
axiom \type ( S ( .Patterns ) , nat ( - , > , nat , .Patterns ) )
</declaration> <declaration>
axiom \type ( Z ( .Patterns ) , nat )
</declaration> <declaration>
axiom \type ( conj ( .Patterns ) , \forall { x { Term } , .Patterns } \forall { y { Term } , .Patterns } ( and ( A , B , .Patterns ) ) )
</declaration> <declaration>
axiom \type ( ex_intro1 ( .Patterns ) , \forall { x { Term } , .Patterns } \forall { y { Term } , .Patterns } ( ex1 ( A , P , .Patterns ) ) )
</declaration> <declaration>
axiom \type ( ex_intro2 ( .Patterns ) , \forall { x { Term } , .Patterns } \forall { y { Term } , .Patterns } ( ex2 ( P , .Patterns ) ) )
</declaration> <declaration>
axiom \type ( ex_intro4 ( .Patterns ) , \forall { x { Term } , .Patterns } \forall { y { Term } , .Patterns } ( ex4 ( A , .Patterns ) ( P , .Patterns ) ) )
</declaration> <declaration>
axiom \type ( or_introl ( .Patterns ) , \forall { x { Term } , .Patterns } ( or ( A , B , .Patterns ) ) )
</declaration> <declaration>
axiom \type ( or_intror ( .Patterns ) , \forall { y { Term } , .Patterns } ( or ( A , B , .Patterns ) ) )
</declaration> <declaration>
sort Term
</declaration> <declaration>
symbol AndComm ( .Sorts ) : Term
</declaration> <declaration>
symbol False ( .Sorts ) : Term
</declaration> <declaration>
symbol I ( .Sorts ) : Term
</declaration> <declaration>
symbol IF_then_else ( .Sorts ) : Term
</declaration> <declaration>
symbol S ( .Sorts ) : Term
</declaration> <declaration>
symbol True ( .Sorts ) : Term
</declaration> <declaration>
symbol Z ( .Sorts ) : Term
</declaration> <declaration>
symbol and ( .Sorts ) : Term
</declaration> <declaration>
symbol conj ( .Sorts ) : Term
</declaration> <declaration>
symbol ex1 ( .Sorts ) : Term
</declaration> <declaration>
symbol ex2 ( .Sorts ) : Term
</declaration> <declaration>
symbol ex4 ( .Sorts ) : Term
</declaration> <declaration>
symbol ex_intro1 ( .Sorts ) : Term
</declaration> <declaration>
symbol ex_intro2 ( .Sorts ) : Term
</declaration> <declaration>
symbol ex_intro4 ( .Sorts ) : Term
</declaration> <declaration>
symbol iff ( .Sorts ) : Term
</declaration> <declaration>
symbol nat ( .Sorts ) : Term
</declaration> <declaration>
symbol not ( .Sorts ) : Term
</declaration> <declaration>
symbol or ( .Sorts ) : Term
</declaration> <declaration>
symbol or_introl ( .Sorts ) : Term
</declaration> <declaration>
symbol or_intror ( .Sorts ) : Term
</declaration>
</declarations>
</prover>
3 changes: 0 additions & 3 deletions prover/t/Or.v

This file was deleted.

30 changes: 30 additions & 0 deletions prover/t/nat_ind.v.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<prover>
<k>
.CoqSentences
</k>
<exit-code>
1
</exit-code>
<goals>
.GoalCellSet
</goals>
<declarations>
<declaration>
axiom \equals ( nat_ind , \lambda { P { Term } , f { Term } , f0 { Term } , .Patterns } \mu { F {{ Term }} , .Patterns } \lambda { n { Term } , .Patterns } \or ( \exists { .Patterns } \and ( \equals ( n , Z ) , f , .Patterns ) , \exists { n0 , .Patterns } \and ( \equals ( n , S ( n0 , .Patterns ) ) , f0 ( n0 , F , n0 , .Patterns ) , .Patterns ) , .Patterns ) )
</declaration> <declaration>
axiom \type ( S ( .Patterns ) , \forall { x { Term } , .Patterns } nat )
</declaration> <declaration>
axiom \type ( Z ( .Patterns ) , nat )
</declaration> <declaration>
sort Term
</declaration> <declaration>
symbol S ( .Sorts ) : Term
</declaration> <declaration>
symbol Z ( .Sorts ) : Term
</declaration> <declaration>
symbol nat ( .Sorts ) : Term
</declaration> <declaration>
symbol nat_ind ( .Sorts ) : Term
</declaration>
</declarations>
</prover>

0 comments on commit d318981

Please sign in to comment.