Details

Time bar (total: 4.1s)

sample25.0ms

Algorithm
intervals
Results
16.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: 31.2b

Counts
2 → 1

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

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

series194.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* re re) (* im im))
133.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
35.0ms
(sqrt (+ (* re re) (* im im)))

simplify90.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 3 (82.0ms)

IterNodesCost
0269757
1956712
23072705
35002704

prune365.0ms

Filtered
91 candidates to 64 candidates (70.3%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New771491
Fresh000
Picked101
Done000
Total781492

Merged error: 0.3b

Counts
92 → 14

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite6.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:
1.0ms
(hypot re im)
4.0ms
(/ (log (hypot re im)) (log 10.0))

series186.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 4 (54.0ms)

IterNodesCost
0129321
1302300
2694298
31942298
45002297

prune133.0ms

Filtered
54 candidates to 38 candidates (70.4%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New421254
Fresh12113
Picked011
Done000
Total541468

Merged error: 0.1b

Counts
68 → 14

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
99×times-frac
97×add-sqr-sqrt
59×sqrt-prod
57×*-un-lft-identity
51×add-cube-cbrt
32×pow1 associate-*r*
27×add-exp-log log-pow
25×associate-*l*
17×add-cbrt-cube
15×unswap-sqr
div-exp
prod-exp
associate-/r*
cbrt-undiv
cbrt-unprod associate-/l*
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
rec-exp 1-exp
frac-times hypot-udef frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
3 → 161
Calls
3 calls:
1.0ms
(hypot re im)
26.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (hypot re im)) (sqrt (log 10.0))))
5.0ms
(/ (log (hypot re im)) (sqrt (log 10.0)))

series408.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(hypot re im)
143.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (hypot re im)) (sqrt (log 10.0))))
217.0ms
(/ (log (hypot re im)) (sqrt (log 10.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04631792
119941571
250011443

prune299.0ms

Filtered
170 candidates to 91 candidates (53.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1646170
Fresh7512
Picked101
Done101
Total17311184

Merged error: 0.0b

Counts
184 → 11

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
46×times-frac
42×*-un-lft-identity
40×add-cube-cbrt
26×sqrt-prod
25×pow-unpow associate-*l*
21×log-prod
16×add-exp-log
13×pow1
12×unpow-prod-down
add-cbrt-cube
log-pow
distribute-rgt-in distribute-lft-in
unswap-sqr
expm1-log1p-u associate-*r* prod-exp log1p-expm1-u add-log-exp sqr-pow
rem-log-exp
pow-to-exp hypot-udef div-exp pow-exp cbrt-unprod div-inv
cbrt-undiv rec-exp pow-pow 1-exp pow-prod-down associate-*l/ *-commutative sqrt-pow2
Counts
4 → 138
Calls
4 calls:
1.0ms
(hypot re im)
2.0ms
(log (pow (hypot re im) (/ 1 (sqrt (log 10.0)))))
11.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:
50.0ms
(hypot re im)
306.0ms
(log (pow (hypot re im) (/ 1 (sqrt (log 10.0)))))
369.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))))

simplify56.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04571510
119801241
250021101

prune322.0ms

Filtered
150 candidates to 102 candidates (68.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1482150
Fresh3710
Picked011
Done000
Total15110161

Merged error: 0.0b

Counts
161 → 10

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

sample626.0ms

Algorithm
intervals
Results
483.0ms8000×body80valid