Details

Time bar (total: 4.4s)

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

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.1b

localize10.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))
31.6b
(sqrt (+ (* re re) (* im im)))

rewrite18.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:
2.0ms
(+ (* re re) (* im im))
10.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
4.0ms
(sqrt (+ (* re re) (* im im)))

series198.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(+ (* re re) (* im im))
128.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
38.0ms
(sqrt (+ (* re re) (* im im)))

simplify91.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0269757
1956712
23072705
35002704

prune256.0ms

Filtered
91 candidates to 64 candidates (70.3%)
Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 0.3b

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
22×pow1
20×times-frac
16×log-pow
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-prod-down associate-/l*
associate-/r*
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 → 43
Calls
1 calls:
7.0ms
(/ (log (* 1 (hypot re im))) (log 10.0))

series160.0ms

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

simplify404.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0116382
1285360
2782353
33063353
45001353

prune123.0ms

Filtered
46 candidates to 28 candidates (60.9%)
Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
113×times-frac
100×add-sqr-sqrt
67×sqrt-prod
63×pow1
60×*-un-lft-identity
54×add-cube-cbrt
44×log-pow
39×associate-*r*
26×add-exp-log
25×associate-*l*
16×pow-prod-down add-cbrt-cube
15×unswap-sqr
div-exp
prod-exp
associate-/r*
cbrt-undiv associate-/l*
cbrt-unprod
div-inv
expm1-log1p-u rec-exp 1-exp log1p-expm1-u add-log-exp
frac-times frac-2neg associate-*r/ associate-*l/ clear-num *-commutative
Counts
2 → 166
Calls
2 calls:
44.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)))

series370.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04492081
120001809
250021716

prune321.0ms

Filtered
172 candidates to 84 candidates (48.8%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 3 expressions with local error:

0.0b
(log (pow (hypot re im) (/ 1 (sqrt (log 10.0)))))
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))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
46×times-frac
41×*-un-lft-identity
39×add-cube-cbrt
26×sqrt-prod
25×pow-unpow associate-*l*
21×log-prod
15×add-exp-log
12×pow1 unpow-prod-down
log-pow add-cbrt-cube
distribute-rgt-in distribute-lft-in
unswap-sqr
associate-*r* prod-exp sqr-pow
expm1-log1p-u rem-log-exp log1p-expm1-u add-log-exp
pow-to-exp div-exp pow-exp cbrt-unprod div-inv
cbrt-undiv rec-exp hypot-udef pow-pow 1-exp pow-prod-down associate-*l/ *-commutative sqrt-pow2
Counts
3 → 128
Calls
3 calls:
1.0ms
(log (pow (hypot re im) (/ 1 (sqrt (log 10.0)))))
20.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (hypot re im) (/ 1 (sqrt (log 10.0))))))
3.0ms
(pow (hypot re im) (/ 1 (sqrt (log 10.0))))

series1.1s

Counts
3 → 9
Calls
3 calls:
322.0ms
(log (pow (hypot re im) (/ 1 (sqrt (log 10.0)))))
371.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (hypot re im) (/ 1 (sqrt (log 10.0))))))
361.0ms
(pow (hypot re im) (/ 1 (sqrt (log 10.0))))

simplify50.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04431483
119461217
250021069

prune322.0ms

Filtered
137 candidates to 89 candidates (65.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes273.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
01410
11410

end0.0ms

sample504.0ms

Algorithm
intervals
Results
360.0ms8000×body80valid