Details

Time bar (total: 1.9s)

sample13.0ms

Algorithm
intervals
Results
6.0ms348×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0123
1173
2213
3233
4243
5243

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* x x) 3.0)
0.1b
(/ (- (* x x) 3.0) 6.0)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity times-frac
difference-of-squares
add-exp-log add-cbrt-cube associate-/l* add-log-exp
prod-diff associate-/r*
pow1 expm1-log1p-u flip3-- flip-- log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg fma-neg diff-log div-sub div-exp clear-num div-inv
Counts
2 → 55
Calls
2 calls:
3.0ms
(- (* x x) 3.0)
9.0ms
(/ (- (* x x) 3.0) 6.0)

series107.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(- (* x x) 3.0)
68.0ms
(/ (- (* x x) 3.0) 6.0)

simplify32.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0246323
1917287
25001279

prune106.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x x) 3.0)
0.1b
(/ 1 (/ 6.0 (- (* x x) 3.0)))
0.1b
(/ 6.0 (- (* x x) 3.0))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
81×add-sqr-sqrt
64×add-cube-cbrt *-un-lft-identity
22×associate-/r*
17×difference-of-squares
16×add-exp-log
11×associate-/r/
10×add-cbrt-cube
div-exp
flip3-- flip-- div-inv associate-/l*
add-log-exp
pow1 cbrt-undiv
expm1-log1p-u prod-diff log1p-expm1-u
rec-exp frac-2neg 1-exp clear-num
sub-neg pow-flip fma-neg diff-log inv-pow
Counts
3 → 152
Calls
3 calls:
3.0ms
(- (* x x) 3.0)
10.0ms
(/ 1 (/ 6.0 (- (* x x) 3.0)))
6.0ms
(/ 6.0 (- (* x x) 3.0))

series161.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(- (* x x) 3.0)
63.0ms
(/ 1 (/ 6.0 (- (* x x) 3.0)))
54.0ms
(/ 6.0 (- (* x x) 3.0))

simplify66.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05571254
126981107
250021004

prune218.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* 0.16666666666666666 (pow x 2)) 0.5)
0.2b
(* 0.16666666666666666 (pow x 2))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
associate-*r*
add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube add-log-exp unswap-sqr
associate-*l* prod-diff prod-exp
pow1 expm1-log1p-u log1p-expm1-u unpow2 sqr-pow
pow-to-exp sub-neg flip3-- fma-neg diff-log pow-exp *-commutative flip-- cbrt-unprod
Counts
2 → 47
Calls
2 calls:
4.0ms
(- (* 0.16666666666666666 (pow x 2)) 0.5)
6.0ms
(* 0.16666666666666666 (pow x 2))

series84.0ms

Counts
2 → 6
Calls
2 calls:
55.0ms
(- (* 0.16666666666666666 (pow x 2)) 0.5)
29.0ms
(* 0.16666666666666666 (pow x 2))

simplify151.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0198220
1742184
24216180
35001180

prune85.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt 0.16666666666666666) (sqrt (pow x 2)))
0.3b
(* (* (sqrt 0.16666666666666666) (sqrt (pow x 2))) (* (sqrt 0.16666666666666666) (sqrt (pow x 2))))
20.8b
(sqrt (pow x 2))
20.8b
(sqrt (pow x 2))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
45×pow1
40×sqrt-prod
33×add-sqr-sqrt
26×pow-prod-down
18×add-exp-log add-cbrt-cube
16×pow1/2
13×add-cube-cbrt unpow-prod-down *-un-lft-identity
12×associate-*r*
10×unswap-sqr
prod-exp cbrt-unprod
rem-sqrt-square
associate-*l* unpow2 sqr-pow
sqrt-unprod
pow-sqr pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp
sqrt-pow1 pow-plus *-commutative
pow2 swap-sqr rem-square-sqrt
Counts
4 → 129
Calls
4 calls:
10.0ms
(* (sqrt 0.16666666666666666) (sqrt (pow x 2)))
28.0ms
(* (* (sqrt 0.16666666666666666) (sqrt (pow x 2))) (* (sqrt 0.16666666666666666) (sqrt (pow x 2))))
2.0ms
(sqrt (pow x 2))
5.0ms
(sqrt (pow x 2))

series133.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (sqrt 0.16666666666666666) (sqrt (pow x 2)))
74.0ms
(* (* (sqrt 0.16666666666666666) (sqrt (pow x 2))) (* (sqrt 0.16666666666666666) (sqrt (pow x 2))))
8.0ms
(sqrt (pow x 2))
9.0ms
(sqrt (pow x 2))

simplify43.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0221613
1957477
25002471

prune272.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes41.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
0104
1104

end0.0ms

sample298.0ms

Algorithm
intervals
Results
180.0ms10732×body80valid