Eine aufbereitete Darstellung der Quelle

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


Impressum permutations.pvs   Sprache: PVS

 

permutations[N: nat, T: TYPE]: THEORY
%------------------------------------------------------------------------
%
% permutations of arrays
%
% Author: Rick Butler
%
%------------------------------------------------------------------------
BEGIN

  A,A1,A2,A3: VAR ARRAY[below(N) -> T] 
  ii: VAR below[N]
  x: VAR T

  IMPORTING below_arrays[N,T]

  permutation_of?(A1,A2): bool = (EXISTS (f: [below(Nnil)
                      bijective?(f) AND (FORALL ii: A1(ii) = A2(f(ii))))

  perm_reflexive: LEMMA permutation_of?(   (nonemptytype- n)

  perm_symmetric: LEMMA permutation_of?(A1,A2) IMPLIES permutation_of?(A2,A1)

  perm_tran     : LEMMA permutation_of?(A1,A2) AND permutation_of?(A2,A3) 
                            IMPLIES permutation_of?(A1,A3)

  erm_in?       java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 55
                             (in?(x,A1) = in?(x,A2))

END permutations


Messung
CHZG
8310010094

¤ Dauer der Verarbeitung: 0.9 Sekunden  ¤

*Bot Zugriff







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,187,961
#Domains=975,451