Details

Time bar (total: 23.8s)

sample86.0ms

Algorithm
intervals
Results
29.0ms256×body80valid
25.0ms224×body80nan

simplify134.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
01828
13122
25222
36822
48822
510022
610422
done10422

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize46.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.4b
(* (atan2 im re) (log base))
0.5b
(fma (log base) (log base) (* 0.0 0.0))

rewrite53.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:
0.0ms
(hypot re im)
31.0ms
(/ (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
18.0ms
(* (atan2 im re) (log base))
1.0ms
(fma (log base) (log base) (* 0.0 0.0))

series714.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(hypot re im)
117.0ms
(/ (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
45.0ms
(* (atan2 im re) (log base))
465.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.7s

Counts
91 → 91
Iterations

Useful iterations: done (2.7s)

IterNodesCost
01531628
13081592
29231401
332071342
done50021341

prune612.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 1 expressions with local error:

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

rewrite11.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:
8.0ms
(/ (atan2 im re) (- (log base)))

series48.0ms

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

simplify4.1s

Counts
68 → 68
Iterations

Useful iterations: done (4.1s)

IterNodesCost
0108903
1186857
2396831
3777823
41638823
done5000820

prune243.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.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:
5.0ms
(/ -1 (log base))
16.0ms
(* (atan2 im re) (/ -1 (log base)))

series308.0ms

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

simplify5.4s

Counts
76 → 76
Iterations

Useful iterations: done (5.4s)

IterNodesCost
0103741
1205670
2665612
31955604
done5000600

prune278.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (atan2 im re) (log base))
0.5b
(pow (log base) 2)
0.6b
(cbrt (pow (fma 0.0 0.0 (pow (log base) 2)) 3))
0.7b
(pow (fma 0.0 0.0 (pow (log base) 2)) 3)

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
12×cbrt-prod
10×pow1 unpow-prod-down
add-exp-log
add-cbrt-cube
pow-unpow log-prod cube-prod
expm1-log1p-u associate-*r* log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in associate-*l* sqr-pow
cube-mult pow-to-exp pow-pow unpow3 pow-exp log-pow
pow1/3 pow-prod-down prod-exp *-commutative rem-cbrt-cube cbrt-unprod unpow2 rem-cube-cbrt unswap-sqr
Counts
4 → 96
Calls
4 calls:
15.0ms
(* (atan2 im re) (log base))
3.0ms
(pow (log base) 2)
3.0ms
(cbrt (pow (fma 0.0 0.0 (pow (log base) 2)) 3))
4.0ms
(pow (fma 0.0 0.0 (pow (log base) 2)) 3)

series793.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (atan2 im re) (log base))
209.0ms
(pow (log base) 2)
256.0ms
(cbrt (pow (fma 0.0 0.0 (pow (log base) 2)) 3))
292.0ms
(pow (fma 0.0 0.0 (pow (log base) 2)) 3)

simplify3.7s

Counts
108 → 108
Iterations

Useful iterations: done (3.7s)

IterNodesCost
01471272
12861082
2788914
34493803
done5000801

prune401.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0b

regimes316.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 2 (2.0ms)

IterNodesCost
099
1149
2198
3218
done218

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.8s7907×body80nan
1.2s8000×body80valid