Details

Time bar (total: 1.5s)

sample28.0ms

Algorithm
intervals
Results
20.0ms298×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (9.0ms)

IterNodesCost
0205
1485
21055
32245
44184
56814
69704
713984
819874
919914
1019914

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (- (* x (- y 1.0)) (* y 0.5)) 0.918938533204673)
0.0b
(* x (- y 1.0))
0.0b
(- (* x (- y 1.0)) (* y 0.5))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
56×prod-diff
46×add-sqr-sqrt *-un-lft-identity
44×associate--l+
42×add-cube-cbrt
33×distribute-rgt-in distribute-lft-in
25×associate-+l+
10×add-log-exp
sub-neg
pow1 add-exp-log associate-*r* add-cbrt-cube
expm1-log1p-u fma-def associate-*l* log1p-expm1-u
flip3-- diff-log associate-*r/ sum-log flip--
+-commutative associate-+l- flip3-+ fma-neg pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 128
Calls
3 calls:
31.0ms
(+ (- (* x (- y 1.0)) (* y 0.5)) 0.918938533204673)
11.0ms
(* x (- y 1.0))
9.0ms
(- (* x (- y 1.0)) (* y 0.5))

series84.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ (- (* x (- y 1.0)) (* y 0.5)) 0.918938533204673)
30.0ms
(* x (- y 1.0))
25.0ms
(- (* x (- y 1.0)) (* y 0.5))

simplify43.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0402982
11366690
25001660

prune305.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x (- y 1.0) (- (* 0.5 y)))
0.0b
(+ (fma x (- y 1.0) (- (* 0.5 y))) (fma 0.5 (+ (- y) y) 0.918938533204673))

rewrite4.0ms

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

series52.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(fma x (- y 1.0) (- (* 0.5 y)))
29.0ms
(+ (fma x (- y 1.0) (- (* 0.5 y))) (fma 0.5 (+ (- y) y) 0.918938533204673))

simplify63.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0121273
1354253
22340249
35001230

prune97.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0198
1218
2218

end0.0ms

sample694.0ms

Algorithm
intervals
Results
537.0ms9169×body80valid
0.0msbody640valid
0.0msbody160valid