Details

Time bar (total: 4.7s)

sample63.0ms

Algorithm
intervals
Results
23.0ms256×body80valid
18.0ms221×body80nan

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02316
12316

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.9b

Counts
2 → 1

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)) (+ (* (log base) (log base)) (* 0.0 0.0)))
0.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.5b
(* (log base) (log base))
27.7b
(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)))
5.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
4.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series69.0ms

Counts
4 → 12
Calls
4 calls:
27.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))
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

prune221.0ms

Filtered
122 candidates to 80 candidates (34.4%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New10715122
Fresh000
Picked101
Done000
Total10815123

Merged error: 7.2b

Counts
123 → 15

localize22.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.5b
(* (log base) (log base))
0.5b
(* (log base) (log base))
27.7b
(sqrt (+ (* re re) (* im im)))

rewrite22.0ms

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

series58.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
15.0ms
(* (log base) (log base))
17.0ms
(* (log base) (log base))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify146.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 3 (138.0ms)

IterNodesCost
0273768
1973677
24633614
35001580

prune214.0ms

Filtered
127 candidates to 71 candidates (44.1%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New1243127
Fresh01414
Picked101
Done000
Total12517142

Merged error: 7.2b

Counts
142 → 17

localize32.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (log base) (log base))
0.7b
(cbrt base)
0.7b
(cbrt base)
27.7b
(sqrt (+ (* re re) (* im im)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1
16×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt
add-exp-log cbrt-prod log-prod swap-sqr log-pow add-cbrt-cube
associate-*r* associate-*l* add-log-exp
distribute-rgt-in distribute-lft-in sqrt-prod
pow1/3 sqrt-div
pow2 rem-sqrt-square sqrt-pow1 flip3-+ pow-plus pow1/2 pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod flip-+ unswap-sqr
Counts
4 → 73
Calls
4 calls:
5.0ms
(* (log base) (log base))
1.0ms
(cbrt base)
1.0ms
(cbrt base)
4.0ms
(sqrt (+ (* re re) (* im im)))

series67.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0219373
1673335
22751296
35002279

prune192.0ms

Filtered
85 candidates to 53 candidates (37.6%)
Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New83285
Fresh11516
Picked011
Done000
Total8418102

Merged error: 7.2b

Counts
102 → 18

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

rewrite47.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)))

series70.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)))))
15.0ms
(* (log base) (log base))
14.0ms
(* (log base) (log base))
9.0ms
(sqrt (+ (* re re) (* im im)))

simplify95.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06873342
137452983
250012817

prune248.0ms

Filtered
186 candidates to 103 candidates (44.6%)
Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New1833186
Fresh11516
Picked101
Done011
Total18519204

Merged error: 7.1b

Counts
204 → 19

regimes887.0ms

Accuracy

58.8% (10.1b remaining)

Error of 17.7b against oracle of 7.6b and baseline of 32.2b

bsearch74.0ms

Steps
ItersRangePoint
9
1.0672714223471645e+107
5.101610838053785e+112
2.7373554894705896e+112
4
-2.6907717808382143e+96
-1.6058317493978785e+96
-2.4384131374064387e+96

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06557
17657
27657

end0.0ms

sample1.9s

Algorithm
intervals
Results
716.0ms8000×body80valid
657.0ms7851×body80nan

Profiling

Loading profile data...