(* Title: HOL/Proofs/Lambda/ParRed.thy Author: Tobias Nipkow Copyright 1995 TU Muenchen
Properties of => and "cd", in particular the diamond property of => and confluence of beta.
*)
section‹Parallel reduction and a complete developments›
theory ParRed imports Lambda Commutation begin
subsection‹Parallel reduction›
inductive par_beta :: "[dB, dB] => bool" (infixl‹=>› 50) where
var [simp, intro!]: "Var n => Var n"
| abs [simp, intro!]: "s => t ==> Abs s => Abs t"
| app [simp, intro!]: "[| s => s'; t => t' |] ==> s \ t => s' \ t'"
| beta [simp, intro!]: "[| s => s'; t => t' |] ==> (Abs s) \ t => s'[t'/0]"
inductive_cases par_beta_cases [elim!]: "Var n => t" "Abs s => Abs t" "(Abs s) \ t => u" "s \ t => u" "Abs s => t"
subsection‹Inclusions›
text‹‹beta ⊆ par_beta ⊆ beta🚫*›\medskip›
lemma par_beta_varL [simp]: "(Var n => t) = (t = Var n)" by blast
lemma par_beta_refl [simp]: "t => t"(* par_beta_refl [intro!] causes search to blow up *) by (induct t) simp_all
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.