Details

Time bar (total: 2.5s)

sample12.0ms

Algorithm
intervals
Results
6.0ms327×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.3b

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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:
43.0ms
(- (* x x) 3.0)
64.0ms
(/ (- (* x x) 3.0) 6.0)

simplify31.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0246323
1917287
25001279

prune104.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize5.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.3b
(/ 6.0 (- (* x x) 3.0))

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

series159.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(- (* x x) 3.0)
68.0ms
(/ 1 (/ 6.0 (- (* x x) 3.0)))
52.0ms
(/ 6.0 (- (* x x) 3.0))

simplify73.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05571254
126981107
250021004

prune215.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log
40×add-sqr-sqrt
29×times-frac
26×*-un-lft-identity
25×add-cube-cbrt
20×div-exp add-cbrt-cube
18×associate-*r*
16×prod-exp
10×pow1 rec-exp 1-exp
difference-of-squares
cbrt-undiv associate-/r/ associate-/l* add-log-exp
associate-/r*
expm1-log1p-u cbrt-unprod log1p-expm1-u
flip3-- pow-flip associate-*l* prod-diff flip-- div-inv unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv inv-pow
sub-neg fma-neg diff-log *-commutative
Counts
4 → 143
Calls
4 calls:
3.0ms
(- (* x x) 3.0)
13.0ms
(/ 1 (* 6.0 (/ 1 (- (* x x) 3.0))))
17.0ms
(* 6.0 (/ 1 (- (* x x) 3.0)))
7.0ms
(/ 1 (- (* x x) 3.0))

series202.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (* x x) 3.0)
66.0ms
(/ 1 (* 6.0 (/ 1 (- (* x x) 3.0))))
52.0ms
(* 6.0 (/ 1 (- (* x x) 3.0)))
45.0ms
(/ 1 (- (* x x) 3.0))

simplify61.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0526888
12436726
25001681

prune220.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (sqrt 3.0))
0.0b
(+ x (sqrt 3.0))
0.1b
(/ (+ x (sqrt 3.0)) (/ 6.0 (- x (sqrt 3.0))))
0.7b
(/ 6.0 (- x (sqrt 3.0)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
204×times-frac
196×*-un-lft-identity
184×add-sqr-sqrt
104×add-cube-cbrt
40×difference-of-squares
30×associate-/r*
29×sqrt-prod
26×distribute-lft-out
20×distribute-lft-out--
18×prod-diff
13×associate-/r/
11×add-exp-log add-cbrt-cube
add-log-exp
flip3-- flip-- div-inv associate-/l*
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-def fma-neg
frac-2neg flip3-+ clear-num flip-+ associate-/l/
+-commutative sub-neg diff-log sum-log
Counts
4 → 241
Calls
4 calls:
4.0ms
(- x (sqrt 3.0))
3.0ms
(+ x (sqrt 3.0))
20.0ms
(/ (+ x (sqrt 3.0)) (/ 6.0 (- x (sqrt 3.0))))
7.0ms
(/ 6.0 (- x (sqrt 3.0)))

series302.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- x (sqrt 3.0))
40.0ms
(+ x (sqrt 3.0))
160.0ms
(/ (+ x (sqrt 3.0)) (/ 6.0 (- x (sqrt 3.0))))
61.0ms
(/ 6.0 (- x (sqrt 3.0)))

simplify105.0ms

Algorithm
egg-herbie
Counts
253 → 253
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
06812672
133412364
250022346

prune398.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes52.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
0125
1125

end0.0ms

sample286.0ms

Algorithm
intervals
Results
176.0ms10671×body80valid