Details

Time bar (total: 4.3s)

sample75.0ms

Algorithm
intervals
Results
28.0ms256×body80valid
20.0ms226×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: 30.6b

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

rewrite26.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)))
5.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
4.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series67.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04571397
117161276
250011225

prune220.0ms

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

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New10715122
Fresh000
Picked101
Done000
Total10815123

Merged error: 6.3b

Counts
123 → 15

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

rewrite29.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:
12.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)))

series66.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05811547
125481393
250011339

prune200.0ms

Filtered
83 candidates to 133 candidates (-60.2%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New1312133
Fresh01414
Picked101
Done000
Total13216148

Merged error: 6.3b

Counts
148 → 16

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ (* (log base) (log base)) (* 0.0 0.0)) (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)))
0.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.5b
(* (log base) (log base))
28.3b
(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:
9.0ms
(/ (+ (* (log base) (log base)) (* 0.0 0.0)) (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)))
5.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
4.0ms
(* (log base) (log base))
5.0ms
(sqrt (+ (* re re) (* im im)))

series84.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04641397
117541281
250021229

prune200.0ms

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

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New1175122
Fresh21315
Picked101
Done000
Total12018138

Merged error: 6.3b

Counts
138 → 18

localize32.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (log base) (log base))
0.5b
(* (* (log base) (log base)) (* (log base) (log base)))
0.8b
(pow (* (log base) (log base)) 3)
28.3b
(sqrt (+ (* re re) (* im im)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
137×pow1
38×pow-prod-up
25×pow-prod-down
24×pow-sqr
21×add-exp-log add-cbrt-cube
20×pow-plus
19×add-sqr-sqrt
18×log-prod *-un-lft-identity
16×add-cube-cbrt
15×pow2 distribute-rgt-in distribute-lft-in
10×prod-exp cbrt-unprod
swap-sqr
pow-pow log-pow
associate-*r* associate-*l*
add-log-exp
pow-unpow sqrt-prod
sqrt-div pow-exp *-commutative rem-cube-cbrt unswap-sqr
cube-mult pow-to-exp unpow-prod-down rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 unpow3 cube-prod flip-+ sqr-pow
Counts
4 → 152
Calls
4 calls:
5.0ms
(* (log base) (log base))
10.0ms
(* (* (log base) (log base)) (* (log base) (log base)))
4.0ms
(pow (* (log base) (log base)) 3)
4.0ms
(sqrt (+ (* re re) (* im im)))

series61.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* (log base) (log base))
20.0ms
(* (* (log base) (log base)) (* (log base) (log base)))
21.0ms
(pow (* (log base) (log base)) 3)
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify54.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0413632
11612551
25002476

prune173.0ms

Filtered
69 candidates to 164 candidates (-137.7%)
Pruning

20 alts after pruning (19 fresh and 1 done)

PrunedKeptTotal
New1622164
Fresh01717
Picked011
Done000
Total16220182

Merged error: 6.3b

Counts
182 → 20

regimes731.0ms

Accuracy

58.5% (10.1b remaining)

Error of 17.5b against oracle of 7.4b and baseline of 31.8b

bsearch120.0ms

Steps
ItersRangePoint
10
8.792078999153802e+146
5.204192778738911e+159
5.6569234493252894e+147
10
-9.25992372097667e+95
-3.3234494427312007e+82
-3.0249775223115915e+92

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06256
16256

end0.0ms

sample1.8s

Algorithm
intervals
Results
775.0ms8000×body80valid
613.0ms6795×body80nan

Profiling

Loading profile data...