Details

Time bar (total: 2.3s)

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

sample28.0ms

Algorithm
intervals
Results
9.0ms59×body640valid
5.0ms138×body80valid
4.0ms23×body1280valid
2.0ms23×body320valid
1.0ms13×body160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1317
2437
3577
4737
5927
61267
71587
82077
92097
102097

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.0b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
0.0b
(/ 1.0 (+ x 1.0))
2.7b
(+ (- (/ 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 associate-+l+ frac-2neg flip3-+ diff-log div-exp clear-num sum-log frac-sub flip-+ div-inv
+-commutative associate-+l-
Counts
4 → 114
Calls
4 calls:
6.0ms
(/ 1.0 (- x 1.0))
18.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
5.0ms
(/ 1.0 (+ x 1.0))
37.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series18.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0496865
11681827
25001816

prune200.0ms

Filtered
92 candidates to 126 candidates (-37.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1242126
Fresh000
Picked011
Done000
Total1243127

Merged error: 0.2b

Counts
127 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
46×associate-*l/
16×flip3-- frac-add flip--
13×flip3-+ flip-+
12×frac-times
11×pow1 add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
associate-*r* add-log-exp
add-cube-cbrt
associate-*r/
sub-neg associate-*l*
distribute-rgt-in associate-+l+ distribute-lft-in pow-prod-down prod-exp cbrt-unprod
*-commutative
+-commutative diff-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 96
Calls
4 calls:
7.0ms
(* (+ x 1.0) x)
4.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
11.0ms
(* (* (+ x 1.0) x) (- x 1.0))
15.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series20.0ms

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

simplify133.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
07711337
144701257
250011257

prune221.0ms

Filtered
78 candidates to 108 candidates (-38.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1071108
Fresh011
Picked011
Done101
Total1083111

Merged error: 0.1b

Counts
111 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
18×associate-*l/
12×add-sqr-sqrt *-un-lft-identity
10×pow1
frac-times add-cube-cbrt associate-*r* associate-/r/
flip3-+ prod-exp cbrt-unprod flip-+
flip3-- flip--
associate-*l*
associate-*r/ pow-prod-down
cbrt-undiv times-frac div-exp associate-/l* add-log-exp
distribute-rgt-in sub-neg distribute-lft-in *-commutative
frac-2neg clear-num associate-/r* div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 84
Calls
3 calls:
6.0ms
(* (+ x 1.0) x)
10.0ms
(* (* (+ x 1.0) x) (- x 1.0))
11.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series19.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* (+ x 1.0) x)
8.0ms
(* (* (+ x 1.0) x) (- x 1.0))
6.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

simplify64.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0430600
12219516
25002515

prune127.0ms

Filtered
62 candidates to 93 candidates (-50.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New89493
Fresh101
Picked101
Done101
Total92496

Merged error: 0b

Counts
96 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.0b
(/ (/ 2.0 (* (+ x 1.0) x)) (- x 1.0))
0.2b
(/ 2.0 (* (+ x 1.0) x))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
51×add-sqr-sqrt *-un-lft-identity
29×add-cube-cbrt
19×add-exp-log add-cbrt-cube
16×associate-*l/ associate-/r/
12×associate-/l*
10×distribute-lft-out-- difference-of-squares
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
associate-/r*
pow1
associate-*l*
associate-*r* prod-exp cbrt-unprod add-log-exp
frac-2neg clear-num
flip3-- pow-prod-down *-commutative flip-- associate-/l/ distribute-lft-out unswap-sqr
Counts
3 → 122
Calls
3 calls:
7.0ms
(* (+ x 1.0) x)
14.0ms
(/ (/ 2.0 (* (+ x 1.0) x)) (- x 1.0))
7.0ms
(/ 2.0 (* (+ x 1.0) x))

series18.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05601012
12547928
25002928

prune183.0ms

Filtered
96 candidates to 131 candidates (-36.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1310131
Fresh033
Picked011
Done000
Total1314135

Merged error: 0b

Counts
135 → 4

regimes33.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

analyze7.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

sample879.0ms

Algorithm
intervals
Results
305.0ms1875×body640valid
182.0ms4172×body80valid
117.0ms580×body1280valid
116.0ms926×body320valid
38.0ms447×body160valid
0.0msbody80invalid

Profiling

Loading profile data...