Details

Time bar (total: 5.2s)

sample23.0ms

Algorithm
intervals
Results
10.0ms263×body80valid
1.0msbody640valid
0.0msbody160valid

simplify77.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune10.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.4b

Counts
2 → 2

localize16.0ms

Local error

Found 4 expressions with local error:

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

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

series854.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(tanh (/ x y))
286.0ms
(tanh (/ t y))
229.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
257.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify55.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04741186
11938917
25002917

prune292.0ms

Filtered
101 candidates to 72 candidates (71.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New956101
Fresh011
Picked101
Done000
Total967103

Merged error: 0.7b

Counts
103 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(log1p (expm1 (tanh (/ t y))))
0.3b
(expm1 (tanh (/ t y)))
0.5b
(* z (- (log1p (expm1 (tanh (/ t y)))) (tanh (/ x y))))
1.2b
(fma y (* z (- (log1p (expm1 (tanh (/ t y)))) (tanh (/ x y)))) x)

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

series710.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(log1p (expm1 (tanh (/ t y))))
71.0ms
(expm1 (tanh (/ t y)))
262.0ms
(* z (- (log1p (expm1 (tanh (/ t y)))) (tanh (/ x y))))
304.0ms
(fma y (* z (- (log1p (expm1 (tanh (/ t y)))) (tanh (/ x y)))) x)

simplify43.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03071124
11215798
25001702

prune246.0ms

Filtered
90 candidates to 58 candidates (64.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New90090
Fresh066
Picked011
Done000
Total90797

Merged error: 0.7b

Counts
97 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

1.2b
(fma y (* z (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y)))) x)
7.2b
(cbrt (tanh (/ t y)))
7.2b
(cbrt (tanh (/ t y)))
7.2b
(cbrt (tanh (/ t y)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod cbrt-div
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 tanh-def
fma-udef
Counts
4 → 58
Calls
4 calls:
1.0ms
(fma y (* z (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y)))) x)
3.0ms
(cbrt (tanh (/ t y)))
3.0ms
(cbrt (tanh (/ t y)))
3.0ms
(cbrt (tanh (/ t y)))

series771.0ms

Counts
4 → 12
Calls
4 calls:
255.0ms
(fma y (* z (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y)))) x)
173.0ms
(cbrt (tanh (/ t y)))
172.0ms
(cbrt (tanh (/ t y)))
171.0ms
(cbrt (tanh (/ t y)))

simplify50.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0197671
1502608
21833591
35001562

prune305.0ms

Filtered
70 candidates to 65 candidates (92.9%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New69170
Fresh145
Picked011
Done011
Total70777

Merged error: 0.7b

Counts
77 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
35×associate-*r/
18×add-sqr-sqrt
17×associate-*r*
12×add-cube-cbrt *-un-lft-identity distribute-neg-frac
10×pow1 add-exp-log add-cbrt-cube
associate-*l* frac-add tanh-def
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
distribute-rgt-in neg-mul-1 distribute-lft-in flip3-+ distribute-rgt-neg-out flip-+ distribute-lft-out
Counts
4 → 100
Calls
4 calls:
2.0ms
(tanh (/ t y))
11.0ms
(* z (+ (* y (tanh (/ t y))) (* y (- (tanh (/ x y))))))
7.0ms
(* y (- (tanh (/ x y))))
5.0ms
(* y (tanh (/ t y)))

series469.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(tanh (/ t y))
254.0ms
(* z (+ (* y (tanh (/ t y))) (* y (- (tanh (/ x y))))))
71.0ms
(* y (- (tanh (/ x y))))
64.0ms
(* y (tanh (/ t y)))

simplify83.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
0618855
13279792
25002791

prune331.0ms

Filtered
112 candidates to 91 candidates (81.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1102112
Fresh224
Picked101
Done112
Total1145119

Merged error: 0.4b

Counts
119 → 5

regimes109.0ms

Accuracy

0% (1.8b remaining)

Error of 1.8b against oracle of 0.1b and baseline of 1.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0149
1149

end0.0ms

sample594.0ms

Algorithm
intervals
Results
334.0ms8302×body80valid
16.0ms103×body640valid
10.0ms64×body320valid
10.0ms44×body1280valid
2.0ms30×body160valid