Details

Time bar (total: 2.4s)

sample27.0ms

Algorithm
intervals
Results
10.0ms65×body1280valid
5.0ms44×body640valid
4.0ms123×body80valid
2.0ms17×body320valid
0.0msbody160valid

simplify82.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (81.0ms)

IterNodesCost
0100113
1100113

prune4.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 31.4b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.0b
(/ x (+ x 1.0))
2.0b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
52×times-frac
45×add-sqr-sqrt
23×add-cube-cbrt
18×distribute-lft-out distribute-lft-out--
associate-/r* difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
associate-/r/
pow1
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 104
Calls
3 calls:
8.0ms
(/ (+ x 1.0) (- x 1.0))
5.0ms
(/ x (+ x 1.0))
29.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series13.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(/ (+ x 1.0) (- x 1.0))
3.0ms
(/ x (+ x 1.0))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify59.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049551412
149551412

prune162.0ms

Filtered
76 candidates to 113 candidates (-48.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1094113
Fresh000
Picked101
Done000
Total1104114

Merged error: 0.2b

Counts
114 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.3b
(* (/ -1 x) (+ (/ 1.0 x) 3.0))
0.4b
(/ 3.0 (pow x 3))
6.0b
(- (* (/ -1 x) (+ (/ 1.0 x) 3.0)) (/ 3.0 (pow x 3)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
46×times-frac
41×add-sqr-sqrt
38×*-un-lft-identity
36×add-cube-cbrt
13×add-exp-log associate-*l*
12×unpow-prod-down cube-prod associate-/r*
10×add-cbrt-cube
pow1 frac-sub add-log-exp
cube-mult frac-times flip3-+ unpow3 associate-*r/ div-exp associate-*r* flip-+ sqr-pow
associate-/l*
cbrt-undiv distribute-rgt-in distribute-lft-in associate-*l/ prod-exp associate--l+ cbrt-unprod div-inv unswap-sqr
pow-to-exp sub-neg flip3-- frac-2neg diff-log pow-prod-down pow-exp clear-num *-commutative flip-- distribute-lft-out
Counts
3 → 123
Calls
3 calls:
11.0ms
(* (/ -1 x) (+ (/ 1.0 x) 3.0))
5.0ms
(/ 3.0 (pow x 3))
17.0ms
(- (* (/ -1 x) (+ (/ 1.0 x) 3.0)) (/ 3.0 (pow x 3)))

series16.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(* (/ -1 x) (+ (/ 1.0 x) 3.0))
4.0ms
(/ 3.0 (pow x 3))
7.0ms
(- (* (/ -1 x) (+ (/ 1.0 x) 3.0)) (/ 3.0 (pow x 3)))

simplify38.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
052211499

prune170.0ms

Filtered
85 candidates to 132 candidates (-55.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1311132
Fresh033
Picked101
Done000
Total1324136

Merged error: 0.0b

Counts
136 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (neg 3.0) (pow x 3)) (/ 3.0 x))
0.2b
(* (/ -1 x) (/ 1.0 x))
0.4b
(/ (neg 3.0) (pow x 3))
6.0b
(+ (* (/ -1 x) (/ 1.0 x)) (- (/ (neg 3.0) (pow x 3)) (/ 3.0 x)))

rewrite188.0ms

Algorithm
rewrite-expression-head
Rules
173×times-frac
137×add-sqr-sqrt
114×*-un-lft-identity
94×add-cube-cbrt
43×distribute-lft-neg-in
42×distribute-rgt-neg-in
35×unpow-prod-down cube-prod
21×add-exp-log
18×add-cbrt-cube
17×unpow3
15×neg-mul-1
13×associate-*r* associate-*l* sqr-pow
12×associate-/r*
11×cube-mult add-log-exp
10×associate-/l* difference-of-squares
frac-add
div-exp
pow1 distribute-rgt-out--
cbrt-undiv distribute-lft-out--
frac-times flip3-- associate-*r/ associate-*l/ prod-exp frac-sub flip-- cbrt-unprod unswap-sqr
div-inv
neg-sub0 sub-neg associate-+r+ diff-log div-sub sum-log
+-commutative associate--l- pow-to-exp associate-+r- frac-2neg flip3-+ distribute-frac-neg pow-prod-down pow-exp clear-num *-commutative flip-+
Counts
4 → 267
Calls
4 calls:
76.0ms
(- (/ (neg 3.0) (pow x 3)) (/ 3.0 x))
9.0ms
(* (/ -1 x) (/ 1.0 x))
10.0ms
(/ (neg 3.0) (pow x 3))
80.0ms
(+ (* (/ -1 x) (/ 1.0 x)) (- (/ (neg 3.0) (pow x 3)) (/ 3.0 x)))

series21.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(- (/ (neg 3.0) (pow x 3)) (/ 3.0 x))
3.0ms
(* (/ -1 x) (/ 1.0 x))
4.0ms
(/ (neg 3.0) (pow x 3))
4.0ms
(+ (* (/ -1 x) (/ 1.0 x)) (- (/ (neg 3.0) (pow x 3)) (/ 3.0 x)))

simplify64.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
050123454

prune347.0ms

Filtered
160 candidates to 279 candidates (-74.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2790279
Fresh033
Picked011
Done000
Total2794283

Merged error: 0.0b

Counts
283 → 4

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- x 1.0))
0.0b
(/ x (+ x 1.0))
0.1b
(* (+ x 1.0) (/ 1 (- x 1.0)))
6.9b
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
54×add-sqr-sqrt
44×times-frac
33×add-cube-cbrt
21×associate-*r*
19×add-exp-log
13×add-cbrt-cube
associate-/r*
pow1 distribute-lft-out-- difference-of-squares
associate-/r/ frac-sub associate-/l* add-log-exp
flip3-+ div-exp flip-+ distribute-lft-out
frac-times associate-*l* associate-*l/ prod-exp
cbrt-undiv flip3-- flip-- div-inv unswap-sqr
rec-exp frac-2neg 1-exp associate-*r/ clear-num un-div-inv cbrt-unprod
sub-neg pow-flip diff-log pow-prod-down *-commutative inv-pow
Counts
4 → 141
Calls
4 calls:
5.0ms
(/ 1 (- x 1.0))
5.0ms
(/ x (+ x 1.0))
12.0ms
(* (+ x 1.0) (/ 1 (- x 1.0)))
10.0ms
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

series15.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ 1 (- x 1.0))
3.0ms
(/ x (+ x 1.0))
3.0ms
(* (+ x 1.0) (/ 1 (- x 1.0)))
7.0ms
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

simplify52.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
053121609

prune154.0ms

Filtered
99 candidates to 153 candidates (-54.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1521153
Fresh022
Picked011
Done011
Total1525157

Merged error: 0.0b

Counts
157 → 5

regimes46.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch24.0ms

Steps
ItersRangePoint
10
0.01683730658649282
12785707414306.22
14540.297240922848
8
-12322.514085840688
-0.2101619750885166
-11056.680698277803

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
010941
110941

end0.0ms

sample715.0ms

Algorithm
intervals
Results
244.0ms1657×body1280valid
139.0ms1216×body640valid
132.0ms4200×body80valid
55.0ms635×body320valid
17.0ms292×body160valid

Profiling

Loading profile data...