Details

Time bar (total: 2.9s)

sample52.0ms

Algorithm
intervals
Results
17.0ms256×body80valid
17.0ms266×body80nan

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02716
14416
25616
37416
48016
58016

prune3.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

localize19.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)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
flip3-+ sqrt-div associate-/r/ *-commutative flip-+ associate-/l/
pow2 flip3-- frac-2neg pow1/2 div-sub clear-num flip-- div-inv
Counts
4 → 14
Calls
4 calls:
9.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))
5.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series240.0ms

Counts
4 → 12
Calls
4 calls:
38.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))
142.0ms
(* (log base) (log base))
34.0ms
(sqrt (+ (* re re) (* im im)))

simplify70.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0216213
1677207
22304196
35001196

prune107.0ms

Filtered
26 candidates to 18 candidates (69.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New18826
Fresh000
Picked101
Done000
Total19827

Merged error: 0.2b

Counts
27 → 8

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite2.0ms

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

series32.0ms

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

simplify31.0ms

Algorithm
egg-herbie
Counts
6 → 6
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
03223
14123
26423
313920
474120
5500120

prune40.0ms

Filtered
6 candidates to 4 candidates (66.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New426
Fresh167
Picked011
Done000
Total5914

Merged error: 0.1b

Counts
14 → 9

localize8.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)))

series189.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 5 (39.0ms)

IterNodesCost
03935
19035
218132
334028
4147728
5500125

prune43.0ms

Filtered
17 candidates to 6 candidates (35.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New17017
Fresh077
Picked011
Done011
Total17926

Merged error: 0.1b

Counts
26 → 9

localize8.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))

simplify248.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (12.0ms)

IterNodesCost
05256
111253
233645
3118643
4484043
5500243

prune25.0ms

Filtered
18 candidates to 9 candidates (50.0%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New16218
Fresh066
Picked011
Done022
Total161127

Merged error: 0.1b

Counts
27 → 11

regimes185.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
536.0ms8159×body80nan