Details

Time bar (total: 2.1s)

sample15.0ms

Algorithm
intervals
Results
8.0ms403×body80valid

simplify212.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.1b

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(* (* 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)))

simplify39.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0216252
1984214
25002203

prune61.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite28.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:
8.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
10.0ms
(* 2.0 (pow x 3))
8.0ms
(* (* x x) 3.0)

series168.0ms

Counts
3 → 9
Calls
3 calls:
104.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
37.0ms
(* 2.0 (pow x 3))
27.0ms
(* (* x x) 3.0)

simplify64.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0305350
11570308
25001301

prune169.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

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

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

series168.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(* 2.0 (pow x 3))
99.0ms
(+ (* x (* x 3.0)) (- (* 2.0 (pow x 3))))
32.0ms
(* x (* x 3.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0292346
11485306
25002298

prune180.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize22.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (pow x 2) (+ (pow (cbrt 3.0) 3) (- (* x 2.0))))
1.0b
(pow (cbrt 3.0) 3)

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt unpow-prod-down
add-exp-log associate-*l*
cbrt-prod cube-prod
associate-*r* add-cbrt-cube unswap-sqr
pow1 pow-unpow prod-exp sqr-pow
expm1-log1p-u pow-to-exp pow-pow associate-*r/ pow-exp log1p-expm1-u unpow2 add-log-exp
distribute-rgt-in cube-mult distribute-lft-in flip3-+ pow1/3 unpow3 *-commutative cbrt-unprod flip-+ distribute-lft-out rem-cube-cbrt
Counts
2 → 66
Calls
2 calls:
61.0ms
(* (pow x 2) (+ (pow (cbrt 3.0) 3) (- (* x 2.0))))
2.0ms
(pow (cbrt 3.0) 3)

series83.0ms

Counts
2 → 4
Calls
2 calls:
83.0ms
(* (pow x 2) (+ (pow (cbrt 3.0) 3) (- (* x 2.0))))
0.0ms
(pow (cbrt 3.0) 3)

simplify74.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
0326400
11662335
25002322

prune175.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes24.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0186
1206
2206

end0.0ms

sample374.0ms

Algorithm
intervals
Results
240.0ms12071×body80valid