Details

Time bar (total: 4.7s)

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

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

rewrite44.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:
23.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
17.0ms
(sqrt (+ (* re re) (* im im)))

series172.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0235687
1625652
21530650
35001650

prune220.0ms

Filtered
104 candidates to 60 candidates (57.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New9410104
Fresh000
Picked101
Done000
Total9510105

Merged error: 0.3b

Counts
105 → 10

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.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)
7.0ms
(/ (log (* 1 (hypot re im))) (log 10.0))

series187.0ms

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

simplify390.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
0133409
1325384
2837377
33181377
45001377

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

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

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
217×associate-/r*
195×frac-times
191×add-sqr-sqrt
187×sqrt-prod
152×*-un-lft-identity
145×add-cube-cbrt
139×pow1
126×associate-/l*
113×times-frac
104×log-pow
39×associate-*r*
32×clear-num
31×frac-2neg pow-prod-down
27×add-exp-log
25×associate-*l*
17×add-cbrt-cube
15×associate-*r/ unswap-sqr
13×associate-*l/
div-exp
prod-exp
cbrt-undiv
un-div-inv cbrt-unprod
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
rec-exp 1-exp
hypot-udef *-commutative
Counts
3 → 400
Calls
3 calls:
1.0ms
(hypot re im)
37.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (* 1 (hypot re im))) (sqrt (log 10.0))))
8.0ms
(/ (log (* 1 (hypot re im))) (sqrt (log 10.0)))

series420.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(hypot re im)
148.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (* 1 (hypot re im))) (sqrt (log 10.0))))
222.0ms
(/ (log (* 1 (hypot re im))) (sqrt (log 10.0)))

simplify127.0ms

Algorithm
egg-herbie
Counts
409 → 409
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09764724
149543884
250013884

prune519.0ms

Filtered
409 candidates to 139 candidates (34.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New4036409
Fresh8311
Picked101
Done000
Total4129421

Merged error: 0.0b

Counts
421 → 9

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
88×times-frac
83×add-sqr-sqrt
75×pow-unpow
73×*-un-lft-identity
71×add-cube-cbrt log-pow
54×sqrt-prod
32×associate-*r*
25×associate-*l*
24×pow1
21×log-prod
16×add-exp-log
13×associate-*l/
12×unpow-prod-down
add-cbrt-cube
distribute-rgt-in distribute-lft-in associate-/r*
unswap-sqr
expm1-log1p-u hypot-udef prod-exp log1p-expm1-u div-inv add-log-exp sqr-pow
pow-pow rem-log-exp sqrt-pow2 associate-/l*
pow-to-exp div-exp pow-exp cbrt-unprod
cbrt-undiv rec-exp frac-2neg 1-exp pow-prod-down clear-num *-commutative
Counts
4 → 206
Calls
4 calls:
1.0ms
(hypot re im)
6.0ms
(log (pow (hypot re im) (/ 1 (sqrt (log 10.0)))))
30.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:
46.0ms
(hypot re im)
323.0ms
(log (pow (hypot re im) (/ 1 (sqrt (log 10.0)))))
372.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (hypot re im) (/ 1 (sqrt (log 10.0))))))
360.0ms
(pow (hypot re im) (/ 1 (sqrt (log 10.0))))

simplify72.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05882023
126801636
250011475

prune529.0ms

Filtered
218 candidates to 147 candidates (67.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2144218
Fresh628
Picked101
Done000
Total2216227

Merged error: 0b

Counts
227 → 6

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

sample499.0ms

Algorithm
intervals
Results
361.0ms8000×body80valid