Details

Time bar (total: 2.7s)

sample27.0ms

Algorithm
intervals
Results
11.0ms313×body80valid

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

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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:
0.0ms
(fma x y (* z (- 1.0 y)))
11.0ms
(* z (- 1.0 y))

series60.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (90.0ms)

IterNodesCost
0212423
1792271
23526241
35001217

prune84.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

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

series94.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0134190
1518153
22453143
35001142

prune79.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x y (/ (* z (- (* 1.0 1.0) (* y y))) (+ 1.0 y)))
1.7b
(* z (- (* 1.0 1.0) (* y y)))
7.1b
(/ (* z (- (* 1.0 1.0) (* y y))) (+ 1.0 y))

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

series203.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(fma x y (/ (* z (- (* 1.0 1.0) (* y y))) (+ 1.0 y)))
61.0ms
(* z (- (* 1.0 1.0) (* y y)))
87.0ms
(/ (* z (- (* 1.0 1.0) (* y y))) (+ 1.0 y))

simplify55.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0339550
11630463
25001455

prune175.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
125×sqrt-prod
108×prod-diff
99×add-sqr-sqrt
93×*-un-lft-identity
81×add-cube-cbrt
39×distribute-rgt-in distribute-lft-in
14×associate-*r*
11×pow1 add-exp-log add-cbrt-cube
10×associate-*r/
difference-of-squares
fma-neg add-log-exp
expm1-log1p-u frac-times flip3-- flip3-+ associate-*l* pow-prod-down prod-exp flip-- cbrt-unprod flip-+ log1p-expm1-u distribute-lft-out--
sub-neg
associate-*l/ *-commutative distribute-lft-out
diff-log fma-udef unswap-sqr
Counts
4 → 208
Calls
4 calls:
8.0ms
(- (sqrt 1.0) (sqrt y))
0.0ms
(fma x y (* (* z (+ (sqrt 1.0) (sqrt y))) (- (sqrt 1.0) (sqrt y))))
46.0ms
(* (* z (+ (sqrt 1.0) (sqrt y))) (- (sqrt 1.0) (sqrt y)))
23.0ms
(* z (+ (sqrt 1.0) (sqrt y)))

series520.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- (sqrt 1.0) (sqrt y))
157.0ms
(fma x y (* (* z (+ (sqrt 1.0) (sqrt y))) (- (sqrt 1.0) (sqrt y))))
243.0ms
(* (* z (+ (sqrt 1.0) (sqrt y))) (- (sqrt 1.0) (sqrt y)))
74.0ms
(* z (+ (sqrt 1.0) (sqrt y)))

simplify128.0ms

Algorithm
egg-herbie
Counts
220 → 220
Iterations

Useful iterations: 2 (101.0ms)

IterNodesCost
08183770
144902677
250012663

prune398.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

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

sample434.0ms

Algorithm
intervals
Results
229.0ms10155×body80valid