Details

Time bar (total: 2.0s)

sample14.0ms

Algorithm
intervals
Results
6.0ms346×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0123
1323
2743
31123
41233
51273
61273

prune1.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

localize4.0ms

Local error

Found 1 expressions with local error:

0.1b
(* (* x y) (- 1.0 y))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
18×prod-diff
16×add-sqr-sqrt *-un-lft-identity
14×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
sub-neg associate-*r/
expm1-log1p-u flip3-- associate-*l* *-commutative flip-- log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
Counts
1 → 46
Calls
1 calls:
8.0ms
(* (* x y) (- 1.0 y))

series46.0ms

Counts
1 → 3
Calls
1 calls:
46.0ms
(* (* x y) (- 1.0 y))

simplify42.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0292436
11402284
25001272

prune50.0ms

Filtered
49 candidates to 19 candidates (38.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New44549
Fresh000
Picked011
Done000
Total44650

Merged error: 0.0b

Counts
50 → 6

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(* y (- 1.0 y))
6.0b
(* x (* y (- 1.0 y)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
55×distribute-rgt-in distribute-lft-in
54×prod-diff
45×add-sqr-sqrt
43×*-un-lft-identity
41×add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
sub-neg associate-*r/ associate-*r* associate-*l*
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-- *-commutative flip-- log1p-expm1-u add-log-exp
distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 112
Calls
2 calls:
7.0ms
(* y (- 1.0 y))
9.0ms
(* x (* y (- 1.0 y)))

series90.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(* y (- 1.0 y))
47.0ms
(* x (* y (- 1.0 y)))

simplify68.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
03961094
11575666
25002648

prune117.0ms

Filtered
118 candidates to 41 candidates (34.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1180118
Fresh044
Picked011
Done011
Total1186124

Merged error: 0.0b

Counts
124 → 6

localize8.0ms

Local error

Found 2 expressions with local error:

0.7b
(* (* x y) (- (* 1.0 1.0) (* y y)))
8.0b
(/ (* (* x y) (- (* 1.0 1.0) (* y y))) (+ 1.0 y))

rewrite20.0ms

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

series174.0ms

Counts
2 → 6
Calls
2 calls:
71.0ms
(* (* x y) (- (* 1.0 1.0) (* y y)))
104.0ms
(/ (* (* x y) (- (* 1.0 1.0) (* y y))) (+ 1.0 y))

simplify64.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0388548
12249444
25002443

prune140.0ms

Filtered
66 candidates to 43 candidates (65.2%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New64266
Fresh123
Picked101
Done022
Total66672

Merged error: 0b

Counts
72 → 6

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* x y) (* 1.0 1.0)) (* (- (pow y 3)) x))
7.6b
(* (- (pow y 3)) x)
8.0b
(/ (+ (* (* x y) (* 1.0 1.0)) (* (- (pow y 3)) x)) (+ 1.0 y))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity associate-*l*
22×add-sqr-sqrt
20×add-cube-cbrt
12×distribute-lft-neg-in distribute-rgt-neg-in times-frac
add-exp-log add-cbrt-cube
unpow-prod-down cube-prod
pow1 distribute-lft-neg-out add-log-exp
associate-/r* distribute-lft-out
expm1-log1p-u flip3-+ associate-*r* flip-+ log1p-expm1-u associate-/l*
cube-mult unpow3 div-sub unsub-neg associate-/r/ associate-/l/ sqr-pow
cbrt-undiv +-commutative neg-mul-1 fma-def frac-2neg div-exp pow-prod-down prod-exp clear-num sum-log *-commutative cbrt-unprod div-inv unswap-sqr
Counts
3 → 101
Calls
3 calls:
7.0ms
(+ (* (* x y) (* 1.0 1.0)) (* (- (pow y 3)) x))
7.0ms
(* (- (pow y 3)) x)
12.0ms
(/ (+ (* (* x y) (* 1.0 1.0)) (* (- (pow y 3)) x)) (+ 1.0 y))

series270.0ms

Counts
3 → 9
Calls
3 calls:
111.0ms
(+ (* (* x y) (* 1.0 1.0)) (* (- (pow y 3)) x))
25.0ms
(* (- (pow y 3)) x)
133.0ms
(/ (+ (* (* x y) (* 1.0 1.0)) (* (- (pow y 3)) x)) (+ 1.0 y))

simplify74.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0389900
11936834
25001810

prune265.0ms

Filtered
110 candidates to 84 candidates (76.4%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1100110
Fresh033
Picked011
Done022
Total1106116

Merged error: 0b

Counts
116 → 6

regimes58.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample359.0ms

Algorithm
intervals
Results
192.0ms10697×body80valid