Details

Time bar (total: 2.7s)

sample21.0ms

Algorithm
intervals
Results
10.0ms328×body80valid

simplify163.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (54.0ms)

IterNodesCost
0144
1344
2924
32324
44914
57854
611154
714824
822183
933493
1048193
1150013

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.3b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (- y 1.0) z 1.0)
3.1b
(* (fma (- y 1.0) z 1.0) x)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
2 → 30
Calls
2 calls:
1.0ms
(fma (- y 1.0) z 1.0)
3.0ms
(* (fma (- y 1.0) z 1.0) x)

series85.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(fma (- y 1.0) z 1.0)
53.0ms
(* (fma (- y 1.0) z 1.0) x)

simplify56.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0108166
1323137
21922133
35001133

prune86.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 3.2b

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.8b
(* (* (fma (- y 1.0) z 1.0) (* (cbrt x) (cbrt x))) (cbrt x))
2.7b
(* (fma (- y 1.0) z 1.0) (* (cbrt x) (cbrt x)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log
11×add-cbrt-cube
10×add-sqr-sqrt
cbrt-prod add-cube-cbrt *-un-lft-identity pow-prod-down prod-exp cbrt-unprod
associate-*r*
expm1-log1p-u associate-*l* log1p-expm1-u add-log-exp
pow1/3 *-commutative
unswap-sqr
Counts
4 → 73
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
11.0ms
(* (* (fma (- y 1.0) z 1.0) (* (cbrt x) (cbrt x))) (cbrt x))
10.0ms
(* (fma (- y 1.0) z 1.0) (* (cbrt x) (cbrt x)))

series617.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(cbrt x)
191.0ms
(cbrt x)
80.0ms
(* (* (fma (- y 1.0) z 1.0) (* (cbrt x) (cbrt x))) (cbrt x))
149.0ms
(* (fma (- y 1.0) z 1.0) (* (cbrt x) (cbrt x)))

simplify52.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0273597
11207457
25001401

prune224.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x 1.0 (* (* x z) (- y 1.0)))
3.4b
(* (* x z) (- y 1.0))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
18×prod-diff
17×add-sqr-sqrt *-un-lft-identity
15×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r*
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u sub-neg associate-*r/ log1p-expm1-u add-log-exp
flip3-- associate-*l* *-commutative flip-- fma-udef distribute-lft-out-- difference-of-squares
Counts
2 → 56
Calls
2 calls:
1.0ms
(fma x 1.0 (* (* x z) (- y 1.0)))
8.0ms
(* (* x z) (- y 1.0))

series112.0ms

Counts
2 → 6
Calls
2 calls:
57.0ms
(fma x 1.0 (* (* x z) (- y 1.0)))
55.0ms
(* (* x z) (- y 1.0))

simplify55.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0323512
11370346
25001334

prune108.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x (* z y)) (* (* x z) (- 1.0)))
0.0b
(fma x 1.0 (+ (* x (* z y)) (* (* x z) (- 1.0))))
6.6b
(* x (* z y))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
distribute-rgt-neg-out
+-commutative fma-def flip3-+ associate-*r* unsub-neg sum-log *-commutative flip-+ fma-udef
Counts
3 → 46
Calls
3 calls:
5.0ms
(+ (* x (* z y)) (* (* x z) (- 1.0)))
1.0ms
(fma x 1.0 (+ (* x (* z y)) (* (* x z) (- 1.0))))
5.0ms
(* x (* z y))

series176.0ms

Counts
3 → 9
Calls
3 calls:
74.0ms
(+ (* x (* z y)) (* (* x z) (- 1.0)))
74.0ms
(fma x 1.0 (+ (* x (* z y)) (* (* x z) (- 1.0))))
28.0ms
(* x (* z y))

simplify45.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0216328
1914272
25001251

prune140.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes105.0ms

Accuracy

93.4% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 1.7b

bsearch70.0ms

Steps
ItersRangePoint
6
2.5947478503916157e-23
1.6421795748574927e-22
2.6215325656918873e-23
9
-1.7117706323798446e-50
-4.018409293723879e-56
-7.582758496517108e-51

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0227
1227

end0.0ms

sample456.0ms

Algorithm
intervals
Results
237.0ms10096×body80valid