src/HOL/Tools/atp-inputs/const_comb_noS.dfg
author mengj
Thu, 25 May 2006 08:07:02 +0200
changeset 19717 2742cec21579
child 19969 c72e2110c026
permissions -rw-r--r--
Helper files in DFG format.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
19717
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
     1
%ID: $Id$
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
     2
%Author: Jia Meng, NICTA
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
     3
%typed combinator reduction for const-types-only (no S)
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
     4
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
     5
clause(
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
     6
forall([A, B, P, Q],
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
     7
or( equal(hAPP(hAPP(c_COMBK(A,B),P),Q),P))),
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
     8
a1 ).
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
     9
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    10
clause(
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    11
forall([P, T],
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    12
or( equal(hAPP(c_COMBI(T),P),P))),
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    13
a3 ).
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    14
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    15
clause(
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    16
forall([A, B, C, P, Q, R],
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    17
or( equal(hAPP(hAPP(hAPP(c_COMBB(A,B,C),P),Q),R),hAPP(P,hAPP(Q,R))))),
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    18
a4 ).
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    19
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    20
clause(
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    21
forall([A, B, C, P, Q, R],
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    22
or( equal(hAPP(hAPP(hAPP(c_COMBC(A,B,C),P),Q),R),hAPP(hAPP(P,R),Q)))),
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    23
a5 ).
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    24
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    25
clause(
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    26
forall([A, B, T],
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    27
or( not(equal(c_COMBI(T),c_COMBK(A,B))))),
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    28
a6 ).
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    29
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    30
clause(
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    31
forall([A, B, C, T],
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    32
or( not(equal(c_COMBI(T),c_COMBB(A,B,C))))),
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    33
a8 ).
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    34
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    35
clause(
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    36
forall([A, B, C, T],
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    37
or( not(equal(c_COMBI(T),c_COMBC(A,B,C))))),
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    38
a9 ).
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    39
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    40
clause(
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    41
forall([A, A1, B, B1, C1],
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    42
or( not(equal(c_COMBK(A,B),c_COMBB(A1,B1,C1))))),
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    43
a11 ).
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    44
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    45
clause(
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    46
forall([A, A2, B, B2, C2],
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    47
or( not(equal(c_COMBK(A,B),c_COMBC(A2,B2,C2))))),
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    48
a12 ).
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    49
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    50
clause(
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    51
forall([A1, A2, B1, B2, C1, C2],
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    52
or( not(equal(c_COMBB(A1,B1,C1),c_COMBC(A2,B2,C2))))),
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    53
a15 ).
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    54
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    55
clause(
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    56
forall([A, X, Y],
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    57
or( not(hBOOL(hAPP(hAPP(fequal(A),X),Y))),
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    58
    equal(X,Y))),
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    59
a16 ).
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    60
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    61
clause(
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    62
forall([A, X, Y],
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    63
or( not(equal(X,Y)),
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    64
    hBOOL(hAPP(hAPP(fequal(A),X),Y)))),
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    65
a17 ).
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    66
2742cec21579 Helper files in DFG format.
mengj
parents:
diff changeset
    67