Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  Induction_Schema.thy

  Sprache: Isabelle
 

(*  Title:      HOL/Examples/Induction_Schema.thy
    Author:     Alexander Krauss, TU Muenchen
*)


section Examples of automatically derived induction rules

theory Induction_Schema
imports Main
begin

subsection Some simple induction principles on nat

lemma nat_standard_induct: (* cf. Nat.thy *)
  "[P 0; n. P n ==> P (Suc n)] ==> P x"
by induction_schema (pat_completeness, lexicographic_order)

lemma nat_induct2:
  "[ P 0; P (Suc 0); k. P k ==> P (Suc k) ==> P (Suc (Suc k)) ]
  ==> P n"
by induction_schema (pat_completeness, lexicographic_order)

lemma minus_one_induct:
  "[n::nat. (n 0 ==> P (n - 1)) ==> P n] ==> P x"
by induction_schema (pat_completeness, lexicographic_order)

theorem diff_induct: (* cf. Nat.thy *)
  "(!!x. P x 0) ==> (!!y. P 0 (Suc y)) ==>
    (!!x y. P x y ==> P (Suc x) (Suc y)) ==> P m n"
by induction_schema (pat_completeness, lexicographic_order)

lemma list_induct2': (* cf. List.thy *)
  "[ P [] [];
  x xs. P (x#xs) [];
  y ys. P [] (y#ys);
   x xs y ys. P xs ys ==> P (x#xs) (y#ys) ]
 ==> P xs ys"
by induction_schema (pat_completeness, lexicographic_order)

theorem even_odd_induct:
  assumes "R 0"
  assumes "Q 0"
  assumes "n. Q n ==> R (Suc n)"
  assumes "n. R n ==> Q (Suc n)"
  shows "R n" "Q n"
  using assms
by induction_schema (pat_completeness+, lexicographic_order)

end

Messung V0.5 in Prozent
C=88 H=100 G=94

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-06-29) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik