Details

Time bar (total: 2.4s)

sample18.0ms

Algorithm
intervals
Results
4.0ms184×body80valid
2.0ms23×body640valid
2.0ms15×body1280valid
1.0ms16×body320valid
1.0ms18×body160valid

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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 23.1b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
4.1b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
6.0b
(/ (* (- 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)
10.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
10.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series143.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0338401
11456359
25001359

prune140.0ms

Filtered
72 candidates to 51 candidates (70.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.4b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite70.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:
8.0ms
(/ (+ y 1.0) y)
14.0ms
(/ (- 1.0 x) (/ (+ y 1.0) y))
35.0ms
(- 1.0 (/ (- 1.0 x) (/ (+ y 1.0) y)))

series156.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06891514
126461460
250021460

prune314.0ms

Filtered
178 candidates to 117 candidates (65.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.4b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- 1.0 x) (+ y 1.0))
0.1b
(* (/ (- 1.0 x) (+ y 1.0)) y)
6.3b
(- 1.0 (* (/ (- 1.0 x) (+ y 1.0)) y))

rewrite42.0ms

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

series139.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(/ (- 1.0 x) (+ y 1.0))
46.0ms
(* (/ (- 1.0 x) (+ y 1.0)) y)
68.0ms
(- 1.0 (* (/ (- 1.0 x) (+ y 1.0)) y))

simplify44.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0434707
11480660
25001654

prune187.0ms

Filtered
112 candidates to 76 candidates (67.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.4b

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

simplify71.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0224317
1627291
22889282
35001274

prune76.0ms

Filtered
49 candidates to 33 candidates (67.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.4b

regimes176.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 14.3b

bsearch54.0ms

Steps
ItersRangePoint
8
1492619.9961215777
26105877676.696735
127061092.85502641
6
-4707863282.998968
-1117730599.3323822
-1134970590.4997056

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02910
12910

end0.0ms

sample439.0ms

Algorithm
intervals
Results
148.0ms6104×body80valid
66.0ms728×body640valid
41.0ms386×body1280valid
35.0ms467×body320valid
14.0ms315×body160valid