Details

Time bar (total: 3.7s)

sample16.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0368
11528
25018
321538
450018

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 19.8b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x y) (+ x y))
0.0b
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
19.6b
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
60×frac-times flip3-+ flip-+
31×add-exp-log add-cbrt-cube
30×associate-*l/
27×*-un-lft-identity
26×associate-/r/
18×associate-*r/
15×pow1
13×prod-exp cbrt-unprod
11×add-sqr-sqrt
associate-*r* distribute-lft-out
add-cube-cbrt
cbrt-undiv swap-sqr div-exp
associate-*l*
pow-prod-down
add-log-exp
distribute-rgt-in distribute-lft-in *-commutative unswap-sqr
pow2 frac-2neg times-frac pow-plus clear-num associate-/r* pow-sqr pow-prod-up div-inv associate-/l*
Counts
3 → 140
Calls
3 calls:
8.0ms
(* (+ x y) (+ x y))
19.0ms
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
18.0ms
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

series208.0ms

Counts
3 → 9
Calls
3 calls:
14.0ms
(* (+ x y) (+ x y))
39.0ms
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
154.0ms
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09161489
150011351

prune269.0ms

Filtered
149 candidates to 88 candidates (59.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1418149
Fresh000
Picked101
Done000
Total1428150

Merged error: 7.6b

Counts
150 → 8

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) (+ x y))
0.0b
(/ y (+ (+ x y) 1.0))
0.1b
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
20.5b
(/ x (* (+ x y) (+ x y)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
80×*-un-lft-identity
43×add-sqr-sqrt
40×times-frac
34×add-exp-log add-cbrt-cube
31×add-cube-cbrt
27×distribute-lft-out
25×associate-*r*
20×flip3-+ associate-/r/ flip-+
19×associate-*l*
13×pow1 frac-times
10×cbrt-undiv div-exp prod-exp cbrt-unprod
associate-*r/ associate-*l/
swap-sqr associate-/r* associate-/l*
unswap-sqr
div-inv add-log-exp
frac-2neg pow-prod-down clear-num *-commutative
pow2 distribute-rgt-in distribute-lft-in pow-plus pow-sqr pow-prod-up
Counts
4 → 170
Calls
4 calls:
11.0ms
(* (+ x y) (+ x y))
7.0ms
(/ y (+ (+ x y) 1.0))
23.0ms
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
9.0ms
(/ x (* (+ x y) (+ x y)))

series280.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* (+ x y) (+ x y))
49.0ms
(/ y (+ (+ x y) 1.0))
156.0ms
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
60.0ms
(/ x (* (+ x y) (+ x y)))

simplify100.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
06611282
135911138
250011127

prune280.0ms

Filtered
182 candidates to 112 candidates (61.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1766182
Fresh617
Picked101
Done000
Total1837190

Merged error: 0.0b

Counts
190 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x y))
0.0b
(/ y (+ (+ x y) 1.0))
0.1b
(/ (/ x (+ x y)) (+ x y))
0.1b
(* (/ (/ x (+ x y)) (+ x y)) (/ y (+ (+ x y) 1.0)))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
313×*-un-lft-identity
303×times-frac
163×add-sqr-sqrt
142×add-cube-cbrt
89×distribute-lft-out
78×associate-*l*
34×add-exp-log add-cbrt-cube
28×associate-/r/
24×associate-/l*
21×associate-*r*
14×cbrt-undiv flip3-+ div-exp flip-+ div-inv
13×associate-/r*
pow1 prod-exp cbrt-unprod unswap-sqr
add-log-exp
frac-2neg clear-num
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative associate-/l/
Counts
4 → 310
Calls
4 calls:
9.0ms
(/ x (+ x y))
7.0ms
(/ y (+ (+ x y) 1.0))
11.0ms
(/ (/ x (+ x y)) (+ x y))
41.0ms
(* (/ (/ x (+ x y)) (+ x y)) (/ y (+ (+ x y) 1.0)))

series323.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ x (+ x y))
46.0ms
(/ y (+ (+ x y) 1.0))
67.0ms
(/ (/ x (+ x y)) (+ x y))
166.0ms
(* (/ (/ x (+ x y)) (+ x y)) (/ y (+ (+ x y) 1.0)))

simplify119.0ms

Algorithm
egg-herbie
Counts
322 → 322
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
09822745
145592543
250022535

prune463.0ms

Filtered
322 candidates to 194 candidates (60.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3175322
Fresh426
Picked101
Done000
Total3227329

Merged error: 0b

Counts
329 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ x y))
0.0b
(/ y (+ (+ x y) 1.0))
0.0b
(* (/ x (+ x y)) (/ y (+ (+ x y) 1.0)))
0.2b
(* (/ 1 (+ x y)) (* (/ x (+ x y)) (/ y (+ (+ x y) 1.0))))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
103×*-un-lft-identity
99×add-exp-log
70×times-frac
61×add-cbrt-cube
60×add-sqr-sqrt
48×add-cube-cbrt
40×prod-exp
36×associate-*l*
33×div-exp
31×distribute-lft-out
22×associate-*r* cbrt-unprod
19×cbrt-undiv
12×pow1
10×associate-/r/
associate-/r*
frac-times rec-exp 1-exp associate-*r/ associate-/l*
flip3-+ flip-+ div-inv
pow-prod-down associate-*l/ add-log-exp unswap-sqr
frac-2neg clear-num *-commutative
pow-flip inv-pow
Counts
4 → 203
Calls
4 calls:
5.0ms
(/ 1 (+ x y))
10.0ms
(/ y (+ (+ x y) 1.0))
19.0ms
(* (/ x (+ x y)) (/ y (+ (+ x y) 1.0)))
21.0ms
(* (/ 1 (+ x y)) (* (/ x (+ x y)) (/ y (+ (+ x y) 1.0))))

series366.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ 1 (+ x y))
51.0ms
(/ y (+ (+ x y) 1.0))
120.0ms
(* (/ x (+ x y)) (/ y (+ (+ x y) 1.0)))
163.0ms
(* (/ 1 (+ x y)) (* (/ x (+ x y)) (/ y (+ (+ x y) 1.0))))

simplify113.0ms

Algorithm
egg-herbie
Counts
215 → 215
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
07901700
145421421
250011394

prune260.0ms

Filtered
215 candidates to 119 candidates (55.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2150215
Fresh066
Picked011
Done000
Total2157222

Merged error: 0b

Counts
222 → 7

regimes55.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0179
1179

end0.0ms

sample414.0ms

Algorithm
intervals
Results
279.0ms8000×body80valid

Profiling

Loading profile data...