Details

Time bar (total: 11.6s)

sample55.0ms

Algorithm
intervals
Results
18.0ms260×body80nan
18.0ms256×body80valid

simplify60.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01828
13122
25222
36822
48822
510022
610422
done10422

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize21.0ms

Local error

Found 3 expressions with local error:

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

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l* add-log-exp
fma-udef
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
3 → 49
Calls
3 calls:
2.0ms
(/ (fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im))))) (fma (log base) (log base) (* 0.0 0.0)))
0.0ms
(fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im)))))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series377.0ms

Counts
3 → 9
Calls
3 calls:
67.0ms
(/ (fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im))))) (fma (log base) (log base) (* 0.0 0.0)))
37.0ms
(fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im)))))
272.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify935.0ms

Counts
58 → 58
Iterations

Useful iterations: 3 (180.0ms)

IterNodesCost
0931372
11691357
23921181
311701124
done50011124

prune290.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
26×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×distribute-lft-neg-in distribute-rgt-neg-in
12×associate-/r*
pow1
log-pow
neg-mul-1
add-exp-log add-cbrt-cube associate-/l*
cbrt-undiv expm1-log1p-u frac-2neg div-exp clear-num log1p-expm1-u div-inv add-log-exp
Counts
1 → 65
Calls
1 calls:
4.0ms
(/ (atan2 im re) (- (log base)))

series50.0ms

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

simplify2.6s

Counts
68 → 68
Iterations

Useful iterations: done (2.6s)

IterNodesCost
0108903
1186857
2389831
3941823
42013823
done5000820

prune173.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt times-frac
20×add-cube-cbrt *-un-lft-identity
16×associate-*r*
11×pow1
add-exp-log add-cbrt-cube
log-pow
associate-/r*
associate-*l* associate-/l*
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
2 → 70
Calls
2 calls:
2.0ms
(/ -1 (log base))
8.0ms
(* (atan2 im re) (/ -1 (log base)))

series205.0ms

Counts
2 → 6
Calls
2 calls:
159.0ms
(/ -1 (log base))
45.0ms
(* (atan2 im re) (/ -1 (log base)))

simplify2.3s

Counts
76 → 76
Iterations

Useful iterations: 3 (1.0s)

IterNodesCost
0103741
1208670
2651612
32373604
done5000604

prune204.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
332×times-frac
165×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
63×distribute-lft-neg-in distribute-rgt-neg-in
54×pow1 associate-/r*
51×log-pow
21×neg-mul-1
15×add-exp-log
add-cbrt-cube
div-exp
associate-/l*
div-inv
cbrt-undiv
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u add-log-exp
pow-flip associate-/r/ inv-pow
Counts
2 → 270
Calls
2 calls:
12.0ms
(/ 1 (/ (log base) (- (atan2 im re))))
5.0ms
(/ (log base) (- (atan2 im re)))

series110.0ms

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

simplify2.1s

Counts
276 → 276
Iterations

Useful iterations: done (2.1s)

IterNodesCost
03064755
16513983
211963580
330633490
done50003488

prune338.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 0b

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

Useful iterations: 0 (0.0ms)

IterNodesCost
088
1108
done108

end0.0ms

sample1.5s

Algorithm
intervals
Results
572.0ms8174×body80nan
562.0ms8000×body80valid