Details

Time bar (total: 6.0s)

sample35.0ms

Algorithm
intervals
Results
22.0ms267×body80valid
1.0msbody640valid
1.0msbody160valid
0.0msbody1280valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.1b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.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:
1.0ms
(tanh (/ t y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
24.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series770.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(tanh (/ t y))
229.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
213.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
251.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify71.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05461798
121801400
250011397

prune373.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
0.0ms
(cbrt z)
0.0ms
(cbrt z)
1.0ms
(cbrt z)
0.0ms
(fma y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))) x)

series836.0ms

Counts
4 → 12
Calls
4 calls:
189.0ms
(cbrt z)
182.0ms
(cbrt z)
181.0ms
(cbrt z)
284.0ms
(fma y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))) x)

simplify39.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
0113301
1303264
21077255
35001250

prune245.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite81.0ms

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

series696.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(tanh (/ t y))
228.0ms
(* (* y (- (tanh (/ t y)) (tanh (/ x y)))) z)
223.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
166.0ms
(* y (- (tanh (/ t y)) (tanh (/ x y))))

simplify85.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06252120
127081694
250011691

prune404.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
42×associate-*r/
21×distribute-neg-frac
18×add-sqr-sqrt frac-add
16×associate-*r*
14×tanh-def
12×add-cube-cbrt *-un-lft-identity
11×associate-*l/
10×pow1 add-exp-log associate-*l* add-cbrt-cube
add-log-exp
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down prod-exp *-commutative distribute-rgt-neg-out cbrt-unprod unswap-sqr
flip3-+ flip-+ distribute-lft-out
+-commutative neg-mul-1 fma-def unsub-neg sum-log
Counts
4 → 112
Calls
4 calls:
23.0ms
(* (+ (* y (tanh (/ t y))) (* y (- (tanh (/ x y))))) z)
11.0ms
(+ (* y (tanh (/ t y))) (* y (- (tanh (/ x y)))))
8.0ms
(* y (- (tanh (/ x y))))
5.0ms
(* y (tanh (/ t y)))

series531.0ms

Counts
4 → 12
Calls
4 calls:
236.0ms
(* (+ (* y (tanh (/ t y))) (* y (- (tanh (/ x y))))) z)
159.0ms
(+ (* y (tanh (/ t y))) (* y (- (tanh (/ x y)))))
66.0ms
(* y (- (tanh (/ x y))))
68.0ms
(* y (tanh (/ t y)))

simplify80.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06101251
127951160
250021151

prune410.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

regimes111.0ms

Accuracy

0% (1.4b remaining)

Error of 1.5b against oracle of 0.0b and baseline of 1.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12510
22610
32610

end0.0ms

sample959.0ms

Algorithm
intervals
Results
669.0ms8273×body80valid
32.0ms102×body640valid
17.0ms43×body1280valid
11.0ms51×body320valid
5.0ms35×body160valid