Details

Time bar (total: 2.8s)

analyze6.0ms

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

sample30.0ms

Algorithm
intervals
Results
9.0ms66×body640valid
8.0ms138×body80valid
3.0ms17×body1280valid
3.0ms24×body320valid
1.0ms11×body160valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
088015
188015

prune5.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: 9.2b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(/ 1.0 (+ x 1.0))
0.0b
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
1.6b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
83×*-un-lft-identity
47×times-frac
43×add-sqr-sqrt
23×add-cube-cbrt
14×distribute-lft-out--
13×distribute-lft-out
11×add-log-exp
associate-/r*
add-exp-log add-cbrt-cube difference-of-squares
associate-/l*
pow1 associate-/r/
flip3-- frac-add flip--
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num sum-log frac-sub flip-+ div-inv
+-commutative associate-+l- associate-+l+
Counts
4 → 112
Calls
4 calls:
8.0ms
(/ 1.0 (- x 1.0))
8.0ms
(/ 1.0 (+ x 1.0))
18.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
29.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series25.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
049491594
149491594

prune217.0ms

Filtered
95 candidates to 124 candidates (-30.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1213124
Fresh000
Picked101
Done000
Total1223125

Merged error: 0.3b

Counts
125 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ 1.0 (+ 1.0 x)))
0.0b
(sqrt (/ 1.0 (+ 1.0 x)))
0.1b
(* (sqrt (/ 1.0 (+ 1.0 x))) (sqrt (/ 1.0 (+ 1.0 x))))
5.8b
(+ (- (* (sqrt (/ 1.0 (+ 1.0 x))) (sqrt (/ 1.0 (+ 1.0 x)))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
134×sqrt-prod
116×*-un-lft-identity
94×add-sqr-sqrt
92×times-frac
60×add-cube-cbrt
29×swap-sqr
25×distribute-lft-out
21×pow1 associate-*r* associate-*l*
12×associate-/r/
10×sqrt-pow1 pow1/2 sqrt-div
add-log-exp unswap-sqr
flip3-+ flip-+
add-exp-log add-cbrt-cube div-inv
frac-add pow-prod-up
rem-sqrt-square
pow-prod-down pow-sqr frac-sub
frac-times associate-*r/ associate-*l/ sum-log
+-commutative pow2 associate-+l- sub-neg associate-+l+ flip3-- pow-plus sqrt-unprod diff-log prod-exp rem-square-sqrt *-commutative flip-- cbrt-unprod
Counts
4 → 188
Calls
4 calls:
5.0ms
(sqrt (/ 1.0 (+ 1.0 x)))
5.0ms
(sqrt (/ 1.0 (+ 1.0 x)))
20.0ms
(* (sqrt (/ 1.0 (+ 1.0 x))) (sqrt (/ 1.0 (+ 1.0 x))))
25.0ms
(+ (- (* (sqrt (/ 1.0 (+ 1.0 x))) (sqrt (/ 1.0 (+ 1.0 x)))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series29.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt (/ 1.0 (+ 1.0 x)))
7.0ms
(sqrt (/ 1.0 (+ 1.0 x)))
6.0ms
(* (sqrt (/ 1.0 (+ 1.0 x))) (sqrt (/ 1.0 (+ 1.0 x))))
9.0ms
(+ (- (* (sqrt (/ 1.0 (+ 1.0 x))) (sqrt (/ 1.0 (+ 1.0 x)))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify70.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049392700
149392700

prune389.0ms

Filtered
130 candidates to 200 candidates (-53.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2000200
Fresh022
Picked011
Done000
Total2003203

Merged error: 0.3b

Counts
203 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0)))
0.0b
(* x (+ 1.0 x))
0.1b
(* x (- (* x x) (* 1.0 1.0)))
16.0b
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
42×associate-*r/
19×flip3-- flip--
18×add-sqr-sqrt
16×frac-add
14×*-un-lft-identity
12×frac-times
11×associate-*r* associate-*l*
10×pow1 add-exp-log add-cube-cbrt flip3-+ add-cbrt-cube flip-+
distribute-rgt-in distribute-lft-in
sub-neg associate-*l/ add-log-exp
associate-+r+
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
associate-+l+ difference-of-squares
+-commutative sum-log distribute-lft-out distribute-lft-out--
Counts
4 → 109
Calls
4 calls:
9.0ms
(* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0)))
6.0ms
(* x (+ 1.0 x))
6.0ms
(* x (- (* x x) (* 1.0 1.0)))
12.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

series18.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0)))
4.0ms
(* x (+ 1.0 x))
7.0ms
(* x (- (* x x) (* 1.0 1.0)))
1.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

simplify42.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
056502807

prune286.0ms

Filtered
96 candidates to 121 candidates (-26.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1201121
Fresh011
Picked101
Done011
Total1213124

Merged error: 0.3b

Counts
124 → 3

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (+ 1.0 x))
0.0b
(* x (- (pow x 4) (pow 1.0 4)))
16.0b
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))
17.7b
(/ (* x (- (pow x 4) (pow 1.0 4))) (+ (* x x) (* 1.0 1.0)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
42×associate-*r/
26×add-sqr-sqrt
18×associate-*r*
16×*-un-lft-identity frac-add
14×flip3-- flip--
13×add-exp-log add-cbrt-cube
11×flip3-+ flip-+
10×add-cube-cbrt
difference-of-squares
pow1 frac-times unpow-prod-down
distribute-rgt-in distribute-lft-in
associate-*l* add-log-exp sqr-pow
sub-neg associate-+r+ associate-*l/
times-frac prod-exp associate-/r* cbrt-unprod
cbrt-undiv associate-+l+ div-exp pow-prod-down associate-/r/ *-commutative associate-/l/ distribute-lft-out-- unswap-sqr
+-commutative frac-2neg clear-num sum-log div-inv distribute-lft-out associate-/l*
Counts
4 → 114
Calls
4 calls:
6.0ms
(* x (+ 1.0 x))
11.0ms
(* x (- (pow x 4) (pow 1.0 4)))
12.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))
13.0ms
(/ (* x (- (pow x 4) (pow 1.0 4))) (+ (* x x) (* 1.0 1.0)))

series29.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* x (+ 1.0 x))
10.0ms
(* x (- (pow x 4) (pow 1.0 4)))
1.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))
14.0ms
(/ (* x (- (pow x 4) (pow 1.0 4))) (+ (* x x) (* 1.0 1.0)))

simplify81.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
050542680

prune370.0ms

Filtered
101 candidates to 126 candidates (-24.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1251126
Fresh011
Picked101
Done011
Total1263129

Merged error: 0.3b

Counts
129 → 3

regimes41.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.3b against oracle of 0.3b and baseline of 20.1b

bsearch35.0ms

Steps
ItersRangePoint
9
440.4259595560071
243476276.19758523
569.3349891167142
8
-388617481261202.44
-177468938200.04388
-370328111107034.1

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
011645
111645

end0.0ms

sample769.0ms

Algorithm
intervals
Results
261.0ms1843×body640valid
161.0ms4117×body80valid
113.0ms625×body1280valid
104.0ms973×body320valid
32.0ms442×body160valid
0.0msbody80invalid

Profiling

Loading profile data...