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

Benutzer

Quelle  TAO_3_Quantifiable.thy

  Sprache: Isabelle
 

(*<*)
theory TAO_3_Quantifiable
imports TAO_2_Semantics
begin
(*>*)

sectionGeneral Quantification
text\label{TAO_Quantifiable}

text
 begin{remark}
 In order to define general quantifiers that can act
 on individuals as well as relations a type class
 is introduced which assumes the semantics of the all quantifier.
 This type class is then instantiated for individuals and
 relations.
 end{remark}
 


subsectionType Class
text\label{TAO_Quantifiable_Class}

class quantifiable = fixes forall :: "('a==>o)==>o" (binder \ [89)
  assumes quantifiable_T8: "(w (\<forall> x . ψ x)) = ( x . (w (ψ x)))"
begin
end

lemma (in Semantics) T8: shows "(w \<forall> x . ψ x) = ( x . (w ψ x))"
  using quantifiable_T8 .

subsectionInstantiations
text\label{TAO_Quantifiable_Instantiations}

instantiation ν :: quantifiable
begin
  definition forall_ν :: "(ν==>o)==>o" where "forall_ν forall\<nu>"
  instance proof
    fix w :: i and ψ :: ==>o"
    show "(w \<forall>x. ψ x) = (x. (w ψ x))"
      unfolding forall_ν_def using Semantics.T8_ν .
  qed
end

instantiation o :: quantifiable
begin
  definition forall_o :: "(o==>o)==>o" where "forall_o forall\<o>"
  instance proof
    fix w :: i and ψ :: "o==>o"
    show "(w \<forall>x. ψ x) = (x. (w ψ x))"
      unfolding forall_o_def using Semantics.T8_o .
  qed
end

instantiation Π1 :: quantifiable
begin
  definition forall_Π1 :: "(Π1==>o)==>o" where "forall_Π1 forall1"
  instance proof
    fix w :: i and ψ :: 1==>o"
    show "(w \<forall>x. ψ x) = (x. (w ψ x))"
      unfolding forall_Π1_def using Semantics.T8_1 .
  qed
end

instantiation Π2 :: quantifiable
begin
  definition forall_Π2 :: "(Π2==>o)==>o" where "forall_Π2 forall2"
  instance proof
    fix w :: i and ψ :: 2==>o"
    show "(w \<forall>x. ψ x) = (x. (w ψ x))"
      unfolding forall_Π2_def using Semantics.T8_2 .
  qed
end

instantiation Π3 :: quantifiable
begin
  definition forall_Π3 :: "(Π3==>o)==>o" where "forall_Π3 forall3"
  instance proof
    fix w :: i and ψ :: 3==>o"
    show "(w \<forall>x. ψ x) = (x. (w ψ x))"
      unfolding forall_Π3_def using Semantics.T8_3 .
  qed
end

(*<*)
end
(*>*)

Messung V0.5 in Prozent
C=74 H=95 G=84

¤ 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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

      Eigene Quellcodes
      Fremde Quellcodes
     Quellcodebibliothek
      Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge