Details

Time bar (total: 6.2s)

sample65.0ms

Algorithm
intervals
Results
24.0ms246×body80nan
23.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: 31.9b

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.6b
(* (log base) (log base))
29.5b
(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)))

series380.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
91.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
152.0ms
(* (log base) (log base))
38.0ms
(sqrt (+ (* re re) (* im im)))

simplify58.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04451361
117511236
250021203

prune444.0ms

Filtered
122 candidates to 84 candidates (68.9%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New10715122
Fresh000
Picked101
Done000
Total10815123

Merged error: 6.9b

Counts
123 → 15

localize22.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.6b
(* (log base) (log base))
29.5b
(sqrt (+ (* re re) (* im im)))

rewrite26.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))
7.0ms
(sqrt (+ (* re re) (* im im)))

series433.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
154.0ms
(* (log base) (log base))
151.0ms
(* (log base) (log base))
36.0ms
(sqrt (+ (* re re) (* im im)))

simplify155.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 3 (146.0ms)

IterNodesCost
0262719
1966639
24724599
35001592

prune396.0ms

Filtered
127 candidates to 71 candidates (55.9%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1243127
Fresh21214
Picked101
Done000
Total12715142

Merged error: 6.9b

Counts
142 → 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.6b
(* (log base) (log base))
29.5b
(sqrt (+ (* re re) (* im im)))

rewrite35.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:
17.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)))

series519.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(* (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (/ 1 (+ (* (log base) (log base)) (* 0.0 0.0))))
93.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
289.0ms
(* (log base) (log base))
35.0ms
(sqrt (+ (* re re) (* im im)))

simplify77.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05691511
126011356
250021312

prune424.0ms

Filtered
133 candidates to 85 candidates (63.9%)
Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New1303133
Fresh01414
Picked011
Done000
Total13018148

Merged error: 6.9b

Counts
148 → 18

localize24.0ms

Local error

Found 4 expressions with local error:

0.6b
(pow (log base) 2)
29.5b
(sqrt (+ (* re re) (* im im)))
29.5b
(sqrt (+ (* re re) (* im im)))
29.5b
(sqrt (+ (* re re) (* im im)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
sqrt-div
add-exp-log
unpow-prod-down add-cbrt-cube add-log-exp
rem-sqrt-square pow-unpow sqrt-pow1 flip3-+ pow1/2 flip-+
pow-to-exp pow-pow pow-exp log-pow unpow2 sqr-pow
Counts
4 → 64
Calls
4 calls:
2.0ms
(pow (log base) 2)
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series262.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(pow (log base) 2)
36.0ms
(sqrt (+ (* re re) (* im im)))
39.0ms
(sqrt (+ (* re re) (* im im)))
35.0ms
(sqrt (+ (* re re) (* im im)))

simplify63.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0169373
1482348
21597348
35002344

prune292.0ms

Filtered
76 candidates to 56 candidates (73.7%)
Pruning

18 alts after pruning (16 fresh and 2 done)

PrunedKeptTotal
New76076
Fresh01616
Picked011
Done011
Total761894

Merged error: 6.9b

Counts
94 → 18

regimes467.0ms

Accuracy

58.5% (10.1b remaining)

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

bsearch214.0ms

Steps
ItersRangePoint
11
1.5263731768188856e+46
3.003842095153293e+77
1.464180329742239e+68
9
-5.990984502720751e+78
-9.855852910738255e+72
-1.0982261757761181e+74

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06249
16249

end0.0ms

sample1.8s

Algorithm
intervals
Results
738.0ms8000×body80valid
689.0ms7932×body80nan

Profiling

Loading profile data...