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

Quelle  Nested0.thy

  Sprache: Isabelle
 

(*<*)
theory Nested0 imports Main begin
(*>*)

text
 index{datatypes!nested}%
  \S\ref{sec:nested-datatype} we defined the datatype of terms
 


datatype ('a,'b)"term" = Var 'a | App 'b "('a,'b)term list"

text\noindent
  closed with the observation that the associated schema for the definition
  primitive recursive functions leads to overly verbose definitions. Moreover,
  you have worked exercise~\ref{ex:trev-trev} you will have noticed that
  needed to declare essentially the same function as @{term"rev"}
  prove many standard properties of list reversal all over again.
  will now show you how \isacommand{recdef} can simplify
  and proofs about nested recursive datatypes. As an example we
  exercise~\ref{ex:trev-trev}:
 


consts trev  :: "('a,'b)term ==> ('a,'b)term"
(*<*)end(*>*)

Messung V0.5 in Prozent
C=74 H=89 G=81

¤ 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.