Details

Time bar (total: 1.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

sample25.0ms

Algorithm
intervals
Results
8.0ms53×body1280valid
5.0ms41×body640valid
4.0ms134×body80valid
2.0ms19×body320valid
1.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0813
1813

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.8b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

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

series13.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
053241405

prune173.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1093112
Fresh000
Picked101
Done000
Total1103113

Merged error: 0.2b

Counts
113 → 3

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

rewrite39.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:
7.0ms
(/ (+ x 1.0) (- x 1.0))
5.0ms
(/ 1 (+ x 1.0))
9.0ms
(* x (/ 1 (+ x 1.0)))
14.0ms
(- (* x (/ 1 (+ x 1.0))) (/ (+ x 1.0) (- x 1.0)))

series14.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ (+ x 1.0) (- x 1.0))
2.0ms
(/ 1 (+ x 1.0))
2.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 (42.0ms)

IterNodesCost
050531495

prune160.0ms

Filtered
93 candidates to 148 candidates (-59.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1471148
Fresh112
Picked011
Done000
Total1483151

Merged error: 0.2b

Counts
151 → 3

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(* x (+ (* x 1.0) 3.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:
6.0ms
(* x (+ (* x 1.0) 3.0))

series8.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
05051216

prune28.0ms

Filtered
16 candidates to 25 candidates (-56.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New25025
Fresh011
Picked011
Done011
Total25328

Merged error: 0.2b

Counts
28 → 3

localize11.0ms

Local error

Found 3 expressions with local error:

0.3b
(* (/ -1 x) (+ 3.0 (/ 1.0 x)))
0.4b
(/ (neg 3.0) (pow x 3))
6.0b
(+ (* (/ -1 x) (+ 3.0 (/ 1.0 x))) (/ (neg 3.0) (pow x 3)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
131×times-frac
88×add-sqr-sqrt
85×*-un-lft-identity
83×add-cube-cbrt
39×distribute-lft-neg-in distribute-rgt-neg-in
33×unpow-prod-down cube-prod
14×neg-mul-1
13×add-exp-log associate-*l*
12×cube-mult associate-/r*
11×unpow3 sqr-pow
10×add-cbrt-cube associate-/l*
pow1 flip3-+ frac-add flip-+ add-log-exp
frac-times associate-*r/ div-exp associate-*r*
cbrt-undiv neg-sub0 distribute-rgt-in associate-+l+ distribute-lft-in div-sub distribute-frac-neg associate-*l/ prod-exp cbrt-unprod div-inv distribute-lft-out unswap-sqr
+-commutative pow-to-exp associate-+r- frac-2neg unsub-neg pow-prod-down pow-exp clear-num sum-log *-commutative
Counts
3 → 218
Calls
3 calls:
10.0ms
(* (/ -1 x) (+ 3.0 (/ 1.0 x)))
7.0ms
(/ (neg 3.0) (pow x 3))
29.0ms
(+ (* (/ -1 x) (+ 3.0 (/ 1.0 x))) (/ (neg 3.0) (pow x 3)))

series13.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(* (/ -1 x) (+ 3.0 (/ 1.0 x)))
3.0ms
(/ (neg 3.0) (pow x 3))
4.0ms
(+ (* (/ -1 x) (+ 3.0 (/ 1.0 x))) (/ (neg 3.0) (pow x 3)))

simplify74.0ms

Algorithm
egg-herbie
Counts
227 → 227
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
050272579

prune246.0ms

Filtered
120 candidates to 227 candidates (-89.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2243227
Fresh000
Picked101
Done022
Total2255230

Merged error: 0.0b

Counts
230 → 5

regimes45.0ms

Accuracy

100% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 29.2b

bsearch44.0ms

Steps
ItersRangePoint
10
3.691203913254515e-06
18922.092799324124
11337.993240893033
10
-240713.70297396785
-1.2912981559890909e-08
-12000.687240810628

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05453
15453

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

sample733.0ms

Algorithm
intervals
Results
266.0ms1709×body1280valid
160.0ms1246×body640valid
137.0ms4128×body80valid
57.0ms620×body320valid
20.0ms297×body160valid

Profiling

Loading profile data...