Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > f0a5310ec50a197e2721b9b478b80f64 > files > 30

emacs-common-proofgeneral-3.7.1-4.fc12.noarch.rpm

/* File name:      example.lcm                            */
/* Description:    Tutorial walkthrough from LClam manual */
/* Author:         James Brotherston                      */
/* Last modified:  20th August 2001                       */

query_top_goal X assp.

set_spypoint (induction_top normal_ind).
set_spypoint sym_eval.

silent_output on.

pds_plan (induction_top normal_ind) assp.
continue.
continue.
continue.

add_theory_to_induction_scheme_list arithmetic.
add_theory_to_sym_eval_list arithmetic.
set_wave_rule_to_sym_eval.
add_to_sym_eval_list [idty].
set_wave_rule_to_sym_eval.
remove_spypoint (induction_top normal_ind).
remove_spypoint sym_eval.
pds_plan (induction_top normal_ind) assp.

step_by_step on.
pds_plan (induction_top normal_ind) assp.
continue.
backtrack.
try ind_strat.
continue.
plan_node (2::1::nil).
abandon.