Details

Time bar (total: 3.7s)

sample27.0ms

Algorithm
intervals
Results
18.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0137
1157
2157

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.2b

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

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

series210.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0269757
1956712
23072705
35002704

prune242.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.3b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite5.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:
0.0ms
(hypot re im)
3.0ms
(/ (log (hypot re im)) (log 10.0))

series204.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 4 (57.0ms)

IterNodesCost
0129321
1302300
2694298
31942298
45002297

prune150.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot re im)
0.6b
(/ (log (expm1 (log1p (hypot re im)))) (log 10.0))
4.6b
(expm1 (log1p (hypot re im)))

rewrite5.0ms

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

series361.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(hypot re im)
189.0ms
(/ (log (expm1 (log1p (hypot re im)))) (log 10.0))
121.0ms
(expm1 (log1p (hypot re im)))

simplify133.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (126.0ms)

IterNodesCost
0240544
1774483
24003461
35001450

prune205.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (hypot re im))
0.5b
(cbrt (hypot re im))
0.5b
(cbrt (hypot re im))
0.6b
(/ (log (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)))) (log 10.0))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
123×pow1
94×log-pow
72×times-frac
48×pow1/3
45×pow-prod-up
31×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
30×pow-plus
25×pow-prod-down
18×associate-/l*
15×pow-sqr
10×pow2
cbrt-prod
add-exp-log add-cbrt-cube
pow3
expm1-log1p-u associate-/r* log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
4 → 147
Calls
4 calls:
0.0ms
(cbrt (hypot re im))
0.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
44.0ms
(/ (log (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)))) (log 10.0))

series487.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(cbrt (hypot re im))
110.0ms
(cbrt (hypot re im))
112.0ms
(cbrt (hypot re im))
153.0ms
(/ (log (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)))) (log 10.0))

simplify309.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
02461439
16961375
244711190
350011190

prune297.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

regimes91.0ms

Accuracy

0% (0.5b remaining)

Error of 0.6b against oracle of 0.1b and baseline of 0.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01416
11416

end0.0ms

sample717.0ms

Algorithm
intervals
Results
573.0ms8000×body80valid