# HG changeset patch # User wenzelm # Date 1634047961 -7200 # Node ID 0803dd7f920db487634dfdc279bd74db5f4b3e39 # Parent 40f03761f77fe265bd8c898022c73ec3dd9b9cb9 tuned comments; diff -r 40f03761f77f -r 0803dd7f920d src/HOL/Tools/Meson/meson.ML --- a/src/HOL/Tools/Meson/meson.ML Mon Oct 11 21:55:21 2021 +0200 +++ b/src/HOL/Tools/Meson/meson.ML Tue Oct 12 16:12:41 2021 +0200 @@ -183,7 +183,7 @@ (*Permits forward proof from rules that discharge assumptions. The supplied proof state st, e.g. from conj_forward, should have the form - "[| P' ==> ?P; Q' ==> ?Q |] ==> ?P & ?Q" + "\P' \ ?P; Q' \ ?Q\ \ ?P \ ?Q" and the effect should be to instantiate ?P and ?Q with normalized versions of P' and Q'.*) fun forward_res ctxt nf st = let @@ -293,7 +293,7 @@ of SOME(th,_) => th | NONE => raise THM("forward_res2", 0, [st]); -(*Remove duplicates in P|Q by assuming ~P in Q +(*Remove duplicates in P\Q by assuming \P in Q rls (initially []) accumulates assumptions of the form P==>False*) fun nodups_aux ctxt rls th = nodups_aux ctxt rls (th RS disj_assoc) handle THM _ => tryres(th,rls) @@ -617,7 +617,7 @@ val ext_cong_neq = @{thm ext_cong_neq} -(* Strengthens "f g ~= f h" to "f g ~= f h & (EX x. g x ~= h x)". *) +(* Strengthens "f g \ f h" to "f g \ f h \ (\x. g x \ h x)". *) fun cong_extensionalize_thm ctxt th = (case Thm.concl_of th of \<^Const_>\Trueprop for \<^Const_>\Not for \<^Const_>\HOL.eq T for \t as _ $ _\ \u as _ $ _\\\\ => diff -r 40f03761f77f -r 0803dd7f920d src/HOL/Tools/Meson/meson_clausify.ML --- a/src/HOL/Tools/Meson/meson_clausify.ML Mon Oct 11 21:55:21 2021 +0200 +++ b/src/HOL/Tools/Meson/meson_clausify.ML Tue Oct 12 16:12:41 2021 +0200 @@ -183,7 +183,7 @@ (* Given the definition of a Skolem function, return a theorem to replace an existential formula by a use of that function. - Example: "EX x. x : A & x ~: B ==> sko A B : A & sko A B ~: B" [.] *) + Example: "\x. x \ A \ x \ B \ sko A B \ A \ sko A B \ B" *) fun old_skolem_theorem_of_def ctxt rhs0 = let val rhs = rhs0 |> Type.legacy_freeze_thaw |> #1 |> Thm.cterm_of ctxt