Details

Time bar (total: 18.8s)

sample30.0ms

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

simplify3.3s

Counts
1 → 1
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
01215
15415
214714
333414
499614
5330514
done500014

prune14.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 2.2b

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

rewrite105.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))
22.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
75.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series1.1s

Counts
4 → 12
Calls
4 calls:
94.0ms
(tanh (/ x y))
286.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
386.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
309.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.2s

Counts
126 → 126
Iterations

Useful iterations: done (1.2s)

IterNodesCost
02213259
15612726
218412366
done50002137

prune512.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.6b

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

rewrite232.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:
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
74.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
74.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
70.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series1.4s

Counts
4 → 12
Calls
4 calls:
375.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
328.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
323.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
325.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.0s

Counts
187 → 187
Iterations

Useful iterations: done (994.0ms)

IterNodesCost
01855298
14334275
213543575
done50013125

prune924.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.6b

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

rewrite90.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:
2.0ms
(tanh (/ x y))
24.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
59.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series766.0ms

Counts
3 → 9
Calls
3 calls:
152.0ms
(tanh (/ x y))
351.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
262.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.7s

Counts
113 → 113
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02133221
16312684
224172320
done50012091

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

rewrite236.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))
14.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
68.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
139.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series1.3s

Counts
4 → 12
Calls
4 calls:
133.0ms
(tanh (/ x y))
406.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
427.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
297.0ms
(* y (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify1.5s

Counts
191 → 191
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02975952
17414752
223863986
done50013457

prune736.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.6b

regimes324.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.8s

Algorithm
intervals
Results
1.2s8310×body80valid
62.0ms47×body1280valid
34.0ms107×body640valid
11.0ms50×body320valid
5.0ms34×body160valid