Details

Time bar (total: 1.7m)

sample22.0ms

Algorithm
intervals
Results
10.0ms259×body80valid
1.0msbody640valid
0.0msbody320valid
0.0msbody1280valid

simplify80.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune12.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.8b

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series640.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(tanh (/ x y))
84.0ms
(tanh (/ t y))
256.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
218.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify59.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04741186
11938917
25002917

prune301.0ms

Filtered
101 candidates to 72 candidates (71.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.4b

localize19.0ms

Local error

Found 4 expressions with local error:

1.7b
(* z (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))))
7.4b
(cbrt (tanh (/ t y)))
7.4b
(cbrt (tanh (/ t y)))
7.4b
(cbrt (tanh (/ t y)))

rewrite257.0ms

Algorithm
rewrite-expression-head
Rules
441×cbrt-div
243×frac-times
236×associate-*r/
210×tanh-def
189×frac-sub
81×associate-*l/
13×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
cbrt-prod
pow1 add-exp-log prod-diff add-cbrt-cube
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r* associate-*l*
sub-neg
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
Counts
4 → 269
Calls
4 calls:
221.0ms
(* z (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))))
1.0ms
(cbrt (tanh (/ t y)))
1.0ms
(cbrt (tanh (/ t y)))
2.0ms
(cbrt (tanh (/ t y)))

series751.0ms

Counts
4 → 12
Calls
4 calls:
213.0ms
(* z (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))))
175.0ms
(cbrt (tanh (/ t y)))
179.0ms
(cbrt (tanh (/ t y)))
184.0ms
(cbrt (tanh (/ t y)))

simplify114.0ms

Algorithm
egg-herbie
Counts
281 → 281
Iterations

Useful iterations: 1 (41.0ms)

IterNodesCost
035439591
150019260

prune1.4s

Filtered
281 candidates to 194 candidates (69.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.4b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

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

series797.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
07632264
132671740
250011733

prune445.0ms

Filtered
154 candidates to 102 candidates (66.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

localize22.0ms

Local error

Found 4 expressions with local error:

4.0b
(* (fma (- (tanh (/ x y))) 1 (* (tanh (/ x y)) 1)) (* y z))
7.4b
(cbrt (tanh (/ t y)))
7.4b
(cbrt (tanh (/ t y)))
7.4b
(cbrt (tanh (/ t y)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log cbrt-prod cbrt-div add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*l* pow-prod-down prod-exp cbrt-unprod tanh-def
associate-*r* *-commutative
Counts
4 → 68
Calls
4 calls:
9.0ms
(* (fma (- (tanh (/ x y))) 1 (* (tanh (/ x y)) 1)) (* y z))
1.0ms
(cbrt (tanh (/ t y)))
1.0ms
(cbrt (tanh (/ t y)))
2.0ms
(cbrt (tanh (/ t y)))

series1.6m

Counts
4 → 12
Calls
4 calls:
1.6m
(* (fma (- (tanh (/ x y))) 1 (* (tanh (/ x y)) 1)) (* y z))
178.0ms
(cbrt (tanh (/ t y)))
174.0ms
(cbrt (tanh (/ t y)))
171.0ms
(cbrt (tanh (/ t y)))

simplify121.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
0260700
1833615
24478598
35001580

prune424.0ms

Filtered
80 candidates to 70 candidates (87.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.3b

regimes118.0ms

Accuracy

0% (1.8b remaining)

Error of 2.1b against oracle of 0.3b and baseline of 2.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01616
11616

end0.0ms

sample557.0ms

Algorithm
intervals
Results
312.0ms8346×body80valid
13.0ms59×body1280valid
12.0ms83×body640valid
7.0ms65×body320valid
2.0ms26×body160valid