Details

Time bar (total: 4.3s)

sample20.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0137
1157
2157

prune3.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: 30.1b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.6b
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
27.8b
(sqrt (+ (* re re) (* im im)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
24×times-frac
22×log-pow
20×pow1
16×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
sqrt-pow1 pow1/2 associate-/l*
add-exp-log sqrt-div associate-/r* add-cbrt-cube
sqrt-prod
expm1-log1p-u log-div flip3-+ div-sub flip-+ log1p-expm1-u add-log-exp
cbrt-undiv rem-sqrt-square frac-2neg div-exp clear-num hypot-def div-inv
Counts
2 → 68
Calls
2 calls:
7.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
4.0ms
(sqrt (+ (* re re) (* im im)))

series172.0ms

Counts
2 → 6
Calls
2 calls:
136.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
35.0ms
(sqrt (+ (* re re) (* im im)))

simplify127.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0232683
1597648
21428645
34416645
45001645

prune183.0ms

Filtered
74 candidates to 51 candidates (68.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New641074
Fresh000
Picked101
Done000
Total651075

Merged error: 0.3b

Counts
75 → 10

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(hypot re im)
0.6b
(/ (log (* 1 (hypot re im))) (log 10.0))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
23×pow1
20×times-frac
16×log-pow
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-prod-down associate-/l*
add-exp-log associate-/r* add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv hypot-udef frac-2neg div-exp clear-num div-inv
Counts
2 → 53
Calls
2 calls:
1.0ms
(hypot re im)
5.0ms
(/ (log (* 1 (hypot re im))) (log 10.0))

series189.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(hypot re im)
142.0ms
(/ (log (* 1 (hypot re im))) (log 10.0))

simplify393.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0133409
1325384
2837377
33181377
45001377

prune149.0ms

Filtered
59 candidates to 41 candidates (69.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New471259
Fresh909
Picked101
Done000
Total571269

Merged error: 0.0b

Counts
69 → 12

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot re im)
0.2b
(* (/ 1 (sqrt (log 10.0))) (/ (log (* 1 (hypot re im))) (sqrt (log 10.0))))
0.5b
(/ (log (* 1 (hypot re im))) (sqrt (log 10.0)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
113×times-frac
101×add-sqr-sqrt
67×sqrt-prod
64×pow1
61×*-un-lft-identity
55×add-cube-cbrt
44×log-pow
39×associate-*r*
27×add-exp-log
25×associate-*l*
17×add-cbrt-cube
16×pow-prod-down
15×unswap-sqr
div-exp
prod-exp
associate-/r*
cbrt-undiv associate-/l*
cbrt-unprod
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
rec-exp 1-exp
frac-times hypot-udef frac-2neg associate-*r/ associate-*l/ clear-num *-commutative
Counts
3 → 176
Calls
3 calls:
1.0ms
(hypot re im)
29.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (* 1 (hypot re im))) (sqrt (log 10.0))))
6.0ms
(/ (log (* 1 (hypot re im))) (sqrt (log 10.0)))

series408.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(hypot re im)
147.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (* 1 (hypot re im))) (sqrt (log 10.0))))
217.0ms
(/ (log (* 1 (hypot re im))) (sqrt (log 10.0)))

simplify61.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04662108
120531833
250011740

prune338.0ms

Filtered
185 candidates to 94 candidates (50.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1796185
Fresh7411
Picked101
Done000
Total18710197

Merged error: 0.0b

Counts
197 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.0b
(log (pow (hypot re im) (/ 1 (sqrt (log 10.0)))))
0.2b
(* (/ 1 (sqrt (log 10.0))) (log (pow (hypot re im) (/ 1 (sqrt (log 10.0))))))
3.8b
(pow (hypot re im) (/ 1 (sqrt (log 10.0))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
46×times-frac
42×*-un-lft-identity
40×add-cube-cbrt
26×sqrt-prod
25×pow-unpow associate-*l*
21×log-prod
16×add-exp-log
13×pow1
12×unpow-prod-down
add-cbrt-cube
log-pow
distribute-rgt-in distribute-lft-in
unswap-sqr
expm1-log1p-u associate-*r* prod-exp log1p-expm1-u add-log-exp sqr-pow
rem-log-exp
pow-to-exp hypot-udef div-exp pow-exp cbrt-unprod div-inv
cbrt-undiv rec-exp pow-pow 1-exp pow-prod-down associate-*l/ *-commutative sqrt-pow2
Counts
4 → 138
Calls
4 calls:
1.0ms
(hypot re im)
2.0ms
(log (pow (hypot re im) (/ 1 (sqrt (log 10.0)))))
11.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (hypot re im) (/ 1 (sqrt (log 10.0))))))
5.0ms
(pow (hypot re im) (/ 1 (sqrt (log 10.0))))

series1.1s

Counts
4 → 12
Calls
4 calls:
51.0ms
(hypot re im)
322.0ms
(log (pow (hypot re im) (/ 1 (sqrt (log 10.0)))))
373.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (hypot re im) (/ 1 (sqrt (log 10.0))))))
350.0ms
(pow (hypot re im) (/ 1 (sqrt (log 10.0))))

simplify53.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04571510
119801241
250021101

prune354.0ms

Filtered
150 candidates to 102 candidates (68.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1473150
Fresh549
Picked011
Done000
Total1528160

Merged error: 0.0b

Counts
160 → 8

regimes75.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01410
11410

end0.0ms

sample496.0ms

Algorithm
intervals
Results
355.0ms8000×body80valid