Details

Time bar (total: 3.4s)

sample25.0ms

Algorithm
intervals
Results
8.0ms62×body1280valid
5.0ms48×body640valid
4.0ms122×body80valid
1.0ms19×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: 31.7b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

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

series204.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(/ (+ x 1.0) (- x 1.0))
38.0ms
(/ x (+ x 1.0))
128.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify48.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0392760
11379726
25001716

prune188.0ms

Filtered
113 candidates to 76 candidates (67.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1067113
Fresh000
Picked101
Done000
Total1077114

Merged error: 0.1b

Counts
114 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
0.1b
(/ 3.0 (pow x 3))
0.2b
(/ (neg 1.0) (pow x 2))
5.6b
(- (- (/ (neg 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

rewrite161.0ms

Algorithm
rewrite-expression-head
Rules
143×times-frac
120×add-sqr-sqrt
105×*-un-lft-identity
78×add-cube-cbrt
48×unpow-prod-down
29×distribute-rgt-neg-in
27×distribute-lft-neg-in
20×associate-/r*
18×sqr-pow
15×difference-of-squares
14×add-exp-log
13×cube-prod associate-/l* unpow2
11×add-log-exp
10×distribute-lft-out--
neg-mul-1
add-cbrt-cube
div-exp
frac-sub
pow1 cube-mult diff-log unpow3
sub-neg flip3-- flip--
cbrt-undiv associate--l- neg-sub0 pow-to-exp frac-2neg div-sub pow-exp associate--l+ clear-num div-inv
distribute-frac-neg
Counts
4 → 234
Calls
4 calls:
56.0ms
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
5.0ms
(/ 3.0 (pow x 3))
7.0ms
(/ (neg 1.0) (pow x 2))
83.0ms
(- (- (/ (neg 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

series165.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(- (/ (neg 1.0) (pow x 2)) (/ 3.0 x))
40.0ms
(/ 3.0 (pow x 3))
25.0ms
(/ (neg 1.0) (pow x 2))
37.0ms
(- (- (/ (neg 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

simplify103.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07381746
134171585
250011567

prune352.0ms

Filtered
246 candidates to 129 candidates (52.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2451246
Fresh066
Picked011
Done000
Total2458253

Merged error: 0.1b

Counts
253 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.0b
(/ x (+ x 1.0))
2.1b
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
2.1b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
148×*-un-lft-identity
72×times-frac
60×add-sqr-sqrt
31×distribute-lft-out--
26×add-cube-cbrt distribute-lft-out
17×log-pow
16×exp-prod
13×difference-of-squares
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1 log-prod
associate-/r/
cbrt-undiv sub-neg flip3-- frac-2neg flip3-+ div-exp exp-sum clear-num flip-- flip-+ div-inv associate-/l/
log-div exp-diff diff-log rem-log-exp frac-sub
Counts
4 → 135
Calls
4 calls:
7.0ms
(/ (+ x 1.0) (- x 1.0))
5.0ms
(/ x (+ x 1.0))
34.0ms
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
29.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series339.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ (+ x 1.0) (- x 1.0))
40.0ms
(/ x (+ x 1.0))
128.0ms
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
134.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify46.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0441990
11497930
25001917

prune239.0ms

Filtered
147 candidates to 95 candidates (64.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1470147
Fresh066
Picked011
Done011
Total1478155

Merged error: 0.1b

Counts
155 → 8

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

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

series229.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ (+ x 1.0) (- x 1.0))
28.0ms
(/ 1 (+ x 1.0))
33.0ms
(* x (/ 1 (+ x 1.0)))
131.0ms
(- (* x (/ 1 (+ x 1.0))) (/ (+ x 1.0) (- x 1.0)))

simplify60.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0507873
12099791
25002752

prune175.0ms

Filtered
149 candidates to 92 candidates (61.7%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1472149
Fresh325
Picked011
Done022
Total1507157

Merged error: 0.0b

Counts
157 → 7

regimes61.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch91.0ms

Steps
ItersRangePoint
8
2456.611191262651
40897918.92904403
12060.12268311564
10
-1.2424803593581326e+20
-9627.362198738589
-13694.02034117937

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04830
15030
25330
35330

end0.0ms

sample643.0ms

Algorithm
intervals
Results
223.0ms1660×body1280valid
135.0ms1305×body640valid
124.0ms4109×body80valid
48.0ms614×body320valid
17.0ms312×body160valid

Profiling

Loading profile data...