Details

Time bar (total: 2.9s)

sample15.0ms

Algorithm
intervals
Results
7.0ms291×body80valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0195
1275
2405
3475
4635
5755
61065
71125
81185
91225
101305
114025
1226055
1350015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.1b

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (+ (/ x y) 1.0))
8.5b
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 times-frac associate-*r/ associate-*r* associate-/r*
flip3-+ associate-*l* flip-+ distribute-lft-out
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
2 → 50
Calls
2 calls:
31.0ms
(* x (+ (/ x y) 1.0))
16.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series67.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(* x (+ (/ x y) 1.0))
41.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify49.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0296332
11504285
25001283

prune102.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
0.1b
(/ (+ x 1.0) (+ (/ x y) 1.0))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
155×*-un-lft-identity
146×times-frac
71×add-sqr-sqrt add-cube-cbrt
42×distribute-lft-out
26×associate-/r*
11×associate-/r/
add-exp-log add-cbrt-cube
associate-/l*
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1 frac-2neg clear-num associate-/l/ add-log-exp
Counts
2 → 146
Calls
2 calls:
22.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
20.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series115.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
67.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify73.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04941442
123441386
250021384

prune259.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(* x (+ (/ x y) 1.0))
0.1b
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
11.5b
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
16×add-sqr-sqrt
14×*-un-lft-identity
13×associate-*l*
10×add-cube-cbrt
associate-*r*
times-frac
pow1
associate-*r/ prod-exp cbrt-unprod
cbrt-undiv flip3-- div-exp associate-/r* associate-/r/ flip-- difference-of-squares
distribute-rgt-in distribute-lft-in add-log-exp
frac-times sub-neg flip3-+ pow-prod-down *-commutative flip-+ div-inv associate-/l/ unswap-sqr
frac-2neg associate-*l/ clear-num distribute-lft-out associate-/l* distribute-lft-out--
Counts
3 → 90
Calls
3 calls:
29.0ms
(* x (+ (/ x y) 1.0))
55.0ms
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
16.0ms
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

series175.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(* x (+ (/ x y) 1.0))
76.0ms
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
75.0ms
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

simplify85.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
0530932
13087795
25001794

prune191.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (/ x y) 3)
0.3b
(* (/ x y) (/ x y))
1.0b
(* x (+ (pow (/ x y) 3) (pow 1.0 3)))
18.0b
(/ (* x (+ (pow (/ x y) 3) (pow 1.0 3))) (* (+ (* 1.0 (- 1.0 (/ x y))) (* (/ x y) (/ x y))) (+ x 1.0)))

rewrite218.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
59×*-un-lft-identity times-frac
49×add-cube-cbrt
33×add-exp-log add-cbrt-cube
31×associate-*r/
26×associate-/r/
23×frac-times
22×associate-*r*
18×frac-add
17×unpow-prod-down cube-prod
16×associate-*l*
15×associate-*l/
14×pow1 flip3-+ flip-+
13×swap-sqr
cbrt-undiv flip3-- div-exp prod-exp flip-- cbrt-unprod
div-inv
distribute-lft-out unswap-sqr
add-log-exp
pow-unpow
pow-prod-down pow-exp *-commutative associate-/l/ rem-cube-cbrt
cube-div pow2 distribute-rgt-in cube-mult pow-to-exp pow-pow frac-2neg distribute-lft-in pow-plus unpow3 clear-num associate-/r* pow-sqr sum-cubes pow-prod-up associate-/l* sqr-pow
Counts
4 → 190
Calls
4 calls:
4.0ms
(pow (/ x y) 3)
13.0ms
(* (/ x y) (/ x y))
129.0ms
(* x (+ (pow (/ x y) 3) (pow 1.0 3)))
63.0ms
(/ (* x (+ (pow (/ x y) 3) (pow 1.0 3))) (* (+ (* 1.0 (- 1.0 (/ x y))) (* (/ x y) (/ x y))) (+ x 1.0)))

series246.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(pow (/ x y) 3)
26.0ms
(* (/ x y) (/ x y))
89.0ms
(* x (+ (pow (/ x y) 3) (pow 1.0 3)))
96.0ms
(/ (* x (+ (pow (/ x y) 3) (pow 1.0 3))) (* (+ (* 1.0 (- 1.0 (/ x y))) (* (/ x y) (/ x y))) (+ x 1.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
012861907
150021676

prune498.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes52.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
0105
1105

end0.0ms

sample352.0ms

Algorithm
intervals
Results
218.0ms9145×body80valid