Details

Time bar (total: 6.0s)

sample23.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
3.0ms256×pre80true

simplify929.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
01435
13335
211831
352231
4268931
done500031

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.4b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (/ (+ 1.0 (fma alpha beta (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta)))
0.1b
(/ (/ (/ (+ 1.0 (fma alpha beta (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta))) (+ (+ alpha beta) (fma 2.0 1.0 1.0)))
5.1b
(/ (+ 1.0 (fma alpha beta (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
872×times-frac
765×*-un-lft-identity
360×add-sqr-sqrt add-cube-cbrt
229×distribute-lft-out
72×associate-/l*
31×div-inv
19×add-exp-log add-cbrt-cube
11×associate-/r*
10×cbrt-undiv div-exp
associate-/l/
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
flip3-+ associate-/r/ flip-+
Counts
3 → 457
Calls
3 calls:
12.0ms
(/ (/ (+ 1.0 (fma alpha beta (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta)))
42.0ms
(/ (/ (/ (+ 1.0 (fma alpha beta (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta))) (+ (+ alpha beta) (fma 2.0 1.0 1.0)))
8.0ms
(/ (+ 1.0 (fma alpha beta (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta)))

series415.0ms

Counts
3 → 9
Calls
3 calls:
156.0ms
(/ (/ (+ 1.0 (fma alpha beta (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta)))
171.0ms
(/ (/ (/ (+ 1.0 (fma alpha beta (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta))) (+ (+ alpha beta) (fma 2.0 1.0 1.0)))
87.0ms
(/ (+ 1.0 (fma alpha beta (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta)))

simplify1.3s

Counts
466 → 466
Iterations

Useful iterations: 2 (425.0ms)

IterNodesCost
050323454
1121322764
2436521815
done500021815

prune935.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.8b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (sqrt (+ 1.0 (fma alpha beta (+ alpha beta)))) (sqrt (fma 1.0 2.0 (+ alpha beta))))
0.5b
(/ (sqrt (+ 1.0 (fma alpha beta (+ alpha beta)))) (sqrt (fma 1.0 2.0 (+ alpha beta))))
5.0b
(sqrt (+ 1.0 (fma alpha beta (+ alpha beta))))
5.0b
(sqrt (+ 1.0 (fma alpha beta (+ alpha beta))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
112×sqrt-prod
98×*-un-lft-identity
84×times-frac
72×add-sqr-sqrt
66×add-cube-cbrt
16×distribute-lft-out
14×associate-/l*
12×associate-/r*
add-exp-log sqrt-div add-cbrt-cube
pow1
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv rem-sqrt-square sqrt-undiv frac-2neg sqrt-pow1 pow1/2 div-exp clear-num hypot-def div-inv
Counts
4 → 182
Calls
4 calls:
9.0ms
(/ (sqrt (+ 1.0 (fma alpha beta (+ alpha beta)))) (sqrt (fma 1.0 2.0 (+ alpha beta))))
9.0ms
(/ (sqrt (+ 1.0 (fma alpha beta (+ alpha beta)))) (sqrt (fma 1.0 2.0 (+ alpha beta))))
4.0ms
(sqrt (+ 1.0 (fma alpha beta (+ alpha beta))))
4.0ms
(sqrt (+ 1.0 (fma alpha beta (+ alpha beta))))

series331.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(/ (sqrt (+ 1.0 (fma alpha beta (+ alpha beta)))) (sqrt (fma 1.0 2.0 (+ alpha beta))))
113.0ms
(/ (sqrt (+ 1.0 (fma alpha beta (+ alpha beta)))) (sqrt (fma 1.0 2.0 (+ alpha beta))))
55.0ms
(sqrt (+ 1.0 (fma alpha beta (+ alpha beta))))
49.0ms
(sqrt (+ 1.0 (fma alpha beta (+ alpha beta))))

simplify641.0ms

Counts
194 → 194
Iterations

Useful iterations: 3 (213.0ms)

IterNodesCost
01525112
12904636
26704484
317254470
done50004470

prune583.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.8b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ (+ alpha beta) (fma 2.0 1.0 1.0)) (fma 1.0 2.0 (+ alpha beta)))
2.4b
(/ (/ (+ 1.0 (fma alpha beta (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta))) (* (+ (+ alpha beta) (fma 2.0 1.0 1.0)) (fma 1.0 2.0 (+ alpha beta))))
5.1b
(/ (+ 1.0 (fma alpha beta (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta)))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
55×*-un-lft-identity
52×times-frac
32×add-sqr-sqrt
30×add-cube-cbrt
20×associate-/l*
19×add-exp-log add-cbrt-cube
13×distribute-lft-out
cbrt-undiv div-exp
pow1 associate-*l*
associate-*l/ associate-/r* div-inv
expm1-log1p-u flip3-+ associate-*r* prod-exp cbrt-unprod flip-+ log1p-expm1-u associate-/l/ add-log-exp
frac-2neg clear-num associate-/r/ fma-udef
distribute-rgt-in distribute-lft-in pow-prod-down *-commutative unswap-sqr
Counts
3 → 117
Calls
3 calls:
40.0ms
(* (+ (+ alpha beta) (fma 2.0 1.0 1.0)) (fma 1.0 2.0 (+ alpha beta)))
24.0ms
(/ (/ (+ 1.0 (fma alpha beta (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta))) (* (+ (+ alpha beta) (fma 2.0 1.0 1.0)) (fma 1.0 2.0 (+ alpha beta))))
8.0ms
(/ (+ 1.0 (fma alpha beta (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta)))

series296.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(* (+ (+ alpha beta) (fma 2.0 1.0 1.0)) (fma 1.0 2.0 (+ alpha beta)))
169.0ms
(/ (/ (+ 1.0 (fma alpha beta (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta))) (* (+ (+ alpha beta) (fma 2.0 1.0 1.0)) (fma 1.0 2.0 (+ alpha beta))))
85.0ms
(/ (+ 1.0 (fma alpha beta (+ alpha beta))) (fma 1.0 2.0 (+ alpha beta)))

simplify347.0ms

Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
01983814
15133768