Details

Time bar (total: 3.6s)

sample22.0ms

Algorithm
intervals
Results
9.0ms275×body80valid

simplify89.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

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

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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:
10.0ms
(/ (- y z) (- a z))
1.0ms
(fma (/ (- y z) (- a z)) t x)

series154.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(/ (- y z) (- a z))
95.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

prune204.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

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

rewrite29.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))
15.0ms
(* (- y z) (/ 1 (- a z)))
1.0ms
(fma (* (- y z) (/ 1 (- a z))) t x)

series174.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(/ 1 (- a z))
56.0ms
(* (- y z) (/ 1 (- a z)))
81.0ms
(fma (* (- y z) (/ 1 (- a z))) t x)

simplify49.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0333585
11448510
25002468

prune295.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

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

rewrite13.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:
4.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)

series718.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(cbrt (- a z))
168.0ms
(cbrt (- a z))
173.0ms
(cbrt (- a z))
202.0ms
(fma (* (/ 1 (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- y z) (cbrt (- a z)))) t x)

simplify64.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0193514
1454473
21559455
35002434

prune330.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

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

rewrite27.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:
9.0ms
(+ x (/ (* (- y z) t) (- a z)))
7.0ms
(* (- y z) t)
10.0ms
(/ (* (- y z) t) (- a z))

series194.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0340395
11442355
25001353

prune245.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

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

sample538.0ms

Algorithm
intervals
Results
278.0ms8705×body80valid
0.0msbody1280valid
0.0msbody160valid