Details

Time bar (total: 2.9s)

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
6.0ms42×body1280valid
6.0ms48×body640valid
5.0ms141×body80valid
1.0ms12×body320valid
1.0ms13×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0813
1813

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.6b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite45.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))
7.0ms
(/ (+ x 1.0) (- x 1.0))
29.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series12.0ms

Counts
3 → 9
Calls
3 calls:
3.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)))

simplify63.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
053241405

prune181.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.1b

Counts
113 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite107.0ms

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

series24.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049781527
149781527

prune172.0ms

Filtered
80 candidates to 127 candidates (-58.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1261127
Fresh044
Picked011
Done000
Total1266132

Merged error: 0.0b

Counts
132 → 6

localize7.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)))
6.0b
(- (* x (/ 1 (+ x 1.0))) (/ (+ x 1.0) (- x 1.0)))

rewrite43.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 → 136
Calls
4 calls:
5.0ms
(/ 1 (+ x 1.0))
7.0ms
(/ (+ x 1.0) (- x 1.0))
10.0ms
(* x (/ 1 (+ x 1.0)))
16.0ms
(- (* x (/ 1 (+ x 1.0))) (/ (+ x 1.0) (- x 1.0)))

series14.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
050531495

prune172.0ms

Filtered
92 candidates to 148 candidates (-60.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1480148
Fresh044
Picked011
Done011
Total1486154

Merged error: 0.0b

Counts
154 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0))))
0.1b
(/ (- x 1.0) (sqrt (+ x 1.0)))
6.9b
(- (/ x (+ x 1.0)) (/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0)))))

rewrite281.0ms

Algorithm
rewrite-expression-head
Rules
645×times-frac
584×*-un-lft-identity
444×add-sqr-sqrt
362×sqrt-prod
261×add-cube-cbrt
93×distribute-lft-out
78×difference-of-squares
67×distribute-lft-out--
52×associate-/r*
21×associate-/r/
20×sqrt-div
15×associate-/l*
13×add-exp-log add-cbrt-cube
11×flip3-+ flip-+ div-inv
add-log-exp
cbrt-undiv div-exp
pow1 associate-/l/
frac-2neg clear-num
flip3-- flip--
sub-neg diff-log div-sub frac-sub
Counts
4 → 478
Calls
4 calls:
8.0ms
(/ x (+ x 1.0))
21.0ms
(/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0))))
8.0ms
(/ (- x 1.0) (sqrt (+ x 1.0)))
210.0ms
(- (/ x (+ x 1.0)) (/ (sqrt (+ x 1.0)) (/ (- x 1.0) (sqrt (+ x 1.0)))))

series21.0ms

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

simplify159.0ms

Algorithm
egg-herbie
Counts
490 → 490
Iterations

Useful iterations: 0 (95.0ms)

IterNodesCost
049729643
149729643

prune580.0ms

Filtered
194 candidates to 490 candidates (-152.6%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New4900490
Fresh033
Picked011
Done022
Total4906496

Merged error: 0.0b

Counts
496 → 6

regimes82.0ms

Accuracy

99.4% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 29.4b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03745
13745

end0.0ms

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

sample726.0ms

Algorithm
intervals
Results
268.0ms1723×body1280valid
154.0ms1277×body640valid
136.0ms4093×body80valid
54.0ms598×body320valid
19.0ms309×body160valid

Profiling

Loading profile data...