TPTP Problem File: ARI672_1.p
View Solutions
- Solve Problem
%------------------------------------------------------------------------------
% File : ARI672_1 : TPTP v9.0.0. Released v6.3.0.
% Domain : Arithmetic
% Problem : Prove that a*b = 1 and a = b & (a = 1 | a = -1) are equivalent
% Version : Especial.
% English :
% Refs : [BHS07] Beckert et al. (2007), Verification of Object-Oriented
% : [Rue14] Ruemmer (2014), Email to Geoff Sutcliffe
% Source : [Rue14]
% Names : quadraticInEq.pri [BHS07]
% : quadraticInEq1d.p [Rue14]
% Status : Theorem
% Rating : 0.38 v9.0.0, 0.25 v8.2.0, 0.38 v7.5.0, 0.40 v7.4.0, 0.38 v7.3.0, 0.33 v7.0.0, 0.57 v6.4.0, 1.00 v6.3.0
% Syntax : Number of formulae : 3 ( 0 unt; 2 typ; 0 def)
% Number of atoms : 4 ( 4 equ)
% Maximal formula atoms : 4 ( 1 avg)
% Number of connectives : 3 ( 0 ~; 1 |; 1 &)
% ( 1 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 4 ( 4 avg)
% Maximal term depth : 2 ( 1 avg)
% Number arithmetic : 4 ( 0 atm; 1 fun; 3 num; 0 var)
% Number of types : 1 ( 0 usr; 1 ari)
% Number of type conns : 0 ( 0 >; 0 *; 0 +; 0 <<)
% Number of predicates : 1 ( 0 usr; 0 prp; 2-2 aty)
% Number of functors : 5 ( 2 usr; 4 con; 0-2 aty)
% Number of variables : 0 ( 0 !; 0 ?; 0 :)
% SPC : TF0_THM_EQU_ARI
% Comments : KeY arithmetic regression test, http://www.key-project.org
%------------------------------------------------------------------------------
tff(a_type,type,
a: $int ).
tff(b_type,type,
b: $int ).
tff(conj,conjecture,
( ( $product(a,b) = 1 )
<=> ( ( ( a = -1 )
| ( a = 1 ) )
& ( a = b ) ) ) ).
%------------------------------------------------------------------------------