Details

Time bar (total: 4.8s)

sample51.0ms

Algorithm
intervals
Results
17.0ms256×body80valid
17.0ms266×body80nan

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02716
13316
23316

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.5b

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
hypot-def
flip3-+ flip-+
pow1/2 sqrt-div associate-/r/ associate-/l/
+-commutative pow2 frac-2neg associate-*l* clear-num log-pow div-inv
Counts
4 → 19
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)))
3.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
2.0ms
(* (log base) (log base))
5.0ms
(sqrt (+ (* re re) (* im im)))

series372.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
91.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
149.0ms
(* (log base) (log base))
34.0ms
(sqrt (+ (* re re) (* im im)))

simplify72.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0229206
1701198
22482194
35002186

prune117.0ms

Filtered
31 candidates to 23 candidates (74.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New23831
Fresh000
Picked101
Done000
Total24832

Merged error: 0.2b

Counts
32 → 8

localize20.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.0ms

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

series356.0ms

Counts
3 → 9
Calls
3 calls:
108.0ms
(/ (+ (* (log (hypot im re)) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
100.0ms
(* (log (hypot im re)) (log base))
148.0ms
(* (log base) (log base))

simplify59.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0162145
1518138
22015136
35001128

prune82.0ms

Filtered
19 candidates to 15 candidates (78.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New12719
Fresh527
Picked011
Done000
Total171027

Merged error: 0.1b

Counts
27 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
flip3-+ clear-num flip-+ associate-/l/
frac-2neg associate-/r* div-inv
*-commutative
pow2 remove-double-div inv-pow
Counts
4 → 23
Calls
4 calls:
8.0ms
(/ 1 (/ (+ (* (log base) (log base)) (* 0.0 0.0)) (+ (* (log (hypot im re)) (log base)) (* (atan2 im re) 0.0))))
8.0ms
(/ (+ (* (log base) (log base)) (* 0.0 0.0)) (+ (* (log (hypot im re)) (log base)) (* (atan2 im re) 0.0)))
2.0ms
(* (log (hypot im re)) (log base))
3.0ms
(* (log base) (log base))

series514.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(/ 1 (/ (+ (* (log base) (log base)) (* 0.0 0.0)) (+ (* (log (hypot im re)) (log base)) (* (atan2 im re) 0.0))))
139.0ms
(/ (+ (* (log base) (log base)) (* 0.0 0.0)) (+ (* (log (hypot im re)) (log base)) (* (atan2 im re) 0.0)))
96.0ms
(* (log (hypot im re)) (log base))
148.0ms
(* (log base) (log base))

simplify99.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0210275
1747261
23580237
35001230

prune154.0ms

Filtered
35 candidates to 27 candidates (77.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New29635
Fresh448
Picked101
Done101
Total351045

Merged error: 0.0b

Counts
45 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (fma 0.0 0.0 (pow (log base) 2)))
0.4b
(* (/ 1 (fma 0.0 0.0 (pow (log base) 2))) (+ (* (log (hypot im re)) (log base)) (* (atan2 im re) 0.0)))
0.4b
(* (log (hypot im re)) (log base))
0.5b
(pow (log base) 2)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
frac-times
frac-2neg flip3-+ clear-num flip-+
associate-*l/
+-commutative distribute-rgt-in distribute-lft-in associate-*r/ *-commutative div-inv
pow-to-exp associate-*l* unpow2 inv-pow sqr-pow
Counts
4 → 25
Calls
4 calls:
2.0ms
(/ 1 (fma 0.0 0.0 (pow (log base) 2)))
7.0ms
(* (/ 1 (fma 0.0 0.0 (pow (log base) 2))) (+ (* (log (hypot im re)) (log base)) (* (atan2 im re) 0.0)))
2.0ms
(* (log (hypot im re)) (log base))
2.0ms
(pow (log base) 2)

series729.0ms

Counts
4 → 12
Calls
4 calls:
214.0ms
(/ 1 (fma 0.0 0.0 (pow (log base) 2)))
274.0ms
(* (/ 1 (fma 0.0 0.0 (pow (log base) 2))) (+ (* (log (hypot im re)) (log base)) (* (atan2 im re) 0.0)))
96.0ms
(* (log (hypot im re)) (log base))
145.0ms
(pow (log base) 2)

simplify36.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0269391
11143388
25001388

prune112.0ms

Filtered
37 candidates to 26 candidates (70.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New36137
Fresh189
Picked011
Done000
Total371047

Merged error: 0.0b

Counts
47 → 10

regimes237.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02312
12312

end0.0ms

sample1.6s

Algorithm
intervals
Results
686.0ms8000×body80valid
549.0ms8159×body80nan