Details

Time bar (total: 17.8s)

sample47.0ms

Algorithm
intervals
Results
30.0ms270×body80valid
0.0msbody640valid
0.0msbody1280valid
0.0msbody160valid

simplify3.5s

Counts
1 → 1
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
01215
15415
214714
333414
499614
5330514
done500014

prune16.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 2.2b

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
0.8b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.7b
(* z (- (tanh (/ t y)) (tanh (/ x y))))

rewrite142.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
29×*-un-lft-identity
27×prod-diff
25×add-cube-cbrt
18×frac-sub
13×tanh-def
11×distribute-rgt-in distribute-lft-in associate-*r/
pow1 add-exp-log add-cbrt-cube add-log-exp
associate-*r*
expm1-log1p-u log1p-expm1-u
sub-neg fma-neg associate-*l*
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 114
Calls
4 calls:
4.0ms
(tanh (/ x y))
27.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
101.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series1.2s

Counts
4 → 12
Calls
4 calls:
133.0ms
(tanh (/ x y))
318.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
410.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
295.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.4s

Counts
126 → 126
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02213259
15612726
218412366
done50002137

prune520.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.6b

localize44.0ms

Local error

Found 4 expressions with local error:

0.8b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.7b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.7b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.7b
(* z (- (tanh (/ t y)) (tanh (/ x y))))

rewrite241.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
54×prod-diff
52×*-un-lft-identity
46×add-cube-cbrt
33×distribute-rgt-in distribute-lft-in associate-*r/
27×frac-sub
18×tanh-def
15×associate-*r*
10×pow1 add-exp-log add-cbrt-cube
associate-*l*
sub-neg
expm1-log1p-u log1p-expm1-u add-log-exp
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
fma-udef
Counts
4 → 175
Calls
4 calls:
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
95.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
58.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
71.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series1.5s

Counts
4 → 12
Calls
4 calls:
395.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
344.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
368.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
400.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify976.0ms

Counts
187 → 187
Iterations

Useful iterations: done (965.0ms)

IterNodesCost
01855298
14334275
213543575
done50013125

prune846.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.6b

localize28.0ms

Local error

Found 3 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
5.8b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt *-un-lft-identity prod-diff
23×add-cube-cbrt
18×frac-sub
13×tanh-def
11×distribute-rgt-in distribute-lft-in associate-*r/
pow1 add-exp-log add-cbrt-cube
associate-*r* add-log-exp
expm1-log1p-u sub-neg fma-neg pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
3 → 104
Calls
3 calls:
4.0ms
(tanh (/ x y))
20.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
100.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series1.1s

Counts
3 → 9
Calls
3 calls:
499.0ms
(tanh (/ x y))
362.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
266.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.9s

Counts
113 → 113
Iterations

Useful iterations: done (1.9s)

IterNodesCost
02133221
16312684
224172320
done50012091

prune562.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.6b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
1.7b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
3.7b
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite238.0ms

Algorithm
rewrite-expression-head
Rules
63×prod-diff
56×add-sqr-sqrt
55×distribute-rgt-in distribute-lft-in
54×*-un-lft-identity
50×add-cube-cbrt
33×associate-*r/
27×frac-sub
19×tanh-def
11×pow1 add-exp-log add-cbrt-cube
sub-neg
associate-*r* associate-*l* add-log-exp
expm1-log1p-u pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
flip3-- fma-neg flip--
*-commutative distribute-lft-out-- difference-of-squares
diff-log unswap-sqr
Counts
4 → 179
Calls
4 calls:
2.0ms
(tanh (/ x y))
16.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
61.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
150.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series1.2s

Counts
4 → 12
Calls
4 calls:
146.0ms
(tanh (/ x y))
393.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
385.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
301.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify1.6s

Counts
191 → 191
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02975952
17414752
223863986
done50013457

prune611.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.6b

regimes4.0ms