Details

Time bar (total: 3.3s)

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 (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.5b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

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

series192.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+ (* re re) (* im im))
127.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
40.0ms
(sqrt (+ (* re re) (* im im)))

simplify94.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0269757
1956712
23072705
35002704

prune234.0ms

Filtered
91 candidates to 64 candidates (70.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.3b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite5.0ms

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

series137.0ms

Counts
1 → 3
Calls
1 calls:
137.0ms
(/ (log (hypot re im)) (log 10.0))

simplify61.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 4 (52.0ms)

IterNodesCost
0112294
1283276
2673274
31896274
45001273

prune109.0ms

Filtered
41 candidates to 27 candidates (65.9%)
Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
99×times-frac
96×add-sqr-sqrt
59×sqrt-prod
56×*-un-lft-identity
50×add-cube-cbrt
32×associate-*r*
31×pow1
27×log-pow
26×add-exp-log
25×associate-*l*
16×add-cbrt-cube
15×unswap-sqr
div-exp
prod-exp
associate-/r*
cbrt-undiv
cbrt-unprod associate-/l*
div-inv
expm1-log1p-u rec-exp 1-exp log1p-expm1-u add-log-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
2 → 151
Calls
2 calls:
33.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (hypot re im)) (sqrt (log 10.0))))
4.0ms
(/ (log (hypot re im)) (sqrt (log 10.0)))

series360.0ms

Counts
2 → 6
Calls
2 calls:
145.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (hypot re im)) (sqrt (log 10.0))))
214.0ms
(/ (log (hypot re im)) (sqrt (log 10.0)))

simplify52.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04461765
119751547
250011419

prune312.0ms

Filtered
157 candidates to 79 candidates (50.3%)
Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 2 expressions with local error:

0.3b
(* (/ 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))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
46×times-frac
38×*-un-lft-identity
36×add-cube-cbrt
26×sqrt-prod
25×pow-unpow associate-*l*
14×log-prod
12×add-exp-log
11×pow1
unpow-prod-down
distribute-rgt-in distribute-lft-in log-pow add-cbrt-cube
unswap-sqr
associate-*r* prod-exp
sqr-pow
expm1-log1p-u div-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp
cbrt-undiv pow-to-exp rec-exp hypot-udef pow-pow 1-exp pow-prod-down associate-*l/ pow-exp *-commutative sqrt-pow2
Counts
2 → 108
Calls
2 calls:
18.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (hypot re im) (/ 1 (sqrt (log 10.0))))))
4.0ms
(pow (hypot re im) (/ 1 (sqrt (log 10.0))))

series702.0ms

Counts
2 → 6
Calls
2 calls:
359.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (hypot re im) (/ 1 (sqrt (log 10.0))))))
343.0ms
(pow (hypot re im) (/ 1 (sqrt (log 10.0))))

simplify49.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04401286
119341043
25001903

prune274.0ms

Filtered
114 candidates to 72 candidates (63.2%)
Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

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

sample472.0ms

Algorithm
intervals
Results
337.0ms8000×body80valid