Details

Time bar (total: 4.7s)

sample20.0ms

Algorithm
intervals
Results
8.0ms275×body80valid

simplify64.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

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

prune7.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.1b
(/ (- y z) (- a z))
1.3b
(fma (/ (- y z) (- a z)) t x)

rewrite15.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:
13.0ms
(/ (- y z) (- a z))
0.0ms
(fma (/ (- y z) (- a z)) t x)

series129.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0258433
1705410
22399410
35001410

prune184.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
(/ (- a z) (- y z))
0.5b
(/ 1 (/ (- a z) (- y z)))
1.3b
(fma (/ 1 (/ (- a z) (- y z))) t x)

rewrite45.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:
16.0ms
(/ (- a z) (- y z))
17.0ms
(/ 1 (/ (- a z) (- y z)))
0.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

series376.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(/ (- a z) (- y z))
134.0ms
(/ 1 (/ (- a z) (- y z)))
188.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

simplify69.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06201891
127641708
250021537

prune400.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
1131×times-frac
700×add-sqr-sqrt *-un-lft-identity
420×add-cube-cbrt
140×distribute-lft-out-- difference-of-squares
93×associate-/r/
52×add-exp-log
47×div-inv
46×flip3-- flip--
36×div-exp
31×associate-/r*
27×associate-/l*
20×add-cbrt-cube
10×cbrt-undiv rec-exp 1-exp
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
pow-flip inv-pow
fma-udef associate-/l/
Counts
4 → 613
Calls
4 calls:
6.0ms
(/ 1 (- a z))
6.0ms
(/ 1 (- y z))
29.0ms
(/ (/ 1 (- a z)) (/ 1 (- y z)))
0.0ms
(fma (/ (/ 1 (- a z)) (/ 1 (- y z))) t x)

series400.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ 1 (- a z))
35.0ms
(/ 1 (- y z))
141.0ms
(/ (/ 1 (- a z)) (/ 1 (- y z)))
189.0ms
(fma (/ (/ 1 (- a z)) (/ 1 (- y z))) t x)

simplify115.0ms

Algorithm
egg-herbie
Counts
625 → 625
Iterations

Useful iterations: 1 (44.0ms)

IterNodesCost
021837536
150026626

prune1.1s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite56.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))
31.0ms
(* (/ t (- a z)) (- y z))

series414.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05671124
12257891
25001883

prune393.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes204.0ms

Accuracy

70.7% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 1.3b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02923
12923

end0.0ms

sample522.0ms

Algorithm
intervals
Results
258.0ms8751×body80valid