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

Quelle  Init.thy

  Sprache: Isabelle
 

(*  Title:      HOL/TLA/Init.thy
  Author: Stephan Merz
  Copyright: 1998 University of Munich
 
 Introduces type of temporal formulas. Defines interface between
 temporal formulas and its "subformulas" (state predicates and
 actions).
*)

theory Init
imports Action
begin

typedecl behavior
instance behavior :: world ..

type_synonym temporal = "behavior form"

consts
  first_world :: "behavior ==> ('w::world)"
  st1         :: "behavior ==> state"
  st2         :: "behavior ==> state"

definition Initial :: "('w::world ==> bool) ==> temporal"
  where Init_def: "Initial F sigma = F (first_world sigma)"

syntax
  "_TEMP"    :: "lift ==> 'a"                          ((TEMP _))
  "_Init"    :: "lift ==> lift"                        ((Init _)[40] 50)
translations
  "TEMP F"   => "(F::behavior ==> _)"
  "_Init"    == "CONST Initial"
  "sigma Init F"  <= "_Init F sigma"

overloading
  fw_temp  "first_world :: behavior ==> behavior"
  fw_stp  "first_world :: behavior ==> state"
  fw_act  "first_world :: behavior ==> state × state"
begin

definition "first_world == λsigma. sigma"
definition "first_world == st1"
definition "first_world == λsigma. (st1 sigma, st2 sigma)"

end

lemma const_simps [int_rewrite, simp]:
  " (Init #True) = #True"
  " (Init #False) = #False"
  by (auto simp: Init_def)

lemma Init_simps1 [int_rewrite]:
  "F. (Init ¬F) = (¬ Init F)"
  " (Init (P Q)) = (Init P Init Q)"
  " (Init (P Q)) = (Init P Init Q)"
  " (Init (P Q)) = (Init P Init Q)"
  " (Init (P = Q)) = ((Init P) = (Init Q))"
  " (Init (x. F x)) = (x. (Init F x))"
  " (Init (x. F x)) = (x. (Init F x))"
  " (Init (!x. F x)) = (!x. (Init F x))"
  by (auto simp: Init_def)

lemma Init_stp_act: " (Init $P) = (Init P)"
  by (auto simp add: Init_def fw_act_def fw_stp_def)

lemmas Init_simps2 = Init_stp_act [int_rewrite] Init_simps1
lemmas Init_stp_act_rev = Init_stp_act [int_rewrite, symmetric]

lemma Init_temp: " (Init F) = F"
  by (auto simp add: Init_def fw_temp_def)

lemmas Init_simps = Init_temp [int_rewrite] Init_simps2

(* Trivial instances of the definitions that avoid introducing lambda expressions. *)
lemma Init_stp: "(sigma Init P) = P (st1 sigma)"
  by (simp add: Init_def fw_stp_def)

lemma Init_act: "(sigma Init A) = A (st1 sigma, st2 sigma)"
  by (simp add: Init_def fw_act_def)

lemmas Init_defs = Init_stp Init_act Init_temp [int_use]

end

Messung V0.5 in Prozent
C=89 H=95 G=91

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet am  2026-04-25) ¤

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