Details

Time bar (total: 3.3s)

sample18.0ms

Algorithm
intervals
Results
5.0ms195×body80valid
2.0ms22×body640valid
2.0ms15×body1280valid
1.0ms15×body320valid
0.0msbody160valid

simplify83.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: 22.8b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
3.3b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
7.8b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite68.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:
21.0ms
(* (- 1.0 x) y)
21.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
24.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series129.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(* (- 1.0 x) y)
62.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
39.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify55.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0338401
11456359
25001359

prune135.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 x) y)
2.2b
(/ (* (- 1.0 x) y) (sqrt (+ y 1.0)))
2.4b
(/ (/ (* (- 1.0 x) y) (sqrt (+ y 1.0))) (sqrt (+ y 1.0)))
5.0b
(- 1.0 (/ (/ (* (- 1.0 x) y) (sqrt (+ y 1.0))) (sqrt (+ y 1.0))))

rewrite162.0ms

Algorithm
rewrite-expression-head
Rules
156×times-frac
114×*-un-lft-identity
97×sqrt-prod
74×add-sqr-sqrt
62×add-cube-cbrt
24×distribute-lft-out
20×add-exp-log sqrt-div associate-/r/ add-cbrt-cube
14×associate-/r* associate-/l*
10×flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1 add-log-exp
associate-*l*
associate-*l/ difference-of-squares
flip3-- associate-*r* prod-exp flip-- cbrt-unprod associate-/l/
frac-2neg clear-num distribute-lft-out--
sub-neg diff-log pow-prod-down *-commutative unswap-sqr
Counts
4 → 201
Calls
4 calls:
24.0ms
(* (- 1.0 x) y)
24.0ms
(/ (* (- 1.0 x) y) (sqrt (+ y 1.0)))
41.0ms
(/ (/ (* (- 1.0 x) y) (sqrt (+ y 1.0))) (sqrt (+ y 1.0)))
63.0ms
(- 1.0 (/ (/ (* (- 1.0 x) y) (sqrt (+ y 1.0))) (sqrt (+ y 1.0))))

series229.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (- 1.0 x) y)
98.0ms
(/ (* (- 1.0 x) y) (sqrt (+ y 1.0)))
40.0ms
(/ (/ (* (- 1.0 x) y) (sqrt (+ y 1.0))) (sqrt (+ y 1.0)))
64.0ms
(- 1.0 (/ (/ (* (- 1.0 x) y) (sqrt (+ y 1.0))) (sqrt (+ y 1.0))))

simplify106.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
07152414
132772119
250032107

prune350.0ms

Pruning

3 alts after pruning (2 fresh and 1 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))

rewrite62.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:
31.0ms
(+ (* 1.0 (- (/ 1 y) (/ x y))) x)
29.0ms
(- (/ 1 y) (/ x y))

series47.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0224317
1627291
22889282
35001274

prune77.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp
Counts
4 → 44
Calls
4 calls:
1.0ms
(cbrt y)
1.0ms
(cbrt y)
1.0ms
(cbrt y)
1.0ms
(cbrt y)

series681.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(cbrt y)
172.0ms
(cbrt y)
168.0ms
(cbrt y)
172.0ms
(cbrt y)

simplify135.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
040156
181144
2193136
3696136
44103136
55002136

prune143.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

regimes185.0ms

Accuracy

99.6% (0.1b remaining)

Error of 0.3b against oracle of 0.2b and baseline of 27.3b

bsearch79.0ms

Steps
ItersRangePoint
10
8.950540206577903e-05
1607394699600770.5
77921780.70844802
9
-1500.694570789724
-6.027254205251813e-06
-0.9906112633587307

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03114
13114

end0.0ms

sample466.0ms

Algorithm
intervals
Results
153.0ms6071×body80valid
60.0ms707×body640valid
40.0ms378×body1280valid
34.0ms545×body320valid
13.0ms299×body160valid