Details

Time bar (total: 6.4s)

sample25.0ms

Algorithm
intervals
Results
13.0ms264×body80valid
1.0msbody1280valid
0.0msbody320valid

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: 2.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.9b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.8b
(* 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:
3.0ms
(tanh (/ t y))
3.0ms
(tanh (/ x y))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
13.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series631.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(tanh (/ t y))
77.0ms
(tanh (/ x y))
253.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
217.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify59.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04711186
11884917
25001917

prune233.0ms

Filtered
101 candidates to 72 candidates (71.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New947101
Fresh011
Picked101
Done000
Total958103

Merged error: 0.4b

Counts
103 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.9b
(fma y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))) x)
0.9b
(* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))
1.1b
(* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
161×add-sqr-sqrt
65×unswap-sqr
61×*-un-lft-identity
57×add-cube-cbrt
55×distribute-rgt-in distribute-lft-in
54×cbrt-prod prod-diff
45×associate-*l*
42×add-cbrt-cube
39×cbrt-unprod
34×associate-*r*
33×associate-*r/
18×pow1 add-exp-log frac-sub
12×swap-sqr tanh-def
pow-prod-down prod-exp
*-commutative
sub-neg
expm1-log1p-u log1p-expm1-u add-log-exp
flip3-- flip-- distribute-lft-out-- difference-of-squares
pow1/3 fma-udef
Counts
4 → 243
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(fma y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))) x)
14.0ms
(* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))
36.0ms
(* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y)))))

series1.0s

Counts
4 → 12
Calls
4 calls:
176.0ms
(cbrt z)
284.0ms
(fma y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))) x)
338.0ms
(* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))
244.0ms
(* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y)))))

simplify67.0ms

Algorithm
egg-herbie
Counts
255 → 255
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
011564906
150013458

prune537.0ms

Filtered
255 candidates to 142 candidates (55.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2532255
Fresh257
Picked011
Done000
Total2558263

Merged error: 0.4b

Counts
263 → 8

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
54×prod-diff
52×*-un-lft-identity
46×add-cube-cbrt
33×distribute-rgt-in distribute-lft-in associate-*r/
27×frac-sub
18×tanh-def
15×associate-*r*
10×pow1 add-exp-log add-cbrt-cube
associate-*l*
sub-neg
expm1-log1p-u log1p-expm1-u add-log-exp
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
fma-udef
Counts
4 → 175
Calls
4 calls:
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
14.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
13.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
13.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series1.1s

Counts
4 → 12
Calls
4 calls:
451.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
223.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
219.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
224.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify71.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04292924
117012147
250022093

prune482.0ms

Filtered
187 candidates to 108 candidates (57.8%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1870187
Fresh066
Picked011
Done011
Total1878195

Merged error: 0.4b

Counts
195 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

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

series667.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
07171796
130411397
250011393

prune294.0ms

Filtered
145 candidates to 99 candidates (68.3%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1441145
Fresh145
Picked011
Done022
Total1458153

Merged error: 0.4b

Counts
153 → 8

regimes186.0ms

Accuracy

0% (1.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample577.0ms

Algorithm
intervals
Results
321.0ms8250×body80valid
16.0ms105×body640valid
12.0ms56×body1280valid
10.0ms69×body320valid
3.0ms40×body160valid