Details

Time bar (total: 6.5s)

sample57.0ms

Algorithm
intervals
Results
21.0ms270×body80nan
18.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: 34.1b

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))
31.5b
(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)))

series518.0ms

Counts
4 → 12
Calls
4 calls:
237.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
92.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
149.0ms
(* (log base) (log base))
40.0ms
(sqrt (+ (* re re) (* im im)))

simplify60.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04451361
117511236
250011205

prune435.0ms

Filtered
122 candidates to 84 candidates (68.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New11111122
Fresh000
Picked101
Done000
Total11211123

Merged error: 7.0b

Counts
123 → 11

localize25.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))
31.5b
(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)))

series415.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
144.0ms
(* (log base) (log base))
145.0ms
(* (log base) (log base))
35.0ms
(sqrt (+ (* re re) (* im im)))

simplify152.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 3 (143.0ms)

IterNodesCost
0262720
1966639
24681599
35001592

prune432.0ms

Filtered
127 candidates to 71 candidates (55.9%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1234127
Fresh01010
Picked011
Done000
Total12315138

Merged error: 6.9b

Counts
138 → 15

localize30.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (- (pow 0.0 3)) 0.0) (pow (log base) 4))) (- (* (log base) (log base)) (* 0.0 0.0)))
0.5b
(* (log base) (log base))
0.8b
(pow (log base) 4)
31.5b
(sqrt (+ (* re re) (* im im)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
27×*-un-lft-identity
25×add-cube-cbrt
22×pow1
19×associate-*l*
18×log-prod
17×distribute-rgt-in distribute-lft-in
12×add-exp-log associate--l+
11×add-cbrt-cube
10×times-frac
associate-*r*
log-pow
swap-sqr
unpow-prod-down add-log-exp
pow-unpow prod-exp sqrt-prod cbrt-unprod unswap-sqr
frac-times sub-neg flip3-- flip3-+ sqrt-div associate-*r/ pow-prod-down associate-/r/ *-commutative flip-- flip-+
cbrt-undiv pow2 pow-to-exp rem-sqrt-square pow-pow sqrt-pow1 pow-plus pow1/2 div-exp associate-*l/ pow-exp pow-sqr pow-prod-up div-inv difference-of-squares sqr-pow
Counts
4 → 124
Calls
4 calls:
19.0ms
(* (/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (- (pow 0.0 3)) 0.0) (pow (log base) 4))) (- (* (log base) (log base)) (* 0.0 0.0)))
4.0ms
(* (log base) (log base))
2.0ms
(pow (log base) 4)
4.0ms
(sqrt (+ (* re re) (* im im)))

series459.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(* (/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (- (pow 0.0 3)) 0.0) (pow (log base) 4))) (- (* (log base) (log base)) (* 0.0 0.0)))
149.0ms
(* (log base) (log base))
172.0ms
(pow (log base) 4)
35.0ms
(sqrt (+ (* re re) (* im im)))

simplify96.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
06622168
132461970
250021964

prune562.0ms

Filtered
136 candidates to 83 candidates (61.0%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1324136
Fresh4913
Picked101
Done011
Total13714151

Merged error: 6.9b

Counts
151 → 14

localize29.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.6b
(cbrt base)
0.6b
(cbrt base)
31.5b
(sqrt (+ (* re re) (* im im)))

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

series489.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
179.0ms
(cbrt base)
182.0ms
(cbrt base)
35.0ms
(sqrt (+ (* re re) (* im im)))

simplify51.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0225495
1626452
21627429
35001422

prune330.0ms

Filtered
77 candidates to 58 candidates (75.3%)
Pruning

17 alts after pruning (15 fresh and 2 done)

PrunedKeptTotal
New74377
Fresh01212
Picked011
Done011
Total741791

Merged error: 6.9b

Counts
91 → 17

regimes459.0ms

Accuracy

56.7% (10.5b remaining)

Error of 18.2b against oracle of 7.8b and baseline of 32.0b

bsearch302.0ms

Steps
ItersRangePoint
8
1.3018959662121223e+79
1.0867589128304198e+83
7.281392833689827e+80
7
4.046021815332288e-164
9.607223566169039e-162
6.754536396545516e-163
9
-1.75629310900984e-302
-1.3325870720894219e-307
-8.123248591212039e-303
10
-1.2755199423227665e+123
-9.202938986759887e+109
-1.8201431513100123e+121

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06380
16380

end0.0ms

sample1.4s

Algorithm
intervals
Results
548.0ms8000×body80valid
530.0ms8118×body80nan