Details

Time bar (total: 4.2s)

sample34.0ms

Algorithm
intervals
Results
9.0ms274×body80nan
5.0ms50×body640valid
5.0ms39×body1280valid
3.0ms135×body80valid
2.0ms24×body320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0116
1146
2146

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

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
frac-sub
frac-2neg clear-num
div-inv
sqrt-div associate-/r/
sub-neg flip3-- flip3-+ flip-- flip-+ distribute-lft-out--
Counts
3 → 22
Calls
3 calls:
3.0ms
(/ 1.0 (sqrt (+ x 1.0)))
2.0ms
(/ 1.0 (sqrt x))
6.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series265.0ms

Counts
3 → 9
Calls
3 calls:
82.0ms
(/ 1.0 (sqrt (+ x 1.0)))
39.0ms
(/ 1.0 (sqrt x))
144.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify35.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0313324
11058282
25001260

prune81.0ms

Filtered
31 candidates to 25 candidates (80.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New26531
Fresh000
Picked101
Done000
Total27532

Merged error: 18.6b

Counts
32 → 5

localize14.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ (+ (- (sqrt (+ x 1.0))) (sqrt x)) (* (- (sqrt x)) (/ (sqrt (+ x 1.0)) 1.0)))
0.2b
(* (- (sqrt x)) (/ (sqrt (+ x 1.0)) 1.0))
3.2b
(+ (- (sqrt (+ x 1.0))) (sqrt x))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*r/
associate-/r/ associate-/l/
clear-num
flip3-+ sqrt-div associate-/r* flip-+
frac-2neg div-inv
neg-sub0 associate-+l- neg-mul-1 associate-*r* associate-*l* un-div-inv *-commutative
+-commutative distribute-lft-neg-out div-sub
Counts
3 → 30
Calls
3 calls:
9.0ms
(/ (+ (- (sqrt (+ x 1.0))) (sqrt x)) (* (- (sqrt x)) (/ (sqrt (+ x 1.0)) 1.0)))
5.0ms
(* (- (sqrt x)) (/ (sqrt (+ x 1.0)) 1.0))
4.0ms
(+ (- (sqrt (+ x 1.0))) (sqrt x))

series454.0ms

Counts
3 → 9
Calls
3 calls:
293.0ms
(/ (+ (- (sqrt (+ x 1.0))) (sqrt x)) (* (- (sqrt x)) (/ (sqrt (+ x 1.0)) 1.0)))
79.0ms
(* (- (sqrt x)) (/ (sqrt (+ x 1.0)) 1.0))
82.0ms
(+ (- (sqrt (+ x 1.0))) (sqrt x))

simplify39.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0349376
11285328
25001313

prune116.0ms

Filtered
39 candidates to 35 candidates (89.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New37239
Fresh224
Picked011
Done000
Total39544

Merged error: 0.3b

Counts
44 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
18×associate-/r/
13×associate-/l/
12×times-frac div-inv
10×associate-*r/
flip3-- clear-num flip--
neg-mul-1 frac-2neg associate-*r* associate-*l* *-commutative
flip3-+ sqrt-div associate-/r* flip-+
div-sub associate-/l*
associate-+r- un-div-inv
distribute-lft-neg-out associate--l- neg-sub0 sub-neg
Counts
4 → 57
Calls
4 calls:
4.0ms
(- (- (sqrt (+ x 1.0))) (sqrt x))
7.0ms
(/ (+ 1.0 (- x x)) (- (- (sqrt (+ x 1.0))) (sqrt x)))
5.0ms
(* (- (sqrt x)) (/ (sqrt (+ x 1.0)) 1.0))
13.0ms
(/ (/ (+ 1.0 (- x x)) (- (- (sqrt (+ x 1.0))) (sqrt x))) (* (- (sqrt x)) (/ (sqrt (+ x 1.0)) 1.0)))

series843.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(- (- (sqrt (+ x 1.0))) (sqrt x))
148.0ms
(/ (+ 1.0 (- x x)) (- (- (sqrt (+ x 1.0))) (sqrt x)))
79.0ms
(* (- (sqrt x)) (/ (sqrt (+ x 1.0)) 1.0))
533.0ms
(/ (/ (+ 1.0 (- x x)) (- (- (sqrt (+ x 1.0))) (sqrt x))) (* (- (sqrt x)) (/ (sqrt (+ x 1.0)) 1.0)))

simplify67.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0580964
12438791
25001751

prune252.0ms

Filtered
69 candidates to 61 candidates (88.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New63669
Fresh123
Picked101
Done101
Total66874

Merged error: 0.1b

Counts
74 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
sqrt-div associate-*l/ associate-/r/
associate-/l/
associate-/r*
frac-2neg flip3-+ clear-num *-commutative flip-+ div-inv associate-/l*
flip3-- pow1/2 flip--
associate--l- neg-sub0 sub-neg sqrt-unprod pow-prod-down
Counts
4 → 30
Calls
4 calls:
7.0ms
(- (- (sqrt (+ x 1.0))) (sqrt x))
14.0ms
(/ (/ 1.0 (* (sqrt (+ x 1.0)) (sqrt x))) (- (- (sqrt (+ x 1.0))) (sqrt x)))
7.0ms
(/ 1.0 (* (sqrt (+ x 1.0)) (sqrt x)))
7.0ms
(* (sqrt (+ x 1.0)) (sqrt x))

series743.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(- (- (sqrt (+ x 1.0))) (sqrt x))
507.0ms
(/ (/ 1.0 (* (sqrt (+ x 1.0)) (sqrt x))) (- (- (sqrt (+ x 1.0))) (sqrt x)))
90.0ms
(/ 1.0 (* (sqrt (+ x 1.0)) (sqrt x)))
63.0ms
(* (sqrt (+ x 1.0)) (sqrt x))

simplify38.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0412399
11408346
25002317

prune124.0ms

Filtered
42 candidates to 37 candidates (88.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New40242
Fresh167
Picked101
Done000
Total42850

Merged error: 0.1b

Counts
50 → 8

regimes39.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify8.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03533
14733
25133
37633
49933
510833
612633
713633
814533
915433
1016233
1117033
1217733
1317933
1418733
1518733

end0.0ms

sample854.0ms

Algorithm
intervals
Results
183.0ms1867×body640valid
182.0ms7959×body80nan
145.0ms1126×body1280valid
107.0ms4097×body80valid
42.0ms595×body320valid
15.0ms315×body160valid