Details

Time bar (total: 5.2s)

sample41.0ms

Algorithm
intervals
Results
8.0ms59×body640valid
8.0ms245×body80nan
7.0ms38×body1280valid
5.0ms134×body80valid
2.0ms22×body320valid
0.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01411
11411

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: 20.0b

Counts
2 → 1

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.1b
(/ 1.0 (sqrt (+ x 1.0)))
0.3b
(/ 1.0 (sqrt x))
1.7b
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
75×*-un-lft-identity
73×add-sqr-sqrt
69×times-frac
50×sqrt-prod
42×add-cube-cbrt
13×associate-/r*
11×distribute-lft-out--
difference-of-squares
add-exp-log add-cbrt-cube distribute-lft-out
associate-/l* add-log-exp
pow1
sqrt-div div-inv
cbrt-undiv frac-2neg flip3-+ div-exp clear-num associate-/r/ flip-+
sub-neg rem-sqrt-square flip3-- sqrt-pow1 pow1/2 diff-log frac-sub flip--
Counts
4 → 133
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
5.0ms
(/ 1.0 (sqrt (+ x 1.0)))
4.0ms
(/ 1.0 (sqrt x))
31.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series30.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
6.0ms
(/ 1.0 (sqrt (+ x 1.0)))
8.0ms
(/ 1.0 (sqrt x))
12.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify33.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
050721846

prune252.0ms

Filtered
103 candidates to 145 candidates (-40.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New13510145
Fresh000
Picked101
Done000
Total13610146

Merged error: 19.4b

Counts
146 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1.0 (sqrt (+ 1.0 x)))
0.3b
(/ 1.0 (sqrt x))
0.3b
(/ (- (/ 1.0 (/ x 1.0)) (/ 1.0 (/ (+ 1.0 x) 1.0))) (+ (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ 1.0 x)))))
1.7b
(- (/ 1.0 (/ x 1.0)) (/ 1.0 (/ (+ 1.0 x) 1.0)))

rewrite344.0ms

Algorithm
rewrite-expression-head
Rules
2937×times-frac
2554×*-un-lft-identity
1354×add-sqr-sqrt
778×add-cube-cbrt
708×distribute-lft-out
508×sqrt-prod
368×distribute-lft-out--
211×div-inv
144×difference-of-squares
64×distribute-rgt-out--
45×associate-/l*
37×associate-/r/
27×associate-/r*
10×add-exp-log add-cbrt-cube
add-log-exp
pow1
cbrt-undiv frac-2neg div-exp clear-num associate-/l/
flip3-- flip3-+ sqrt-div frac-sub flip-- flip-+
sub-neg diff-log div-sub frac-add
Counts
4 → 751
Calls
4 calls:
10.0ms
(/ 1.0 (sqrt (+ 1.0 x)))
4.0ms
(/ 1.0 (sqrt x))
124.0ms
(/ (- (/ 1.0 (/ x 1.0)) (/ 1.0 (/ (+ 1.0 x) 1.0))) (+ (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ 1.0 x)))))
84.0ms
(- (/ 1.0 (/ x 1.0)) (/ 1.0 (/ (+ 1.0 x) 1.0)))

series36.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ 1.0 (sqrt (+ 1.0 x)))
7.0ms
(/ 1.0 (sqrt x))
19.0ms
(/ (- (/ 1.0 (/ x 1.0)) (/ 1.0 (/ (+ 1.0 x) 1.0))) (+ (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ 1.0 x)))))
4.0ms
(- (/ 1.0 (/ x 1.0)) (/ 1.0 (/ (+ 1.0 x) 1.0)))

simplify199.0ms

Algorithm
egg-herbie
Counts
763 → 763
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
0511523514

prune1.4s

Filtered
283 candidates to 763 candidates (-169.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New7585763
Fresh729
Picked101
Done000
Total7667773

Merged error: 5.3b

Counts
773 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (+ 1.0 x) 1.0) (+ (/ 1.0 (sqrt (+ 1.0 x))) (/ 1.0 (sqrt x))))
0.2b
(* (/ x 1.0) (* (/ (+ 1.0 x) 1.0) (+ (/ 1.0 (sqrt (+ 1.0 x))) (/ 1.0 (sqrt x)))))
0.3b
(/ 1.0 (sqrt x))
1.4b
(- (* 1.0 (/ (+ 1.0 x) 1.0)) (* (/ x 1.0) 1.0))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
58×times-frac
46×add-sqr-sqrt
41×add-cube-cbrt
32×add-exp-log add-cbrt-cube
29×associate-*l*
24×sqrt-prod
18×associate-*r/
17×distribute-lft-out
16×frac-times
15×associate-*r*
12×prod-exp cbrt-unprod
11×pow1
cbrt-undiv div-exp
flip3-+ associate-*l/ frac-add associate-/r* flip-+ add-log-exp
distribute-rgt-in distribute-lft-in div-inv
pow-prod-down
associate-/l*
*-commutative unswap-sqr
sub-neg flip3-- frac-2neg diff-log clear-num frac-sub flip-- sub-div
Counts
4 → 162
Calls
4 calls:
39.0ms
(* (/ (+ 1.0 x) 1.0) (+ (/ 1.0 (sqrt (+ 1.0 x))) (/ 1.0 (sqrt x))))
38.0ms
(* (/ x 1.0) (* (/ (+ 1.0 x) 1.0) (+ (/ 1.0 (sqrt (+ 1.0 x))) (/ 1.0 (sqrt x)))))
4.0ms
(/ 1.0 (sqrt x))
8.0ms
(- (* 1.0 (/ (+ 1.0 x) 1.0)) (* (/ x 1.0) 1.0))

series42.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (/ (+ 1.0 x) 1.0) (+ (/ 1.0 (sqrt (+ 1.0 x))) (/ 1.0 (sqrt x))))
18.0ms
(* (/ x 1.0) (* (/ (+ 1.0 x) 1.0) (+ (/ 1.0 (sqrt (+ 1.0 x))) (/ 1.0 (sqrt x)))))
8.0ms
(/ 1.0 (sqrt x))
1.0ms
(- (* 1.0 (/ (+ 1.0 x) 1.0)) (* (/ x 1.0) 1.0))

simplify73.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049733046
149733046

prune399.0ms

Filtered
122 candidates to 174 candidates (-42.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1731174
Fresh066
Picked101
Done000
Total1747181

Merged error: 0.7b

Counts
181 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (+ 1.0 x) 1.0) (+ (/ 1.0 (sqrt (+ 1.0 x))) (/ 1.0 (sqrt x))))
0.2b
(* (/ x 1.0) (* (/ (+ 1.0 x) 1.0) (+ (/ 1.0 (sqrt (+ 1.0 x))) (/ 1.0 (sqrt x)))))
0.3b
(/ 1.0 (sqrt x))
0.9b
(/ 1.0 (* (/ x 1.0) (* (/ (+ 1.0 x) 1.0) (+ (/ 1.0 (sqrt (+ 1.0 x))) (/ 1.0 (sqrt x))))))

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
72×*-un-lft-identity
61×add-exp-log times-frac add-cbrt-cube
48×add-sqr-sqrt
43×add-cube-cbrt
29×frac-times associate-*r/ associate-*l*
24×sqrt-prod
22×prod-exp cbrt-unprod
19×cbrt-undiv div-exp
17×distribute-lft-out
15×associate-*r* associate-/r/
11×pow1
10×flip3-+ frac-add flip-+
associate-*l/ associate-/r*
div-inv associate-/l*
distribute-rgt-in distribute-lft-in
pow-prod-down add-log-exp
frac-2neg clear-num *-commutative unswap-sqr
Counts
4 → 194
Calls
4 calls:
37.0ms
(* (/ (+ 1.0 x) 1.0) (+ (/ 1.0 (sqrt (+ 1.0 x))) (/ 1.0 (sqrt x))))
40.0ms
(* (/ x 1.0) (* (/ (+ 1.0 x) 1.0) (+ (/ 1.0 (sqrt (+ 1.0 x))) (/ 1.0 (sqrt x)))))
4.0ms
(/ 1.0 (sqrt x))
41.0ms
(/ 1.0 (* (/ x 1.0) (* (/ (+ 1.0 x) 1.0) (+ (/ 1.0 (sqrt (+ 1.0 x))) (/ 1.0 (sqrt x))))))

series254.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* (/ (+ 1.0 x) 1.0) (+ (/ 1.0 (sqrt (+ 1.0 x))) (/ 1.0 (sqrt x))))
18.0ms
(* (/ x 1.0) (* (/ (+ 1.0 x) 1.0) (+ (/ 1.0 (sqrt (+ 1.0 x))) (/ 1.0 (sqrt x)))))
7.0ms
(/ 1.0 (sqrt x))
216.0ms
(/ 1.0 (* (/ x 1.0) (* (/ (+ 1.0 x) 1.0) (+ (/ 1.0 (sqrt (+ 1.0 x))) (/ 1.0 (sqrt x))))))

simplify64.0ms

Algorithm
egg-herbie
Counts
206 → 206
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
052864367

prune407.0ms

Filtered
145 candidates to 206 candidates (-42.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2015206
Fresh336
Picked101
Done000
Total2058213

Merged error: 0.0b

Counts
213 → 8

regimes55.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01723
11723

end0.0ms

sample1.2s

Algorithm
intervals
Results
275.0ms1902×body640valid
252.0ms8097×body80nan
210.0ms1135×body1280valid
152.0ms4008×body80valid
67.0ms632×body320valid
23.0ms323×body160valid

Profiling

Loading profile data...