Details

Time bar (total: 6.3s)

sample60.0ms

Algorithm
intervals
Results
23.0ms256×body80valid
19.0ms260×body80nan

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02316
12316

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

localize20.0ms

Local error

Found 4 expressions with local error:

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

series376.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04451361
117511236
250011205

prune454.0ms

Filtered
122 candidates to 84 candidates (68.9%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New10814122
Fresh000
Picked101
Done000
Total10914123

Merged error: 7.9b

Counts
123 → 14

localize23.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))))
0.6b
(* (log base) (log base))
0.6b
(* (log base) (log base))
28.9b
(sqrt (+ (* re re) (* im im)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
36×*-un-lft-identity
32×add-cube-cbrt
31×pow1
18×times-frac
15×sqrt-prod
12×log-prod swap-sqr log-pow
10×add-exp-log add-cbrt-cube
associate-*r* associate-*l*
distribute-rgt-in distribute-lft-in associate-/r*
sqrt-div add-log-exp
flip3-+ flip-+ associate-/l*
pow2 pow-plus pow-prod-down prod-exp associate-/r/ pow-sqr *-commutative pow-prod-up cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
4 → 130
Calls
4 calls:
11.0ms
(/ (+ (* (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)))

series522.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0))))
143.0ms
(* (log base) (log base))
148.0ms
(* (log base) (log base))
178.0ms
(sqrt (+ (* re re) (* im im)))

simplify53.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03861610
113451484
250021464

prune493.0ms

Filtered
142 candidates to 86 candidates (60.6%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New1366142
Fresh21113
Picked101
Done000
Total13917156

Merged error: 7.4b

Counts
156 → 17

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)) (/ 1 (+ (* (log base) (log base)) (* 0.0 0.0))))
0.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.6b
(* (log base) (log base))
28.9b
(sqrt (+ (* re re) (* im im)))

rewrite33.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:
14.0ms
(* (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (/ 1 (+ (* (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)))

series372.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(* (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (/ 1 (+ (* (log base) (log base)) (* 0.0 0.0))))
90.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
146.0ms
(* (log base) (log base))
37.0ms
(sqrt (+ (* re re) (* im im)))

simplify79.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05691511
126011356
250021312

prune442.0ms

Filtered
133 candidates to 85 candidates (63.9%)
Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New1303133
Fresh21416
Picked011
Done000
Total13218150

Merged error: 7.4b

Counts
150 → 18

localize28.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.6b
(* (log base) (log base))
0.9b
(pow (log base) 4)
28.9b
(sqrt (+ (* re re) (* im im)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
25×pow1
22×add-sqr-sqrt
19×*-un-lft-identity
17×add-cube-cbrt
12×log-prod
11×log-pow
10×associate-*l*
add-exp-log
associate-*r* add-cbrt-cube
distribute-rgt-in distribute-lft-in swap-sqr
unpow-prod-down add-log-exp
pow-unpow sqrt-prod
sqrt-pow1 pow1/2 sqrt-div pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 pow-to-exp rem-sqrt-square pow-pow flip3-+ pow-plus pow-exp pow-sqr pow-prod-up flip-+ sqr-pow
Counts
4 → 97
Calls
4 calls:
6.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
5.0ms
(* (log base) (log base))
2.0ms
(pow (log base) 4)
4.0ms
(sqrt (+ (* re re) (* im im)))

series439.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
148.0ms
(* (log base) (log base))
163.0ms
(pow (log base) 4)
38.0ms
(sqrt (+ (* re re) (* im im)))

simplify46.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0319642
11269568
25002539

prune387.0ms

Filtered
109 candidates to 66 candidates (60.6%)
Pruning

19 alts after pruning (17 fresh and 2 done)

PrunedKeptTotal
New1054109
Fresh31316
Picked011
Done011
Total10819127

Merged error: 7.4b

Counts
127 → 19

regimes462.0ms

Accuracy

57.1% (10.5b remaining)

Error of 17.0b against oracle of 6.5b and baseline of 31.0b

bsearch294.0ms

Steps
ItersRangePoint
10
1.137697989071963e+87
1.0360182301372079e+99
1.2746753803450304e+95
9
-7.268474466561422e-274
-7.733966382707704e-280
-5.112329286552239e-278
9
-5.024819349422114e-187
-2.7381474978778434e-194
-1.833998087423057e-192
6
-1.163610622601965e+101
-2.1746329536067333e+100
-9.386796508414434e+100

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05963
15963

end0.0ms

sample1.5s

Algorithm
intervals
Results
601.0ms8000×body80valid
565.0ms7984×body80nan