Details

Time bar (total: 3.9s)

sample25.0ms

Algorithm
intervals
Results
13.0ms263×body80valid
0.0msbody1280valid
0.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.5b

Counts
2 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series648.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(tanh (/ t y))
86.0ms
(tanh (/ x y))
263.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
219.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify63.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04741186
11938917
25002917

prune255.0ms

Filtered
101 candidates to 72 candidates (71.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New974101
Fresh011
Picked101
Done000
Total985103

Merged error: 0.2b

Counts
103 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.5b
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)
1.4b
(* z (tanh (/ t y)))
2.1b
(* z (- (tanh (/ x y))))

rewrite17.0ms

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

series501.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(tanh (/ x y))
247.0ms
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)
88.0ms
(* z (tanh (/ t y)))
90.0ms
(* z (- (tanh (/ x y))))

simplify41.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0322502
11253449
25001447

prune239.0ms

Filtered
88 candidates to 71 candidates (80.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New88088
Fresh044
Picked011
Done000
Total88593

Merged error: 0.2b

Counts
93 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
32×add-sqr-sqrt *-un-lft-identity
30×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
11×associate-*r/
pow1 add-exp-log frac-sub add-cbrt-cube
tanh-def
add-log-exp
associate-*r*
expm1-log1p-u sub-neg log1p-expm1-u
fma-def pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-- flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
4 → 117
Calls
4 calls:
5.0ms
(tanh (/ t y))
6.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
2.0ms
(tanh (/ x y))
14.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series676.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(tanh (/ t y))
350.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
82.0ms
(tanh (/ x y))
161.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify80.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06851652
130001257
250021253

prune282.0ms

Filtered
129 candidates to 86 candidates (66.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1290129
Fresh033
Picked011
Done011
Total1295134

Merged error: 0.2b

Counts
134 → 5

localize3.0ms

Local error

Found 1 expressions with local error:

0.0b
(- x (* x z))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity fma-neg prod-diff add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u
Counts
1 → 20
Calls
1 calls:
3.0ms
(- x (* x z))

series39.0ms

Counts
1 → 3
Calls
1 calls:
39.0ms
(- x (* x z))

simplify47.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
08996
128884
2134383
3500169

prune31.0ms

Filtered
23 candidates to 17 candidates (73.9%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New22123
Fresh112
Picked011
Done022
Total23528

Merged error: 0.2b

Counts
28 → 5

regimes124.0ms

Accuracy

0% (1.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0189
1229
2239
3239

end0.0ms

sample679.0ms

Algorithm
intervals
Results
411.0ms8349×body80valid
17.0ms89×body640valid
11.0ms42×body1280valid
7.0ms54×body320valid
4.0ms42×body160valid