Details

Time bar (total: 7.3s)

sample54.0ms

Algorithm
intervals
Results
18.0ms253×body80nan
18.0ms256×body80valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02316
12316

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.7b

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
0.3b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.5b
(* (log base) (log base))
31.2b
(sqrt (+ (* re re) (* im im)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
25×*-un-lft-identity
23×pow1 add-cube-cbrt
12×log-prod
10×add-exp-log associate-*l* log-pow add-cbrt-cube
times-frac
associate-*r*
distribute-rgt-in distribute-lft-in swap-sqr
add-log-exp
flip3-+ associate-/r* sqrt-prod flip-+ associate-/l*
sqrt-pow1 pow1/2 sqrt-div pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv pow2 rem-sqrt-square frac-2neg pow-plus div-exp clear-num pow-sqr pow-prod-up div-inv
Counts
4 → 110
Calls
4 calls:
13.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
10.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
4.0ms
(* (log base) (log base))
3.0ms
(sqrt (+ (* re re) (* im im)))

series378.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
94.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
148.0ms
(* (log base) (log base))
36.0ms
(sqrt (+ (* re re) (* im im)))

simplify56.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04451361
117511236
250011205

prune449.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 6.6b

localize22.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0)))) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0))))
0.5b
(* (log base) (log base))
0.5b
(* (log base) (log base))
31.2b
(sqrt (+ (* re re) (* im im)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
270×times-frac
163×add-sqr-sqrt
162×*-un-lft-identity
158×add-cube-cbrt
141×sqrt-prod
31×pow1
24×associate-/l*
18×sqrt-div
16×associate-/r/
13×add-exp-log add-cbrt-cube
12×log-prod swap-sqr log-pow
flip3-+ flip-+
associate-*r* associate-*l* div-inv
distribute-rgt-in distribute-lft-in associate-/r*
add-log-exp
cbrt-undiv div-exp
pow2 pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 278
Calls
4 calls:
29.0ms
(/ (/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0)))) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0))))
4.0ms
(* (log base) (log base))
4.0ms
(* (log base) (log base))
3.0ms
(sqrt (+ (* re re) (* im im)))

series435.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0)))) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0))))
149.0ms
(* (log base) (log base))
149.0ms
(* (log base) (log base))
36.0ms
(sqrt (+ (* re re) (* im im)))

simplify117.0ms

Algorithm
egg-herbie
Counts
290 → 290
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
08398779
131568145
250018032

prune806.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 6.6b

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0)))) (/ 1 (sqrt (+ (* (log base) (log base)) (* 0.0 0.0)))))
0.5b
(* (log base) (log base))
0.5b
(* (log base) (log base))
31.2b
(sqrt (+ (* re re) (* im im)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
94×add-sqr-sqrt
58×times-frac
53×*-un-lft-identity
43×add-cube-cbrt
33×pow1
32×associate-*r* associate-*l* sqrt-prod
30×add-exp-log
20×add-cbrt-cube
17×unswap-sqr
12×log-prod swap-sqr log-pow
10×prod-exp
div-exp
distribute-rgt-in distribute-lft-in sqrt-div cbrt-unprod
cbrt-undiv associate-/r/ add-log-exp
flip3-+ pow-prod-down *-commutative flip-+
pow2 rec-exp pow-plus 1-exp pow-sqr pow-prod-up div-inv
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ associate-*l/ un-div-inv
Counts
4 → 175
Calls
4 calls:
51.0ms
(* (/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0)))) (/ 1 (sqrt (+ (* (log base) (log base)) (* 0.0 0.0)))))
4.0ms
(* (log base) (log base))
4.0ms
(* (log base) (log base))
3.0ms
(sqrt (+ (* re re) (* im im)))

series579.0ms

Counts
4 → 12
Calls
4 calls:
233.0ms
(* (/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0)))) (/ 1 (sqrt (+ (* (log base) (log base)) (* 0.0 0.0)))))
152.0ms
(* (log base) (log base))
154.0ms
(* (log base) (log base))
40.0ms
(sqrt (+ (* re re) (* im im)))

simplify87.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06693272
131762940
250012773

prune612.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 6.5b

localize26.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (log base) (* 2 (log (cbrt base))))
0.6b
(cbrt base)
0.6b
(cbrt base)
31.2b
(sqrt (+ (* re re) (* im im)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
24×distribute-rgt-in log-prod distribute-lft-in
18×cbrt-prod
17×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
11×pow1
add-exp-log add-cbrt-cube
associate-*l* add-log-exp
pow-prod-down prod-exp sqrt-prod cbrt-unprod
pow1/3 sqrt-div
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 associate-*r* log-pow *-commutative flip-+
Counts
4 → 80
Calls
4 calls:
10.0ms
(* (log base) (* 2 (log (cbrt base))))
0.0ms
(cbrt base)
0.0ms
(cbrt base)
3.0ms
(sqrt (+ (* re re) (* im im)))

series777.0ms

Counts
4 → 12
Calls
4 calls:
399.0ms
(* (log base) (* 2 (log (cbrt base))))
172.0ms
(cbrt base)
169.0ms
(cbrt base)
37.0ms
(sqrt (+ (* re re) (* im im)))

simplify109.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0344628
1950573
23788534
35002529

prune359.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 6.5b

regimes576.0ms

Accuracy

57% (10.7b remaining)

Error of 18.2b against oracle of 7.4b and baseline of 32.3b

bsearch129.0ms

Steps
ItersRangePoint
3
2.262497343924022e+56
2.845220174989757e+56
2.517438582515281e+56
10
-1.6244790721839041e+47
-2.793319855418805e+31
-1.6143965812033716e+43

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06249
16249

end0.0ms

sample1.5s

Algorithm
intervals
Results
569.0ms7893×body80nan
569.0ms8000×body80valid