Details

Time bar (total: 17.8s)

sample112.0ms

Algorithm
intervals
Results
43.0ms256×body80valid
34.0ms239×body80nan

simplify159.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
01828
13122
25222
36822
48822
510222
610622
done10622

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize37.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1
log-prod
expm1-log1p-u associate-*r* log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in associate-*l* associate-/r* associate-/l*
associate-/l/
cbrt-undiv hypot-udef flip3-- frac-2neg div-sub div-exp pow-prod-down prod-exp clear-num log-pow *-commutative flip-- cbrt-unprod fma-udef div-inv unswap-sqr
Counts
4 → 79
Calls
4 calls:
1.0ms
(hypot re im)
32.0ms
(/ (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
9.0ms
(* (atan2 im re) (log base))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series694.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(hypot re im)
102.0ms
(/ (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
35.0ms
(* (atan2 im re) (log base))
471.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.1s

Counts
91 → 91
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01531628
13291592
213011404
done50011348

prune885.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 1 expressions with local error:

0.3b
(/ (atan2 im re) (+ 0 (log base)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
15×times-frac
11×add-sqr-sqrt add-cube-cbrt
distribute-lft-out
pow1 associate-/r*
log-pow
add-exp-log add-cbrt-cube associate-/l*
associate-/r/
cbrt-undiv expm1-log1p-u frac-2neg flip3-+ div-exp clear-num flip-+ log1p-expm1-u div-inv add-log-exp
Counts
1 → 39
Calls
1 calls:
13.0ms
(/ (atan2 im re) (+ 0 (log base)))

series38.0ms

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

simplify542.0ms

Counts
42 → 42
Iterations

Useful iterations: done (540.0ms)

IterNodesCost
076562
1161429
2677408
done5000403

prune253.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
26×times-frac
21×*-un-lft-identity
20×add-cube-cbrt
16×associate-*r*
15×add-exp-log
12×pow1
add-cbrt-cube
log-pow
div-exp prod-exp associate-/r*
associate-*l* associate-/l* unswap-sqr
cbrt-undiv expm1-log1p-u rec-exp 1-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
2 → 78
Calls
2 calls:
12.0ms
(/ 1 (log base))
20.0ms
(* (atan2 im re) (/ 1 (log base)))

series298.0ms

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

simplify4.9s

Counts
84 → 84
Iterations

Useful iterations: done (4.9s)

IterNodesCost
0104789
1225657
22061552
done5000540

prune259.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
27×*-un-lft-identity
26×add-cube-cbrt
20×add-exp-log times-frac
17×associate-*r*
13×add-cbrt-cube
12×pow1
log-prod associate-*l*
prod-exp
expm1-log1p-u unpow-prod-down div-exp log1p-expm1-u add-log-exp unswap-sqr
distribute-rgt-in pow-unpow distribute-lft-in associate-/r* cbrt-unprod associate-/l*
cbrt-undiv frac-times rec-exp flip3-- 1-exp pow-prod-down associate-*l/ log-pow *-commutative flip-- div-inv
pow-to-exp pow-flip pow-pow frac-2neg associate-*r/ pow-exp clear-num un-div-inv unpow2 inv-pow sqr-pow
Counts
4 → 123
Calls
4 calls:
5.0ms
(/ 1 (fma 0.0 0.0 (pow (log base) 2)))
40.0ms
(* (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (/ 1 (fma 0.0 0.0 (pow (log base) 2))))
9.0ms
(* (atan2 im re) (log base))
3.0ms
(pow (log base) 2)

series638.0ms

Counts
4 → 12
Calls
4 calls:
295.0ms
(/ 1 (fma 0.0 0.0 (pow (log base) 2)))
113.0ms
(* (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (/ 1 (fma 0.0 0.0 (pow (log base) 2))))
46.0ms
(* (atan2 im re) (log base))
184.0ms
(pow (log base) 2)

simplify2.5s

Counts
135 → 135
Iterations

Useful iterations: done (2.5s)

IterNodesCost
02072291
15212127
229851812
done50021802

prune727.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0b

regimes439.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
088
196
2106
done106

end0.0ms

sample4.0s

Algorithm
intervals
Results
1.7s8139×body80nan
1.6s8000×body80valid