Details

Time bar (total: 1.5s)

sample17.0ms

Algorithm
intervals
Results
8.0ms320×body80valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0143
1243
2403
3643
4843
51023
61283
71773
82723
95083
107363
117543
127563
137563

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

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

series64.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0212423
1792271
23526241
35001217

prune80.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.0b
(+ (* z 1.0) (* z (- y)))
0.0b
(fma x y (+ (* z 1.0) (* z (- y))))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity distribute-rgt-neg-out add-cbrt-cube log1p-expm1-u
+-commutative fma-def flip3-+ unsub-neg sum-log flip-+ fma-udef distribute-lft-out
Counts
2 → 27
Calls
2 calls:
3.0ms
(+ (* z 1.0) (* z (- y)))
0.0ms
(fma x y (+ (* z 1.0) (* z (- y))))

series75.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(+ (* z 1.0) (* z (- y)))
34.0ms
(fma x y (+ (* z 1.0) (* z (- y))))

simplify72.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0134190
1518153
22453143
35001142

prune75.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x y (/ (* z (- (* 1.0 1.0) (* y y))) (+ 1.0 y)))
4.7b
(* z (- (* 1.0 1.0) (* y y)))
6.4b
(/ (* z (- (* 1.0 1.0) (* y y))) (+ 1.0 y))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1
times-frac associate-*r/ associate-*r* associate-/r*
distribute-rgt-in expm1-log1p-u distribute-lft-in associate-*l* log1p-expm1-u add-log-exp
cbrt-undiv sub-neg flip3-- div-exp prod-diff prod-exp associate-/r/ flip-- cbrt-unprod associate-/l/ distribute-lft-out
frac-2neg flip3-+ pow-prod-down clear-num *-commutative flip-+ fma-udef div-inv associate-/l* difference-of-squares unswap-sqr
Counts
3 → 68
Calls
3 calls:
0.0ms
(fma x y (/ (* z (- (* 1.0 1.0) (* y y))) (+ 1.0 y)))
11.0ms
(* z (- (* 1.0 1.0) (* y y)))
11.0ms
(/ (* z (- (* 1.0 1.0) (* y y))) (+ 1.0 y))

series197.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(fma x y (/ (* z (- (* 1.0 1.0) (* y y))) (+ 1.0 y)))
59.0ms
(* z (- (* 1.0 1.0) (* y y)))
82.0ms
(/ (* z (- (* 1.0 1.0) (* y y))) (+ 1.0 y))

simplify52.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0339550
11630463
25001455

prune171.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes40.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0145
1185
2195
3195

end0.0ms

sample453.0ms

Algorithm
intervals
Results
248.0ms10173×body80valid