Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Isabelle/Doc/Tutorial/Rules/   (Beweissystem Isabelle Version 2025-1©)  Datei vom 16.11.2025 mit Größe 1 kB image not shown  

Quelle  Tacticals.thy   Sprache: Isabelle

 
theory Tacticals imports Main begin

textREPEAT
lemma "\P\Q; Q\R; R\S; P\ \ S"
apply (drule mp, assumption)
apply (drule mp, assumption)
apply (drule mp, assumption)
apply (assumption)
done

lemma "\P\Q; Q\R; R\S; P\ \ S"
by (drule mp, assumption)+

textORELSE with REPEAT
lemma "\Q\R; P\Q; x<5\P; Suc x < 5\ \ R" 
by (drule mp, (assumption|arith))+

textexercise: what's going on here?\
lemma "\P\Q\R; P\Q; P\ \ R"
by (drule mp, (intro conjI)?, assumption+)+

textdefer and prefer

lemma "hard \ (P \ ~P) \ (Q\Q)"
apply (intro conjI)   🍋 @{subgoals[display,indent=0,margin=65]}
defer 1   🍋 @{subgoals[display,indent=0,margin=65]}
apply blast+   🍋 @{subgoals[display,indent=0,margin=65]}
oops

lemma "ok1 \ ok2 \ doubtful"
apply (intro conjI)   🍋 @{subgoals[display,indent=0,margin=65]}
prefer 3   🍋 @{subgoals[display,indent=0,margin=65]}
oops

lemma "bigsubgoal1 \ bigsubgoal2 \ bigsubgoal3 \ bigsubgoal4 \ bigsubgoal5 \ bigsubgoal6"
apply (intro conjI)   🍋 @{subgoals[display,indent=0,margin=65]}
txt@{subgoals[display,indent=0,margin=65]} 
A total of 6 subgoals...

oops



(*needed??*)

lemma "(P\Q) \ (R\S) \ PP"
apply (elim conjE disjE)
oops

lemma "((P\Q) \ R) \ (Q \ (P\S)) \ PP"
apply (elim conjE)
oops

lemma "((P\Q) \ R) \ (Q \ (P\S)) \ PP"
apply (erule conjE)+
oops

end

Messung V0.5
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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 und die Messung sind noch experimentell.