Details

Time bar (total: 1.1s)

analyze3.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
62.5%12.5%25%5
62.5%6.2%31.3%6
65.6%3.1%31.3%7
65.6%1.6%32.8%8
66.4%0.8%32.8%9
66.4%0.4%33.2%10
66.6%0.2%33.2%11
66.6%0.1%33.3%12
66.6%0%33.4%13
66.6%0%33.4%14

sample11.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify91.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (89.0ms)

IterNodesCost
049759
149759

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

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

rewrite13.0ms

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

series12.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(* x (- 3.0 (* x 2.0)))
6.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify35.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
05524490

prune66.0ms

Filtered
29 candidates to 52 candidates (-79.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New48452
Fresh011
Picked101
Done000
Total49554

Merged error: 0b

Counts
54 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
29×associate-*r*
14×add-sqr-sqrt
12×distribute-lft-neg-in add-cube-cbrt distribute-rgt-neg-in *-un-lft-identity
10×pow1 add-exp-log add-cbrt-cube
unpow-prod-down cube-prod associate-*l*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
cube-mult unpow3 *-commutative distribute-rgt-neg-out sqr-pow
+-commutative neg-mul-1 flip3-+ unsub-neg sum-log flip-+ unswap-sqr
Counts
3 → 74
Calls
3 calls:
8.0ms
(* 2.0 (neg (pow x 3)))
5.0ms
(+ (* x (* x 3.0)) (* 2.0 (neg (pow x 3))))
4.0ms
(* x (* x 3.0))

series15.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* 2.0 (neg (pow x 3)))
8.0ms
(+ (* x (* x 3.0)) (* 2.0 (neg (pow x 3))))
3.0ms
(* x (* x 3.0))

simplify66.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
04948563
14948563

prune97.0ms

Filtered
54 candidates to 83 candidates (-53.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New83083
Fresh044
Picked011
Done000
Total83588

Merged error: 0b

Counts
88 → 5

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite7.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
add-cube-cbrt sub-neg *-un-lft-identity associate-*r/
distribute-rgt-in flip3-- distribute-lft-in associate-*l* *-commutative flip-- add-log-exp unswap-sqr
Counts
1 → 23
Calls
1 calls:
7.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series6.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04915272
14915272

prune32.0ms

Filtered
15 candidates to 26 candidates (-73.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New26026
Fresh033
Picked011
Done011
Total26531

Merged error: 0b

Counts
31 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 3.0 3.0) (* x (* x (* 2.0 2.0))))
0.1b
(* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0)))))
0.2b
(* x (/ (* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0))))) (+ 3.0 (* x 2.0))))
0.3b
(/ (* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0))))) (+ 3.0 (* x 2.0)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
15×add-sqr-sqrt
12×associate-*r*
11×add-cube-cbrt *-un-lft-identity
pow1
times-frac associate-*l* prod-exp cbrt-unprod add-log-exp
associate-*r/
cbrt-undiv div-exp associate-/r/
sub-neg flip3-- associate-/r* flip--
flip3-+ pow-prod-down *-commutative flip-+ div-inv associate-/l/ unswap-sqr
distribute-rgt-in frac-2neg distribute-lft-in diff-log clear-num associate-/l*
Counts
4 → 87
Calls
4 calls:
4.0ms
(- (* 3.0 3.0) (* x (* x (* 2.0 2.0))))
6.0ms
(* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0)))))
10.0ms
(* x (/ (* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0))))) (+ 3.0 (* x 2.0))))
9.0ms
(/ (* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0))))) (+ 3.0 (* x 2.0)))

series36.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (* 3.0 3.0) (* x (* x (* 2.0 2.0))))
8.0ms
(* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0)))))
11.0ms
(* x (/ (* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0))))) (+ 3.0 (* x 2.0))))
13.0ms
(/ (* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0))))) (+ 3.0 (* x 2.0)))

simplify29.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
051141241

prune121.0ms

Filtered
72 candidates to 99 candidates (-37.5%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New99099
Fresh022
Picked011
Done022
Total995104

Merged error: 0b

Counts
104 → 5

regimes73.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03811
13811

end0.0ms

sample281.0ms

Algorithm
intervals
Results
192.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...