Details

Time bar (total: 4.6s)

sample21.0ms

Algorithm
intervals
Results
9.0ms286×body80valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
0175
1355
2634
31074
41694
52394
62884
73564
84074
95334
107554
1112564
1213024
1313044
1413044

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) (- a z))
1.5b
(fma (/ (- y z) (- a z)) t x)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt *-un-lft-identity
25×times-frac
14×add-cube-cbrt
12×distribute-lft-out-- difference-of-squares
associate-/r* associate-/l*
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv frac-2neg div-sub div-exp clear-num fma-udef div-inv
Counts
2 → 64
Calls
2 calls:
9.0ms
(/ (- y z) (- a z))
1.0ms
(fma (/ (- y z) (- a z)) t x)

series141.0ms

Counts
2 → 6
Calls
2 calls:
55.0ms
(/ (- y z) (- a z))
86.0ms
(fma (/ (- y z) (- a z)) t x)

simplify67.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0258433
1705410
22399410
35001410

prune189.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ y (- a z)) (/ z (- a z)))
0.0b
(/ z (- a z))
1.5b
(fma (- (/ y (- a z)) (/ z (- a z))) t x)

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
694×*-un-lft-identity
684×add-sqr-sqrt
678×times-frac
441×prod-diff
402×add-cube-cbrt
145×distribute-lft-out--
139×difference-of-squares
92×associate-/r/
47×flip3-- flip--
46×div-inv
21×fma-neg
add-exp-log associate-/r* add-cbrt-cube add-log-exp
pow1 expm1-log1p-u distribute-rgt-out-- log1p-expm1-u associate-/l*
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num frac-sub fma-udef sub-div
Counts
3 → 542
Calls
3 calls:
42.0ms
(- (/ y (- a z)) (/ z (- a z)))
6.0ms
(/ z (- a z))
1.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) t x)

series302.0ms

Counts
3 → 9
Calls
3 calls:
73.0ms
(- (/ y (- a z)) (/ z (- a z)))
47.0ms
(/ z (- a z))
181.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) t x)

simplify184.0ms

Algorithm
egg-herbie
Counts
551 → 551
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
0119915500
1311811542
2500110301

prune820.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- a z) (- y z))
0.2b
(/ 1 (/ (- a z) (- y z)))
1.5b
(fma (/ 1 (/ (- a z) (- y z))) t x)

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
218×times-frac
195×add-sqr-sqrt *-un-lft-identity
91×add-cube-cbrt
52×distribute-lft-out-- difference-of-squares
36×associate-/r*
16×add-exp-log
11×associate-/r/
10×add-cbrt-cube
div-exp associate-/l*
flip3-- flip-- div-inv
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp clear-num associate-/l/
pow-flip div-sub fma-udef inv-pow
Counts
3 → 214
Calls
3 calls:
9.0ms
(/ (- a z) (- y z))
16.0ms
(/ 1 (/ (- a z) (- y z)))
1.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

series396.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(/ (- a z) (- y z))
145.0ms
(/ 1 (/ (- a z) (- y z)))
196.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

simplify78.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06201891
127641708
250021537

prune415.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (/ t (- a z)) (- y z)) x)
0.0b
(/ t (- a z))
10.0b
(* (/ t (- a z)) (- y z))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
68×add-sqr-sqrt
63×*-un-lft-identity
47×add-cube-cbrt
36×prod-diff
31×times-frac
22×distribute-rgt-in associate-+l+ distribute-lft-in
21×associate-*l*
10×add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 associate-*r* associate-/r* add-log-exp
sub-neg flip3-- associate-/r/ flip--
expm1-log1p-u log1p-expm1-u associate-/l*
cbrt-undiv frac-times associate-*r/ div-exp prod-exp cbrt-unprod div-inv unswap-sqr
+-commutative fma-def frac-2neg flip3-+ pow-prod-down associate-*l/ clear-num sum-log *-commutative flip-+
Counts
3 → 145
Calls
3 calls:
13.0ms
(+ (* (/ t (- a z)) (- y z)) x)
6.0ms
(/ t (- a z))
14.0ms
(* (/ t (- a z)) (- y z))

series425.0ms

Counts
3 → 9
Calls
3 calls:
231.0ms
(+ (* (/ t (- a z)) (- y z)) x)
31.0ms
(/ t (- a z))
163.0ms
(* (/ t (- a z)) (- y z))

simplify70.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05671124
12257891
25001883

prune394.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes180.0ms

Accuracy

66.7% (0.5b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 1.4b

bsearch72.0ms

Steps
ItersRangePoint
6
7.3004296198747905e-93
5.277673096345458e-92
2.24875974073024e-92
7
-1.6683370620997601e-59
-2.7212666957247705e-61
-4.564002465788755e-61

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02911
13111
23111

end0.0ms

sample532.0ms

Algorithm
intervals
Results
277.0ms8704×body80valid
0.0msbody2560valid
0.0msbody1280valid
0.0msbody320valid
0.0msbody160valid