Details

Time bar (total: 3.1s)

sample27.0ms

Algorithm
intervals
Results
18.0ms286×body80valid

simplify56.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0154
1314
2734
31514
42414
53264
63974
74574
84774
94804
104804

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize7.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)

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
45×*-un-lft-identity
41×add-cube-cbrt
39×prod-diff
29×times-frac
10×pow1 add-exp-log add-cbrt-cube
associate-*l*
associate-*r* associate-*l/
add-log-exp
pow-prod-down prod-exp cbrt-unprod difference-of-squares
expm1-log1p-u flip3-- fma-neg flip-- log1p-expm1-u div-inv
*-commutative distribute-lft-out--
sub-neg diff-log unswap-sqr
Counts
3 → 106
Calls
3 calls:
8.0ms
(- x (/ 16.0 116.0))
23.0ms
(* (- x (/ 16.0 116.0)) 3.0)
32.0ms
(* (* (- x (/ 16.0 116.0)) 3.0) y)

series112.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05101245
11827864
25001783

prune188.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize7.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))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
42×*-un-lft-identity
39×prod-diff
38×add-cube-cbrt
29×times-frac
pow1 add-exp-log add-cbrt-cube
associate-*l*
add-log-exp difference-of-squares
fma-neg pow-prod-down prod-exp cbrt-unprod div-inv
expm1-log1p-u flip3-- associate-*l/ flip-- log1p-expm1-u distribute-lft-out--
sub-neg diff-log associate-*r* *-commutative
Counts
2 → 84
Calls
2 calls:
8.0ms
(- x (/ 16.0 116.0))
27.0ms
(* (- x (/ 16.0 116.0)) (* 3.0 y))

series70.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04741133
11545766
25002685

prune137.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize15.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)))

rewrite70.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 expm1-log1p-u div-exp associate-/r* associate-/r/ log1p-expm1-u
flip3-- flip-- distribute-lft-out
flip3-+ pow-prod-down *-commutative flip-+ div-inv associate-/l/ difference-of-squares unswap-sqr
sub-neg frac-2neg fma-neg diff-log prod-diff clear-num associate-/l*
Counts
4 → 101
Calls
4 calls:
3.0ms
(- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0)))
34.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)
16.0ms
(/ (* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0) (+ x (/ 16.0 116.0)))

series303.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0)))
70.0ms
(* (/ (* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0) (+ x (/ 16.0 116.0))) y)
75.0ms
(* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0)
113.0ms
(/ (* (- (* x x) (* (/ 16.0 116.0) (/ 16.0 116.0))) 3.0) (+ x (/ 16.0 116.0)))

simplify79.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
04351119
12149929
25002913

prune271.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

localize13.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))))

rewrite91.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
expm1-log1p-u associate-/r* associate-/r/ log1p-expm1-u 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 → 117
Calls
4 calls:
26.0ms
(* (- x (/ 16.0 116.0)) y)
43.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))))

series165.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (- x (/ 16.0 116.0)) y)
45.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))
75.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))))

simplify134.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (118.0ms)

IterNodesCost
05571686
133561238
25001989

prune306.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes103.0ms

Accuracy

0% (0.2b 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
0114
1114

end0.0ms

sample743.0ms

Algorithm
intervals
Results
584.0ms9138×body80valid