Details

Time bar (total: 4.3s)

sample19.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 31.1b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
77×add-sqr-sqrt
60×*-un-lft-identity
26×hypot-def
25×log-pow
24×pow1 add-cube-cbrt times-frac
19×swap-sqr
16×sqrt-prod
15×fma-def associate-*l* distribute-lft-out
11×log-prod *-commutative unswap-sqr
add-exp-log sqrt-pow1 pow1/2
sqrt-div add-cbrt-cube associate-/l* add-log-exp
expm1-log1p-u log-div flip3-+ associate-/r* flip-+ log1p-expm1-u
associate-*r*
+-commutative div-sub
cbrt-undiv rem-sqrt-square frac-2neg div-exp rem-log-exp clear-num sum-log div-inv
Counts
4 → 157
Calls
4 calls:
16.0ms
(log (sqrt (+ (* re re) (* im im))))
16.0ms
(+ (* re re) (* im im))
20.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
20.0ms
(sqrt (+ (* re re) (* im im)))

series281.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(log (sqrt (+ (* re re) (* im im))))
28.0ms
(+ (* re re) (* im im))
147.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
41.0ms
(sqrt (+ (* re re) (* im im)))

simplify97.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0279993
1955923
23186918
35003904

prune283.0ms

Filtered
169 candidates to 103 candidates (60.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New15712169
Fresh000
Picked101
Done000
Total15812170

Merged error: 0.3b

Counts
170 → 12

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite10.0ms

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

series278.0ms

Counts
3 → 9
Calls
3 calls:
74.0ms
(log (hypot re im))
52.0ms
(hypot re im)
151.0ms
(/ (log (hypot re im)) (log 10.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 4 (71.0ms)

IterNodesCost
0138382
1319349
2731349
32454349
45002348

prune146.0ms

Filtered
71 candidates to 50 candidates (70.4%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New561571
Fresh11011
Picked101
Done000
Total681583

Merged error: 0.0b

Counts
83 → 15

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
210×associate-/r*
186×add-sqr-sqrt
182×frac-times
175×sqrt-prod
147×*-un-lft-identity
140×add-cube-cbrt
107×associate-/l*
99×times-frac
78×pow1
72×log-pow
32×associate-*r*
31×clear-num
30×frac-2neg
29×add-exp-log
25×associate-*l*
18×add-cbrt-cube
15×unswap-sqr
14×associate-*r/
13×associate-*l/
div-exp
prod-exp
cbrt-undiv
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
log-prod un-div-inv div-inv
rec-exp 1-exp
hypot-udef rem-log-exp pow-prod-down *-commutative
Counts
4 → 384
Calls
4 calls:
1.0ms
(log (hypot re im))
1.0ms
(hypot re im)
29.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (hypot re im)) (sqrt (log 10.0))))
5.0ms
(/ (log (hypot re im)) (sqrt (log 10.0)))

series521.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(log (hypot re im))
54.0ms
(hypot re im)
156.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (hypot re im)) (sqrt (log 10.0))))
237.0ms
(/ (log (hypot re im)) (sqrt (log 10.0)))

simplify124.0ms

Algorithm
egg-herbie
Counts
396 → 396
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
09884084
149113427
250013382

prune425.0ms

Filtered
396 candidates to 147 candidates (37.1%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New3888396
Fresh10414
Picked101
Done000
Total39912411

Merged error: 0b

Counts
411 → 12

localize16.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot re im)
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))))

rewrite42.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 re im)
29.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))))

series841.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05481626
125411314
250011182

prune318.0ms

Filtered
167 candidates to 112 candidates (67.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1643167
Fresh7411
Picked101
Done000
Total1727179

Merged error: 0b

Counts
179 → 7

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

sample472.0ms

Algorithm
intervals
Results
337.0ms8000×body80valid