Details

Time bar (total: 17.8s)

sample41.0ms

Algorithm
intervals
Results
22.0ms365×body80valid

simplify6.5s

Counts
1 → 1
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
010244
126244
261204
3142179
4318179
5551179
6690179
7764179
8947179
91467179
102586179
114353179
done5000179

prune16.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x 3.0) 4.0)
0.1b
(fma x (- (* x 3.0) 4.0) 1.0)
0.1b
(* 3.0 (fma x (- (* x 3.0) 4.0) 1.0))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
pow1 add-cbrt-cube add-exp-log add-log-exp
expm1-log1p-u associate-*r* associate-*l* prod-diff fma-udef log1p-expm1-u
distribute-rgt-in sub-neg distribute-lft-in flip3-- fma-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod flip-- unswap-sqr
Counts
3 → 50
Calls
3 calls:
7.0ms
(- (* x 3.0) 4.0)
0.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
6.0ms
(* 3.0 (fma x (- (* x 3.0) 4.0) 1.0))

series169.0ms

Counts
3 → 9
Calls
3 calls:
68.0ms
(- (* x 3.0) 4.0)
41.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
61.0ms
(* 3.0 (fma x (- (* x 3.0) 4.0) 1.0))

simplify3.1s

Counts
59 → 59
Iterations

Useful iterations: 3 (905.0ms)

IterNodesCost
010013676
123611667
262811164
3248810964
done500010964

prune243.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (fma 9.0 (* x x) 3.0) (* 12.0 x))
0.1b
(fma 9.0 (* x x) 3.0)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-cube-cbrt add-log-exp
fma-neg prod-diff
expm1-log1p-u pow1 add-cbrt-cube add-exp-log fma-udef log1p-expm1-u
sub-neg flip3-- diff-log associate--l+ flip--
Counts
2 → 31
Calls
2 calls:
5.0ms
(- (fma 9.0 (* x x) 3.0) (* 12.0 x))
0.0ms
(fma 9.0 (* x x) 3.0)

series149.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(- (fma 9.0 (* x x) 3.0) (* 12.0 x))
105.0ms
(fma 9.0 (* x x) 3.0)

simplify3.2s

Counts
37 → 37
Iterations

Useful iterations: done (3.2s)

IterNodesCost
0549365
11377788
24257557
318927332
done50076742

prune183.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma x (- (* 9.0 x) 12.0) 3.0)

rewrite1.0ms

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

series61.0ms

Counts
1 → 3
Calls
1 calls:
61.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

simplify2.8s

Counts
13 → 13
Iterations

Useful iterations: 3 (91.0ms)

IterNodesCost
0233159
1432571
2972571
32722451
411962451
done50092451

prune71.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

localize50.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (fma x (- (* x 3.0) 4.0) 1.0)) (cbrt (fma x (- (* x 3.0) 4.0) 1.0)))
0.2b
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))
0.2b
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))
0.2b
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×*-un-lft-identity add-cube-cbrt
11×pow1
pow1/3
swap-sqr associate-*r* associate-*l* add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
13.0ms
(* (cbrt (fma x (- (* x 3.0) 4.0) 1.0)) (cbrt (fma x (- (* x 3.0) 4.0) 1.0)))
1.0ms
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))
1.0ms
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))
1.0ms
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))

series796.0ms

Counts
4 → 12
Calls
4 calls:
221.0ms
(* (cbrt (fma x (- (* x 3.0) 4.0) 1.0)) (cbrt (fma x (- (* x 3.0) 4.0) 1.0)))
159.0ms
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))
193.0ms
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))
223.0ms
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))

simplify232.0ms

Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
015041081