Details

Time bar (total: 2.9s)

sample28.0ms

Algorithm
intervals
Results
19.0ms286×body80valid

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0154
1314
2714
31364
42114
52854
63504
73964
84084
94084

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (/ 16.0 116.0))
0.0b
(* (- x (/ 16.0 116.0)) 3.0)
0.1b
(* (* (- x (/ 16.0 116.0)) 3.0) y)

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
10×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
associate-*l*
add-cube-cbrt associate-*r* associate-*l/
add-log-exp
pow-prod-down prod-exp cbrt-unprod difference-of-squares
flip3-- flip--
times-frac *-commutative distribute-lft-out--
sub-neg diff-log unswap-sqr
Counts
3 → 58
Calls
3 calls:
6.0ms
(- x (/ 16.0 116.0))
26.0ms
(* (- x (/ 16.0 116.0)) 3.0)
28.0ms
(* (* (- x (/ 16.0 116.0)) 3.0) y)

series109.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(- x (/ 16.0 116.0))
47.0ms
(* (- x (/ 16.0 116.0)) 3.0)
39.0ms
(* (* (- x (/ 16.0 116.0)) 3.0) y)

simplify98.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0223336
1883287
24460287
35001287

prune119.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- x (/ 16.0 116.0))
0.3b
(* (- x (/ 16.0 116.0)) (* 3.0 y))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
pow1 add-exp-log *-un-lft-identity add-cbrt-cube
associate-*l*
add-log-exp difference-of-squares
add-cube-cbrt pow-prod-down prod-exp cbrt-unprod
flip3-- times-frac associate-*l/ flip-- distribute-lft-out--
sub-neg diff-log associate-*r* *-commutative
Counts
2 → 38
Calls
2 calls:
6.0ms
(- x (/ 16.0 116.0))
30.0ms
(* (- x (/ 16.0 116.0)) (* 3.0 y))

series66.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(- x (/ 16.0 116.0))
38.0ms
(* (- x (/ 16.0 116.0)) (* 3.0 y))

simplify74.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0187232
1601197
22588197
35002197

prune82.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0)))
0.1b
(* (/ (* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0) (+ x (/ 16.0 116.0))) y)
0.6b
(* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0)
10.1b
(/ (* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0) (+ x (/ 16.0 116.0)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
17×*-un-lft-identity
15×add-sqr-sqrt
14×associate-*l*
11×add-cube-cbrt
pow1 times-frac
associate-*r* prod-exp cbrt-unprod add-log-exp
associate-*l/
cbrt-undiv div-exp associate-/r* associate-/r/
flip3-- flip-- distribute-lft-out
flip3-+ pow-prod-down *-commutative flip-+ div-inv associate-/l/ difference-of-squares unswap-sqr
sub-neg frac-2neg diff-log clear-num associate-/l*
Counts
4 → 91
Calls
4 calls:
3.0ms
(- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0)))
35.0ms
(* (/ (* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0) (+ x (/ 16.0 116.0))) y)
10.0ms
(* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0)
20.0ms
(/ (* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0) (+ x (/ 16.0 116.0)))

series289.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0)))
61.0ms
(* (/ (* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0) (+ x (/ 16.0 116.0))) y)
70.0ms
(* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0)
111.0ms
(/ (* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0) (+ x (/ 16.0 116.0)))

simplify64.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04131035
12181848
25002835

prune203.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- x (/ 16.0 116.0)) y)
0.3b
(* (/ (* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0) (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0)))) (* (- x (/ 16.0 116.0)) y))
0.6b
(* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0)
11.1b
(/ (* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0) (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
34×add-exp-log add-cbrt-cube
21×add-sqr-sqrt
20×associate-*l*
14×*-un-lft-identity prod-exp cbrt-unprod
13×pow1
12×add-cube-cbrt
11×associate-*l/
times-frac
flip3-- associate-*r* flip--
cbrt-undiv div-exp difference-of-squares
pow-prod-down
associate-/r* associate-/r/ add-log-exp
*-commutative
frac-times associate-*r/ div-inv associate-/l/ unswap-sqr
frac-2neg clear-num associate-/l* distribute-lft-out--
Counts
4 → 109
Calls
4 calls:
24.0ms
(* (- x (/ 16.0 116.0)) y)
46.0ms
(* (/ (* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0) (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0)))) (* (- x (/ 16.0 116.0)) y))
10.0ms
(* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0)
9.0ms
(/ (* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0) (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))))

series154.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (- x (/ 16.0 116.0)) y)
41.0ms
(* (/ (* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0) (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0)))) (* (- x (/ 16.0 116.0)) y))
71.0ms
(* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0)
7.0ms
(/ (* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0) (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))))

simplify107.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
05401604
134691167
25001919

prune395.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes94.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0114
1114

end0.0ms

sample684.0ms

Algorithm
intervals
Results
531.0ms9138×body80valid