[Imprint][Data Privacy Statement][E-Mail]

Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Specification array
generic specification
   parameter elem
   using nat
target
   sorts array;
   functions 
       mkarray : nat → array;
       # . : array → nat;
   
   variables 
       ar : array;
       m : nat;
       n : nat;
       a : elem;
   
   partial functions 
       . [ . ] : array × nat → elem with λ ar, n. n < # ar;
       . [ . ] : array × nat × elem → array with λ ar, n, a. n < # ar;
   
   
   induction 
      array generated by mkarray, [ ];
   
   axioms 
      Extension: ar1 = ar2 ↔ # ar1 = # ar2 ∧ (∀ n. n < # ar1 → ar1[n] = ar2[n]);
      used for: ls;
      
      Size-mkarray: # mkarray(n) = n;
      used for: s, ls;
      
      Size-put: # ar[n, a] = # ar;
      used for: s, ls;
      
      Put-same: m < # ar → ar[m, a][m] = a;
      used for: s, ls, lc;
      
      Put-other: m ≠ n → ar[n, a][m] = ar[m];
      used for: s, ls, lc;
   
   
end generic specification