Details

Time bar (total: 24.4s)

sample62.0ms

Algorithm
intervals
Results
35.0ms385×body80valid

simplify7.6s

Counts
1 → 1
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
01115
12613
28110
32419
45459
59819
613579
718519
822479
923589
done23589

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite802.0ms

Algorithm
rewrite-expression-head
Rules
97×*-un-lft-identity
45×prod-diff
35×add-sqr-sqrt
29×add-cube-cbrt
24×distribute-lft-out
18×distribute-rgt-in distribute-lft-in distribute-lft-out--
11×add-log-exp
associate-*r*
fma-neg
pow1 add-exp-log diff-log add-cbrt-cube
sub-neg associate-*l* associate--l+
expm1-log1p-u flip3-- associate-*r/ sum-log flip-- log1p-expm1-u difference-of-squares
associate--l- associate-+l- pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 104
Calls
2 calls:
305.0ms
(- (+ (- d2 d3) d4) d1)
488.0ms
(* d1 (- (+ (- d2 d3) d4) d1))

series102.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(- (+ (- d2 d3) d4) d1)
57.0ms
(* d1 (- (+ (- d2 d3) d4) d1))

simplify2.9s

Counts
110 → 110
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
01382073
12781644
27371329
340671170
done50001170

prune221.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize28.0ms

Local error

Found 3 expressions with local error:

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

rewrite281.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:
33.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))
8.0ms
(- (* d1 d2) (* d1 d3))
238.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))

series175.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))
50.0ms
(- (* d1 d2) (* d1 d3))
75.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))

simplify1.4s

Counts
73 → 73
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01061089
1297848
21107692
done5000659

prune250.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- (+ (- d2 d3) d4) d1)) (cbrt (- (+ (- d2 d3) d4) d1)))
0.5b
(cbrt (- (+ (- d2 d3) d4) d1))
0.5b
(cbrt (- (+ (- d2 d3) d4) d1))
0.5b
(cbrt (- (+ (- d2 d3) d4) d1))

rewrite1.2s

Algorithm
rewrite-expression-head
Rules
138×*-un-lft-identity
77×cbrt-prod
52×distribute-lft-out--
37×add-sqr-sqrt
26×distribute-lft-out
22×swap-sqr
18×cbrt-div
15×add-cube-cbrt
11×pow1
10×associate-*r* associate-*l*
flip3-- pow1/3 flip--
difference-of-squares
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 131
Calls
4 calls:
836.0ms
(* (cbrt (- (+ (- d2 d3) d4) d1)) (cbrt (- (+ (- d2 d3) d4) d1)))
127.0ms
(cbrt (- (+ (- d2 d3) d4) d1))
102.0ms
(cbrt (- (+ (- d2 d3) d4) d1))
138.0ms
(cbrt (- (+ (- d2 d3) d4) d1))

series1.6s

Counts
4 → 12
Calls
4 calls:
581.0ms
(* (cbrt (- (+ (- d2 d3) d4) d1)) (cbrt (- (+ (- d2 d3) d4) d1)))
307.0ms
(cbrt (- (+ (- d2 d3) d4) d1))
397.0ms
(cbrt (- (+ (- d2 d3) d4) d1))
341.0ms
(cbrt (- (+ (- d2 d3) d4) d1))

simplify1.6s

Counts
143 → 143
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01272726
12612518
27432370
323662051
done50002025

prune338.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (sqrt (* d1 (- (+ d4 d2) d3))) d1)
0.2b
(* (+ (sqrt (* d1 (- (+ d4 d2) d3))) d1) (- (sqrt (* d1 (- (+ d4 d2) d3))) d1))
0.8b
(sqrt (* d1 (- (+ d4 d2) d3)))
0.8b
(sqrt (* d1 (- (+ d4 d2) d3)))

rewrite357.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
27×*-un-lft-identity
24×prod-diff
21×add-cube-cbrt
14×distribute-rgt-in distribute-lft-in
12×pow1 sqrt-prod
add-exp-log associate-*r/ associate-*r* add-cbrt-cube add-log-exp
flip3-- associate-*l* flip--
expm1-log1p-u frac-times fma-def sqrt-pow1 flip3-+ sqrt-div flip-+ log1p-expm1-u distribute-lft-out
pow-prod-down
sub-neg pow1/2 associate-*l/ distribute-lft-out--
+-commutative prod-exp sum-log *-commutative cbrt-unprod difference-of-squares unswap-sqr
Counts
4 → 110
Calls
4 calls:
29.0ms
(+ (sqrt (* d1 (- (+ d4 d2) d3))) d1)
232.0ms
(* (+ (sqrt (* d1 (- (+ d4 d2) d3))) d1) (- (sqrt (* d1 (- (+ d4 d2) d3))) d1))
44.0ms
(sqrt (* d1 (- (+ d4 d2) d3)))
48.0ms
(sqrt (* d1 (- (+ d4 d2) d3)))

series4.2s

Counts
4 → 12
Calls
4 calls:
223.0ms
(+ (sqrt (* d1 (- (+ d4 d2) d3))) d1)
3.5s
(* (+ (sqrt (* d1 (- (+ d4 d2) d3))) d1) (- (sqrt (* d1 (- (+ d4 d2) d3))) d1))
235.0ms
(sqrt (* d1 (- (+ d4 d2) d3)))
237.0ms
(sqrt (* d1 (- (+ d4 d2) d3)))

simplify1.0s

Counts
122 → 122
Iterations

Useful iterations: done (1.0s)

IterNodesCost
02143484
15852890
220272410
done50002288

prune283.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes1.0ms