Details

Time bar (total: 3.9s)

sample19.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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.4b

Counts
2 → 1

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt
27×*-un-lft-identity
26×hypot-def
24×times-frac
22×log-pow
20×pow1
15×add-cube-cbrt
12×swap-sqr
10×*-commutative unswap-sqr
sqrt-prod
sqrt-pow1 pow1/2 associate-/l*
distribute-lft-out
add-exp-log sqrt-div associate-*l* associate-/r* add-cbrt-cube
expm1-log1p-u log-div flip3-+ div-sub flip-+ log1p-expm1-u add-log-exp
cbrt-undiv +-commutative rem-sqrt-square frac-2neg div-exp clear-num div-inv
Counts
2 → 98
Calls
2 calls:
19.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
16.0ms
(sqrt (+ (* re re) (* im im)))

series212.0ms

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

simplify142.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0229687
1594654
21445650
34906650
45001650

prune197.0ms

Filtered
104 candidates to 60 candidates (42.3%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New9014104
Fresh000
Picked101
Done000
Total9114105

Merged error: 0.3b

Counts
105 → 14

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite6.0ms

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

series210.0ms

Counts
2 → 6
Calls
2 calls:
53.0ms
(hypot im re)
157.0ms
(/ (log (hypot im re)) (log 10.0))

simplify60.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 4 (55.0ms)

IterNodesCost
0129321
1302300
2692298
31945298
45002297

prune127.0ms

Filtered
54 candidates to 38 candidates (29.6%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New411354
Fresh11213
Picked101
Done000
Total531568

Merged error: 0.1b

Counts
68 → 15

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot im re)
0.3b
(* (/ 1 (sqrt (log 10.0))) (/ (log (hypot im re)) (sqrt (log 10.0))))
0.4b
(/ (log (hypot im re)) (sqrt (log 10.0)))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
210×associate-/r*
184×add-sqr-sqrt
182×frac-times
175×sqrt-prod
145×*-un-lft-identity
138×add-cube-cbrt
107×associate-/l*
99×times-frac
76×pow1
71×log-pow
32×associate-*r*
31×clear-num
30×frac-2neg
27×add-exp-log
25×associate-*l*
17×add-cbrt-cube
15×unswap-sqr
14×associate-*r/
13×associate-*l/
div-exp
prod-exp
cbrt-undiv
cbrt-unprod
expm1-log1p-u un-div-inv log1p-expm1-u div-inv add-log-exp
rec-exp 1-exp
hypot-udef pow-prod-down *-commutative
Counts
3 → 370
Calls
3 calls:
1.0ms
(hypot im re)
33.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (hypot im re)) (sqrt (log 10.0))))
5.0ms
(/ (log (hypot im re)) (sqrt (log 10.0)))

series440.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(hypot im re)
159.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (hypot im re)) (sqrt (log 10.0))))
233.0ms
(/ (log (hypot im re)) (sqrt (log 10.0)))

simplify131.0ms

Algorithm
egg-herbie
Counts
379 → 379
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
09794023
148903380
250013329

prune402.0ms

Filtered
379 candidates to 134 candidates (64.6%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New3709379
Fresh11314
Picked101
Done000
Total38212394

Merged error: 0b

Counts
394 → 12

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
67×times-frac
66×add-sqr-sqrt
56×*-un-lft-identity
54×add-cube-cbrt
50×pow-unpow
42×sqrt-prod
39×log-pow
32×associate-*r*
25×associate-*l*
18×pow1
14×log-prod
13×add-exp-log associate-*l/
unpow-prod-down
add-cbrt-cube
distribute-rgt-in distribute-lft-in associate-/r*
unswap-sqr
prod-exp
expm1-log1p-u hypot-udef log1p-expm1-u div-inv associate-/l* add-log-exp sqr-pow
pow-pow div-exp sqrt-pow2 cbrt-unprod
cbrt-undiv pow-to-exp rec-exp frac-2neg 1-exp pow-prod-down pow-exp clear-num *-commutative
Counts
3 → 158
Calls
3 calls:
1.0ms
(hypot im re)
26.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (hypot im re) (/ 1 (sqrt (log 10.0))))))
5.0ms
(pow (hypot im re) (/ 1 (sqrt (log 10.0))))

series862.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(hypot im re)
430.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (hypot im re) (/ 1 (sqrt (log 10.0))))))
378.0ms
(pow (hypot im re) (/ 1 (sqrt (log 10.0))))

simplify62.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05491632
125441320
250011188

prune324.0ms

Filtered
167 candidates to 112 candidates (32.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1643167
Fresh6511
Picked011
Done000
Total1709179

Merged error: 0b

Counts
179 → 9

regimes79.0ms

Accuracy

0% (0.2b 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
01821
11821

end0.0ms

sample476.0ms

Algorithm
intervals
Results
339.0ms8000×body80valid