Details

Time bar (total: 8.7s)

sample24.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune13.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))))

rewrite27.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:
8.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
2.0ms
(tanh (/ t y))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
11.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series794.0ms

Counts
4 → 12
Calls
4 calls:
229.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
84.0ms
(tanh (/ t y))
261.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
220.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify68.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05461798
121801400
250031397

prune366.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize11.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))))

rewrite37.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:
2.0ms
(tanh (/ t y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
6.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
13.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series815.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
07632264
132671740
250011733

prune429.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize14.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))))))

rewrite14.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:
3.0ms
(+ x (* (* y z) (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y)))))))
1.0ms
(log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y)))))
1.0ms
(expm1 (- (tanh (/ t y)) (tanh (/ x y))))
5.0ms
(* (* y z) (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y))))))

series1.2s

Counts
4 → 12
Calls
4 calls:
431.0ms
(+ x (* (* y z) (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y)))))))
220.0ms
(log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y)))))
296.0ms
(expm1 (- (tanh (/ t y)) (tanh (/ x y))))
230.0ms
(* (* y z) (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y))))))

simplify42.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0280652
11162545
25002541

prune242.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize19.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))))))

rewrite83.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:
7.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
7.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
7.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
34.0ms
(* (* y z) (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))))

series1.6s

Counts
4 → 12
Calls
4 calls:
390.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
393.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
389.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
401.0ms
(* (* y z) (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))))

simplify144.0ms

Algorithm
egg-herbie
Counts
257 → 257
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
015038140
141147995
250017989

prune1.9s

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes117.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

sample610.0ms

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