InutitionTC  0.30
main.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (C) 2016 by University of Warsaw *
3  * *
4  * This file is part of IntuitionTC. *
5  * *
6  ****************************************************************************/
7 
20 extern int waserror;
21 
28 extern int proof_parsing;
29 
30 
37 void yyerror(char* s);
38 
43 void printUsage(char* pname);
44 
51 int formulas(char* filename);
52 
60 int proofs(char* filename);
61 
73 int main(int argc, char *argv[]);
74 
86 int typecheckFormula(Term* term, Type* type);
87 
96 int updateTypeVariables(Type* type, envmap *env, int arity);
97 
106 int updateTypeVariablesCas(McasIn cas, envmap *env);
107 
115 int updateTypeVariablesTerm(Term * term, envmap *env);
116 
125 Kind* createArity(int arity);
126 
127 
int updateTypeVariablesTerm(Term *term, envmap *env)
The procedure is used to add to environment types of free predicates that occur in the given term...
Definition: main.c:83
The representation of the case subexpression.
Definition: checker.h:261
int waserror
The variable is used to communicate errors to functions that do not have appropriate arguments...
Definition: main.c:35
int main(int argc, char *argv[])
The main procedure of the program.
Definition: main.c:302
int proof_parsing
The global variable that contains the proof parsing status.
Definition: main.c:36
The representation of the kinds in the typesystem.
Definition: checker.h:68
int typecheckFormula(Term *term, Type *type)
Typechecks the given term as the proof for the given type.
Definition: main.c:243
void yyerror(char *s)
The procedure prints the information about the syntax error in the TPTP format.
Definition: main.c:38
void printUsage(char *pname)
The procedure prints out information on how to invoke the program.
Definition: main.c:44
The representation of the types in the typesystem.
Definition: checker.h:146
int updateTypeVariablesCas(McasIn cas, envmap *env)
The procedure is used to add to environment types of free predicates that occur in the given case sub...
Definition: main.c:76
int updateTypeVariables(Type *type, envmap *env, int arity)
The procedure is used to add to environment types of free predicates that occur in the formula...
Definition: main.c:185
Kind * createArity(int arity)
The procedure creates the Kind that represents the given arity of a predicate.
Definition: main.c:151
The representation of the dictionary to hold values wrapped in Any structure and available under stri...
Definition: envmap_base.h:27
int formulas(char *filename)
The procedure handles the option of syntax checking for input formulas.
Definition: main.c:54
The representation of the proof terms in the typesystem.
Definition: checker.h:298
int proofs(char *filename)
The procedure handles the option of typechecking of proofs for given formulas.
Definition: main.c:272