Details

Time bar (total: 4.3s)

sample72.0ms

Algorithm
intervals
Results
25.0ms283×body80nan
23.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02316
12316

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.9b

Counts
2 → 1

localize22.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))
27.6b
(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:
9.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:
27.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))
14.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

prune214.0ms

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

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New11012122
Fresh000
Picked101
Done000
Total11112123

Merged error: 5.9b

Counts
123 → 12

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

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

series56.0ms

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

simplify147.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 3 (139.0ms)

IterNodesCost
0273768
1973677
24633614
35001580

prune186.0ms

Filtered
71 candidates to 127 candidates (-78.9%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1261127
Fresh01111
Picked011
Done000
Total12613139

Merged error: 5.9b

Counts
139 → 13

localize22.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.4b
(/ (+ (* (log base) (log base)) (* 0.0 0.0)) (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)))
0.5b
(* (log base) (log base))
27.6b
(sqrt (+ (* re re) (* im im)))

rewrite25.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:
5.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
8.0ms
(/ (+ (* (log base) (log base)) (* 0.0 0.0)) (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)))
4.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series86.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
46.0ms
(/ (+ (* (log base) (log base)) (* 0.0 0.0)) (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)))
14.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
04641397
117541281
250021234

prune190.0ms

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

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New1166122
Fresh2911
Picked101
Done011
Total11916135

Merged error: 5.8b

Counts
135 → 16

localize23.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.5b
(cbrt (pow (log base) 6))
1.2b
(pow (log base) 6)
27.6b
(sqrt (+ (* re re) (* im im)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
13×pow1 add-cube-cbrt *-un-lft-identity
cbrt-prod unpow-prod-down
add-exp-log
log-prod associate-*l* log-pow add-cbrt-cube
associate-*r* add-log-exp
distribute-rgt-in pow-unpow distribute-lft-in sqrt-prod
sqrt-pow1 pow1/2 sqrt-div sqr-pow
pow-to-exp rem-sqrt-square pow-pow flip3-+ pow1/3 pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 77
Calls
4 calls:
5.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
2.0ms
(cbrt (pow (log base) 6))
2.0ms
(pow (log base) 6)
3.0ms
(sqrt (+ (* re re) (* im im)))

series63.0ms

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

simplify218.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0295609
1980549
24967500
35001500

prune117.0ms

Filtered
58 candidates to 89 candidates (-53.4%)
Pruning

15 alts after pruning (13 fresh and 2 done)

PrunedKeptTotal
New87289
Fresh31114
Picked011
Done011
Total9015105

Merged error: 5.8b

Counts
105 → 15

regimes471.0ms

Accuracy

58.4% (10.2b remaining)

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

bsearch74.0ms

Steps
ItersRangePoint
7
2.468053575058286e+65
2.4896662152219984e+67
1.1982811238590513e+67
7
-2.0493115376630188e+107
-6.385363266190322e+105
-1.2383703560580196e+106

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04743
14743

end0.0ms

sample2.0s

Algorithm
intervals
Results
748.0ms8000×body80valid
697.0ms7977×body80nan

Profiling

Loading profile data...