Details

Time bar (total: 8.7s)

sample27.0ms

Algorithm
intervals
Results
14.0ms269×body80valid
1.0msbody1280valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify77.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.6b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
29×*-un-lft-identity
27×prod-diff
25×add-cube-cbrt
18×frac-sub
13×tanh-def
11×distribute-rgt-in distribute-lft-in associate-*r/
pow1 add-exp-log add-cbrt-cube add-log-exp
associate-*r*
expm1-log1p-u log1p-expm1-u
sub-neg fma-neg associate-*l*
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 114
Calls
4 calls:
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
1.0ms
(tanh (/ t y))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
24.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series772.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05461798
121801400
250031397

prune367.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.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:
1.0ms
(tanh (/ t y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
6.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
26.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series797.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07632264
132671740
250011733

prune429.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (* (* y z) (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y)))))))
0.0b
(log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y)))))
0.2b
(expm1 (- (tanh (/ t y)) (tanh (/ x y))))
5.9b
(* (* y z) (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
log1p-expm1-u
expm1-log1p-u
fma-def associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative log1p-udef expm1-log1p flip3-+ log1p-expm1 associate-*l* sum-log *-commutative flip-+ expm1-udef
Counts
4 → 58
Calls
4 calls:
2.0ms
(+ x (* (* y z) (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y)))))))
0.0ms
(log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y)))))
0.0ms
(expm1 (- (tanh (/ t y)) (tanh (/ x y))))
6.0ms
(* (* y z) (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y))))))

series1.4s

Counts
4 → 12
Calls
4 calls:
619.0ms
(+ x (* (* y z) (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y)))))))
209.0ms
(log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y)))))
297.0ms
(expm1 (- (tanh (/ t y)) (tanh (/ x y))))
235.0ms
(* (* y z) (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y))))))

simplify45.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0280652
11162545
25002541

prune227.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

2.8b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
2.8b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
2.8b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
3.9b
(* (* y z) (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))))

rewrite162.0ms

Algorithm
rewrite-expression-head
Rules
297×cbrt-div
243×frac-sub
162×tanh-def
154×associate-*r/
121×frac-times
27×flip3-- flip--
16×pow1 add-exp-log
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
12×add-cbrt-cube
11×associate-*l/
pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 distribute-lft-out-- difference-of-squares
associate-*r* associate-*l* *-commutative
Counts
4 → 245
Calls
4 calls:
6.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
6.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
6.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
116.0ms
(* (* y z) (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))))

series1.5s

Counts
4 → 12
Calls
4 calls:
353.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
354.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
372.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
388.0ms
(* (* y z) (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))))

simplify149.0ms

Algorithm
egg-herbie
Counts
257 → 257
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
015038140
141147995
250017989

prune1.8s

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes110.0ms

Accuracy

0% (1.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127
1127

end0.0ms

sample577.0ms

Algorithm
intervals
Results
328.0ms8381×body80valid
15.0ms101×body640valid
9.0ms42×body1280valid
6.0ms56×body320valid
2.0ms24×body160valid