Details

Time bar (total: 2.6s)

sample22.0ms

Algorithm
intervals
Results
15.0ms382×body80valid

simplify210.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0134
1354
2894
31574
41704
51864
62444
74424
813894
947614
1050014

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 1 expressions with local error:

0.2b
(* (* x x) (- 3.0 (* x 2.0)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log prod-diff add-cbrt-cube
distribute-rgt-in add-sqr-sqrt distribute-lft-in
add-cube-cbrt *-un-lft-identity
associate-*r* pow-prod-down prod-exp cbrt-unprod
sub-neg associate-*r/
expm1-log1p-u flip3-- associate-*l* *-commutative flip-- log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 33
Calls
1 calls:
13.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series78.0ms

Counts
1 → 3
Calls
1 calls:
78.0ms
(* (* x x) (- 3.0 (* x 2.0)))

simplify40.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0216252
1984214
25002203

prune65.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 2.0 (pow x 3))
0.0b
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
0.2b
(* (* x x) 3.0)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
10×add-cbrt-cube
pow1 add-cube-cbrt *-un-lft-identity
add-log-exp
prod-exp
unswap-sqr
unpow-prod-down cube-prod associate-*l* cbrt-unprod
expm1-log1p-u pow-prod-down log1p-expm1-u
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- fma-def flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 72
Calls
3 calls:
7.0ms
(* 2.0 (pow x 3))
8.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
8.0ms
(* (* x x) 3.0)

series172.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(* 2.0 (pow x 3))
102.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
30.0ms
(* (* x x) 3.0)

simplify65.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0305350
11570308
25001301

prune184.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 2.0 (pow x 3))
0.0b
(+ (* x (* x 3.0)) (- (* 2.0 (pow x 3))))
0.3b
(* x (* x 3.0))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×add-exp-log associate-*r*
10×add-cbrt-cube
pow1 add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*l* prod-exp
unpow-prod-down cube-prod cbrt-unprod unswap-sqr
expm1-log1p-u pow-prod-down log1p-expm1-u
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- fma-def flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 71
Calls
3 calls:
7.0ms
(* 2.0 (pow x 3))
6.0ms
(+ (* x (* x 3.0)) (- (* 2.0 (pow x 3))))
6.0ms
(* x (* x 3.0))

series169.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(* 2.0 (pow x 3))
101.0ms
(+ (* x (* x 3.0)) (- (* 2.0 (pow x 3))))
26.0ms
(* x (* x 3.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0292349
11485309
25001301

prune171.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* x (sqrt 3.0)) (* x (sqrt 3.0))) (- (* 2.0 (pow x 3))))
0.4b
(* x (sqrt 3.0))
0.4b
(* x (sqrt 3.0))
0.4b
(* (* x (sqrt 3.0)) (* x (sqrt 3.0)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
47×pow1
20×add-exp-log add-cbrt-cube
19×pow-prod-down
18×add-sqr-sqrt
13×associate-*r*
10×add-cube-cbrt *-un-lft-identity prod-exp cbrt-unprod
sqrt-prod add-log-exp
associate-*l*
expm1-log1p-u pow-sqr pow-prod-up log1p-expm1-u unswap-sqr
*-commutative
pow-plus sum-log
+-commutative pow2 neg-sub0 associate-+r- fma-def flip3-+ swap-sqr unsub-neg neg-log flip-+
Counts
4 → 102
Calls
4 calls:
18.0ms
(+ (* (* x (sqrt 3.0)) (* x (sqrt 3.0))) (- (* 2.0 (pow x 3))))
4.0ms
(* x (sqrt 3.0))
4.0ms
(* x (sqrt 3.0))
15.0ms
(* (* x (sqrt 3.0)) (* x (sqrt 3.0)))

series316.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(+ (* (* x (sqrt 3.0)) (* x (sqrt 3.0))) (- (* 2.0 (pow x 3))))
47.0ms
(* x (sqrt 3.0))
44.0ms
(* x (sqrt 3.0))
78.0ms
(* (* x (sqrt 3.0)) (* x (sqrt 3.0)))

simplify61.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0249535
11300430
25002410

prune216.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

regimes58.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0186
1206
2206

end0.0ms

sample594.0ms

Algorithm
intervals
Results
462.0ms11999×body80valid