Details

Time bar (total: 1.9s)

sample21.0ms

Algorithm
intervals
Results
9.0ms264×body80valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0256
1656
21326
32086
42506
52876
63076
73476
84206
95736
1018836
1150016

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 19.6b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ t1 u) (+ t1 u))
19.2b
(/ (* (neg t1) v) (* (+ t1 u) (+ t1 u)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
16×add-exp-log add-cbrt-cube
12×flip3-+ flip-+
pow1
add-sqr-sqrt frac-times associate-/r/
add-cube-cbrt swap-sqr distribute-lft-out
prod-exp cbrt-unprod
cbrt-undiv associate-*r/ div-exp associate-*r* associate-*l* associate-*l/
add-log-exp
distribute-lft-neg-out pow2 distribute-rgt-in frac-2neg distribute-lft-in times-frac pow-plus distribute-frac-neg pow-prod-down clear-num associate-/r* pow-sqr *-commutative pow-prod-up div-inv associate-/l* unswap-sqr
Counts
2 → 70
Calls
2 calls:
8.0ms
(* (+ t1 u) (+ t1 u))
10.0ms
(/ (* (neg t1) v) (* (+ t1 u) (+ t1 u)))

series20.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(* (+ t1 u) (+ t1 u))
16.0ms
(/ (* (neg t1) v) (* (+ t1 u) (+ t1 u)))

simplify56.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0381490
12039406
25001402

prune69.0ms

Filtered
41 candidates to 76 candidates (-85.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New72476
Fresh000
Picked101
Done000
Total73477

Merged error: 0.0b

Counts
77 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (neg t1) (+ t1 u))
0.0b
(/ v (+ t1 u))
0.7b
(* (/ (neg t1) (+ t1 u)) (/ v (+ t1 u)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
125×*-un-lft-identity
108×times-frac
81×add-sqr-sqrt
69×add-cube-cbrt
46×associate-*l*
28×distribute-lft-out
27×distribute-lft-neg-in distribute-rgt-neg-in
19×add-exp-log add-cbrt-cube
18×associate-*r*
13×associate-/l*
neg-mul-1
associate-/r* associate-/r/
cbrt-undiv div-exp
pow1
flip3-+ prod-exp cbrt-unprod flip-+ div-inv unswap-sqr
add-log-exp
frac-2neg distribute-frac-neg clear-num
distribute-lft-neg-out neg-sub0 frac-times div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
3 → 192
Calls
3 calls:
6.0ms
(/ (neg t1) (+ t1 u))
5.0ms
(/ v (+ t1 u))
25.0ms
(* (/ (neg t1) (+ t1 u)) (/ v (+ t1 u)))

series36.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(/ (neg t1) (+ t1 u))
6.0ms
(/ v (+ t1 u))
20.0ms
(* (/ (neg t1) (+ t1 u)) (/ v (+ t1 u)))

simplify59.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05931281
126921197
250021197

prune140.0ms

Filtered
134 candidates to 201 candidates (-50.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1983201
Fresh123
Picked011
Done000
Total1996205

Merged error: 0b

Counts
205 → 6

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ t1 u) t1)
0.0b
(/ v (+ t1 u))
0.5b
(/ -1 (/ (+ t1 u) t1))
0.7b
(* (/ -1 (/ (+ t1 u) t1)) (/ v (+ t1 u)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
225×times-frac
184×*-un-lft-identity
141×add-sqr-sqrt
120×add-cube-cbrt
53×associate-*l*
34×add-exp-log add-cbrt-cube
32×distribute-lft-out
23×associate-/r*
18×associate-*r*
14×cbrt-undiv div-exp
12×div-inv
10×associate-/l*
pow1 prod-exp associate-/r/ cbrt-unprod unswap-sqr
add-log-exp
frac-2neg flip3-+ clear-num flip-+
associate-/l/
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 249
Calls
4 calls:
5.0ms
(/ (+ t1 u) t1)
5.0ms
(/ v (+ t1 u))
7.0ms
(/ -1 (/ (+ t1 u) t1))
28.0ms
(* (/ -1 (/ (+ t1 u) t1)) (/ v (+ t1 u)))

series40.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ (+ t1 u) t1)
6.0ms
(/ v (+ t1 u))
6.0ms
(/ -1 (/ (+ t1 u) t1))
24.0ms
(* (/ -1 (/ (+ t1 u) t1)) (/ v (+ t1 u)))

simplify104.0ms

Algorithm
egg-herbie
Counts
261 → 261
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
08411815
142521692
250021603

prune201.0ms

Filtered
172 candidates to 261 candidates (-51.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2601261
Fresh134
Picked011
Done011
Total2616267

Merged error: 0b

Counts
267 → 6

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ -1 (+ t1 u))
0.0b
(/ v (+ t1 u))
0.7b
(* (/ -1 (+ t1 u)) (* t1 (/ v (+ t1 u))))
7.3b
(* t1 (/ v (+ t1 u)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
67×*-un-lft-identity
49×times-frac
44×add-sqr-sqrt
39×add-cube-cbrt
34×add-exp-log add-cbrt-cube
21×associate-*l*
19×associate-*r*
14×distribute-lft-out
12×prod-exp cbrt-unprod
11×pow1
cbrt-undiv div-exp associate-/r* associate-/r/
associate-/l*
flip3-+ associate-*r/ pow-prod-down flip-+ div-inv add-log-exp
frac-2neg clear-num *-commutative unswap-sqr
frac-times associate-*l/
Counts
4 → 147
Calls
4 calls:
5.0ms
(/ -1 (+ t1 u))
5.0ms
(/ v (+ t1 u))
12.0ms
(* (/ -1 (+ t1 u)) (* t1 (/ v (+ t1 u))))
8.0ms
(* t1 (/ v (+ t1 u)))

series43.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ -1 (+ t1 u))
6.0ms
(/ v (+ t1 u))
23.0ms
(* (/ -1 (+ t1 u)) (* t1 (/ v (+ t1 u))))
9.0ms
(* t1 (/ v (+ t1 u)))

simplify58.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0457868
12308740
25002719

prune108.0ms

Filtered
100 candidates to 159 candidates (-59.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1590159
Fresh033
Picked011
Done022
Total1596165

Merged error: 0b

Counts
165 → 6

regimes156.0ms

Accuracy

0% (1.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0126
1166
2196
3216
4216

end0.0ms

sample541.0ms

Algorithm
intervals
Results
249.0ms8236×body80valid

Profiling

Loading profile data...