Details

Time bar (total: 7.4s)

sample27.0ms

Algorithm
intervals
Results
13.0ms263×body80valid
0.0msbody640valid
0.0msbody160valid
0.0msbody320valid

simplify77.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.4b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.1b
(- (tanh (/ t y)) (tanh (/ x y)))
0.7b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.6b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite67.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:
2.0ms
(tanh (/ x y))
14.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
47.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series734.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(tanh (/ x y))
211.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
206.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
238.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify66.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05601798
122571400
250011397

prune362.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.5b

localize17.0ms

Local error

Found 4 expressions with local error:

0.7b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.6b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.6b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.6b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

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
pow1 add-exp-log add-cbrt-cube tanh-def
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l* fma-udef
sub-neg
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 85
Calls
4 calls:
48.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series928.0ms

Counts
4 → 12
Calls
4 calls:
209.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
238.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
242.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
239.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify59.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04311260
11744961
25003961

prune345.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.5b

localize24.0ms

Local error

Found 4 expressions with local error:

1.6b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
6.3b
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
6.3b
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
6.3b
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
33×cbrt-div associate-*r/
27×frac-sub
18×tanh-def
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod flip3-- pow1/3 flip--
fma-udef
Counts
4 → 76
Calls
4 calls:
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
22.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
22.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
26.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series1.9s

Counts
4 → 12
Calls
4 calls:
254.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
557.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
562.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
565.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify57.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
05421817
118831757
250011751

prune597.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.5b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt *-un-lft-identity
27×prod-diff
24×add-cube-cbrt
18×frac-sub
14×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 pow-prod-down prod-exp cbrt-unprod
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
4 → 116
Calls
4 calls:
2.0ms
(tanh (/ t y))
2.0ms
(tanh (/ x y))
13.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
56.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series528.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(tanh (/ t y))
90.0ms
(tanh (/ x y))
209.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
151.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify76.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06501841
128801440
250021437

prune337.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.5b

regimes257.0ms

Accuracy

60.1% (1.1b remaining)

Error of 1.6b against oracle of 0.5b and baseline of 3.3b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03767
13767

end0.0ms

sample622.0ms

Algorithm
intervals
Results
302.0ms8327×body80valid
13.0ms95×body640valid
8.0ms42×body1280valid
8.0ms75×body320valid
3.0ms38×body160valid