diff --git a/lib/TSubst.thy b/lib/TSubst.thy index a3f97cb52..333ec2006 100644 --- a/lib/TSubst.thy +++ b/lib/TSubst.thy @@ -8,6 +8,12 @@ * @TAG(NICTA_BSD) *) +(* + * Term subst method: substitution with a given term as the equation. + * The equation will be added as a subgoal. + * See example at the end of this file. + *) + theory TSubst imports Main @@ -53,7 +59,7 @@ method_setup tsubst = \ ctxt3 occs [athm] 1 thm' |> Seq.map (singleton (Variable.export ctxt3 ctxt')) end)) ctxt 1))) - \ "direct substitution for schematic variables" + \ "subst, with term instead of theorem as equation" schematic_goal assumes a: "\x y. P x \ P y"