Details

Time bar (total: 3.8s)

sample15.0ms

Algorithm
intervals
Results
7.0ms293×body80valid

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0195
1295
2455
3565
4745
5865
61205
71365
81465
91505
101605
114465
1226955
1350015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.4b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite50.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 expm1-log1p-u div-exp prod-exp associate-/r/ cbrt-unprod log1p-expm1-u 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 → 54
Calls
2 calls:
32.0ms
(* x (+ (/ x y) 1.0))
16.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series70.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0306352
11568305
25001304

prune114.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite53.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 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
Counts
2 → 150
Calls
2 calls:
25.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
21.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series111.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
69.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05041464
123901406
250021404

prune275.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))
0.3b
(cbrt (+ (/ x y) 1.0))
0.3b
(cbrt (+ (/ x y) 1.0))
0.3b
(cbrt (+ (/ x y) 1.0))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 103
Calls
4 calls:
59.0ms
(* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))
7.0ms
(cbrt (+ (/ x y) 1.0))
7.0ms
(cbrt (+ (/ x y) 1.0))
7.0ms
(cbrt (+ (/ x y) 1.0))

series1.0s

Counts
4 → 12
Calls
4 calls:
268.0ms
(* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))
242.0ms
(cbrt (+ (/ x y) 1.0))
247.0ms
(cbrt (+ (/ x y) 1.0))
247.0ms
(cbrt (+ (/ x y) 1.0))

simplify68.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0212898
1652845
22526772
35001759

prune293.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (* (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (- (/ x y) 1.0)))
0.2b
(* (/ x y) (/ x y))
4.3b
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
5.6b
(* (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (- (/ x y) 1.0))

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
144×add-sqr-sqrt
142×*-un-lft-identity
131×times-frac
122×add-cube-cbrt
78×prod-diff
41×distribute-rgt-in distribute-lft-in
35×associate-*l*
32×add-exp-log add-cbrt-cube
19×associate-*r*
13×pow1 swap-sqr div-inv
11×difference-of-squares
10×cbrt-undiv div-exp
associate-/r/ distribute-lft-out
prod-exp cbrt-unprod
associate-/l*
flip3-- flip-- unswap-sqr
frac-times associate-*r/ associate-/r*
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l/
sub-neg frac-2neg pow-prod-down clear-num *-commutative associate-/l/
pow2 flip3-+ pow-plus pow-sqr pow-prod-up flip-+ distribute-lft-out--
Counts
4 → 273
Calls
4 calls:
19.0ms
(/ x (* (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (- (/ x y) 1.0)))
13.0ms
(* (/ x y) (/ x y))
19.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
76.0ms
(* (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (- (/ x y) 1.0))

series289.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(/ x (* (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (- (/ x y) 1.0)))
32.0ms
(* (/ x y) (/ x y))
76.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
102.0ms
(* (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (- (/ x y) 1.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
285 → 285
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
012354425
150023758

prune507.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes43.0ms

Accuracy

0% (0.0b 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

sample372.0ms

Algorithm
intervals
Results
230.0ms9086×body80valid