Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Isabelle/Archive-of-Formal-Proofs/thys/Optics/     Datei vom 29.4.2026 mit Größe 1 kB image not shown  

Quelle  Interp.thy

  Sprache: Isabelle
 

(******************************************************************************)
(* Project: The Isabelle/UTP Proof System                                     *)
(* File: Interp.thy                                                           *)
(* Authors: Simon Foster and Frank Zeyda                                      *)
(* Emails: simon.foster@york.ac.uk frank.zeyda@york.ac.uk                     *)
(******************************************************************************)
(* LAST REVIEWED: 7/12/2016 *)

section Interpretation Tools

theory Interp
imports Main
begin

subsection Interpretation Locale

locale interp =
fixes f :: "'a ==> 'b"
assumes f_inj : "inj f"
begin
lemma meta_interp_law:
"(P. PROP Q P) (P. PROP Q (P o f))"
  apply (rule equal_intr_rule)
     Subgoal 1
   apply (drule_tac x = "P o f" in meta_spec)
   apply (assumption)
     Subgoal 2
  apply (drule_tac x = "P o inv f" in meta_spec)
  apply (simp add: f_inj)
done

lemma all_interp_law:
"(P. Q P) = (P. Q (P o f))"
  apply (safe)
     Subgoal 1
   apply (drule_tac x = "P o f" in spec)
   apply (assumption)
     Subgoal 2
  apply (drule_tac x = "P o inv f" in spec)
  apply (simp add: f_inj)
done

lemma exists_interp_law:
"(P. Q P) = (P. Q (P o f))"
  apply (safe)
     Subgoal 1
   apply (rule_tac x = "P o inv f" in exI)
   apply (simp add: f_inj)
     Subgoal 2
  apply (rule_tac x = "P o f" in exI)
  apply (assumption)
done
end
end

Messung V0.5 in Prozent
C=99 H=100 G=99

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen



NIST Cobol Testsuite



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.