Details

Time bar (total: 1.2s)

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

sample10.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify94.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (92.0ms)

IterNodesCost
049759
149759

prune11.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.1b
(* x (* x (- 3.0 (* x 2.0))))

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

prune60.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New47552
Fresh101
Picked101
Done000
Total49554

Merged error: 0b

Counts
54 → 5

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* unsub-neg sum-log *-commutative distribute-rgt-neg-out flip-+
Counts
2 → 30
Calls
2 calls:
5.0ms
(+ (* x (* x 3.0)) (* 2.0 (neg (pow x 3))))
4.0ms
(* x (* x 3.0))

series13.0ms

Counts
2 → 6
Calls
2 calls:
10.0ms
(+ (* x (* x 3.0)) (* 2.0 (neg (pow x 3))))
3.0ms
(* x (* x 3.0))

simplify43.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05331297

prune49.0ms

Filtered
23 candidates to 36 candidates (-56.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New35136
Fresh134
Picked011
Done000
Total36541

Merged error: 0b

Counts
41 → 5

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
14×add-sqr-sqrt
12×associate-*r*
10×add-cube-cbrt *-un-lft-identity
pow1
times-frac associate-*l* prod-exp cbrt-unprod
associate-*r/
cbrt-undiv div-exp associate-/r/
associate-/r* add-log-exp
sub-neg flip3-- flip3-+ pow-prod-down *-commutative flip-- flip-+ div-inv associate-/l/ unswap-sqr
distribute-rgt-in frac-2neg distribute-lft-in clear-num associate-/l*
Counts
3 → 76
Calls
3 calls:
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)))

series30.0ms

Counts
3 → 9
Calls
3 calls:
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))))
11.0ms
(/ (* x (- (* 3.0 3.0) (* x (* x (* 2.0 2.0))))) (+ 3.0 (* x 2.0)))

simplify32.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
050021052

prune109.0ms

Filtered
62 candidates to 85 candidates (-37.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New84185
Fresh123
Picked101
Done011
Total86490

Merged error: 0b

Counts
90 → 4

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
167×times-frac
105×add-sqr-sqrt
94×*-un-lft-identity
93×add-cube-cbrt
50×associate-*r*
31×add-exp-log
19×add-cbrt-cube
18×associate-/r* associate-/r/
14×div-exp
10×div-inv
flip3-- flip--
cbrt-undiv
pow1 associate-/l*
prod-exp
unswap-sqr
rec-exp 1-exp associate-*l* cbrt-unprod add-log-exp
frac-2neg clear-num
pow-flip associate-*r/ pow-prod-down *-commutative inv-pow
Counts
3 → 188
Calls
3 calls:
4.0ms
(/ 1 (- 3.0 (* x 2.0)))
15.0ms
(* x (/ x (/ 1 (- 3.0 (* x 2.0)))))
7.0ms
(/ x (/ 1 (- 3.0 (* x 2.0))))

series14.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049612533
149612533

prune231.0ms

Filtered
130 candidates to 197 candidates (-51.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1970197
Fresh022
Picked011
Done011
Total1974201

Merged error: 0b

Counts
201 → 4

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

sample258.0ms

Algorithm
intervals
Results
181.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...