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

Quelle  Progress.thy

  Sprache: Isabelle
 

subsectionProgress

theory Progress
  imports TypePreservation
begin
  
textWe say that a term $t$ is in \emph{weak-head-normal} form when one of the following conditions are met:
 \begin{enumerate}
 \item $t$ is a value,
 \item there exists $\alpha$ and $v$ such that $t = \mu:\tau.[\alpha]v$ with $\alpha \in fcv(v)$
 whenever $\alpha = 0$.
 \end{enumerate}

  
fun (sequential) is_nf :: "trm ==> bool" where
  "is_nf (μ U: (<β> v)) = (is_val v (β = 0 0 fmv_trm v 0))" |
  "is_nf v = is_val v"
  
lemma progress':
  "Γ, Δ T t : T ==> lambda_closed t ==> ( s. ¬(t <---- s)) ==> is_nf t"
  "Γ, Δ C c ==> lambda_closedC c ==> ( β t. c = (<β> t) ( d. ¬(t <---- d)) is_nf t)"                            
proof (induct rule: typing_trm_typing_cmd.inducts)
  case (app Γ Δ t T1 T2 s)
  then show ?case
    by -(erule type_arrow_elim; force)  
next
  case (activate Γ Δ T c)
  then show ?case
    proof(cases c)
      case (MVar α t)
      then show ?thesis
        using activate by (case_tac t; force)
    qed
qed force+

theorem progress:
  assumes "Γ, Δ T t : T" "lambda_closed t"
  shows   "is_nf t ( s. t <---- s)"
using assms by (fastforce intro: progress')
    
end

Messung V0.5 in Prozent
C=83 H=100 G=91

¤ Dauer der Verarbeitung: 0.22 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.