src/HOL/Tools/atp-inputs/const_comb_noS.dfg
author mengj
Wed, 20 Sep 2006 14:02:41 +0200
changeset 20647 680b58597f65
parent 19969 c72e2110c026
permissions -rw-r--r--
Added in combinator reduction axioms for B' C' and S'. Also split the original reduction axioms into separate files: I+K, B+C, S, B'+C', S'.

%ID: $Id$
%Author: Jia Meng, NICTA
%typed combinator reduction for const-types-only (no S)

clause(
forall([A, B, P, Q],
or( equal(hAPP(hAPP(c_COMBK(A,B),P),Q),P))),
a1 ).

clause(
forall([P, T],
or( equal(hAPP(c_COMBI(T),P),P))),
a3 ).

clause(
forall([A, B, C, P, Q, R],
or( equal(hAPP(hAPP(hAPP(c_COMBB(A,B,C),P),Q),R),hAPP(P,hAPP(Q,R))))),
a4 ).

clause(
forall([A, B, C, P, Q, R],
or( equal(hAPP(hAPP(hAPP(c_COMBC(A,B,C),P),Q),R),hAPP(hAPP(P,R),Q)))),
a5 ).

clause(
forall([A, X, Y],
or( not(hBOOL(hAPP(hAPP(fequal(A),X),Y))),
    equal(X,Y))),
a6 ).

clause(
forall([A, X, Y],
or( not(equal(X,Y)),
    hBOOL(hAPP(hAPP(fequal(A),X),Y)))),
a7 ).