Details

Time bar (total: 4.6s)

sample23.0ms

Algorithm
intervals
Results
10.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

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

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

series753.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(tanh (/ t y))
216.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
212.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
242.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify66.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05461798
121801400
250011397

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

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

series793.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(tanh (/ t y))
337.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
216.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
160.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify88.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
07632264
132671740
250011733

prune419.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) (* (* y z) (- (tanh (/ x y)))))
6.8b
(* (tanh (/ t y)) y)
7.1b
(* (* y z) (- (tanh (/ x y))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
13×associate-*r*
12×add-sqr-sqrt
11×pow1 add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
add-log-exp
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
distribute-lft-neg-in fma-def distribute-rgt-neg-in associate-*r/ associate-*l/ distribute-rgt-neg-out 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:
2.0ms
(tanh (/ t y))
3.0ms
(+ (fma (* (tanh (/ t y)) y) z x) (* (* y z) (- (tanh (/ x y)))))
5.0ms
(* (tanh (/ t y)) y)
7.0ms
(* (* y z) (- (tanh (/ x y))))

series497.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(tanh (/ t y))
221.0ms
(+ (fma (* (tanh (/ t y)) y) z x) (* (* y z) (- (tanh (/ x y)))))
109.0ms
(* (tanh (/ t y)) y)
88.0ms
(* (* y z) (- (tanh (/ x y))))

simplify56.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0429623
11932559
25001558

prune304.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series59.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0110154
1326135
21764134
35002117

prune254.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes71.0ms

Accuracy

22.3% (1.5b remaining)

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

bsearch46.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
01910
11910

end0.0ms

sample594.0ms

Algorithm
intervals
Results
327.0ms8297×body80valid
14.0ms94×body640valid
12.0ms43×body1280valid
7.0ms64×body320valid
3.0ms47×body160valid