Details

Time bar (total: 5.6s)

sample25.0ms

Algorithm
intervals
Results
12.0ms270×body80valid
1.0msbody640valid
0.0msbody1280valid
0.0msbody160valid
0.0msbody320valid

simplify80.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 2.2b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.0b
(tanh (/ x y))
1.3b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
2.1b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite34.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:
1.0ms
(tanh (/ t y))
1.0ms
(tanh (/ x y))
28.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series631.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04741186
11938917
25002917

prune298.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
1.6b
(* z (- (tanh (/ x y))))
2.1b
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)
2.6b
(* z (tanh (/ t y)))

rewrite18.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:
1.0ms
(tanh (/ x y))
9.0ms
(* z (- (tanh (/ x y))))
0.0ms
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)
6.0ms
(* z (tanh (/ t y)))

series501.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(tanh (/ x y))
89.0ms
(* z (- (tanh (/ x y))))
243.0ms
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)
88.0ms
(* z (tanh (/ t y)))

simplify42.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0322502
11253449
25001447

prune302.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 1.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
31×add-sqr-sqrt *-un-lft-identity
29×add-cube-cbrt
22×distribute-rgt-in associate-+l+ 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
pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-- fma-def flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
4 → 115
Calls
4 calls:
1.0ms
(tanh (/ t y))
22.0ms
(+ (* (* z y) (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.0ms
(tanh (/ x y))
30.0ms
(* (* z y) (- (tanh (/ t y)) (tanh (/ x y))))

series699.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(tanh (/ t y))
331.0ms
(+ (* (* z y) (- (tanh (/ t y)) (tanh (/ x y)))) x)
84.0ms
(tanh (/ x y))
199.0ms
(* (* z y) (- (tanh (/ t y)) (tanh (/ x y))))

simplify78.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06491601
128231212
250031194

prune383.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 1.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
99×distribute-rgt-in distribute-lft-in
90×prod-diff
71×add-sqr-sqrt
69×*-un-lft-identity
67×add-cube-cbrt
44×associate-+l+
33×associate-*r/
18×frac-sub
13×tanh-def
11×pow1 add-exp-log add-cbrt-cube
10×sub-neg
associate-*r* associate-*l* add-log-exp
expm1-log1p-u pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
flip3-- *-commutative flip--
+-commutative fma-def flip3-+ sum-log flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 200
Calls
4 calls:
40.0ms
(+ (* z (* y (- (tanh (/ t y)) (tanh (/ x y))))) x)
1.0ms
(tanh (/ x y))
49.0ms
(* z (* y (- (tanh (/ t y)) (tanh (/ x y)))))
26.0ms
(* y (- (tanh (/ t y)) (tanh (/ x y))))

series767.0ms

Counts
4 → 12
Calls
4 calls:
334.0ms
(+ (* z (* y (- (tanh (/ t y)) (tanh (/ x y))))) x)
80.0ms
(tanh (/ x y))
196.0ms
(* z (* y (- (tanh (/ t y)) (tanh (/ x y)))))
158.0ms
(* y (- (tanh (/ t y)) (tanh (/ x y))))

simplify93.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
07703304
129942308
250022308

prune552.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

regimes86.0ms

Accuracy

1% (1.6b remaining)

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

bsearch36.0ms

Steps
ItersRangePoint
6
2.0443787590093356e+171
1.5626110964982398e+172
1.2510981974326683e+172

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04328
15228
25228

end0.0ms

sample624.0ms

Algorithm
intervals
Results
361.0ms8310×body80valid
21.0ms106×body640valid
9.0ms34×body1280valid
7.0ms55×body320valid
4.0ms42×body160valid