Details

Time bar (total: 3.7s)

sample26.0ms

Algorithm
intervals
Results
10.0ms263×body80valid
1.0msbody640valid
1.0msbody1280valid
0.0msbody160valid

simplify80.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: 2.2b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.2b
(- (tanh (/ t y)) (tanh (/ x y)))
1.1b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.2b
(* z (- (tanh (/ t y)) (tanh (/ x y))))

rewrite66.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:
2.0ms
(tanh (/ t y))
13.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
47.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series716.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(tanh (/ t y))
204.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
238.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
199.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify67.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05461798
121801400
250031397

prune364.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.6b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite84.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 (/ x y))
11.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
13.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
52.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series751.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(tanh (/ x y))
312.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
211.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
152.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify96.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
07712264
133311740
250021733

prune420.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.6b

localize6.0ms

Local error

Found 2 expressions with local error:

2.5b
(/ (* t z) y)
6.3b
(fma y (/ (* t z) y) x)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac associate-/r*
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod fma-udef div-inv associate-/l*
Counts
2 → 33
Calls
2 calls:
9.0ms
(/ (* t z) y)
0.0ms
(fma y (/ (* t z) y) x)

series59.0ms

Counts
2 → 6
Calls
2 calls:
17.0ms
(/ (* t z) y)
42.0ms
(fma y (/ (* t z) y) x)

simplify65.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0133144
1573122
22685122
35001122

prune89.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize4.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune0.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

regimes90.0ms

Accuracy

0% (2.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127
1127

end0.0ms

sample682.0ms

Algorithm
intervals
Results
316.0ms8295×body80valid
15.0ms107×body640valid
9.0ms45×body1280valid
8.0ms74×body320valid
3.0ms34×body160valid