Details

Time bar (total: 6.0s)

sample25.0ms

Algorithm
intervals
Results
12.0ms368×body80valid

simplify4.9s

Counts
1 → 1
Iterations

Useful iterations: 3 (20.0ms)

IterNodesCost
01115
12613
28010
32279
45399
511379
615139
721579
825809
926099
done26099

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* d1 d2) (* d1 d3))
0.0b
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
0.0b
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity diff-log
prod-diff
fma-def fma-neg sum-log
pow1 add-exp-log expm1-log1p-u sub-neg associate-+l+ add-cbrt-cube log1p-expm1-u
associate-+l- flip3-- flip-- distribute-lft-out--
+-commutative associate--l- flip3-+ associate--l+ flip-+ difference-of-squares
Counts
3 → 64
Calls
3 calls:
3.0ms
(- (* d1 d2) (* d1 d3))
74.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
13.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))

series131.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(- (* d1 d2) (* d1 d3))
56.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))
38.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))

simplify443.0ms

Counts
73 → 73
Iterations

Useful iterations: done (441.0ms)

IterNodesCost
01061089
1305848
21207692
done5000675

prune171.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (fma d1 (- d2 d3) (* d4 d1)) (* d1 d1))
0.0b
(fma d1 (- d2 d3) (* d4 d1))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity add-log-exp
fma-neg prod-diff
pow1 add-exp-log expm1-log1p-u add-cbrt-cube fma-udef log1p-expm1-u
sub-neg flip3-- diff-log associate--l+ flip-- difference-of-squares
Counts
2 → 32
Calls
2 calls:
3.0ms
(- (fma d1 (- d2 d3) (* d4 d1)) (* d1 d1))
0.0ms
(fma d1 (- d2 d3) (* d4 d1))

series88.0ms

Counts
2 → 6
Calls
2 calls:
53.0ms
(- (fma d1 (- d2 d3) (* d4 d1)) (* d1 d1))
34.0ms
(fma d1 (- d2 d3) (* d4 d1))

simplify148.0ms

Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
060570
1136538
2412445