Details

Time bar (total: 2.2s)

sample19.0ms

Algorithm
intervals
Results
7.0ms203×body80valid
2.0ms18×body640valid
1.0ms19×body320valid
1.0msbody1280valid
0.0msbody160valid

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0165
1355
2745
31285
42525
53745
65145
76425
87775
910105
1016865
1150015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.6b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
2.7b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
6.6b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite31.0ms

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

series139.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(* (- 1.0 x) y)
64.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
44.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify48.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0338401
11456359
25001359

prune139.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
18×add-sqr-sqrt associate-*r*
13×times-frac
11×add-cube-cbrt
add-exp-log add-cbrt-cube
associate-*l*
pow1 add-log-exp
flip3-- flip-- distribute-lft-out
frac-times associate-*l/ prod-exp associate-/r/ cbrt-unprod unswap-sqr
cbrt-undiv sub-neg flip3-+ diff-log associate-*r/ div-exp pow-prod-down *-commutative flip-+ div-inv distribute-lft-out-- difference-of-squares
Counts
2 → 55
Calls
2 calls:
22.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
2.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

series108.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0362398
11550365
25001365

prune114.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 3 expressions with local error:

2.7b
(- 1.0 (/ (* (- (* 1.0 1.0) (* x x)) (/ y (+ y 1.0))) (+ 1.0 x)))
4.3b
(* (- (* 1.0 1.0) (* x x)) (/ y (+ y 1.0)))
10.2b
(/ (* (- (* 1.0 1.0) (* x x)) (/ y (+ y 1.0))) (+ 1.0 x))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
21×add-sqr-sqrt
18×associate-*r*
17×add-exp-log times-frac add-cbrt-cube
14×add-cube-cbrt
pow1 cbrt-undiv flip3-- div-exp flip-- associate-/l/ distribute-lft-out add-log-exp
frac-times associate-*l* associate-*l/ prod-exp associate-/r* associate-/r/ cbrt-unprod
flip3-+ associate-*r/ flip-+ div-inv difference-of-squares unswap-sqr
sub-neg frac-2neg diff-log pow-prod-down clear-num *-commutative associate-/l* distribute-lft-out--
Counts
3 → 88
Calls
3 calls:
10.0ms
(- 1.0 (/ (* (- (* 1.0 1.0) (* x x)) (/ y (+ y 1.0))) (+ 1.0 x)))
22.0ms
(* (- (* 1.0 1.0) (* x x)) (/ y (+ y 1.0)))
13.0ms
(/ (* (- (* 1.0 1.0) (* x x)) (/ y (+ y 1.0))) (+ 1.0 x))

series248.0ms

Counts
3 → 9
Calls
3 calls:
129.0ms
(- 1.0 (/ (* (- (* 1.0 1.0) (* x x)) (/ y (+ y 1.0))) (+ 1.0 x)))
55.0ms
(* (- (* 1.0 1.0) (* x x)) (/ y (+ y 1.0)))
64.0ms
(/ (* (- (* 1.0 1.0) (* x x)) (/ y (+ y 1.0))) (+ 1.0 x))

simplify85.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
0575965
12919848
25001847

prune197.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
18×*-un-lft-identity
14×times-frac
add-log-exp difference-of-squares
div-inv distribute-lft-out--
add-cube-cbrt associate-+l+
sub-neg distribute-rgt-out--
pow1 add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube
+-commutative flip3-- flip3-+ diff-log sum-log frac-sub flip-- flip-+ sub-div
Counts
2 → 43
Calls
2 calls:
18.0ms
(+ (* 1.0 (- (/ 1 y) (/ x y))) x)
19.0ms
(- (/ 1 y) (/ x y))

series48.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (80.0ms)

IterNodesCost
0224317
1627291
22889282
35001274

prune77.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.1b

regimes77.0ms

Accuracy

99.6% (0.1b remaining)

Error of 0.2b against oracle of 0.2b and baseline of 14.5b

bsearch78.0ms

Steps
ItersRangePoint
8
11297247.164780367
8140883472.542182
325972206.36203164
10
-2.517375459137406e+24
-374005510135422.8
-378501471949656.7

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02910
12910

end0.0ms

sample431.0ms

Algorithm
intervals
Results
145.0ms6069×body80valid
74.0ms756×body640valid
41.0ms382×body1280valid
31.0ms495×body320valid
13.0ms298×body160valid