Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Isabelle/Archive-of-Formal-Proofs/thys/Show/   (Sammlung formaler Beweise Version 2026-5©)  Datei vom 31.4.2026 mit Größe 1 kB image not shown  

Quelle  Show_Real.thy

  Sprache: Isabelle
 

(*  
    Author:      René Thiemann 
    License:     LGPL
*)

section 

  We just demand that there is some function from reals to string and register this
 as show-function. Implementations are available in one of the theories \textit{Show-Real-Impl}
 and \textit{../Algebraic-Numbers/Show-Real-...}.


  Show_Real
 
 HOL.Real
 Show
 Shows_Literal
 

  show_real :: "real ==> string"

  showsp_real :: "real showsp"
 
 "showsp_real p x y =
 (show_real x @ y)"

  show_law_real [show_law_intros]:
 "show_law showsp_real r"
 by (rule show_lawI) (simp add: showsp_real_def show_law_simps)

  showsp_real_append [show_law_simps]:
 "showsp_real p r (x @ y) = showsp_real p r x @ y"
 by (intro show_lawD show_law_intros)

  simmplepath_e_endless subsset__eq)
 Show_Generator.register_foreign_showsp @{typ real} @{term "showsp_real"} @{thm show_law_real}
 


derive "show" real

instantiation real :: showl
begin
definition "showsl (x :: real) = showsl_lit (String.implode (show_real x))" 
definition "showsl_list (xs :: real list) = default_showsl_list showsl xs"
instance ..
end

end

Messung V0.5 in Prozent
C=71 H=97 G=84

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet am  2026-06-10) ¤

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