Details

Time bar (total: 18.8s)

sample81.0ms

Algorithm
intervals
Results
32.0ms304×body80nan
25.0ms256×body80valid

simplify17.0ms

Counts
1 → 1
Iterations
IterNodes
done32
232
127
018

prune13.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize54.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt *-un-lft-identity
18×add-cube-cbrt
17×pow1
times-frac
add-cbrt-cube add-exp-log
log-prod swap-sqr log-pow
expm1-log1p-u associate-*r* associate-*l* log1p-expm1-u add-log-exp
distribute-rgt-in associate-/r* distribute-lft-in associate-/l*
pow2 cbrt-undiv hypot-udef clear-num frac-2neg pow-plus div-exp pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod fma-udef div-inv unswap-sqr
Counts
4 → 87
Calls
4 calls:
0.0ms
(hypot re im)
6.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (fma 0.0 0.0 (* (log base) (log base))))
0.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
13.0ms
(* (log base) (log base))

series842.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(hypot re im)
384.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (fma 0.0 0.0 (* (log base) (log base))))
179.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
218.0ms
(* (log base) (log base))

simplify1.9s

Counts
99 → 99
Iterations
IterNodes
done5000
32007
2793
1305
0148

prune735.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0b

localize53.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt *-un-lft-identity
31×add-cube-cbrt
30×pow1
18×times-frac
12×log-prod swap-sqr log-pow sqrt-prod
10×add-cbrt-cube add-exp-log
associate-*r* associate-*l*
distribute-rgt-in associate-/r* distribute-lft-in
expm1-log1p-u log1p-expm1-u add-log-exp
associate-/l*
pow2 pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
cbrt-undiv clear-num frac-2neg div-exp fma-udef div-inv
Counts
4 → 127
Calls
4 calls:
5.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (sqrt (fma 0.0 0.0 (* (log base) (log base)))))
0.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
9.0ms
(* (log base) (log base))
11.0ms
(* (log base) (log base))

series958.0ms

Counts
4 → 12
Calls
4 calls:
378.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (sqrt (fma 0.0 0.0 (* (log base) (log base)))))
190.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
176.0ms
(* (log base) (log base))
213.0ms
(* (log base) (log base))

simplify1.8s

Counts
139 → 139
Iterations
IterNodes
done5000
31961
2761
1309
0153

prune1.0s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
29×*-un-lft-identity
26×add-cube-cbrt
20×pow1 times-frac
19×add-exp-log
17×associate-*r*
13×add-cbrt-cube
associate-*l*
log-prod swap-sqr log-pow
prod-exp
expm1-log1p-u div-exp log1p-expm1-u add-log-exp unswap-sqr
distribute-rgt-in associate-/r* distribute-lft-in cbrt-unprod associate-/l*
cbrt-undiv rec-exp 1-exp pow-prod-down *-commutative div-inv
pow2 clear-num frac-2neg pow-plus associate-*r/ pow-sqr un-div-inv pow-prod-up fma-udef pow-flip inv-pow
Counts
4 → 119
Calls
4 calls:
4.0ms
(/ 1 (fma 0.0 0.0 (* (log base) (log base))))
11.0ms
(* (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (/ 1 (fma 0.0 0.0 (* (log base) (log base)))))
0.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
8.0ms
(* (log base) (log base))

series972.0ms

Counts
4 → 12
Calls
4 calls:
264.0ms
(/ 1 (fma 0.0 0.0 (* (log base) (log base))))
380.0ms
(* (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (/ 1 (fma 0.0 0.0 (* (log base) (log base)))))
150.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
177.0ms
(* (log base) (log base))

simplify2.5s

Counts
131 → 131
Iterations
IterNodes
done5000
32947
21019
1392
0175

prune814.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

localize52.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
0.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
1.0ms
(cbrt base)
7.0ms
(cbrt base)
1.0ms
(cbrt base)

series909.0ms

Counts
4 → 12
Calls
4 calls:
204.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
240.0ms
(cbrt base)
218.0ms
(cbrt base)
246.0ms
(cbrt base)

simplify1.6s

Counts
61 → 61
Iterations
IterNodes
done5000
41584
3470
2191
1100
059

prune559.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0b

regimes531.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations
IterNodes
done21
121
017

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.4s8000×body80valid
1.3s8039×body80nan