Details

Time bar (total: 17.1s)

sample57.0ms

Algorithm
intervals
Results
33.0ms385×body80valid

simplify3.6s

Counts
1 → 1
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
01115
12513
26911
31889
44109
56939
69469
712639
815109
915959
done15959

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite227.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
14×add-log-exp
flip3-- frac-add flip-- distribute-lft-out distribute-lft-out--
associate-*r*
add-sqr-sqrt associate-*r/
pow1 add-exp-log add-cube-cbrt diff-log sum-log add-cbrt-cube
associate-*l*
sub-neg associate-+l+ associate-+r+ flip3-+ flip-+
+-commutative distribute-rgt-in associate-+l- associate-+r- distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 58
Calls
2 calls:
50.0ms
(+ (- d4 d1) (- d2 d3))
174.0ms
(* d1 (+ (- d4 d1) (- d2 d3)))

series128.0ms

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

simplify941.0ms

Counts
64 → 64
Iterations

Useful iterations: 2 (284.0ms)

IterNodesCost
0120894
1380839
21397787
done5000787

prune188.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize21.0ms

Local error

Found 1 expressions with local error:

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

rewrite597.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
associate-*r*
distribute-lft-out
add-sqr-sqrt
distribute-lft-out--
pow1 add-exp-log add-cube-cbrt distribute-rgt-neg-in associate-*l* add-cbrt-cube
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ add-log-exp unswap-sqr
Counts
1 → 28
Calls
1 calls:
596.0ms
(* d1 (+ (- (+ d4 d2) d1) (- d3)))

series57.0ms

Counts
1 → 3
Calls
1 calls:
57.0ms
(* d1 (+ (- (+ d4 d2) d1) (- d3)))

simplify2.3s

Counts
31 → 31
Iterations

Useful iterations: 3 (961.0ms)

IterNodesCost
057361
1168315
2599274
33822272
done5000272

prune75.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize17.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))

rewrite273.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
diff-log
add-sqr-sqrt sum-log
pow1 add-exp-log add-cube-cbrt sub-neg *-un-lft-identity add-cbrt-cube
associate-+l- associate-+l+ flip3-- flip--
+-commutative associate--l- flip3-+ associate--l+ flip-+ distribute-lft-out-- difference-of-squares
Counts
3 → 45
Calls
3 calls:
29.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))
9.0ms
(- (* d1 d2) (* d1 d3))
233.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))

series207.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(+ (- (* d1 d2) (* d1 d3)) (* d4 d1))
70.0ms
(- (* d1 d2) (* d1 d3))
86.0ms
(- (+ (- (* d1 d2) (* d1 d3)) (* d4 d1)) (* d1 d1))

simplify2.8s

Counts
54 → 54
Iterations

Useful iterations: 3 (1.2s)

IterNodesCost
088867
1255659
2942547
34686527
done5001527

prune116.0ms

Pruning

3 alts after pruning (1 fresh and 2 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))))

rewrite227.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×pow1 *-un-lft-identity
add-exp-log add-cube-cbrt flip3-+ associate-*r/ associate-*r* add-cbrt-cube flip-+ add-log-exp
associate-*l* sqrt-prod
frac-times sqrt-pow1 sqrt-div distribute-lft-out
flip3-- pow-prod-down flip--
distribute-rgt-in sub-neg distribute-lft-in pow1/2 associate-*l/ distribute-lft-out--
+-commutative prod-exp sum-log *-commutative cbrt-unprod difference-of-squares unswap-sqr
Counts
4 → 74
Calls
4 calls:
21.0ms
(+ (sqrt (* d1 (+ d4 (- d2 d3)))) d1)
167.0ms
(* (+ (sqrt (* d1 (+ d4 (- d2 d3)))) d1) (- (sqrt (* d1 (+ d4 (- d2 d3)))) d1))
21.0ms
(sqrt (* d1 (+ d4 (- d2 d3))))
15.0ms
(sqrt (* d1 (+ d4 (- d2 d3))))

series4.3s

Counts
4 → 12
Calls
4 calls:
233.0ms
(+ (sqrt (* d1 (+ d4 (- d2 d3)))) d1)
3.6s
(* (+ (sqrt (* d1 (+ d4 (- d2 d3)))) d1) (- (sqrt (* d1 (+ d4 (- d2 d3)))) d1))
234.0ms
(sqrt (* d1 (+ d4 (- d2 d3))))
231.0ms
(sqrt (* d1 (+ d4 (- d2 d3))))

simplify802.0ms

Counts
86 → 86
Iterations

Useful iterations: 2 (239.0ms)

IterNodesCost
01532020
14251660
217031478
done50001478

prune228.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes1.0ms