Details

Time bar (total: 2.4s)

analyze6.0ms

Algorithm
search

sample25.0ms

Algorithm
intervals
Results
8.0ms61×body640valid
5.0ms130×body80valid
4.0ms43×body320valid
2.0ms13×body1280valid
1.0msbody160valid

simplify15.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: 10.3b

Counts
2 → 1

localize12.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))
2.6b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite75.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:
4.0ms
(/ 1.0 (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
21.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
40.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series19.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))
12.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify48.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0496865
11681827
25001816

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

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
88×associate-*l/
32×frac-add
31×flip3-- flip--
24×frac-times flip3-+ flip-+
18×add-exp-log add-cbrt-cube associate-/l/
12×associate-*r/
pow1 add-sqr-sqrt *-un-lft-identity
associate-/r/ add-log-exp
add-cube-cbrt
prod-exp cbrt-unprod
sub-neg associate-*r*
distribute-rgt-in associate-+l+ distribute-lft-in
cbrt-undiv times-frac div-exp pow-prod-down associate-/l*
+-commutative frac-2neg diff-log associate-*l* clear-num associate-/r* sum-log *-commutative div-inv distribute-lft-out-- difference-of-squares
Counts
4 → 124
Calls
4 calls:
21.0ms
(/ (+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
3.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
9.0ms
(* (* (+ x 1.0) x) (- x 1.0))
10.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:
8.0ms
(/ (+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
3.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
7.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))

simplify46.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09972264
150012129

prune361.0ms

Filtered
108 candidates to 136 candidates (-25.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1342136
Fresh011
Picked101
Done011
Total1354139

Merged error: 0.1b

Counts
139 → 4

localize14.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)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0)) (- (pow x 3) (* 1.0 x)))
0.0b
(- (* 1.0 x) (* (+ x 1.0) 2.0))
18.0b
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
74×associate-*l/
32×frac-add
26×flip3-- flip--
19×flip3-+ flip-+
18×associate-/l/
17×add-sqr-sqrt *-un-lft-identity
16×frac-times
15×add-cube-cbrt
12×times-frac
add-exp-log associate-*r/ add-cbrt-cube add-log-exp
pow1
associate-+l+ distribute-rgt-out-- unpow3 associate-*l* associate-/r*
sub-neg associate-*r* associate-/l*
distribute-rgt-in distribute-lft-in associate-/r/
cbrt-undiv +-commutative frac-2neg diff-log div-exp pow-prod-down prod-exp clear-num sum-log *-commutative cbrt-unprod div-inv distribute-lft-out unswap-sqr
Counts
4 → 115
Calls
4 calls:
5.0ms
(* (+ x 1.0) x)
17.0ms
(/ (+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0)) (- (pow x 3) (* 1.0 x)))
3.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
10.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series14.0ms

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

simplify128.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08672153
147562046
250022046

prune373.0ms

Filtered
102 candidates to 127 candidates (-24.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1261127
Fresh112
Picked101
Done101
Total1292131

Merged error: 0.1b

Counts
131 → 2

localize6.0ms

Local error

Found 1 expressions with local error:

0.2b
(/ 2.0 (- (pow x 3) (* 1.0 x)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
12×times-frac
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
distribute-rgt-out-- unpow3 associate-/r*
add-exp-log add-cbrt-cube associate-/l*
associate-/r/
pow1 cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv add-log-exp
Counts
1 → 33
Calls
1 calls:
7.0ms
(/ 2.0 (- (pow x 3) (* 1.0 x)))

series5.0ms

Counts
1 → 3
Calls
1 calls:
5.0ms
(/ 2.0 (- (pow x 3) (* 1.0 x)))

simplify77.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0199277
1707256
22716254
35001254

prune63.0ms

Filtered
30 candidates to 36 candidates (-20.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New34236
Fresh101
Picked011
Done000
Total35338

Merged error: 0.0b

Counts
38 → 3

regimes26.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
0125
1125

end0.0ms

analyze6.0ms

Algorithm
search

sample746.0ms

Algorithm
intervals
Results
262.0ms1865×body640valid
158.0ms4156×body80valid
98.0ms945×body320valid
97.0ms549×body1280valid
35.0ms485×body160valid
0.0msbody80invalid

Profiling

Loading profile data...