Details

Time bar (total: 2.7s)

sample30.0ms

Algorithm
intervals
Results
9.0ms65×body640valid
8.0ms130×body80valid
3.0ms19×body1280valid
2.0ms24×body320valid
1.0ms18×body160valid

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

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.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))
2.4b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite61.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:
5.0ms
(/ 1.0 (- x 1.0))
18.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
5.0ms
(/ 1.0 (+ x 1.0))
29.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series17.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)))

simplify47.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0496865
11681827
25001816

prune190.0ms

Filtered
126 candidates to 92 candidates (27.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1233126
Fresh000
Picked101
Done000
Total1243127

Merged error: 0.4b

Counts
127 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite298.0ms

Algorithm
rewrite-expression-head
Rules
413×times-frac
324×*-un-lft-identity
243×add-sqr-sqrt
234×sqrt-prod
188×add-cube-cbrt
60×distribute-lft-out
30×associate-/l*
20×sqrt-div associate-/r/
14×associate-/r* difference-of-squares
11×add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
10×div-inv
distribute-lft-out--
pow1 cbrt-undiv div-exp
frac-add
sub-neg associate-+l+ flip3-- frac-2neg diff-log clear-num sum-log frac-sub flip--
+-commutative associate-+l- associate-/l/
Counts
4 → 336
Calls
4 calls:
118.0ms
(- (/ (/ 1.0 (sqrt (+ x 1.0))) (sqrt (+ x 1.0))) (/ 2.0 x))
6.0ms
(/ 1.0 (sqrt (+ x 1.0)))
16.0ms
(/ (/ 1.0 (sqrt (+ x 1.0))) (sqrt (+ x 1.0)))
137.0ms
(+ (- (/ (/ 1.0 (sqrt (+ x 1.0))) (sqrt (+ x 1.0))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series26.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
348 → 348
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
010254541
138463998
250013964

prune477.0ms

Filtered
348 candidates to 157 candidates (54.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3480348
Fresh022
Picked011
Done000
Total3483351

Merged error: 0.4b

Counts
351 → 3

localize12.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))
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))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
48×associate-*l/
21×flip3-- flip--
17×add-sqr-sqrt
16×frac-times frac-add
15×*-un-lft-identity
13×pow1 add-exp-log flip3-+ associate-*r* add-cbrt-cube flip-+
add-cube-cbrt
associate-*r/ associate-*l*
distribute-rgt-in sub-neg distribute-lft-in add-log-exp
pow-prod-down prod-exp cbrt-unprod
associate-+l+
*-commutative
distribute-lft-out-- difference-of-squares unswap-sqr
+-commutative sum-log distribute-lft-out
Counts
4 → 116
Calls
4 calls:
5.0ms
(* (+ x 1.0) x)
8.0ms
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.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:
4.0ms
(* (+ x 1.0) x)
3.0ms
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))
11.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))

simplify130.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08051580
147601496
250011496

prune261.0ms

Filtered
128 candidates to 91 candidates (28.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1262128
Fresh011
Picked101
Done011
Total1274131

Merged error: 0.4b

Counts
131 → 4

localize6.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.4b
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

rewrite27.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:
5.0ms
(* (+ x 1.0) x)
9.0ms
(* (* (+ x 1.0) x) (- x 1.0))
10.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series17.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0430600
12219516
25002515

prune97.0ms

Filtered
93 candidates to 62 candidates (33.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New89493
Fresh202
Picked101
Done101
Total93497

Merged error: 0.0b

Counts
97 → 4

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

sample753.0ms

Algorithm
intervals
Results
247.0ms1844×body640valid
149.0ms4161×body80valid
98.0ms573×body1280valid
94.0ms917×body320valid
34.0ms507×body160valid

Profiling

Loading profile data...