Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  Sequent2.thy   Sprache: Isabelle

 

theory Sequent2 imports Sequent begin

section ‹Completeness Revisited›

lemma ‹∃p. q = compl p›
  by (metis compl.simps(1))

definition compl' where
  ‹compl' = (λq. (SOME p. q = compl p))›

lemma comp'_sem:
  ‹eval e f g (compl' p) ⟷ ¬ eval e f g p›
  by (smt compl'_def compl.simps(1) compl eval.simps(7) someI_ex)

lemma comp'_sem_list: ‹list_ex (λp. ¬ eval e f g p) (map compl' ps) ⟷ list_ex (eval e f g) ps›
  by (induct ps) (use comp'_sem in auto)

theorem SC_completeness':
  fixes ps :: ‹(nat, nat) form list›
  assumes ‹∀(e :: nat → nat hterm) f g. list_ex (eval e f g) (p # ps)›
  shows ‹⊨ p # ps›
proof -
  define ps' where ‹ps' = map compl' ps›
  then have ‹ps = map compl ps'›
    by (induct ps arbitrary: ps') (simp, smt (verit) compl'_def compl.simps(1) list.simps(9) someI_ex)
  from assms have ‹∀(e :: nat → nat hterm) f g. (list_ex (eval e f g) ps) ∨ eval e f g p›
    by auto
  then have ‹∀(e :: nat → nat hterm) f g. (list_ex (λp. ¬ eval e f g p) ps') ∨ eval e f g p›
    unfolding ps'_def using comp'_sem_list by blast
  then have ‹∀(e :: nat → nat hterm) f g. list_all (eval e f g) ps' ⟶ eval e f g p›
    by (metis Ball_set Bex_set)
  then have ‹⊨ p # map compl ps'›
    using SC_completeness by blast
  then show ?thesis
    using ‹ps = map compl ps'› by auto
qed

corollary
  fixes ps :: ‹(nat, nat) form list›
  assumes ‹∀(e :: nat → nat hterm) f g. list_ex (eval e f g) ps›
  shows ‹⊨ ps›
  using assms SC_completeness' by (cases ps) auto

end

Messung V0.5 in Prozent
C=60 H=93 G=78

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-09-29) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1126438
#Domains=1867298