schematic_goal assumes"p : ALL z. G(z)" shows"?p : ALL z. G(z)|H(z)" apply (rule allI) apply (rule disjI1) apply (rule assms [THEN spec]) done
schematic_goal "?p : ALL x. EX y. x=y" apply (rule allI) apply (rule exI) apply (rule refl) done
schematic_goal "?p : EX y. ALL x. x=y" apply (rule exI) apply (rule allI) apply (rule refl)? oops
text\<open>Parallel lifting example.\<close>
schematic_goal "?p : EX u. ALL x. EX v. ALL y. EX w. P(u,x,v,y,w)" apply (rule exI allI) apply (rule exI allI) apply (rule exI allI) apply (rule exI allI) apply (rule exI allI) oops
schematic_goal assumes"p : (EX z. F(z)) & B" shows"?p : EX z. F(z) & B" apply (rule conjE) apply (rule assms) apply (rule exE) apply assumption apply (rule exI) apply (rule conjI) apply assumption apply assumption done
text\<open>A bigger demonstration of quantifiers -- not in the paper.\<close>
schematic_goal "?p : (EX y. ALL x. Q(x,y)) --> (ALL x. EX y. Q(x,y))" apply (rule impI) apply (rule allI) apply (rule exE, assumption) apply (rule exI) apply (rule allE, assumption) apply assumption done
end
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.