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

Quelle  prime_def.thy

  Sprache: Isabelle
 

(*<*)
theory prime_def imports Main begin
consts prime :: "nat ==> bool"
(*>*)
text
 begin{warn}
  common mistake when writing definitions is to introduce extra free
  on the right-hand side. Consider the following, flawed definition
 where dvd means ``divides''):
 {term[display,quotes]"prime(p) 1 < p (m dvd p (m=1 m=p))"}
 par\noindent\hangindent=0pt
  rejects this ``definition'' because of the extra termm on the
 -hand side, which would introduce an inconsistency (why?).
  correct version is
 {term[display,quotes]"prime(p) 1 < p (m. m dvd p (m=1 m=p))"}
 end{warn}
 

(*<*)
end
(*>*)

Messung V0.5 in Prozent
C=90 H=96 G=93

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© 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.