## TPTP Axioms File: DAT001=0.ax

%------------------------------------------------------------------------------
% File     : DAT001=0 : TPTP v7.5.0. Released v5.0.0.
% Domain   : Data Structures
% Axioms   : Integer arrays
% Version  : [Wal10] axioms.
% English  :

% Refs     : [PW06]  Prevosto & Waldmann (2006), SPASS+T
%          : [Wal10] Waldmann (2010), Email to Geoff Sutcliffe
% Source   : [Wal10]
% Names    :

% Status   : Satisfiable
% Syntax   : Number of formulae    :    5 (   1 unit;   3 type)
%            Number of atoms       :    3 (   3 equality)
%            Maximal formula depth :    6 (   4 average)
%            Number of connectives :    1 (   0   ~;   1   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%                                         (   0  ~|;   0  ~&)
%            Number of type conns  :    5 (   2   >;   3   *;   0   +;   0  <<)
%            Number of predicates  :    6 (   5 propositional; 0-2 arity)
%            Number of functors    :    2 (   0 constant; 2-3 arity)
%            Number of variables   :    7 (   0 sgn;   7   !;   0   ?)
%                                         (   7   :;   0  !>;   0  ?*)
%            Maximal term depth    :    3 (   2 average)
%            Arithmetic symbols    :    5 (   0 prd;   0 fun;   0 num;   5 var)
% SPC      : TFF_SAT_RFO_SEQ_SAR

%------------------------------------------------------------------------------
tff(array_type,type,(
array: \$tType )).

read: ( array * \$int ) > \$int )).

tff(write_type,type,(
write: ( array * \$int * \$int ) > array )).

tff(ax1,axiom,(
! [U: array,V: \$int,W: \$int] : read(write(U,V,W),V) = W )).

tff(ax2,axiom,(
! [X: array,Y: \$int,Z: \$int,X1: \$int] :
( Y = Z