Details

Time bar (total: 3.5s)

sample20.0ms

Algorithm
intervals
Results
8.0ms275×body80valid

simplify70.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.1b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) (- a z))
2.2b
(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)

series133.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0258433
1705410
22399410
35001410

prune180.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
40×*-un-lft-identity
32×times-frac
23×add-cube-cbrt
21×associate-*r*
16×add-exp-log
10×add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1
associate-*l* associate-/r*
flip3-- div-exp prod-exp associate-/r/ flip--
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp unswap-sqr
cbrt-undiv frac-times rec-exp 1-exp associate-*l/ cbrt-unprod div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative fma-udef inv-pow
Counts
3 → 105
Calls
3 calls:
6.0ms
(/ 1 (- a z))
14.0ms
(* (- y z) (/ 1 (- a z)))
1.0ms
(fma (* (- y z) (/ 1 (- a z))) t x)

series165.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(/ 1 (- a z))
52.0ms
(* (- y z) (/ 1 (- a z)))
77.0ms
(fma (* (- y z) (/ 1 (- a z))) t x)

simplify46.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0333585
11448510
25002468

prune254.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- a z))
0.6b
(cbrt (- a z))
0.6b
(cbrt (- a z))
2.2b
(fma (* (/ 1 (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- y z) (cbrt (- a z)))) t x)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
fma-udef
Counts
4 → 61
Calls
4 calls:
3.0ms
(cbrt (- a z))
3.0ms
(cbrt (- a z))
3.0ms
(cbrt (- a z))
1.0ms
(fma (* (/ 1 (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- y z) (cbrt (- a z)))) t x)

series719.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt (- a z))
187.0ms
(cbrt (- a z))
162.0ms
(cbrt (- a z))
189.0ms
(fma (* (/ 1 (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- y z) (cbrt (- a z)))) t x)

simplify72.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0193514
1454473
21559455
35002434

prune319.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt *-un-lft-identity
10×add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 times-frac associate-*l* associate-/r* add-log-exp
associate-*l/
expm1-log1p-u flip3-- fma-def associate-*r* flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/
+-commutative frac-2neg flip3-+ pow-prod-down clear-num sum-log *-commutative flip-+ div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
3 → 72
Calls
3 calls:
8.0ms
(+ x (/ (* (- y z) t) (- a z)))
7.0ms
(* (- y z) t)
15.0ms
(/ (* (- y z) t) (- a z))

series211.0ms

Counts
3 → 9
Calls
3 calls:
94.0ms
(+ x (/ (* (- y z) t) (- a z)))
40.0ms
(* (- y z) t)
77.0ms
(/ (* (- y z) t) (- a z))

simplify56.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0340395
11442355
25001353

prune234.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

regimes310.0ms

Accuracy

76.6% (0.4b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02522
12522

end0.0ms

sample532.0ms

Algorithm
intervals
Results
275.0ms8705×body80valid
0.0msbody1280valid
0.0msbody160valid