Details

Time bar (total: 6.4s)

sample38.0ms

Algorithm
intervals
Results
24.0ms268×body80valid
1.0msbody640valid
0.0msbody320valid

simplify78.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.5b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
0.3b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.0b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite39.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))
10.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)

series765.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(tanh (/ t y))
225.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
212.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
245.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify68.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05461798
121801400
250011397

prune376.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
0.6b
(cbrt z)
1.0b
(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)
1.0ms
(cbrt z)
1.0ms
(cbrt z)
0.0ms
(fma y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))) x)

series842.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
0113301
1303264
21077255
35001250

prune251.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite114.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/
18×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
+-commutative fma-def flip3-+ diff-log sum-log flip-+ unswap-sqr
Counts
4 → 137
Calls
4 calls:
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
42.0ms
(* (* y (- (tanh (/ t y)) (tanh (/ x y)))) z)
32.0ms
(+ (* (* y (- (tanh (/ t y)) (tanh (/ x y)))) z) x)
28.0ms
(* y (- (tanh (/ t y)) (tanh (/ x y))))

series854.0ms

Counts
4 → 12
Calls
4 calls:
222.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
223.0ms
(* (* y (- (tanh (/ t y)) (tanh (/ x y)))) z)
245.0ms
(+ (* (* y (- (tanh (/ t y)) (tanh (/ x y)))) z) x)
163.0ms
(* y (- (tanh (/ t y)) (tanh (/ x y))))

simplify86.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06912214
129331785
250011782

prune410.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (tanh (/ t y)) 3)
0.3b
(* z (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y))))
1.0b
(fma y (* z (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y)))) x)
15.6b
(cbrt (pow (tanh (/ t y)) 3))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
90×prod-diff
88×cbrt-prod
77×add-sqr-sqrt
68×*-un-lft-identity
66×add-cube-cbrt
47×distribute-rgt-in distribute-lft-in
25×unpow-prod-down cube-prod
15×cube-div
12×cbrt-div
11×associate-*r/
associate-*r* frac-sub sqr-pow
cube-mult unpow3 tanh-def
pow1 add-exp-log add-cbrt-cube
difference-of-squares
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow associate-*l*
sub-neg
pow-to-exp flip3-- pow-pow pow1/3 pow-prod-down pow-exp prod-exp *-commutative flip-- rem-cbrt-cube cbrt-unprod fma-udef distribute-lft-out-- rem-cube-cbrt unswap-sqr
Counts
4 → 195
Calls
4 calls:
2.0ms
(pow (tanh (/ t y)) 3)
64.0ms
(* z (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y)))) x)
3.0ms
(cbrt (pow (tanh (/ t y)) 3))

series658.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(pow (tanh (/ t y)) 3)
209.0ms
(* z (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y))))
247.0ms
(fma y (* z (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y)))) x)
80.0ms
(cbrt (pow (tanh (/ t y)) 3))

simplify94.0ms

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07273525
128222183
250022106

prune386.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes77.0ms

Accuracy

0% (1.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample1.0s

Algorithm
intervals
Results
710.0ms8322×body80valid
29.0ms98×body640valid
18.0ms42×body1280valid
14.0ms61×body320valid
7.0ms43×body160valid