Details

Time bar (total: 2.8s)

sample54.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
17.0ms266×body80nan

simplify13.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: 27.4b

Counts
2 → 1

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

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

series244.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
31.0ms
(* (atan2 im re) (log base))
147.0ms
(* (log base) (log base))
34.0ms
(sqrt (+ (* re re) (* im im)))

simplify73.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0228210
1741201
22617188
35002187

prune114.0ms

Filtered
31 candidates to 20 candidates (64.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New24731
Fresh000
Picked101
Done000
Total25732

Merged error: 0.2b

Counts
32 → 7

localize11.0ms

Local error

Found 1 expressions with local error:

0.4b
(/ (atan2 im re) (log base))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
frac-2neg clear-num div-inv
Counts
1 → 3
Calls
1 calls:
3.0ms
(/ (atan2 im re) (log base))

series50.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
6 → 6
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
03223
14123
26423
313920
475120
5500220

prune57.0ms

Filtered
6 candidates to 4 candidates (66.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New426
Fresh156
Picked011
Done000
Total5813

Merged error: 0.1b

Counts
13 → 8

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite5.0ms

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

series177.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 5 (40.0ms)

IterNodesCost
03935
19035
218132
334028
4152428
5500225

prune36.0ms

Filtered
17 candidates to 6 candidates (35.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New17017
Fresh066
Picked011
Done011
Total17825

Merged error: 0.1b

Counts
25 → 8

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite5.0ms

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

series90.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(/ 1 (/ (log base) (atan2 im re)))
44.0ms
(/ (log base) (atan2 im re))

simplify40.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (12.0ms)

IterNodesCost
05256
111253
233645
3121443
4500143

prune27.0ms

Filtered
18 candidates to 9 candidates (50.0%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New16218
Fresh055
Picked011
Done022
Total161026

Merged error: 0.1b

Counts
26 → 10

regimes182.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
063

end0.0ms

sample1.5s

Algorithm
intervals
Results
560.0ms8000×body80valid
540.0ms8159×body80nan