Details

Time bar (total: 3.6s)

sample28.0ms

Algorithm
intervals
Results
7.0ms135×body80valid
7.0ms53×body640valid
3.0ms36×body320valid
3.0ms16×body1280valid
1.0ms16×body160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.3b

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)) (/ 2.0 x))
0.0b
(/ 1.0 (+ x 1.0))
3.6b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite69.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))
21.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
5.0ms
(/ 1.0 (+ x 1.0))
33.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series327.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ 1.0 (- x 1.0))
42.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
31.0ms
(/ 1.0 (+ x 1.0))
220.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0496865
11681827
25001816

prune233.0ms

Filtered
126 candidates to 92 candidates (73.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1206126
Fresh000
Picked101
Done000
Total1216127

Merged error: 0.1b

Counts
127 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite77.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-+l+ associate-*r/ associate-*l/ sum-log
+-commutative pow2 associate-+l- sub-neg flip3-- pow-plus sqrt-unprod diff-log prod-exp rem-square-sqrt *-commutative flip-- cbrt-unprod
Counts
4 → 189
Calls
4 calls:
6.0ms
(sqrt (/ 1.0 (+ x 1.0)))
6.0ms
(sqrt (/ 1.0 (+ x 1.0)))
22.0ms
(* (sqrt (/ 1.0 (+ x 1.0))) (sqrt (/ 1.0 (+ x 1.0))))
28.0ms
(+ (- (* (sqrt (/ 1.0 (+ x 1.0))) (sqrt (/ 1.0 (+ x 1.0)))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series414.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(sqrt (/ 1.0 (+ x 1.0)))
94.0ms
(sqrt (/ 1.0 (+ x 1.0)))
80.0ms
(* (sqrt (/ 1.0 (+ x 1.0))) (sqrt (/ 1.0 (+ x 1.0))))
145.0ms
(+ (- (* (sqrt (/ 1.0 (+ x 1.0))) (sqrt (/ 1.0 (+ x 1.0)))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify99.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06011683
128781525
250011483

prune367.0ms

Filtered
201 candidates to 128 candidates (63.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2010201
Fresh055
Picked011
Done000
Total2016207

Merged error: 0.1b

Counts
207 → 6

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.1b
(* (* (+ x 1.0) x) (- x 1.0))
17.5b
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

rewrite61.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:
28.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)))
4.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
10.0ms
(* (* (+ x 1.0) x) (- x 1.0))
12.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series238.0ms

Counts
4 → 12
Calls
4 calls:
98.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)))
37.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
102.0ms
(* (* (+ x 1.0) x) (- x 1.0))
2.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

simplify48.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09972264
150012129

prune403.0ms

Filtered
136 candidates to 108 candidates (79.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1333136
Fresh224
Picked101
Done101
Total1375142

Merged error: 0.0b

Counts
142 → 5

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite31.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)
11.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))
10.0ms
(* (* (+ x 1.0) x) (- x 1.0))

series236.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(* (+ x 1.0) x)
92.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))
96.0ms
(* (* (+ x 1.0) x) (- x 1.0))

simplify64.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0430600
12216516
25001515

prune132.0ms

Filtered
93 candidates to 62 candidates (66.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New88593
Fresh404
Picked101
Done000
Total93598

Merged error: 0b

Counts
98 → 5

regimes21.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094
194

end0.0ms

sample686.0ms

Algorithm
intervals
Results
237.0ms1862×body640valid
144.0ms4140×body80valid
92.0ms582×body1280valid
88.0ms942×body320valid
31.0ms476×body160valid

Profiling

Loading profile data...