Details

Time bar (total: 13.6s)

sample30.0ms

Algorithm
intervals
Results
15.0ms272×body80valid
0.0msbody1280valid
0.0msbody320valid
0.0msbody640valid
0.0msbody160valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.1b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

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

series561.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(tanh (/ x y))
69.0ms
(tanh (/ t y))
227.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
195.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify56.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04741186
11938917
25002917

prune502.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

0.9b
(* z (- (tanh (/ t y)) (* (* (cbrt (tanh (/ x y))) (cbrt (tanh (/ x y)))) (cbrt (tanh (/ x y))))))
6.6b
(cbrt (tanh (/ x y)))
6.6b
(cbrt (tanh (/ x y)))
6.6b
(cbrt (tanh (/ x y)))

rewrite302.0ms

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

series662.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(* z (- (tanh (/ t y)) (* (* (cbrt (tanh (/ x y))) (cbrt (tanh (/ x y)))) (cbrt (tanh (/ x y))))))
154.0ms
(cbrt (tanh (/ x y)))
151.0ms
(cbrt (tanh (/ x y)))
160.0ms
(cbrt (tanh (/ x y)))

simplify107.0ms

Algorithm
egg-herbie
Counts
281 → 281
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
026229583
150019172

prune5.3s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.2b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
33×cbrt-div
27×frac-sub
18×tanh-def
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
fma-udef
Counts
4 → 88
Calls
4 calls:
0.0ms
(fma y (* (* z (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))) x)
11.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
11.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
11.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

series1.3s

Counts
4 → 12
Calls
4 calls:
229.0ms
(fma y (* (* z (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))) x)
347.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
349.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
352.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

simplify58.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
05062042
116631945
250021909

prune1.6s

Pruning

6 alts after pruning (4 fresh and 2 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
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
0.0b
(tanh (/ t y))
4.7b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite87.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-exp-log add-cbrt-cube
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 flip3-+ diff-log associate-*l* sum-log *-commutative flip-+
Counts
4 → 142
Calls
4 calls:
13.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
12.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
2.0ms
(tanh (/ t y))
54.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series757.0ms

Counts
4 → 12
Calls
4 calls:
209.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
332.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
73.0ms
(tanh (/ t y))
142.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify91.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07632264
132671740
250011733

prune1.1s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

regimes112.0ms

Accuracy

0% (1.8b remaining)

Error of 2.1b against oracle of 0.3b and baseline of 2.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01616
11616

end0.0ms

sample694.0ms

Algorithm
intervals
Results
406.0ms8327×body80valid
19.0ms103×body640valid
10.0ms38×body1280valid
9.0ms67×body320valid
3.0ms33×body160valid