Debian Codegraph @

tests/Meta/metaSearch.expected

raw
1 ==========================================
2 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_*_['a.Nat, '_+_['b.Nat,
3 'c.Nat]], 'X:Nat, '_*_['Y:Nat, 'Z:Nat] := 'X:Nat, '*, 100, 0) .
4 rewrites: 2
5 result ResultTriple: {'_*_['a.Nat, '_+_['b.Nat, 'c.Nat]], 'Nat,
6 'X:Nat <- '_*_['a.Nat, '_+_['b.Nat, 'c.Nat]] ;
7 'Y:Nat <- '_+_['b.Nat, 'c.Nat] ;
8 'Z:Nat <- 'a.Nat}
9 ==========================================
10 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_*_['a.Nat, '_+_['b.Nat,
11 'c.Nat]], 'X:Nat, '_*_['Y:Nat, 'Z:Nat] := 'X:Nat, '*, 100, 1) .
12 rewrites: 2
13 result ResultTriple: {'_*_['a.Nat, '_+_['b.Nat, 'c.Nat]], 'Nat,
14 'X:Nat <- '_*_['a.Nat, '_+_['b.Nat, 'c.Nat]] ;
15 'Y:Nat <- 'a.Nat ;
16 'Z:Nat <- '_+_['b.Nat, 'c.Nat]}
17 ==========================================
18 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_*_['a.Nat, '_+_['b.Nat,
19 'c.Nat]], 'X:Nat, '_*_['Y:Nat, 'Z:Nat] := 'X:Nat, '*, 100, 2) .
20 rewrites: 6
21 result ResultTriple?: (failure).ResultTriple?
22 ==========================================
23 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_*_['a.Nat, '_+_['b.Nat,
24 'c.Nat]], 'X:Nat, '_*_['Y:Nat, 'Z:Nat] := 'X:Nat /\ 'Y:Nat = 'a.Nat, '*,
25 100, 0) .
26 rewrites: 2
27 result ResultTriple: {'_*_['a.Nat, '_+_['b.Nat, 'c.Nat]], 'Nat,
28 'X:Nat <- '_*_['a.Nat, '_+_['b.Nat, 'c.Nat]] ;
29 'Y:Nat <- 'a.Nat ;
30 'Z:Nat <- '_+_['b.Nat, 'c.Nat]}
31 ==========================================
32 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_*_['a.Nat, '_+_['b.Nat,
33 'c.Nat]], 'X:Nat, '_*_['Y:Nat, 'Z:Nat] := 'X:Nat /\ 'Y:Nat = 'a.Nat, '*,
34 100, 1) .
35 rewrites: 6
36 result ResultTriple?: (failure).ResultTriple?
37 ==========================================
38 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_*_['a.Nat, '_+_['b.Nat,
39 'c.Nat]], 'X:Nat, nil, '*, 100, 0) .
40 rewrites: 2
41 result ResultTriple: {'_*_['a.Nat, '_+_['b.Nat, 'c.Nat]], 'Nat,
42 'X:Nat <- '_*_['a.Nat, '_+_['b.Nat, 'c.Nat]]}
43 ==========================================
44 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_*_['a.Nat, '_+_['b.Nat,
45 'c.Nat]], 'X:Nat, nil, '*, 100, 1) .
46 rewrites: 3
47 result ResultTriple: {'_+_['_*_['a.Nat, 'b.Nat], '_*_['a.Nat, 'c.Nat]], 'Nat,
48 'X:Nat <- '_+_['_*_['a.Nat, 'b.Nat], '_*_['a.Nat, 'c.Nat]]}
49 ==========================================
50 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_*_['a.Nat, '_+_['b.Nat,
51 'c.Nat]], 'X:Nat, nil, '*, 100, 2) .
52 rewrites: 5
53 result ResultTriple?: (failure).ResultTriple?
54 ==========================================
55 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_*_['a.Nat, '_+_['b.Nat,
56 'c.Nat]], 'X:Nat, nil, '!, 100, 0) .
57 rewrites: 6
58 result ResultTriple?: (failure).ResultTriple?
59 ==========================================
60 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_*_['a.Nat, '_+_['b.Nat,
61 'c.Nat]], 'X:Nat, nil, '+, 100, 0) .
62 rewrites: 3
63 result ResultTriple: {'_+_['_*_['a.Nat, 'b.Nat], '_*_['a.Nat, 'c.Nat]], 'Nat,
64 'X:Nat <- '_+_['_*_['a.Nat, 'b.Nat], '_*_['a.Nat, 'c.Nat]]}
65 ==========================================
66 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_*_['a.Nat, '_+_['b.Nat,
67 'c.Nat]], 'X:Nat, nil, '+, 100, 1) .
68 rewrites: 4
69 result ResultTriple: {'_*_['a.Nat, '_+_['b.Nat, 'c.Nat]], 'Nat,
70 'X:Nat <- '_*_['a.Nat, '_+_['b.Nat, 'c.Nat]]}
71 ==========================================
72 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_+_['_*_['a.Nat, 'b.Nat],
73 '_*_['a.Nat, 'c.Nat]], '_*_['X:Nat, 'Y:Nat], nil, '*, 100, 0) .
74 rewrites: 3
75 result ResultTriple: {'_*_['a.Nat, '_+_['b.Nat, 'c.Nat]], 'Nat,
76 'X:Nat <- 'a.Nat ;
77 'Y:Nat <- '_+_['b.Nat, 'c.Nat]}
78 ==========================================
79 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_+_['_*_['a.Nat, 'b.Nat],
80 '_*_['a.Nat, 'c.Nat]], '_*_['X:Nat, 'Y:Nat], nil, '*, 100, 1) .
81 rewrites: 2
82 result ResultTriple: {'_*_['a.Nat, '_+_['b.Nat, 'c.Nat]], 'Nat,
83 'X:Nat <- '_+_['b.Nat, 'c.Nat] ;
84 'Y:Nat <- 'a.Nat}
85 ==========================================
86 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_+_['_*_['a.Nat, 'b.Nat],
87 '_*_['a.Nat, 'c.Nat]], '_*_['X:Nat, 'Y:Nat], nil, '*, 0, 0) .
88 rewrites: 2
89 result ResultTriple?: (failure).ResultTriple?
90 ==========================================
91 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_+_['_*_['a.Nat, 'b.Nat],
92 '_*_['a.Nat, 'c.Nat], '_*_['a.Nat, 'd.Nat]], '_*_['X:Nat, 'Y:Nat], nil, '*,
93 100, 0) .
94 rewrites: 9
95 result ResultTriple: {'_*_['a.Nat, '_+_['b.Nat, 'c.Nat, 'd.Nat]], 'Nat,
96 'X:Nat <- 'a.Nat ;
97 'Y:Nat <- '_+_['b.Nat, 'c.Nat, 'd.Nat]}
98 ==========================================
99 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_+_['_*_['a.Nat, 'b.Nat],
100 '_*_['a.Nat, 'c.Nat], '_*_['a.Nat, 'd.Nat]], '_*_['X:Nat, 'Y:Nat], nil, '*,
101 100, 1) .
102 rewrites: 2
103 result ResultTriple: {'_*_['a.Nat, '_+_['b.Nat, 'c.Nat, 'd.Nat]], 'Nat,
104 'X:Nat <- '_+_['b.Nat, 'c.Nat, 'd.Nat] ;
105 'Y:Nat <- 'a.Nat}
106 ==========================================
107 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_+_['_*_['a.Nat, 'b.Nat],
108 '_*_['a.Nat, 'c.Nat], '_*_['a.Nat, 'd.Nat]], '_*_['X:Nat, 'Y:Nat], nil, '*,
109 1, 0) .
110 rewrites: 8
111 result ResultTriple?: (failure).ResultTriple?
112 ==========================================
113 reduce in META-LEVEL : metaSearch(['SEARCH-TEST], '_+_['_*_['a.Nat, 'b.Nat],
114 '_*_['a.Nat, 'c.Nat], '_*_['a.Nat, 'd.Nat]], '_*_['X:Nat, 'Y:Nat], nil, '*,
115 1, 1) .
116 rewrites: 8
117 result ResultTriple?: (failure).ResultTriple?
118 ==========================================
119 reduce in META-LEVEL : metaSearch(['SEARCH], 'a.State, 'e.State, nil, '*,
120 unbounded, 0) .
121 rewrites: 6
122 result ResultTriple: {'e.State, 'State, (none).Substitution}
123 ==========================================
124 reduce in META-LEVEL : metaSearch(['SEARCH], 'a.State, 'e.State, nil, '*,
125 unbounded, 1) .
126 rewrites: 2
127 result ResultTriple?: (failure).ResultTriple?
128 ==========================================
129 reduce in META-LEVEL : metaSearchPath(['SEARCH], 'a.State, 'e.State, nil, '*,
130 unbounded, 0) .
131 rewrites: 6
132 result Trace: {'a.State, 'State, rl 'a.State => 'c.State [label('a-move2)] .}
133 {'c.State, 'State, rl 'c.State => 'e.State [label('c-move)] .}
134 ==========================================
135 reduce in META-LEVEL : metaSearchPath(['SEARCH], 'a.State, 'e.State, nil, '*,
136 unbounded, 1) .
137 rewrites: 2
138 result Trace?: (failure).Trace?
139 ==========================================
140 reduce in META-LEVEL : metaSearchPath(['ARITH], '_*_['_+_['a.Int, 'b.Int],
141 '_+_['c.Int, 'd.Int]], '_+_['I:Int, 'J:Int, 'K:Int, 'L:Int], nil, '*,
142 unbounded, 0) .
143 rewrites: 21
144 result Trace: {'_*_['_+_['a.Int, 'b.Int], '_+_['c.Int, 'd.Int]], 'Int, rl '_*_[
145 'I:Int, '_+_['J:Int, 'K:Int]] => '_+_['_*_['I:Int, 'J:Int], '_*_['I:Int,
146 'K:Int]] [none] .}
147 {'_+_['_*_['a.Int, '_+_['c.Int, 'd.Int]], '_*_['b.Int, '_+_['c.Int, 'd.Int]]],
148 'Int, rl '_*_['I:Int, '_+_['J:Int, 'K:Int]] => '_+_['_*_['I:Int, 'J:Int],
149 '_*_['I:Int, 'K:Int]] [none] .}
150 {'_+_['_*_['a.Int, 'c.Int], '_*_['a.Int, 'd.Int], '_*_['b.Int, '_+_['c.Int,
151 'd.Int]]], 'Int, rl '_*_['I:Int, '_+_['J:Int, 'K:Int]] => '_+_['_*_['I:Int,
152 'J:Int], '_*_['I:Int, 'K:Int]] [none] .}
153 Bye.