Details

Time bar (total: 4.3s)

sample27.0ms

Algorithm
intervals
Results
13.0ms313×body80valid

simplify869.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
089
1148
2248
3408
4628
5828
6938
71148
81518
92138
102848
113408
123718
133948
143988
done3988

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x y (* (- x 1.0) z))
0.0b
(* (- x 1.0) z)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r*
expm1-log1p-u associate-*l/ log1p-expm1-u add-log-exp
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 34
Calls
2 calls:
1.0ms
(fma x y (* (- x 1.0) z))
28.0ms
(* (- x 1.0) z)

series100.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(fma x y (* (- x 1.0) z))
55.0ms
(* (- x 1.0) z)

simplify1.4s

Counts
40 → 40
Iterations

Useful iterations: 3 (537.0ms)

IterNodesCost
064347
1133332
2404297
31553293
done5001293

prune101.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma z (- x 1.0) (* x y))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma z (- x 1.0) (* x y))

series55.0ms

Counts
1 → 3
Calls
1 calls:
55.0ms
(fma z (- x 1.0) (* x y))

simplify1.4s

Counts
13 → 13
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
021146
137140
280121
3278121
41750121
done5001121

prune39.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma x y (/ (* (- (pow x 3) (pow 1.0 3)) z) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))
0.0b
(+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))
2.7b
(* (- (pow x 3) (pow 1.0 3)) z)
13.5b
(/ (* (- (pow x 3) (pow 1.0 3)) z) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

rewrite258.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
25×associate-*l*
18×*-un-lft-identity
16×difference-of-squares
12×unpow-prod-down cube-prod
11×add-exp-log add-cbrt-cube
add-log-exp
add-cube-cbrt sqr-pow
pow1
distribute-lft-out--
expm1-log1p-u associate-*l/ log1p-expm1-u
times-frac associate-*r* associate-/r* sum-log
cbrt-undiv flip3-- flip3-+ div-exp prod-exp associate-/r/ flip-- cbrt-unprod flip-+ associate-/l/
difference-cubes +-commutative associate-+r+ fma-def frac-2neg pow-prod-down clear-num *-commutative fma-udef div-inv associate-/l* unswap-sqr
Counts
4 → 97
Calls
4 calls:
0.0ms
(fma x y (/ (* (- (pow x 3) (pow 1.0 3)) z) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))
19.0ms
(+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))
107.0ms
(* (- (pow x 3) (pow 1.0 3)) z)
128.0ms
(/ (* (- (pow x 3) (pow 1.0 3)) z) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

series1.0ms