Details

Time bar (total: 6.0s)

sample26.0ms

Algorithm
intervals
Results
13.0ms269×body80valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune8.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 1.0b

Counts
2 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.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 (/ t y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
11.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series767.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(tanh (/ t y))
223.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
215.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
248.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify65.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05461798
121801400
250011397

prune342.0ms

Filtered
126 candidates to 87 candidates (69.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1197126
Fresh011
Picked101
Done000
Total1208128

Merged error: 0.5b

Counts
128 → 8

localize19.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.5b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
2.5b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
2.5b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

rewrite25.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:
1.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)
7.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
7.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
7.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

series1.3s

Counts
4 → 12
Calls
4 calls:
249.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)
363.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
366.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
369.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

simplify56.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05062042
116631945
250021909

prune471.0ms

Filtered
100 candidates to 92 candidates (92.0%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1000100
Fresh077
Picked011
Done000
Total1008108

Merged error: 0.5b

Counts
108 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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 (/ x y))
2.0ms
(tanh (/ t y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
16.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series540.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(tanh (/ x y))
79.0ms
(tanh (/ t y))
224.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
155.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify81.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06501841
128801440
250021437

prune302.0ms

Filtered
128 candidates to 86 candidates (67.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1280128
Fresh066
Picked011
Done011
Total1288136

Merged error: 0.5b

Counts
136 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.6b
(fma y (* z (- (log (exp (tanh (/ t y)))) (tanh (/ x y)))) x)
0.7b
(* z (- (log (exp (tanh (/ t y)))) (tanh (/ x y))))
4.0b
(log (exp (tanh (/ t y))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
42×prod-diff
40×add-sqr-sqrt
39×*-un-lft-identity
36×add-cube-cbrt
29×log-pow
26×distribute-rgt-in distribute-lft-in
21×exp-prod
14×pow1
log-prod
add-exp-log associate-*r* associate--l+ add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l*
sub-neg associate-*r/ distribute-lft-out--
flip3-- rem-log-exp pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef tanh-def difference-of-squares unswap-sqr
Counts
4 → 116
Calls
4 calls:
2.0ms
(tanh (/ t y))
1.0ms
(fma y (* z (- (log (exp (tanh (/ t y)))) (tanh (/ x y)))) x)
10.0ms
(* z (- (log (exp (tanh (/ t y)))) (tanh (/ x y))))
2.0ms
(log (exp (tanh (/ t y))))

series620.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(tanh (/ t y))
247.0ms
(fma y (* z (- (log (exp (tanh (/ t y)))) (tanh (/ x y)))) x)
212.0ms
(* z (- (log (exp (tanh (/ t y)))) (tanh (/ x y))))
83.0ms
(log (exp (tanh (/ t y))))

simplify47.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03791936
113541166
250011031

prune236.0ms

Filtered
128 candidates to 68 candidates (53.1%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1280128
Fresh055
Picked011
Done022
Total1288136

Merged error: 0.5b

Counts
136 → 8

regimes196.0ms

Accuracy

0% (1.9b remaining)

Error of 2.3b against oracle of 0.4b and baseline of 2.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01622
11622

end0.0ms

sample681.0ms

Algorithm
intervals
Results
406.0ms8287×body80valid
19.0ms104×body640valid
11.0ms44×body1280valid
10.0ms71×body320valid
4.0ms48×body160valid