Details

Time bar (total: 7.1s)

sample24.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.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)

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

rewrite39.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)
27.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series772.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05461798
121801400
250031397

prune366.0ms

Filtered
126 candidates to 87 candidates (69.0%)
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))))

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

series796.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(tanh (/ t y))
221.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
335.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
157.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify89.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
07632264
132671740
250011733

prune434.0ms

Filtered
154 candidates to 102 candidates (66.2%)
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))))
7.0ms
(* (* y z) (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y))))))

series1.2s

Counts
4 → 12
Calls
4 calls:
423.0ms
(+ x (* (* y z) (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y)))))))
210.0ms
(log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y)))))
291.0ms
(expm1 (- (tanh (/ t y)) (tanh (/ x y))))
231.0ms
(* (* y z) (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y))))))

simplify41.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0280652
11162545
25002541

prune229.0ms

Filtered
70 candidates to 54 candidates (77.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1 add-exp-log
12×add-cbrt-cube
cbrt-prod
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3
associate-*r* associate-*l* *-commutative
Counts
4 → 63
Calls
4 calls:
0.0ms
(cbrt (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y))))))
1.0ms
(cbrt (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y))))))
0.0ms
(cbrt (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y))))))
14.0ms
(* (* y z) (* (cbrt (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y))))))))

series1.8s

Counts
4 → 12
Calls
4 calls:
431.0ms
(cbrt (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y))))))
435.0ms
(cbrt (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y))))))
439.0ms
(cbrt (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y))))))
465.0ms
(* (* y z) (* (cbrt (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (log1p (expm1 (- (tanh (/ t y)) (tanh (/ x y))))))))

simplify46.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03421292
111461111
250011070

prune336.0ms

Filtered
75 candidates to 63 candidates (84.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

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

sample602.0ms

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