Details

Time bar (total: 2.5s)

sample15.0ms

Algorithm
intervals
Results
7.0ms355×body80valid

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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite10.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:
9.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series82.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0216252
1984214
25002203

prune63.0ms

Filtered
36 candidates to 20 candidates (55.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New31536
Fresh000
Picked101
Done000
Total32537

Merged error: 0.0b

Counts
37 → 5

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

rewrite271.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
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
7.0ms
(* 2.0 (pow x 3))
7.0ms
(* (* x x) 3.0)

series177.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0305350
11570308
25001301

prune157.0ms

Filtered
81 candidates to 55 candidates (67.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New77481
Fresh314
Picked011
Done000
Total80686

Merged error: 0.0b

Counts
86 → 6

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.0ms

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

series156.0ms

Counts
2 → 6
Calls
2 calls:
76.0ms
(* x (- 3.0 (* x 2.0)))
80.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify53.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0248535
11174460
25001440

prune83.0ms

Filtered
80 candidates to 38 candidates (47.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New79180
Fresh314
Picked011
Done011
Total82486

Merged error: 0b

Counts
86 → 4

localize9.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.3b
(* (* x (sqrt 3.0)) (* x (sqrt 3.0)))
0.4b
(* x (sqrt 3.0))
0.4b
(* x (sqrt 3.0))

rewrite32.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:
10.0ms
(+ (* (* x (sqrt 3.0)) (* x (sqrt 3.0))) (- (* 2.0 (pow x 3))))
9.0ms
(* (* x (sqrt 3.0)) (* x (sqrt 3.0)))
5.0ms
(* x (sqrt 3.0))
5.0ms
(* x (sqrt 3.0))

series328.0ms

Counts
4 → 12
Calls
4 calls:
161.0ms
(+ (* (* x (sqrt 3.0)) (* x (sqrt 3.0))) (- (* 2.0 (pow x 3))))
82.0ms
(* (* x (sqrt 3.0)) (* x (sqrt 3.0)))
39.0ms
(* x (sqrt 3.0))
45.0ms
(* x (sqrt 3.0))

simplify75.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0249535
11300430
25001410

prune179.0ms

Filtered
114 candidates to 63 candidates (55.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1140114
Fresh011
Picked011
Done022
Total1144118

Merged error: 0b

Counts
118 → 4

regimes22.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
0176
1196
2196

end0.0ms

sample361.0ms

Algorithm
intervals
Results
237.0ms11972×body80valid