Details

Time bar (total: 5.2s)

analyze429.0ms

Algorithm
search

sample39.0ms

Algorithm
intervals
Results
24.0ms256×body80valid
4.0ms43×body80nan

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02316
12316

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.4b

Counts
2 → 1

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.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.5b
(* (log base) (log base))
29.9b
(sqrt (+ (* re re) (* im im)))

rewrite27.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:
10.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
6.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
5.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series69.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
21.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
15.0ms
(* (log base) (log base))
9.0ms
(sqrt (+ (* re re) (* im im)))

simplify59.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04571397
117161276
250011225

prune217.0ms

Filtered
80 candidates to 122 candidates (-52.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10913122
Fresh000
Picked101
Done000
Total11013123

Merged error: 7.8b

Counts
123 → 13

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.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/
Counts
4 → 174
Calls
4 calls:
26.0ms
(* (/ 1 (sqrt (+ (* (log base) (log base)) (* 0.0 0.0)))) (/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0)))))
5.0ms
(* (log base) (log base))
5.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series72.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (/ 1 (sqrt (+ (* (log base) (log base)) (* 0.0 0.0)))) (/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0)))))
14.0ms
(* (log base) (log base))
19.0ms
(* (log base) (log base))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify100.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
06873341
137282983
250012817

prune314.0ms

Filtered
103 candidates to 186 candidates (-80.6%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1833186
Fresh11112
Picked011
Done000
Total18415199

Merged error: 7.8b

Counts
199 → 15

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

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

series68.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (/ 1 (+ (* (log base) (log base)) (* 0.0 0.0))))
23.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
14.0ms
(* (log base) (log base))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify75.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05811547
125481393
250011339

prune198.0ms

Filtered
84 candidates to 133 candidates (-58.3%)
Pruning

16 alts after pruning (14 fresh and 2 done)

PrunedKeptTotal
New1303133
Fresh21113
Picked011
Done011
Total13216148

Merged error: 7.8b

Counts
148 → 16

localize30.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (log base) (* 2 (log (cbrt base))))
0.7b
(cbrt base)
0.7b
(cbrt base)
29.9b
(sqrt (+ (* re re) (* im im)))

rewrite16.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:
7.0ms
(* (log base) (* 2 (log (cbrt base))))
1.0ms
(cbrt base)
1.0ms
(cbrt base)
4.0ms
(sqrt (+ (* re re) (* im im)))

series107.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (log base) (* 2 (log (cbrt base))))
22.0ms
(cbrt base)
22.0ms
(cbrt base)
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify94.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0352650
1916597
23877557
35001534

prune97.0ms

Filtered
57 candidates to 92 candidates (-61.4%)
Pruning

17 alts after pruning (15 fresh and 2 done)

PrunedKeptTotal
New89392
Fresh11213
Picked101
Done022
Total9117108

Merged error: 7.8b

Counts
108 → 17

regimes632.0ms

Accuracy

56.1% (10.8b remaining)

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

bsearch908.0ms

Steps
ItersRangePoint
8
2.274898338857628e+56
1.621991657833646e+59
1.603444255085022e+59
7
7.609337734095333e-252
5.407670895639545e-250
2.6348969460831676e-251
10
-1.6339299669663772e-278
-7.895894860935443e-296
-4.598188196795492e-289
7
-7.727483869746335e+56
-9.563001974907111e+54
-7.4328007356036895e+56

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07591
17591

end0.0ms

analyze424.0ms

Algorithm
search

sample1.0s

Algorithm
intervals
Results
754.0ms8000×body80valid
88.0ms983×body80nan

Profiling

Loading profile data...