Details

Time bar (total: 6.2s)

sample36.0ms

Algorithm
intervals
Results
27.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: 28.7b

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

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

series196.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* re re) (* im im))
134.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (log 10.0))
35.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

prune243.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 5.3b

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

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

series411.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* re re) (* im im))
141.0ms
(* (/ 1 (sqrt (log 10.0))) (/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0))))
205.0ms
(/ (log (sqrt (+ (* re re) (* im im)))) (sqrt (log 10.0)))
39.0ms
(sqrt (+ (* re re) (* im im)))

simplify84.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06482798
128782493
250022395

prune467.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 5.2b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
78×add-exp-log
47×add-sqr-sqrt
46×times-frac
40×prod-exp
36×*-un-lft-identity
34×add-cube-cbrt
31×associate-*l*
30×add-cbrt-cube
29×sqrt-prod
26×associate-*r*
20×pow1 div-exp
12×cbrt-unprod
10×rec-exp 1-exp
log-pow
cbrt-undiv add-log-exp
associate-*r/ unswap-sqr
pow-prod-down
un-div-inv
frac-times sqrt-pow1 flip3-+ pow1/2 sqrt-div *-commutative flip-+ div-inv
+-commutative rem-sqrt-square associate-*l/ sum-log
Counts
4 → 146
Calls
4 calls:
3.0ms
(+ (* re re) (* im im))
16.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (/ 1 (sqrt (log 10.0))))
34.0ms
(* (/ 1 (sqrt (log 10.0))) (* (log (sqrt (+ (* re re) (* im im)))) (/ 1 (sqrt (log 10.0)))))
4.0ms
(sqrt (+ (* re re) (* im im)))

series413.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (* re re) (* im im))
206.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (/ 1 (sqrt (log 10.0))))
140.0ms
(* (/ 1 (sqrt (log 10.0))) (* (log (sqrt (+ (* re re) (* im im)))) (/ 1 (sqrt (log 10.0)))))
35.0ms
(sqrt (+ (* re re) (* im im)))

simplify62.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05721845
126851498
250011322

prune380.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 5.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ 1 (sqrt (log 10.0))) (* (* (log (sqrt (+ (* re re) (* im im)))) (sqrt (/ 1 (sqrt (log 10.0))))) (sqrt (/ 1 (sqrt (log 10.0))))))
0.3b
(* (* (log (sqrt (+ (* re re) (* im im)))) (sqrt (/ 1 (sqrt (log 10.0))))) (sqrt (/ 1 (sqrt (log 10.0)))))
0.3b
(* (log (sqrt (+ (* re re) (* im im)))) (sqrt (/ 1 (sqrt (log 10.0)))))
26.4b
(sqrt (+ (* re re) (* im im)))

rewrite207.0ms

Algorithm
rewrite-expression-head
Rules
96×sqrt-prod
67×times-frac
65×add-sqr-sqrt
57×associate-*r*
52×*-un-lft-identity
50×add-exp-log add-cube-cbrt
32×pow1 associate-*l* add-cbrt-cube
28×prod-exp
16×cbrt-unprod
15×sqrt-div
13×associate-*r/
12×log-pow
10×pow-prod-down
frac-times div-exp unswap-sqr
associate-*l/ add-log-exp
cbrt-undiv rec-exp 1-exp *-commutative div-inv
sqrt-pow1 pow1/2
rem-sqrt-square flip3-+ flip-+
Counts
4 → 175
Calls
4 calls:
125.0ms
(* (/ 1 (sqrt (log 10.0))) (* (* (log (sqrt (+ (* re re) (* im im)))) (sqrt (/ 1 (sqrt (log 10.0))))) (sqrt (/ 1 (sqrt (log 10.0))))))
48.0ms
(* (* (log (sqrt (+ (* re re) (* im im)))) (sqrt (/ 1 (sqrt (log 10.0))))) (sqrt (/ 1 (sqrt (log 10.0)))))
21.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (sqrt (/ 1 (sqrt (log 10.0)))))
4.0ms
(sqrt (+ (* re re) (* im im)))

series707.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(* (/ 1 (sqrt (log 10.0))) (* (* (log (sqrt (+ (* re re) (* im im)))) (sqrt (/ 1 (sqrt (log 10.0))))) (sqrt (/ 1 (sqrt (log 10.0))))))
216.0ms
(* (* (log (sqrt (+ (* re re) (* im im)))) (sqrt (/ 1 (sqrt (log 10.0))))) (sqrt (/ 1 (sqrt (log 10.0)))))
315.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (sqrt (/ 1 (sqrt (log 10.0)))))
34.0ms
(sqrt (+ (* re re) (* im im)))

simplify85.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06782766
131772193
250012032

prune471.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 5.1b

regimes976.0ms

Accuracy

58.5% (10.1b remaining)

Error of 17.2b against oracle of 7.1b and baseline of 31.5b

bsearch214.0ms

Steps
ItersRangePoint
9
1.1927814869807374e+151
9.245727476348249e+156
1.2052644188436986e+151
7
1.4816094939677775e-221
1.6587575435043906e-219
1.027266176466186e-219
7
-6.265838883607273e-290
-3.3580511861940085e-292
-4.928069768978484e-291
8
-1.5081879281879502e+106
-1.947015139407051e+103
-5.877375181616836e+105

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06788
18788
210188
310588
410588

end0.0ms

sample962.0ms

Algorithm
intervals
Results
812.0ms8000×body80valid