Index of values

C
canonical [FML_lexer]
Maps common notational variants of logical and mathematical terms to their canonical counterparts, e.g.
closed_terms_of_fml [FML_main]
conclusion_of_prf [Main]
D
default_automaton [PRF_sequencer]
default_options [Main]
= {
        verbose = false;
        discharge = false;
        undischarge = false;
        logic = Classical;
        quiet = false;
}
E
execute_arg_list [Cli]
expand_and_validate_file [Main]
expand_and_validate_file options path applies ITM_main.expand_file to path and checks validity of each expanded proof according to options.
expand_file [ITM_main]
expand_file path evaluates to expand_items (items_of_file path).
expand_items [ITM_main]
Recursively expands each item on a list according to the definitions preceding it (with the most immediate predecessors being applied first).
F
fml_is_fml_with_var_replaced_by_term [FML_main]
fml_is_fml_with_var_replaced_by_term fml1 fml2 var evaluates to Some term, if term is the first element of closed_terms_of_fml fml1 such that fml1 = subst_in_fml var term fml2 evaluates to true, and to None if no such element exists.
fml_list_of_file [FML_main]
fml_list_of_file path applies fml_of_string to each line of the file located at path.
fml_of_fml_raw [PRF_main]
fml_of_fml_raw fml_raw evaluates to
match fml_raw with
|Fml_raw (s : string) -> FML_main.fml_of_string s
fml_of_string [FML_main]
fml_of_string fml evaluates to an object of type FML_types.t_fml if fml conforms to the grammar specified in fml.txt, and raises exception Parse_error fml otherwise.
free_vars_of_fml [FML_main]
I
is_closed_term [FML_main]
items_of_file [ITM_main]
If path is the path of a file whose content conforms to the grammar specified in items.txt, then items_of_file path evaluates to a list of type ITM_types.t_itm, and otherwise raises an exception.
L
lexer_of_file [PRF_sequencer]
lexer_of_file path evaluates to lexer_of_matrix (matrix_of_file path).
lexer_of_matrix [PRF_sequencer]
lexer_of_matrix m evaluates to lexer_of_matrix ~print_trace:false ~automaton:default_automaton m.
lexer_of_string [PRF_sequencer]
lexer_of_string s evaluates to lexer_of_matrix (matrix_of_string s).
line_of_lexbuf [ITM_lexer]
M
main [ITM_parser]
main [PRF_parser]
main [FML_parser]
matrix_of_file [PRF_sequencer]
Same as matrix_of_string, but reads string from file located at the provided path.
matrix_of_string [PRF_sequencer]
matrix_of_string s forms rows by splitting s on character '\n', forms columns by applying UTF8_segmenter.utf_8_grapheme_clusters to each row, and converts the result to arrays.
O
options_of_string_list [Cli]
P
premises_of_prf [Main]
premises_of_prf excluded prf evaluates to a non-repeating list of all undischarged assumptions of prf, except for those in excluded.
prf_of_file [PRF_main]
prf_of_file path evaluates to prf_of_prf_raw (prf_raw_of_file path).
prf_of_prf_raw [PRF_main]
prf_of_prf_raw prf_raw evaluates to the result of applying fml_of_fml_raw to each formula in prf_raw.
prf_of_stdin [PRF_main]
prf_of_stdin () evaluates to prf_of_prf_raw (prf_raw_of_stdin ()).
prf_of_string [PRF_main]
prf_of_string s evaluates to prf_of_prf_raw (prf_raw_of_string s).
prf_raw_of_file [PRF_main]
Same as prf_raw_of_string, but reads from the file located at the given path.
prf_raw_of_prf_seq [PRF_main]
prf_raw_of_prf_seq (Prf_seq s) evaluates (essentially) to PRF_parser.main PRF_lexer.token (Lexing.from_string s).
prf_raw_of_stdin [PRF_main]
Same as prf_raw_of_string, but reads from stdin.
prf_raw_of_string [PRF_main]
prf_raw_of_string s evaluates (essentially) to prf_raw_of_prf_seq (PRF_sequencer.prf_seq_of_string s).
prf_seq_of_file [PRF_sequencer]
Same as PRF_sequencer.prf_seq_of_string, but reads from the file located at the provided path.
prf_seq_of_string [PRF_sequencer]
prf_seq_of_string prf_tree evaluates to Prf_seq (String.concat "" (List.map string_of_token (lexer_of_string s))).
print_to_file [IO]
print_to_stderr [IO]
print_to_stderr_green [IO]
print_to_stderr_red [IO]
print_to_stderr_yellow [IO]
print_to_stdout [IO]
S
string_of_binop [FML_main]
string_of_file [IO]
string_of_fml [FML_main]
string_of_item [ITM_main]
string_of_items [ITM_main]
string_of_pred [FML_main]
string_of_prf [PRF_main]
string_of_prf_raw [PRF_main]
string_of_quant [FML_main]
string_of_stdin [IO]
string_of_term [FML_main]
string_of_token [PRF_sequencer]
string_of_token token evaluates to
        match token with
        |FML_LETTER s -> s
        |RULE_LETTER s -> s
        |HSEP -> ";"
        |RSEP n -> "#" ^ (string_of_int n)
        |VSEP -> ":"
string_of_unop [FML_main]
string_of_var [FML_main]
subst_free_vars_in_fml_with_terms [ITM_main]
subst_free_vars_in_fml_with_terms subst fml evaluates to the result of simultaneously replacing every free variable in fml with a term according to the function subst: t_var -> t_term.
subst_in_fml [FML_main]
subst_in_fml var term fml evaluates to the result of replacing every free occurrence of var in fml with term, regardless of whether term contains variables that become bound.
subst_in_prf [PRF_main]
subst_in_prf subst prf evaluates to the result of simultaneously replacing every atomic proof (undischarged assumption) in prf with another proof according to the function subst : t_prf -> t_prf.
T
token [ITM_lexer]
token [PRF_lexer]
token [FML_lexer]
transform_prf [PRF_main]
transform_prf subst prf evaluates to the result of applying the function subst : t_fml -> t_fml to each formula in prf.
U
unnegate [FML_lexer]
Maps "≠" to "=", for instance.
utf_8_grapheme_clusters [UTF8_segmenter]
evaluates to utf_8_segments `Grapheme_cluster.
utf_8_segments [UTF8_segmenter]
Splits a string by Uuseg.boundary.
V
validate_file [Main]
validate_file options path evaluates to validate_prf options (PRF_main.prf_of_file path).
validate_prf [Main]
validate_prf prf evaluates to Some prf if prf represents a valid proof in classical first-order logic, and to None otherwise.
validate_stdin [Main]
validate_stdin options () evaluates to validate_prf options (PRF_main.prf_of_stdin()).
vars_of_terms [FML_main]
Recursively lists all variables occurring in a list of terms.