Details

Time bar (total: 6.7s)

sample69.0ms

Algorithm
intervals
Results
25.0ms294×body80nan
24.0ms256×body80valid

simplify4.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: 33.1b

Counts
2 → 1

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

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

series378.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04451361
117511236
250021203

prune431.0ms

Filtered
122 candidates to 84 candidates (68.9%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10913122
Fresh000
Picked101
Done000
Total11013123

Merged error: 10.6b

Counts
123 → 13

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

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

series389.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03861611
113451484
250011464

prune502.0ms

Filtered
142 candidates to 86 candidates (60.6%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New1375142
Fresh11112
Picked101
Done000
Total13916155

Merged error: 10.3b

Counts
155 → 16

localize26.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (+ (* 0.0 0.0) (pow (log base) 2)) (+ (* (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
(pow (log base) 2)
30.7b
(sqrt (+ (* re re) (* im im)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
12×pow1
add-exp-log times-frac
add-cbrt-cube
log-prod associate-*l*
log-pow
unpow-prod-down associate-*r* add-log-exp
distribute-rgt-in pow-unpow distribute-lft-in flip3-+ associate-/r* sqrt-prod flip-+ associate-/l*
sqrt-pow1 pow1/2 sqrt-div associate-/r/ associate-/l/
cbrt-undiv pow-to-exp rem-sqrt-square pow-pow frac-2neg div-exp pow-prod-down pow-exp prod-exp clear-num *-commutative cbrt-unprod div-inv unpow2 unswap-sqr sqr-pow
Counts
4 → 93
Calls
4 calls:
10.0ms
(/ (+ (* 0.0 0.0) (pow (log base) 2)) (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)))
6.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
2.0ms
(pow (log base) 2)
4.0ms
(sqrt (+ (* re re) (* im im)))

series564.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(/ (+ (* 0.0 0.0) (pow (log base) 2)) (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)))
93.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
289.0ms
(pow (log base) 2)
36.0ms
(sqrt (+ (* re re) (* im im)))

simplify54.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04431231
115941134
250011115

prune409.0ms

Filtered
105 candidates to 76 candidates (72.4%)
Pruning

20 alts after pruning (19 fresh and 1 done)

PrunedKeptTotal
New1014105
Fresh01515
Picked011
Done000
Total10120121

Merged error: 10.2b

Counts
121 → 20

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
10×pow1
add-exp-log cbrt-prod log-prod associate-*l* add-cbrt-cube
associate-*r* log-pow add-log-exp
distribute-rgt-in distribute-lft-in sqrt-prod
sqrt-pow1 pow1/2 pow1/3 sqrt-div
rem-sqrt-square flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 65
Calls
4 calls:
6.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
1.0ms
(cbrt base)
1.0ms
(cbrt base)
4.0ms
(sqrt (+ (* re re) (* im im)))

series483.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
180.0ms
(cbrt base)
175.0ms
(cbrt base)
38.0ms
(sqrt (+ (* re re) (* im im)))

simplify52.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0225496
1626453
21627429
35001422

prune311.0ms

Filtered
77 candidates to 58 candidates (75.3%)
Pruning

21 alts after pruning (19 fresh and 2 done)

PrunedKeptTotal
New74377
Fresh21618
Picked011
Done011
Total762197

Merged error: 10.2b

Counts
97 → 21

regimes741.0ms

Accuracy

57.3% (10.7b remaining)

Error of 18.0b against oracle of 7.3b and baseline of 32.5b

bsearch191.0ms

Steps
ItersRangePoint
10
3.8430166095794773e+64
1.3032193271186096e+80
1.4997014201450573e+78
8
-6.064858645587422e+146
-4.7193168419199635e+143
-4.955011686987024e+143

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06450
16450

end0.0ms

sample1.8s

Algorithm
intervals
Results
757.0ms8000×body80valid
669.0ms7719×body80nan

Profiling

Loading profile data...