Details

Time bar (total: 14.9s)

sample107.0ms

Algorithm
intervals
Results
41.0ms264×body80nan
29.0ms256×body80valid

simplify111.0ms

Counts
1 → 1
Iterations
IterNodes
done106
6106
5102
488
368
252
131
018

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot im re)
0.4b
(/ (fma (- 0.0) (log (hypot im re)) (* (log base) (atan2 im re))) (fma (log base) (log base) (* 0.0 0.0)))
0.4b
(* (log base) (atan2 im re))
0.6b
(fma (log base) (log base) (* 0.0 0.0))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×*-un-lft-identity add-cube-cbrt
times-frac
add-cbrt-cube add-exp-log
pow1
expm1-log1p-u associate-*l* log1p-expm1-u add-log-exp
associate-/r* associate-*r* associate-/l*
cbrt-undiv hypot-udef clear-num frac-2neg div-exp pow-prod-down prod-exp log-pow *-commutative cbrt-unprod fma-udef div-inv unswap-sqr
Counts
4 → 70
Calls
4 calls:
0.0ms
(hypot im re)
4.0ms
(/ (fma (- 0.0) (log (hypot im re)) (* (log base) (atan2 im re))) (fma (log base) (log base) (* 0.0 0.0)))
6.0ms
(* (log base) (atan2 im re))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series628.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(hypot im re)
151.0ms
(/ (fma (- 0.0) (log (hypot im re)) (* (log base) (atan2 im re))) (fma (log base) (log base) (* 0.0 0.0)))
58.0ms
(* (log base) (atan2 im re))
352.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify409.0ms

Counts
82 → 82
Iterations
IterNodes
done5000
2744
1239
0128

prune825.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 1 expressions with local error:

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

rewrite20.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-cbrt-cube add-exp-log associate-/l*
associate-/r/
expm1-log1p-u cbrt-undiv clear-num frac-2neg flip3-+ div-exp flip-+ log1p-expm1-u div-inv add-log-exp
Counts
1 → 39
Calls
1 calls:
18.0ms
(/ (atan2 im re) (+ 0 (log base)))

series38.0ms

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

simplify474.0ms

Counts
42 → 42
Iterations
IterNodes
done5001
2678
1161
076

prune224.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite38.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
associate-/r* div-exp prod-exp
associate-*l* associate-/l* unswap-sqr
expm1-log1p-u cbrt-undiv rec-exp 1-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp
clear-num frac-2neg pow-prod-down associate-*r/ un-div-inv *-commutative pow-flip inv-pow
Counts
2 → 78
Calls
2 calls:
8.0ms
(/ 1 (log base))
26.0ms
(* (atan2 im re) (/ 1 (log base)))

series310.0ms

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

simplify3.6s

Counts
84 → 84
Iterations
IterNodes
done5000
22191
1225
0104

prune387.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.0b

localize48.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
25×*-un-lft-identity
24×add-cube-cbrt
20×times-frac add-exp-log
16×associate-*r*
13×add-cbrt-cube
12×pow1
associate-*l*
prod-exp
expm1-log1p-u unpow-prod-down div-exp log1p-expm1-u add-log-exp unswap-sqr
pow-unpow associate-/r* cbrt-unprod associate-/l*
cbrt-undiv rec-exp 1-exp pow-prod-down log-pow *-commutative div-inv
pow-to-exp clear-num pow-pow frac-2neg pow-exp associate-*r/ un-div-inv pow-flip unpow2 inv-pow sqr-pow
Counts
4 → 113
Calls
4 calls:
6.0ms
(/ 1 (fma 0.0 0.0 (pow (log base) 2)))
17.0ms
(* (fma (- 0.0) (log (hypot im re)) (* (log base) (atan2 im re))) (/ 1 (fma 0.0 0.0 (pow (log base) 2))))
7.0ms
(* (log base) (atan2 im re))
9.0ms
(pow (log base) 2)

series699.0ms

Counts
4 → 12
Calls
4 calls:
283.0ms
(/ 1 (fma 0.0 0.0 (pow (log base) 2)))
135.0ms
(* (fma (- 0.0) (log (hypot im re)) (* (log base) (atan2 im re))) (/ 1 (fma 0.0 0.0 (pow (log base) 2))))
62.0ms
(* (log base) (atan2 im re))
218.0ms
(pow (log base) 2)

simplify1.9s

Counts
125 → 125
Iterations
IterNodes
done5000
22388
1426
0177

prune584.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes653.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
done10
210
19
08

end0.0ms

sample3.7s

Algorithm
intervals
Results
1.5s8000×body80valid
1.4s8087×body80nan