Details

Time bar (total: 7.0s)

sample34.0ms

Algorithm
intervals
Results
25.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0117
1117

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.0b

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))
29.6b
(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*
flip3-+ sqrt-prod flip-+
log-div div-sub
cbrt-undiv +-commutative rem-sqrt-square frac-2neg div-exp clear-num sum-log div-inv
Counts
3 → 74
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)))

series337.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0256741
1895697
22846694
35001694

prune241.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 6.6b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.3b
(* (/ 1 (sqrt (log 10.0))) (/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0))))
0.4b
(/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0)))
29.6b
(sqrt (+ (* re re) (* im im)))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
127×times-frac
108×add-sqr-sqrt
78×sqrt-prod
67×*-un-lft-identity
61×add-cube-cbrt log-pow
53×pow1
46×associate-*r*
28×add-exp-log
25×associate-*l*
18×add-cbrt-cube
16×sqrt-pow1 pow1/2
15×unswap-sqr
div-exp
prod-exp
associate-/r*
associate-/l* add-log-exp
cbrt-undiv
sqrt-div cbrt-unprod
flip3-+ flip-+ div-inv
log-div rec-exp 1-exp div-sub
+-commutative frac-times rem-sqrt-square frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num sum-log *-commutative
Counts
4 → 205
Calls
4 calls:
3.0ms
(+ (* re re) (* im im))
44.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0))))
12.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series404.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* re re) (* im im))
138.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0))))
204.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0)))
35.0ms
(sqrt (+ (* re re) (* im im)))

simplify79.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06482798
128782493
250022395

prune504.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 6.4b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0)))))
0.3b
(* (/ 1 (sqrt (log 10.0))) (log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))))
3.9b
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
29.6b
(sqrt (+ (* re re) (* im im)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
47×*-un-lft-identity
46×times-frac
45×add-cube-cbrt
41×sqrt-prod
30×log-prod
25×pow-unpow associate-*l*
24×unpow-prod-down
16×add-exp-log
15×pow1
10×distribute-rgt-in distribute-lft-in
add-cbrt-cube
log-pow
unswap-sqr
associate-*r* prod-exp add-log-exp sqr-pow
pow-pow rem-log-exp
pow-to-exp sqrt-pow1 pow1/2 sqrt-div div-exp pow-exp cbrt-unprod div-inv
cbrt-undiv rem-sqrt-square rec-exp flip3-+ 1-exp pow-prod-down associate-*l/ *-commutative sqrt-pow2 flip-+
Counts
4 → 151
Calls
4 calls:
6.0ms
(log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0)))))
25.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))))
7.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
4.0ms
(sqrt (+ (* re re) (* im im)))

series1.1s

Counts
4 → 12
Calls
4 calls:
299.0ms
(log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0)))))
357.0ms
(* (/ 1 (sqrt (log 10.0))) (log (pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))))
382.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
36.0ms
(sqrt (+ (* re re) (* im im)))

simplify62.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05582291
123431895
250021744

prune465.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 6.4b

localize25.0ms

Local error

Found 4 expressions with local error:

3.9b
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
3.9b
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
29.6b
(sqrt (+ (* re re) (* im im)))
29.6b
(sqrt (+ (* re re) (* im im)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
50×pow-unpow
42×times-frac
40×add-sqr-sqrt
38×add-cube-cbrt *-un-lft-identity
36×sqrt-prod
16×pow1
12×unpow-prod-down
add-exp-log pow-pow log-pow
sqrt-pow1 pow1/2 sqrt-div add-cbrt-cube add-log-exp
pow-to-exp rem-sqrt-square flip3-+ pow-exp sqrt-pow2 flip-+ div-inv sqr-pow
Counts
4 → 120
Calls
4 calls:
7.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
7.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series769.0ms

Counts
4 → 12
Calls
4 calls:
346.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
347.0ms
(pow (sqrt (+ (* re re) (* im im))) (/ 1 (sqrt (log 10.0))))
35.0ms
(sqrt (+ (* re re) (* im im)))
40.0ms
(sqrt (+ (* re re) (* im im)))

simplify75.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 3 (64.0ms)

IterNodesCost
03051184
110011106
233381032
350011028

prune586.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 6.4b

regimes755.0ms

Accuracy

56% (10.9b remaining)

Error of 18.3b against oracle of 7.4b and baseline of 32.2b

bsearch313.0ms

Steps
ItersRangePoint
5
1.5896180358927368e+68
5.614762643511228e+68
4.286691056942404e+68
7
1.3006604657059154e-48
2.175174403907481e-46
1.3202809311828264e-48
8
1.933364594733743e-77
8.217386779769018e-74
1.2346604651320364e-75
8
1.1247906893733106e-296
7.127760511990525e-292
2.0545275826648584e-296
10
-1.3754465060135574e-218
-3.5096784081435916e-233
-1.9449228699436867e-227
8
-8.932761495434891e+18
-152849402421631.16
-8.504444214849187e+18

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07796
17796

end0.0ms

sample951.0ms

Algorithm
intervals
Results
799.0ms8000×body80valid