Details

Time bar (total: 3.3s)

sample51.0ms

Algorithm
intervals
Results
20.0ms256×body80valid
14.0ms220×body80nan

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03116
15216
26816
38816
410216
510616
610616

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: 30.3b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
0.4b
(* (atan2 im re) (log base))
0.5b
(* (log base) (log base))
28.0b
(sqrt (+ (* re re) (* im im)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
hypot-def
flip3-+ sqrt-div associate-/r/ flip-+ associate-/l/
+-commutative pow2 flip3-- frac-2neg pow1/2 div-sub clear-num flip-- div-inv
Counts
4 → 19
Calls
4 calls:
10.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
2.0ms
(* (atan2 im re) (log base))
3.0ms
(* (log base) (log base))
5.0ms
(sqrt (+ (* re re) (* im im)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
26.0ms
(* (atan2 im re) (log base))
156.0ms
(* (log base) (log base))
39.0ms
(sqrt (+ (* re re) (* im im)))

simplify75.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0228210
1741201
22617188
35002187

prune103.0ms

Filtered
31 candidates to 20 candidates (64.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New26531
Fresh000
Picked101
Done000
Total27532

Merged error: 0.1b

Counts
32 → 5

localize8.0ms

Local error

Found 1 expressions with local error:

0.3b
(/ (atan2 im re) (log (/ 1 base)))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
frac-2neg clear-num associate-/r* log-pow div-inv inv-pow
Counts
1 → 4
Calls
1 calls:
2.0ms
(/ (atan2 im re) (log (/ 1 base)))

series38.0ms

Counts
1 → 3
Calls
1 calls:
37.0ms
(/ (atan2 im re) (log (/ 1 base)))

simplify69.0ms

Algorithm
egg-herbie
Counts
7 → 7
Iterations

Useful iterations: 6 (66.0ms)

IterNodesCost
03328
14626
28426
314026
435426
596326
6500124

prune31.0ms

Filtered
7 candidates to 5 candidates (71.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New527
Fresh044
Picked011
Done000
Total5712

Merged error: 0.1b

Counts
12 → 7

localize9.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ 1 (log (/ 1 base)))
0.3b
(* (atan2 im re) (/ 1 (log (/ 1 base))))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r/
clear-num inv-pow
frac-2neg associate-/r* log-pow un-div-inv div-inv
associate-*r* *-commutative
Counts
2 → 13
Calls
2 calls:
2.0ms
(/ 1 (log (/ 1 base)))
3.0ms
(* (atan2 im re) (/ 1 (log (/ 1 base))))

series315.0ms

Counts
2 → 6
Calls
2 calls:
153.0ms
(/ 1 (log (/ 1 base)))
161.0ms
(* (atan2 im re) (/ 1 (log (/ 1 base))))

simplify134.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 3 (11.0ms)

IterNodesCost
04340
112338
232637
374630
4228430
5500130

prune42.0ms

Filtered
19 candidates to 8 candidates (42.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New19019
Fresh055
Picked011
Done011
Total19726

Merged error: 0.1b

Counts
26 → 7

localize16.0ms

Local error

Found 3 expressions with local error:

0.3b
(/ (- (* (atan2 im re) (log base)) (* (log (hypot im re)) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
0.4b
(* (atan2 im re) (log base))
0.5b
(* (log base) (log base))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/ *-commutative associate-/l/
pow2 flip3-- frac-2neg flip3-+ div-sub clear-num flip-- flip-+ div-inv
Counts
3 → 11
Calls
3 calls:
9.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (hypot im re)) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
2.0ms
(* (atan2 im re) (log base))
3.0ms
(* (log base) (log base))

series214.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (hypot im re)) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
27.0ms
(* (atan2 im re) (log base))
150.0ms
(* (log base) (log base))

simplify65.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0164155
1561147
22159136
35001135

prune49.0ms

Filtered
20 candidates to 11 candidates (55.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New16420
Fresh404
Picked101
Done022
Total21627

Merged error: 0.0b

Counts
27 → 6

regimes158.0ms

Accuracy

0% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0145
1165
2165

end0.0ms

sample1.5s

Algorithm
intervals
Results
592.0ms8000×body80valid
564.0ms8005×body80nan