Details

Time bar (total: 18.3s)

sample35.0ms

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

simplify3.1s

Counts
1 → 1
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
01215
15415
214714
333414
499614
5330514
done500014

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 2.2b

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

rewrite91.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:
3.0ms
(tanh (/ x y))
21.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
57.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series1.0s

Counts
4 → 12
Calls
4 calls:
100.0ms
(tanh (/ x y))
286.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
336.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
317.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.1s

Counts
126 → 126
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02213259
15612726
218412366
done50002137

prune495.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.6b

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

rewrite190.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)
62.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
62.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
55.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series1.5s

Counts
4 → 12
Calls
4 calls:
409.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
373.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
330.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
378.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify922.0ms

Counts
187 → 187
Iterations

Useful iterations: done (909.0ms)

IterNodesCost
01855298
14334275
213543575
done50013125

prune1.0s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.6b

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

rewrite96.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:
3.0ms
(tanh (/ x y))
16.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
68.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series770.0ms

Counts
3 → 9
Calls
3 calls:
141.0ms
(tanh (/ x y))
383.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
245.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.5s

Counts
113 → 113
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02133221
16312684
224172320
done50012091

prune444.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.6b

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

rewrite285.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:
4.0ms
(tanh (/ x y))
29.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
93.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
149.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series1.1s

Counts
4 → 12
Calls
4 calls:
111.0ms
(tanh (/ x y))
349.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
329.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
284.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify2.2s

Counts
191 → 191
Iterations

Useful iterations: done (2.1s)

IterNodesCost
02975952
17414752
223863986
done50013457

prune588.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.6b

regimes215.0ms

Accuracy

0% (1.5b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01215
11515
done1515

end0.0ms

sample1.6s

Algorithm
intervals
Results
965.0ms8310×body80valid
34.0ms107×body640valid
20.0ms47×body1280valid
12.0ms50×body320valid
5.0ms34×body160valid