Details

Time bar (total: 9.6s)

sample20.0ms

Algorithm
intervals
Results
5.0ms47×body1280valid
4.0ms139×body80valid
3.0ms35×body640valid
1.0ms22×body320valid
1.0ms13×body160valid

simplify22.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

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))
3.4b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite51.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))
34.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series215.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(/ x (+ x 1.0))
44.0ms
(/ (+ x 1.0) (- x 1.0))
136.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0392760
11379726
25001716

prune217.0ms

Filtered
113 candidates to 76 candidates (67.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1076113
Fresh000
Picked101
Done000
Total1086114

Merged error: 0.0b

Counts
114 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (/ (+ x 1.0) (- x 1.0)) 3)
0.1b
(pow (/ x (+ x 1.0)) 3)
0.1b
(/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0)))))
3.4b
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

rewrite343.0ms

Algorithm
rewrite-expression-head
Rules
1102×*-un-lft-identity
735×times-frac
560×add-sqr-sqrt
344×unpow-prod-down cube-prod
273×distribute-lft-out--
188×difference-of-squares
176×distribute-lft-out
124×add-cube-cbrt
77×associate-/l*
62×sqr-pow
31×associate-/r/
27×frac-add
16×frac-times associate-*r/
12×add-exp-log add-cbrt-cube
10×associate-*l/
flip3-+ flip-+
pow1 cube-div pow-unpow add-log-exp
difference-cubes div-inv
flip3-- pow-exp flip-- rem-cube-cbrt
cbrt-undiv div-exp associate-/r* associate-/l/
cube-mult pow-to-exp pow-pow unpow3 frac-sub
sub-neg frac-2neg diff-log div-sub clear-num
Counts
4 → 565
Calls
4 calls:
14.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
7.0ms
(pow (/ x (+ x 1.0)) 3)
155.0ms
(/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0)))))
105.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

series1.1s

Counts
4 → 12
Calls
4 calls:
68.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
64.0ms
(pow (/ x (+ x 1.0)) 3)
612.0ms
(/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0)))))
313.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

simplify201.0ms

Algorithm
egg-herbie
Counts
577 → 577
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
0167717362
1500117123

prune760.0ms

Filtered
577 candidates to 203 candidates (35.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New5743577
Fresh055
Picked101
Done000
Total5758583

Merged error: 0.0b

Counts
583 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0)))))
0.1b
(cbrt (pow (/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0))))) 3))
0.1b
(pow (/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0))))) 3)
3.4b
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

rewrite862.0ms

Algorithm
rewrite-expression-head
Rules
3574×*-un-lft-identity
2651×times-frac
1840×add-sqr-sqrt
1536×unpow-prod-down cube-prod
901×distribute-lft-out--
612×difference-of-squares
544×distribute-lft-out
522×cbrt-prod
412×add-cube-cbrt
206×sqr-pow
135×frac-add
115×associate-/r/
80×frac-times associate-*r/
77×associate-/l*
50×associate-*l/
35×flip3-+ flip-+
17×difference-cubes
add-exp-log add-cbrt-cube
cube-div add-log-exp
pow1 div-inv
pow-unpow associate-/r* associate-/l/
cbrt-undiv cube-mult flip3-- unpow3 div-exp pow-exp frac-sub flip-- rem-cube-cbrt
pow-to-exp sub-neg cbrt-div pow-pow frac-2neg pow1/3 diff-log div-sub clear-num rem-cbrt-cube
Counts
4 → 1505
Calls
4 calls:
159.0ms
(/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0)))))
197.0ms
(cbrt (pow (/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0))))) 3))
179.0ms
(pow (/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0))))) 3)
103.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

series2.4s

Counts
4 → 12
Calls
4 calls:
605.0ms
(/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0)))))
826.0ms
(cbrt (pow (/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0))))) 3))
637.0ms
(pow (/ (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3)) (+ (* (/ (+ x 1.0) (- x 1.0)) (+ (/ (+ x 1.0) (- x 1.0)) (/ x (+ x 1.0)))) (* (/ x (+ x 1.0)) (/ x (+ x 1.0))))) 3)
321.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

simplify688.0ms

Algorithm
egg-herbie
Counts
1517 → 1517
Iterations

Useful iterations: 1 (60.0ms)

IterNodesCost
0272070091
1500169548

prune1.4s

Filtered
1517 candidates to 325 candidates (21.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New151701517
Fresh077
Picked011
Done000
Total151781525

Merged error: 0.0b

Counts
1525 → 8

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.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:
6.0ms
(/ 1 (+ x 1.0))
7.0ms
(/ (+ x 1.0) (- x 1.0))
14.0ms
(* x (/ 1 (+ x 1.0)))
15.0ms
(- (* x (/ 1 (+ x 1.0))) (/ (+ x 1.0) (- x 1.0)))

series245.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ 1 (+ x 1.0))
39.0ms
(/ (+ x 1.0) (- x 1.0))
40.0ms
(* x (/ 1 (+ x 1.0)))
137.0ms
(- (* x (/ 1 (+ x 1.0))) (/ (+ x 1.0) (- x 1.0)))

simplify63.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0507875
12099793
25001754

prune178.0ms

Filtered
149 candidates to 92 candidates (61.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1490149
Fresh066
Picked011
Done011
Total1498157

Merged error: 0.0b

Counts
157 → 8

regimes46.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch81.0ms

Steps
ItersRangePoint
6
14028.172733867412
57946.35045805707
14949.242297652785
10
-7888799.454350161
-0.0014566459989916651
-15417.922011129276

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04235
14235

end0.0ms

sample548.0ms

Algorithm
intervals
Results
185.0ms1668×body1280valid
108.0ms1266×body640valid
96.0ms4110×body80valid
49.0ms638×body320valid
14.0ms318×body160valid

Profiling

Loading profile data...