Details

Time bar (total: 1.9s)

sample14.0ms

Algorithm
intervals
Results
7.0ms363×body80valid

simplify193.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1354
2814
31274
41334
51494
62054
73964
813284
946624
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)))

rewrite8.0ms

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

series70.0ms

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

simplify141.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0171170
1807140
24462140
35001140

prune43.0ms

Filtered
28 candidates to 16 candidates (57.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New23528
Fresh000
Picked101
Done000
Total24529

Merged error: 0b

Counts
29 → 5

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)

rewrite19.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
pow-prod-down
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 65
Calls
3 calls:
6.0ms
(* 2.0 (pow x 3))
6.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
5.0ms
(* (* x x) 3.0)

series155.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(* 2.0 (pow x 3))
96.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
23.0ms
(* (* x x) 3.0)

simplify57.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0292328
11517285
25001280

prune110.0ms

Filtered
74 candidates to 45 candidates (60.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New73174
Fresh134
Picked011
Done000
Total74579

Merged error: 0b

Counts
79 → 5

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

rewrite18.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
pow-prod-down
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 64
Calls
3 calls:
6.0ms
(* 2.0 (pow x 3))
5.0ms
(+ (* x (* x 3.0)) (- (* 2.0 (pow x 3))))
5.0ms
(* x (* x 3.0))

series154.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(* 2.0 (pow x 3))
96.0ms
(+ (* x (* x 3.0)) (- (* 2.0 (pow x 3))))
23.0ms
(* x (* x 3.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0279321
11424280
25001274

prune97.0ms

Filtered
73 candidates to 43 candidates (58.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New73073
Fresh033
Picked011
Done011
Total73578

Merged error: 0b

Counts
78 → 5

localize9.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
3.1b
(/ (* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
16×add-exp-log add-cbrt-cube
pow1
add-sqr-sqrt prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*r/ associate-*r*
cbrt-undiv times-frac div-exp pow-prod-down associate-/r*
distribute-rgt-in sub-neg flip3-- distribute-lft-in associate-/r/ flip-- associate-/l/ add-log-exp
frac-2neg flip3-+ associate-*l* clear-num *-commutative flip-+ div-inv associate-/l* difference-of-squares unswap-sqr
Counts
2 → 53
Calls
2 calls:
8.0ms
(* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
10.0ms
(/ (* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

series244.0ms

Counts
2 → 6
Calls
2 calls:
95.0ms
(* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
149.0ms
(/ (* (* x x) (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

simplify67.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0378674
12213537
25001537

prune81.0ms

Filtered
59 candidates to 39 candidates (66.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New59059
Fresh022
Picked011
Done022
Total59564

Merged error: 0b

Counts
64 → 5

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

sample348.0ms

Algorithm
intervals
Results
224.0ms11981×body80valid

Profiling

Loading profile data...