Details

Time bar (total: 6.2s)

sample23.0ms

Algorithm
intervals
Results
10.0ms258×body80valid
1.0msbody1280valid
0.0msbody640valid
0.0msbody160valid

simplify849.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01215
15415
214115
330315
490215
5287215
done500115

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.8b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite35.0ms

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

series463.0ms

Counts
3 → 9
Calls
3 calls:
82.0ms
(tanh (/ t y))
224.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
156.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify633.0ms

Counts
77 → 77
Iterations

Useful iterations: 2 (154.0ms)

IterNodesCost
01571726
15011702
221181608
done50011608

prune243.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.6b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
33×associate-*r/
27×frac-sub
19×tanh-def
13×add-sqr-sqrt
11×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
10×distribute-rgt-in distribute-lft-in
add-cube-cbrt sub-neg
associate-*r* associate-*l* add-log-exp
pow-prod-down prod-exp cbrt-unprod
flip3-- flip--
*-commutative distribute-lft-out-- difference-of-squares
diff-log unswap-sqr
Counts
4 → 105
Calls
4 calls:
1.0ms
(tanh (/ t y))
8.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
21.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
37.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series673.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(tanh (/ t y))
219.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
215.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
158.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify538.0ms

Counts
117 → 117
Iterations

Useful iterations: 2 (152.0ms)

IterNodesCost
01912513
15452486
218612350
done50002350

prune347.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.4b

localize14.0ms

Local error

Found 4 expressions with local error:

1.6b
(* (tanh (/ t y)) z)
1.7b
(* (- (tanh (/ x y))) z)
4.9b
(* (* (tanh (/ t y)) z) y)
6.7b
(* y (* (- (tanh (/ x y))) z))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log add-cbrt-cube
17×associate-*l*
16×add-sqr-sqrt
15×associate-*l/
12×add-cube-cbrt *-un-lft-identity
10×associate-*r*
pow-prod-down prod-exp cbrt-unprod
distribute-neg-frac
*-commutative tanh-def add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in associate-*r/
distribute-lft-neg-out unswap-sqr
neg-mul-1 distribute-rgt-neg-out
Counts
4 → 93
Calls
4 calls:
5.0ms
(* (tanh (/ t y)) z)
8.0ms
(* (- (tanh (/ x y))) z)
12.0ms
(* (* (tanh (/ t y)) z) y)
14.0ms
(* y (* (- (tanh (/ x y))) z))

series436.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(* (tanh (/ t y)) z)
103.0ms
(* (- (tanh (/ x y))) z)
115.0ms
(* (* (tanh (/ t y)) z) y)
115.0ms
(* y (* (- (tanh (/ x y))) z))

simplify608.0ms

Counts
105 → 105
Iterations

Useful iterations: 2 (139.0ms)

IterNodesCost
01641110
14391078
21848942
done5000942

prune302.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* (tanh (/ t y)) z) y) (* (* y (- (tanh (/ x y)))) z))
1.6b
(* (tanh (/ t y)) z)
4.9b
(* (* (tanh (/ t y)) z) y)
6.0b
(* y (- (tanh (/ x y))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
36×associate-*l/
16×associate-*r*
15×add-sqr-sqrt
13×pow1 add-exp-log add-cbrt-cube
12×associate-*r/ distribute-neg-frac
11×add-cube-cbrt *-un-lft-identity
frac-add tanh-def
associate-*l*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
distribute-lft-neg-in distribute-rgt-neg-in *-commutative distribute-rgt-neg-out
distribute-lft-neg-out unswap-sqr
+-commutative neg-mul-1 flip3-+ unsub-neg sum-log flip-+
Counts
4 → 93
Calls
4 calls:
15.0ms
(+ (* (* (tanh (/ t y)) z) y) (* (* y (- (tanh (/ x y)))) z))
5.0ms
(* (tanh (/ t y)) z)
15.0ms
(* (* (tanh (/ t y)) z) y)
8.0ms
(* y (- (tanh (/ x y))))

series747.0ms

Counts
4 → 12
Calls
4 calls:
465.0ms
(+ (* (* (tanh (/ t y)) z) y) (* (* y (- (tanh (/ x y)))) z))
100.0ms
(* (tanh (/ t y)) z)
111.0ms
(* (* (tanh (/ t y)) z) y)
71.0ms
(* y (- (tanh (/ x y))))

simplify46.0ms

Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
02101757