Details

Time bar (total: 14.5s)

sample50.0ms

Algorithm
intervals
Results
17.0ms256×body80valid
16.0ms238×body80nan

simplify15.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01828
12721
23321
done3321

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite4.0ms

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

series554.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(hypot re im)
141.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
104.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
261.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify821.0ms

Counts
71 → 71
Iterations

Useful iterations: 3 (191.0ms)

IterNodesCost
01111384
11991361
25281185
320031140
done50001140

prune331.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
43×times-frac
36×*-un-lft-identity
34×add-cube-cbrt
32×add-exp-log
20×add-cbrt-cube
13×associate-*r* associate-*l*
11×div-exp
prod-exp
pow1
cbrt-undiv associate-/r* associate-/l* unswap-sqr
expm1-log1p-u cbrt-unprod log1p-expm1-u div-inv add-log-exp
rec-exp 1-exp
frac-2neg clear-num
frac-times pow-flip associate-*r/ pow-prod-down associate-*l/ *-commutative fma-udef inv-pow
Counts
4 → 130
Calls
4 calls:
2.0ms
(/ 1 (hypot (log base) 0.0))
2.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
13.0ms
(* (/ 1 (hypot (log base) 0.0)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

series956.0ms

Counts
4 → 12
Calls
4 calls:
344.0ms
(/ 1 (hypot (log base) 0.0))
154.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
353.0ms
(* (/ 1 (hypot (log base) 0.0)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)))
104.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

simplify1.1s

Counts
142 → 142
Iterations

Useful iterations: 2 (160.0ms)

IterNodesCost
01853303
14543127
217822729
done50002729

prune490.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
82×times-frac
74×add-sqr-sqrt
62×add-cube-cbrt *-un-lft-identity
34×associate-*l*
21×distribute-lft-neg-in distribute-rgt-neg-in
20×add-exp-log add-cbrt-cube
13×associate-*r* associate-/r*
neg-mul-1
pow1 cbrt-undiv div-exp associate-/l*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp unswap-sqr
frac-2neg clear-num
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative fma-udef
Counts
4 → 169
Calls
4 calls:
3.0ms
(/ -1 (- (hypot (log base) 0.0)))
2.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
24.0ms
(* (/ -1 (- (hypot (log base) 0.0))) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

series954.0ms

Counts
4 → 12
Calls
4 calls:
345.0ms
(/ -1 (- (hypot (log base) 0.0)))
153.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
352.0ms
(* (/ -1 (- (hypot (log base) 0.0))) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)))
104.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

simplify920.0ms

Counts
181 → 181
Iterations

Useful iterations: 2 (211.0ms)

IterNodesCost
02434129
16054008
227723632
done50003632

prune737.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite307.0ms

Algorithm
rewrite-expression-head
Rules
1936×times-frac
930×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
632×exp-prod
600×distribute-lft-neg-in distribute-rgt-neg-in
317×log-pow
200×neg-mul-1
104×associate-/l*
13×div-inv
add-exp-log add-cbrt-cube
distribute-frac-neg
div-sub
pow1 add-log-exp
expm1-log1p-u log1p-expm1-u
cbrt-undiv neg-sub0 exp-neg log-prod div-exp associate-/r*
log-div exp-diff
frac-2neg rem-log-exp log-rec clear-num fma-udef rem-exp-log associate-/l/
Counts
4 → 1109
Calls
4 calls:
30.0ms
(/ (/ (- (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))) (- (hypot (log base) 0.0))) (hypot (log base) 0.0))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
81.0ms
(exp (/ (/ (- (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))) (- (hypot (log base) 0.0))) (hypot (log base) 0.0)))
95.0ms
(log (exp (/ (/ (- (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))) (- (hypot (log base) 0.0))) (hypot (log base) 0.0))))

series697.0ms

Counts
4 → 12
Calls
4 calls:
187.0ms
(/ (/ (- (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))) (- (hypot (log base) 0.0))) (hypot (log base) 0.0))
105.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
223.0ms
(exp (/ (/ (- (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))) (- (hypot (log base) 0.0))) (hypot (log base) 0.0)))
182.0ms
(log (exp (/ (/ (- (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))) (- (hypot (log base) 0.0))) (hypot (log base) 0.0))))

simplify695.0ms

Counts
1121 → 1121
Iterations

Useful iterations: done (653.0ms)

IterNodesCost
0129238146
1222336177
done500036112

prune4.1s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

regimes242.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01731
12131
done2131

end0.0ms

sample1.4s

Algorithm
intervals
Results
540.0ms7982×body80nan
536.0ms8000×body80valid