Details

Time bar (total: 9.7s)

sample16.0ms

Algorithm
intervals
Results
7.0ms290×body80valid

simplify98.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.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: 12.9b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite28.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:
11.0ms
(* x (+ (/ x y) 1.0))
15.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series82.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0306352
11568305
25001304

prune138.0ms

Pruning

6 alts after pruning (6 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))

rewrite36.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:
15.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
13.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series129.0ms

Counts
2 → 6
Calls
2 calls:
54.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
74.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify81.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
05041464
123901406
250021404

prune320.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite108.0ms

Algorithm
rewrite-expression-head
Rules
812×times-frac
619×*-un-lft-identity
343×add-sqr-sqrt add-cube-cbrt
138×distribute-lft-out
77×associate-/r*
35×associate-/r/
31×add-exp-log
29×associate-/l*
23×div-inv
19×div-exp add-cbrt-cube
18×flip3-+ flip-+
10×cbrt-undiv
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u associate-/l/ add-log-exp
pow-flip inv-pow
Counts
3 → 460
Calls
3 calls:
18.0ms
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
12.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
34.0ms
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

series216.0ms

Counts
3 → 9
Calls
3 calls:
92.0ms
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
75.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
48.0ms
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

simplify102.0ms

Algorithm
egg-herbie
Counts
469 → 469
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
012985782
150025246

prune855.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
0.3b
(* (/ x y) (/ x y))
5.3b
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
5.8b
(/ (/ 1 (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (/ (- (/ x y) 1.0) x))

rewrite377.0ms

Algorithm
rewrite-expression-head
Rules
5882×times-frac
3063×add-sqr-sqrt
2997×*-un-lft-identity
1971×add-cube-cbrt
729×difference-of-squares
297×distribute-lft-out
216×distribute-lft-out--
175×div-inv
173×associate-/r/
78×associate-/l*
74×add-exp-log flip3-- flip--
48×associate-/r*
47×div-exp
44×add-cbrt-cube
23×cbrt-undiv
13×swap-sqr associate-*r* associate-*l*
12×pow1
rec-exp 1-exp
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
frac-2neg clear-num associate-/l/
pow2 frac-times pow-flip flip3-+ pow-plus associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up flip-+ inv-pow
Counts
4 → 1914
Calls
4 calls:
17.0ms
(/ 1 (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
12.0ms
(* (/ x y) (/ x y))
13.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
78.0ms
(/ (/ 1 (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (/ (- (/ x y) 1.0) x))

series273.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(/ 1 (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
29.0ms
(* (/ x y) (/ x y))
82.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
96.0ms
(/ (/ 1 (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (/ (- (/ x y) 1.0) x))

simplify496.0ms

Algorithm
egg-herbie
Counts
1926 → 1926
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
0500151121

prune5.8s

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes44.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample396.0ms

Algorithm
intervals
Results
237.0ms9077×body80valid