Details

Time bar (total: 2.9s)

sample18.0ms

Algorithm
intervals
Results
4.0ms197×body80valid
2.0ms22×body640valid
1.0ms11×body1280valid
1.0ms18×body320valid
0.0msbody160valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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.2b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
1.7b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
5.2b
(/ (* (- 1.0 x) y) (+ y 1.0))

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

series132.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0338401
11456359
25001359

prune144.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
167×times-frac
157×*-un-lft-identity
120×add-sqr-sqrt
77×add-cube-cbrt
22×distribute-lft-out
20×difference-of-squares
19×associate-/r*
18×distribute-lft-out--
10×add-exp-log add-cbrt-cube
associate-/l*
div-inv
add-log-exp
cbrt-undiv div-exp associate-/l/
pow1
flip3-- frac-2neg div-sub clear-num flip--
sub-neg flip3-+ diff-log associate-/r/ flip-+ associate--r-
Counts
3 → 169
Calls
3 calls:
19.0ms
(/ (+ y 1.0) y)
29.0ms
(/ (- 1.0 x) (/ (+ y 1.0) y))
54.0ms
(- 1.0 (/ (- 1.0 x) (/ (+ y 1.0) y)))

series156.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(/ (+ y 1.0) y)
40.0ms
(/ (- 1.0 x) (/ (+ y 1.0) y))
66.0ms
(- 1.0 (/ (- 1.0 x) (/ (+ y 1.0) y)))

simplify71.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06891514
126461460
250021460

prune326.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 x) y)
0.1b
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
3.4b
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
14.6b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

rewrite132.0ms

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

series330.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (- 1.0 x) y)
73.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
144.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
85.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

simplify85.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05671027
13078900
25001900

prune243.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))

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:
33.0ms
(+ (* 1.0 (- (/ 1 y) (/ x y))) x)
27.0ms
(- (/ 1 y) (/ x y))

series46.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0224317
1627291
22889282
35001274

prune85.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.1b

regimes94.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch79.0ms

Steps
ItersRangePoint
10
0.0058045631009331555
3473512885.6839814
156431656.83624157
8
-40742292820.96068
-35564505.319161475
-82325870.82119277

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03314
13314

end0.0ms

sample506.0ms

Algorithm
intervals
Results
148.0ms6097×body80valid
72.0ms769×body640valid
46.0ms366×body1280valid
32.0ms495×body320valid
12.0ms273×body160valid