Details

Time bar (total: 3.0s)

sample22.0ms

Algorithm
intervals
Results
6.0ms51×body1280valid
4.0ms44×body640valid
4.0ms145×body80valid
1.0ms11×body320valid
0.0msbody160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.5b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite50.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:
5.0ms
(/ x (+ x 1.0))
8.0ms
(/ (+ x 1.0) (- x 1.0))
33.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series204.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ x (+ x 1.0))
41.0ms
(/ (+ x 1.0) (- x 1.0))
129.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify42.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0392760
11379726
25001716

prune198.0ms

Filtered
113 candidates to 76 candidates (67.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1094113
Fresh000
Picked101
Done000
Total1104114

Merged error: 0.0b

Counts
114 → 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)))
4.6b
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

rewrite38.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:
6.0ms
(/ 1 (- x 1.0))
5.0ms
(/ x (+ x 1.0))
13.0ms
(* (+ x 1.0) (/ 1 (- x 1.0)))
10.0ms
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

series235.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ 1 (- x 1.0))
38.0ms
(/ x (+ x 1.0))
37.0ms
(* (+ x 1.0) (/ 1 (- x 1.0)))
134.0ms
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

simplify73.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0576950
12837862
25001820

prune193.0ms

Filtered
153 candidates to 100 candidates (65.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1530153
Fresh033
Picked011
Done000
Total1534157

Merged error: 0.0b

Counts
157 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.0b
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
1.5b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
1.5b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite175.0ms

Algorithm
rewrite-expression-head
Rules
943×*-un-lft-identity
364×times-frac
253×distribute-lft-out--
186×sqrt-prod
166×distribute-lft-out
117×add-sqr-sqrt
79×swap-sqr
29×difference-of-squares
24×sqrt-div
23×add-cube-cbrt
19×pow1 associate-*r* associate-*l*
11×flip3-- flip--
10×frac-sub
frac-times
add-exp-log sqrt-pow1 pow1/2 add-cbrt-cube add-log-exp
associate-/r* pow-prod-up
associate-/l* unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv pow2 frac-2neg flip3-+ pow-plus sqrt-unprod div-exp prod-exp clear-num rem-square-sqrt *-commutative cbrt-unprod flip-+ div-inv
Counts
4 → 258
Calls
4 calls:
8.0ms
(/ (+ x 1.0) (- x 1.0))
73.0ms
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
30.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
34.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series438.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ (+ x 1.0) (- x 1.0))
135.0ms
(* (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (sqrt (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
135.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
130.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify85.0ms

Algorithm
egg-herbie
Counts
270 → 270
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04572586
117732448
250012412

prune303.0ms

Filtered
270 candidates to 113 candidates (41.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2700270
Fresh022
Picked011
Done011
Total2704274

Merged error: 0.0b

Counts
274 → 4

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(* x (+ 3.0 (* x 1.0)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity associate-*r* associate-*l* add-cbrt-cube
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ add-log-exp unswap-sqr
Counts
1 → 22
Calls
1 calls:
5.0ms
(* x (+ 3.0 (* x 1.0)))

series66.0ms

Counts
1 → 3
Calls
1 calls:
66.0ms
(* x (+ 3.0 (* x 1.0)))

simplify102.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0144117
1680103
23770103
35002103

prune26.0ms

Filtered
25 candidates to 16 candidates (64.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New25025
Fresh011
Picked011
Done022
Total25429

Merged error: 0.0b

Counts
29 → 4

regimes45.0ms

Accuracy

100% (0.0b remaining)

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

bsearch68.0ms

Steps
ItersRangePoint
8
1.3894494120209264
29774.780359327975
10382.874295286307
9
-3141188.981794727
-6.238959787773506
-10689.65836839195

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03515
13515

end0.0ms

sample621.0ms

Algorithm
intervals
Results
221.0ms1739×body1280valid
129.0ms1289×body640valid
119.0ms4045×body80valid
45.0ms600×body320valid
17.0ms327×body160valid

Profiling

Loading profile data...