Details

Time bar (total: 3.9s)

sample21.0ms

Algorithm
intervals
Results
8.0ms280×body80valid

simplify67.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

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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:
48.0ms
(/ (- y z) (- a z))
81.0ms
(fma (/ (- y z) (- a z)) t x)

simplify62.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0258433
1705410
22399410
35001410

prune204.0ms

Pruning

7 alts after pruning (6 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)

rewrite36.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))
26.0ms
(* (- y z) (/ 1 (- a z)))
0.0ms
(fma (* (- y z) (/ 1 (- a z))) t x)

series173.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0333585
11448510
25002468

prune280.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
38×cbrt-prod
34×add-sqr-sqrt
32×*-un-lft-identity
16×cbrt-div
14×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 associate-*r* associate-*l* flip-- distribute-lft-out--
add-exp-log difference-of-squares
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod fma-udef
Counts
4 → 102
Calls
4 calls:
2.0ms
(cbrt (- y z))
2.0ms
(cbrt (- y z))
22.0ms
(* (cbrt (- y z)) (cbrt (- y z)))
0.0ms
(fma (/ (* (cbrt (- y z)) (cbrt (- y z))) (/ (- a z) (cbrt (- y z)))) t x)

series544.0ms

Counts
4 → 12
Calls
4 calls:
160.0ms
(cbrt (- y z))
163.0ms
(cbrt (- y z))
137.0ms
(* (cbrt (- y z)) (cbrt (- y z)))
84.0ms
(fma (/ (* (cbrt (- y z)) (cbrt (- y z))) (/ (- a z) (cbrt (- y z)))) t x)

simplify44.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0312840
11096785
25001727

prune390.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod fma-udef
pow1/3
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt (fma (/ (- y z) (- a z)) t x))
0.0ms
(fma (/ (- y z) (- a z)) t x)
0.0ms
(fma (/ (- y z) (- a z)) t x)
0.0ms
(fma (/ (- y z) (- a z)) t x)

series758.0ms

Counts
4 → 12
Calls
4 calls:
511.0ms
(cbrt (fma (/ (- y z) (- a z)) t x))
82.0ms
(fma (/ (- y z) (- a z)) t x)
83.0ms
(fma (/ (- y z) (- a z)) t x)
82.0ms
(fma (/ (- y z) (- a z)) t x)

simplify42.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
0118347
1274309
21031306
35001303

prune219.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

regimes189.0ms

Accuracy

68.9% (0.4b remaining)

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

bsearch81.0ms

Steps
ItersRangePoint
7
45.549061823158176
3818.0720048772064
232.13827477762604
8
-1573796587.3070855
-3301434.830593929
-168171556.61798683

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
12714

end0.0ms

sample545.0ms

Algorithm
intervals
Results
274.0ms8738×body80valid