Details

Time bar (total: 2.4s)

sample13.0ms

Algorithm
intervals
Results
6.0ms342×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)

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

series109.0ms

Counts
2 → 6
Calls
2 calls:
44.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

prune112.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
13×associate-*r*
12×*-un-lft-identity
11×add-exp-log add-cube-cbrt times-frac
add-cbrt-cube
pow1 associate-*l* prod-exp add-log-exp
flip3-- prod-diff flip-- unswap-sqr
expm1-log1p-u frac-times div-exp associate-*l/ cbrt-unprod log1p-expm1-u difference-of-squares
cbrt-undiv sub-neg rec-exp fma-neg diff-log 1-exp associate-*r/ pow-prod-down un-div-inv *-commutative div-inv
Counts
2 → 62
Calls
2 calls:
4.0ms
(- (* x x) 3.0)
17.0ms
(* (- (* x x) 3.0) (/ 1 6.0))

series111.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(- (* x x) 3.0)
67.0ms
(* (- (* x x) 3.0) (/ 1 6.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0305368
11304309
25001291

prune110.0ms

Pruning

5 alts after pruning (4 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.0b
(/ (- x (sqrt 3.0)) 6.0)
0.7b
(* (+ x (sqrt 3.0)) (/ (- x (sqrt 3.0)) 6.0))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
77×add-sqr-sqrt
60×*-un-lft-identity
40×add-cube-cbrt
37×times-frac
22×associate-*r*
18×prod-diff
17×sqrt-prod
16×difference-of-squares
11×add-exp-log add-cbrt-cube
distribute-lft-out-- add-log-exp
pow1 associate-/l*
expm1-log1p-u associate-*l* log1p-expm1-u
fma-def flip3-+ fma-neg associate-/r* flip-+
cbrt-undiv frac-times flip3-- div-exp associate-*l/ prod-exp flip-- cbrt-unprod div-inv associate-/l/ distribute-lft-out unswap-sqr
+-commutative sub-neg frac-2neg diff-log div-sub associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
4 → 147
Calls
4 calls:
4.0ms
(+ x (sqrt 3.0))
4.0ms
(- x (sqrt 3.0))
13.0ms
(/ (- x (sqrt 3.0)) 6.0)
34.0ms
(* (+ x (sqrt 3.0)) (/ (- x (sqrt 3.0)) 6.0))

series309.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(+ x (sqrt 3.0))
40.0ms
(- x (sqrt 3.0))
69.0ms
(/ (- x (sqrt 3.0)) 6.0)
161.0ms
(* (+ x (sqrt 3.0)) (/ (- x (sqrt 3.0)) 6.0))

simplify61.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04491171
12081954
25001928

prune267.0ms

Pruning

5 alts after pruning (3 fresh and 2 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.0b
(* 0.16666666666666666 (- x (sqrt 3.0)))
0.7b
(* (+ x (sqrt 3.0)) (* 0.16666666666666666 (- x (sqrt 3.0))))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
126×prod-diff
103×add-sqr-sqrt
101×*-un-lft-identity
100×distribute-rgt-in distribute-lft-in
93×add-cube-cbrt
65×sqrt-prod
11×pow1 add-exp-log add-cbrt-cube
10×associate-*r/
add-log-exp
sub-neg associate-*r* associate-*l*
flip3-- flip--
expm1-log1p-u frac-times flip3-+ pow-prod-down prod-exp cbrt-unprod flip-+ log1p-expm1-u difference-of-squares
fma-def fma-neg
associate-*l/ *-commutative distribute-lft-out distribute-lft-out--
+-commutative diff-log sum-log unswap-sqr
Counts
4 → 229
Calls
4 calls:
4.0ms
(+ x (sqrt 3.0))
8.0ms
(- x (sqrt 3.0))
18.0ms
(* 0.16666666666666666 (- x (sqrt 3.0)))
39.0ms
(* (+ x (sqrt 3.0)) (* 0.16666666666666666 (- x (sqrt 3.0))))

series311.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(+ x (sqrt 3.0))
40.0ms
(- x (sqrt 3.0))
69.0ms
(* 0.16666666666666666 (- x (sqrt 3.0)))
163.0ms
(* (+ x (sqrt 3.0)) (* 0.16666666666666666 (- x (sqrt 3.0))))

simplify97.0ms

Algorithm
egg-herbie
Counts
241 → 241
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
09023453
137342380
250012242

prune229.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes46.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

sample296.0ms

Algorithm
intervals
Results
181.0ms10709×body80valid