Details

Time bar (total: 28.3s)

sample32.0ms

Algorithm
intervals
Results
16.0ms257×body80valid
1.0msbody640valid
1.0msbody320valid

simplify2.8s

Counts
1 → 1
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
012354
154354
2147329
3334329
41010329
54826329
done5000329

prune16.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.1b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite63.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-cbrt-cube add-exp-log 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:
2.0ms
(tanh (/ x y))
11.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
46.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series1.2s

Counts
4 → 12
Calls
4 calls:
110.0ms
(tanh (/ x y))
338.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
360.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
353.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify2.2s

Counts
126 → 126
Iterations

Useful iterations: done (2.1s)

IterNodesCost
022162068
159357593
2241551593
done500046864

prune888.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

localize36.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.0b
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
0.1b
(- (tanh (/ t y)) (tanh (/ x y)))
3.2b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
45×prod-diff
41×add-sqr-sqrt *-un-lft-identity
37×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
18×frac-sub
13×tanh-def
11×associate-*r/
pow1 add-cbrt-cube add-exp-log
add-log-exp
sub-neg associate-*r*
expm1-log1p-u log1p-expm1-u
fma-def fma-neg pow-prod-down prod-exp cbrt-unprod
flip3-- flip-- distribute-lft-out-- difference-of-squares
+-commutative sum-log flip3-+ diff-log associate-*l* *-commutative flip-+
Counts
4 → 142
Calls
4 calls:
3.0ms
(tanh (/ t y))
21.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
22.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
55.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series1.3s

Counts
4 → 12
Calls
4 calls:
102.0ms
(tanh (/ t y))
492.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
398.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
271.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify3.6s

Counts
154 → 154
Iterations

Useful iterations: done (3.6s)

IterNodesCost
025879421
178073082
2442964156
done500064013

prune1.0s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.3b

localize64.0ms

Local error

Found 4 expressions with local error:

3.2b
(* (* y z) (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))))
5.6b
(cbrt (tanh (/ t y)))
5.6b
(cbrt (tanh (/ t y)))
5.6b
(cbrt (tanh (/ t y)))

rewrite476.0ms

Algorithm
rewrite-expression-head
Rules
441×cbrt-div
243×frac-times
236×associate-*r/
210×tanh-def
189×frac-sub
81×associate-*l/
10×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
cbrt-prod pow1 add-cbrt-cube add-exp-log
prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r* pow-prod-down prod-exp cbrt-unprod
sub-neg
flip3-- associate-*l* *-commutative flip--
Counts
4 → 269
Calls
4 calls:
446.0ms
(* (* y z) (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))))
2.0ms
(cbrt (tanh (/ t y)))
2.0ms
(cbrt (tanh (/ t y)))
2.0ms
(cbrt (tanh (/ t y)))

series950.0ms

Counts
4 → 12
Calls
4 calls:
302.0ms
(* (* y z) (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))))
220.0ms
(cbrt (tanh (/ t y)))
200.0ms
(cbrt (tanh (/ t y)))
228.0ms
(cbrt (tanh (/ t y)))

simplify3.8s

Counts
281 → 281
Iterations

Useful iterations: done (3.7s)

IterNodesCost
0965300041
13973296363
done5000290266

prune3.5s

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.3b

localize93.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

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

series1.5s

Counts
4 → 12
Calls
4 calls:
325.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
385.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
418.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
351.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify1.9s

Counts
97 → 97
Iterations

Useful iterations: done (1.9s)

IterNodesCost
018542330
146540197
2187536511
done500133696

prune820.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0.3b

regimes626.0ms

Accuracy

1.5% (1.5b remaining)

Error of 1.9b against oracle of 0.4b and baseline of 1.9b

bsearch4.0ms

simplify10.0ms

Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
022791
127791
done27791

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.0s8352×body80valid
45.0ms64×body320valid
24.0ms100×body640valid
9.0ms29×body1280valid
4.0ms39×body160valid