Details

Time bar (total: 2.6s)

sample17.0ms

Algorithm
intervals
Results
4.0ms213×body80valid
1.0ms19×body1280valid
1.0ms22×body640valid
1.0ms25×body320valid
0.0ms15×body160valid

simplify86.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1274
2784
32454
46344
510814
624424
740464
850014

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.4b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 1.0 x) (- 1.0 y))
4.0b
(+ x (* (- 1.0 x) (- 1.0 y)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity
flip3-- flip--
associate-*r* associate-*l*
pow1 add-exp-log distribute-rgt-in frac-times add-cube-cbrt sub-neg associate-+r+ distribute-lft-in add-cbrt-cube add-log-exp
associate-*r/ associate-*l/ distribute-lft-out-- difference-of-squares
+-commutative flip3-+ pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
2 → 49
Calls
2 calls:
37.0ms
(* (- 1.0 x) (- 1.0 y))
8.0ms
(+ x (* (- 1.0 x) (- 1.0 y)))

series40.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(* (- 1.0 x) (- 1.0 y))
21.0ms
(+ x (* (- 1.0 x) (- 1.0 y)))

simplify37.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0276312
11146296
25001296

prune102.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity diff-log sum-log add-cbrt-cube
+-commutative sub-neg flip3-- flip3-+ associate--l+ flip-- flip-+
Counts
2 → 25
Calls
2 calls:
7.0ms
(+ (* x y) 1.0)
46.0ms
(- (+ (* x y) 1.0) (* 1.0 y))

series42.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(+ (* x y) 1.0)
20.0ms
(- (+ (* x y) 1.0) (* 1.0 y))

simplify55.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0140161
1484152
21889146
35002146

prune53.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*r*
pow1 add-exp-log distribute-rgt-in add-cube-cbrt sub-neg associate-+l+ distribute-lft-in add-cbrt-cube add-log-exp
associate-*l*
associate-*r/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 41
Calls
2 calls:
12.0ms
(+ (* y (- x 1.0)) 1.0)
19.0ms
(* y (- x 1.0))

series47.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(+ (* y (- x 1.0)) 1.0)
26.0ms
(* y (- x 1.0))

simplify81.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0173186
1708167
23215165
35002165

prune71.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (+ (* x y) 1.0) 3)
1.6b
(+ (* (+ (* x y) 1.0) (+ (+ (* x y) 1.0) (* 1.0 y))) (* (* 1.0 y) (* 1.0 y)))
4.3b
(- (pow (+ (* x y) 1.0) 3) (pow (* 1.0 y) 3))
20.9b
(/ (- (pow (+ (* x y) 1.0) 3) (pow (* 1.0 y) 3)) (+ (* (+ (* x y) 1.0) (+ (+ (* x y) 1.0) (* 1.0 y))) (* (* 1.0 y) (* 1.0 y))))

rewrite385.0ms

Algorithm
rewrite-expression-head
Rules
75×add-sqr-sqrt
40×difference-of-squares
39×times-frac
35×*-un-lft-identity
31×sqr-pow
25×add-cube-cbrt
13×unpow-prod-down cube-prod associate-/l*
add-log-exp
add-exp-log add-cbrt-cube
pow1 difference-cubes distribute-lft-out--
pow-unpow flip3-+ associate-/r* flip-+
cube-div associate-+l+ flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative distribute-rgt-in cube-mult pow-to-exp sub-neg pow-pow frac-2neg distribute-lft-in diff-log unpow3 div-sub div-exp pow-exp clear-num sum-log div-inv rem-cube-cbrt
Counts
4 → 132
Calls
4 calls:
11.0ms
(pow (+ (* x y) 1.0) 3)
50.0ms
(+ (* (+ (* x y) 1.0) (+ (+ (* x y) 1.0) (* 1.0 y))) (* (* 1.0 y) (* 1.0 y)))
88.0ms
(- (pow (+ (* x y) 1.0) 3) (pow (* 1.0 y) 3))
230.0ms
(/ (- (pow (+ (* x y) 1.0) 3) (pow (* 1.0 y) 3)) (+ (* (+ (* x y) 1.0) (+ (+ (* x y) 1.0) (* 1.0 y))) (* (* 1.0 y) (* 1.0 y))))

series479.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(pow (+ (* x y) 1.0) 3)
48.0ms
(+ (* (+ (* x y) 1.0) (+ (+ (* x y) 1.0) (* 1.0 y))) (* (* 1.0 y) (* 1.0 y)))
258.0ms
(- (pow (+ (* x y) 1.0) 3) (pow (* 1.0 y) 3))
127.0ms
(/ (- (pow (+ (* x y) 1.0) 3) (pow (* 1.0 y) 3)) (+ (* (+ (* x y) 1.0) (+ (+ (* x y) 1.0) (* 1.0 y))) (* (* 1.0 y) (* 1.0 y))))

simplify120.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
06362965
129862815
250022757

prune363.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes23.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample446.0ms

Algorithm
intervals
Results
126.0ms6894×body80valid
51.0ms840×body640valid
39.0ms433×body1280valid
28.0ms600×body320valid
11.0ms348×body160valid