# The following is the input language for debugging satbox.
# The output of satbox will be printed onto the screen.
# All the commands have three lowercase characters.

# satbox_init(max_atom);
ini <int>

# satbox_set_flag(flag, val);
flg <int> <int>

# satbox_insert_clause (cl_arr, size, 0)
# first <int> is the size; the rest are literals.
cla <int> [ <int> ... ]

# satbox_insert_unit_clause( x );
uni <int>

# satbox_init_search ( int *output );
sea 

# satbox_restart_search();
rse

# satbox_check_model();
ckm

# satbox_strategy(select);
sty <int>

# satbox_backtrack(lit,output)
bak <int>

# satbox_assert_true(num,io) 
ast <int> [ <int> ... ]

# satbox_decide_true(lit,output)
dec <int>

# satbox_insert_lemma (cl_arr, size, output)
# the first <int> is the size of the lemma
lem <int> <int> [<int> ...]

# satbox_remove_last_lemmas (int n);
rem <int>

# satbox_back_to(int level);
bkt <int>

# satbox_var_level (int variable);
vlv <int>

# satbox_lit_value( int literal );
lva <int>

# satbox_var_value( int variable );
vva <int>

# to cope with dpllt_reason_satbox(lit, lits);
# the first <int> is equal to lit; 
# the second <int> is the number of literals in lits
# the rest <int>s are those literals in lits.
rea <int> <int> [<int> ...]

# satbox_var_is_watched(var): <int> is a variable
wat <int>

# to stop the search
qui
