Details

Time bar (total: 4.5s)

sample24.0ms

Algorithm
intervals
Results
11.0ms265×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody320valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 2.2b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.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))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
11.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series751.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(tanh (/ t y))
216.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
209.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
245.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify63.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05461798
121801400
250011397

prune361.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series776.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07632264
132671740
250011733

prune430.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.8b
(+ (fma (* (tanh (/ t y)) y) z x) (* (- (tanh (/ x y))) (* y z)))
6.8b
(* (tanh (/ t y)) y)
7.1b
(* (- (tanh (/ x y))) (* y z))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
13×associate-*l*
12×add-sqr-sqrt
11×pow1 add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
associate-*l/ add-log-exp
expm1-log1p-u associate-*r* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
distribute-lft-neg-out distribute-lft-neg-in fma-def distribute-rgt-neg-in distribute-neg-frac tanh-def
*-commutative
+-commutative neg-mul-1 associate-+l+ flip3-+ unsub-neg sum-log flip-+ fma-udef unswap-sqr
Counts
4 → 85
Calls
4 calls:
5.0ms
(tanh (/ t y))
3.0ms
(+ (fma (* (tanh (/ t y)) y) z x) (* (- (tanh (/ x y))) (* y z)))
5.0ms
(* (tanh (/ t y)) y)
7.0ms
(* (- (tanh (/ x y))) (* y z))

series527.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(tanh (/ t y))
215.0ms
(+ (fma (* (tanh (/ t y)) y) z x) (* (- (tanh (/ x y))) (* y z)))
109.0ms
(* (tanh (/ t y)) y)
121.0ms
(* (- (tanh (/ x y))) (* y z))

simplify50.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0425636
11644572
25001571

prune321.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- x (* x z))
0.8b
(fma z t (- x (* x z)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
fma-neg prod-diff
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip-- fma-udef
Counts
2 → 30
Calls
2 calls:
3.0ms
(- x (* x z))
1.0ms
(fma z t (- x (* x z)))

series63.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(- x (* x z))
30.0ms
(fma z t (- x (* x z)))

simplify52.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0110154
1326135
21764134
35002117

prune79.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes74.0ms

Accuracy

22.3% (1.5b remaining)

Error of 1.5b against oracle of 0.0b and baseline of 1.9b

bsearch50.0ms

Steps
ItersRangePoint
10
-2.3772933527761874e+249
-2.7097175336167483e+234
-8.257773898035373e+235

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0179
1179

end0.0ms

sample619.0ms

Algorithm
intervals
Results
356.0ms8297×body80valid
15.0ms94×body640valid
12.0ms64×body320valid
9.0ms43×body1280valid
4.0ms47×body160valid