Details

Time bar (total: 3.4s)

analyze4.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14

sample24.0ms

Algorithm
intervals
Results
7.0ms47×body1280valid
5.0ms43×body640valid
4.0ms133×body80valid
2.0ms21×body320valid
1.0ms12×body160valid

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: 28.7b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
2.3b
(- (/ 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 → 103
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
8.0ms
(/ (+ x 1.0) (- x 1.0))
30.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series12.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049551404
149551404

prune185.0ms

Filtered
76 candidates to 112 candidates (-47.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1075112
Fresh000
Picked101
Done000
Total1085113

Merged error: 0.2b

Counts
113 → 5

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite157.0ms

Algorithm
rewrite-expression-head
Rules
354×*-un-lft-identity
216×times-frac
190×add-sqr-sqrt
104×unpow-prod-down cube-prod
78×add-cube-cbrt
66×distribute-lft-out
61×distribute-lft-out--
44×difference-of-squares
24×swap-sqr
22×add-exp-log add-cbrt-cube
18×associate-*r* associate-*l*
16×associate-/r/
14×sqr-pow
13×pow1
div-inv
cbrt-undiv pow-unpow flip3-+ div-exp flip-+ add-log-exp
cube-div pow-exp prod-exp cbrt-unprod rem-cube-cbrt unswap-sqr
flip3-- flip--
cube-mult pow-to-exp pow-pow unpow3
difference-cubes pow2 frac-times sub-neg pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up frac-sub
Counts
4 → 302
Calls
4 calls:
10.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
19.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
7.0ms
(pow (/ x (+ x 1.0)) 3)
101.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

series23.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
3.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
3.0ms
(pow (/ x (+ x 1.0)) 3)
14.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

simplify85.0ms

Algorithm
egg-herbie
Counts
314 → 314
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
050595149

prune492.0ms

Filtered
132 candidates to 314 candidates (-137.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New3122314
Fresh044
Picked101
Done000
Total3136319

Merged error: 0.0b

Counts
319 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
0.1b
(pow (/ x (+ x 1.0)) 3)
2.1b
(log (exp (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))))
2.1b
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

rewrite272.0ms

Algorithm
rewrite-expression-head
Rules
485×*-un-lft-identity
264×times-frac
239×add-sqr-sqrt
138×unpow-prod-down cube-prod
106×distribute-lft-out--
88×distribute-lft-out
78×log-pow
77×exp-prod
72×difference-of-squares
59×add-cube-cbrt
25×sqr-pow
24×swap-sqr
19×add-exp-log add-cbrt-cube
18×associate-*r* associate-*l*
13×pow1
12×associate-/r/
flip3-+ flip-+ div-inv add-log-exp
cbrt-undiv div-exp
log-prod prod-exp cbrt-unprod unswap-sqr
cube-div pow-unpow
difference-cubes sub-neg pow-exp rem-cube-cbrt
pow2 cube-mult frac-times pow-to-exp log-div flip3-- pow-pow pow-plus exp-diff diff-log unpow3 associate-*r/ rem-log-exp exp-sum pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up frac-sub flip--
Counts
4 → 321
Calls
4 calls:
18.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
7.0ms
(pow (/ x (+ x 1.0)) 3)
111.0ms
(log (exp (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))))
104.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

series34.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
3.0ms
(pow (/ x (+ x 1.0)) 3)
14.0ms
(log (exp (- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))))
14.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

simplify93.0ms

Algorithm
egg-herbie
Counts
333 → 333
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049535192
149535192

prune606.0ms

Filtered
137 candidates to 333 candidates (-143.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New3321333
Fresh055
Picked101
Done000
Total3336339

Merged error: 0.0b

Counts
339 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.0b
(exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
2.2b
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
2.3b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
178×*-un-lft-identity
80×times-frac
64×add-sqr-sqrt
44×distribute-lft-out--
32×exp-prod
30×distribute-lft-out
18×add-cube-cbrt
17×log-pow difference-of-squares
add-log-exp
add-exp-log add-cbrt-cube
pow1 associate-/r*
log-prod associate-/l*
sub-neg
flip3-- exp-diff diff-log exp-sum associate-/r/ flip-- rem-exp-log associate-/l/
cbrt-undiv log-div frac-2neg flip3-+ div-exp rem-log-exp clear-num frac-sub flip-+ div-inv
Counts
4 → 127
Calls
4 calls:
8.0ms
(/ (+ x 1.0) (- x 1.0))
31.0ms
(exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
34.0ms
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
30.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series24.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ (+ x 1.0) (- x 1.0))
7.0ms
(exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
7.0ms
(log (exp (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049581785
149581785

prune179.0ms

Filtered
86 candidates to 139 candidates (-61.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1390139
Fresh055
Picked011
Done000
Total1396145

Merged error: 0.0b

Counts
145 → 6

regimes93.0ms

Accuracy

99.6% (0.1b remaining)

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

bsearch23.0ms

Steps
ItersRangePoint
7
3422.165133181475
89249.59109088026
11564.879843644814
9
-24636101295.52703
-67.61204973096547
-13286.958638175067

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09445
19445

end0.0ms

sample703.0ms

Algorithm
intervals
Results
261.0ms1755×body1280valid
142.0ms1196×body640valid
128.0ms4099×body80valid
59.0ms644×body320valid
22.0ms306×body160valid

Profiling

Loading profile data...