Details

Time bar (total: 7.1s)

sample46.0ms

Algorithm
intervals
Results
12.0ms55×body1280valid
9.0ms64×body640valid
8.0ms246×body80nan
5.0ms118×body80valid
2.0ms15×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: 20.7b

Counts
2 → 1

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.2b
(/ 1.0 (sqrt (+ x 1.0)))
0.3b
(/ 1.0 (sqrt x))
2.1b
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

rewrite50.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:
6.0ms
(sqrt (+ x 1.0))
6.0ms
(/ 1.0 (sqrt (+ x 1.0)))
4.0ms
(/ 1.0 (sqrt x))
29.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series649.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(sqrt (+ x 1.0))
121.0ms
(/ 1.0 (sqrt (+ x 1.0)))
215.0ms
(/ 1.0 (sqrt x))
263.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify65.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06101151
123011116
250011086

prune312.0ms

Filtered
145 candidates to 100 candidates (69.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New13312145
Fresh000
Picked101
Done000
Total13412146

Merged error: 20.3b

Counts
146 → 12

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
23×sqrt-prod
20×*-un-lft-identity
18×add-exp-log add-cbrt-cube
pow1 add-cube-cbrt
associate-*r*
sqrt-div associate-*r/ associate-*l* add-log-exp
prod-exp cbrt-unprod
cbrt-undiv div-exp difference-of-squares unswap-sqr
sqrt-pow1 flip3-+ pow1/2 pow-prod-down flip-+ distribute-lft-out distribute-lft-out--
flip3-- associate-/r/ flip-- associate-/l/
sub-neg rem-sqrt-square frac-2neg times-frac sqrt-unprod diff-log clear-num associate-/r* *-commutative div-inv associate-/l*
Counts
4 → 93
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
16.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
8.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
11.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series1.1s

Counts
4 → 12
Calls
4 calls:
57.0ms
(sqrt (+ x 1.0))
694.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
117.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
184.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify102.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
08351033
14245935
25002927

prune251.0ms

Filtered
105 candidates to 76 candidates (72.4%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1023105
Fresh11011
Picked101
Done000
Total10413117

Merged error: 20.1b

Counts
117 → 13

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
105×*-un-lft-identity
41×distribute-lft-out
35×sqrt-prod
31×times-frac
29×add-exp-log add-sqr-sqrt add-cbrt-cube
21×add-cube-cbrt
cbrt-undiv div-exp add-log-exp
pow1 prod-exp cbrt-unprod distribute-lft-out--
associate-*r* associate-/r*
associate-*l* associate-/l*
flip3-+ associate-*r/ flip-+
sqrt-div associate-/r/ unswap-sqr
pow-prod-down associate-/l/
associate-+r- associate-+r+ frac-2neg sqrt-pow1 pow1/2 clear-num sum-log div-inv
+-commutative sub-neg sqrt-unprod diff-log div-sub *-commutative
Counts
4 → 136
Calls
4 calls:
14.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
21.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
8.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
6.0ms
(+ x (- 1.0 x))

series1.2s

Counts
4 → 12
Calls
4 calls:
202.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
855.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
118.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
1.0ms
(+ x (- 1.0 x))

simplify41.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09381674
150021471

prune339.0ms

Filtered
148 candidates to 91 candidates (61.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1462148
Fresh4812
Picked101
Done000
Total15110161

Merged error: 0.2b

Counts
161 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
31×sqrt-prod
29×add-exp-log add-sqr-sqrt add-cbrt-cube
20×add-cube-cbrt
19×times-frac
18×distribute-lft-out
pow1 cbrt-undiv div-exp
prod-exp cbrt-unprod
associate-*r* associate-/r*
sqrt-div associate-*l*
associate-*r/
flip3-+ associate-/r/ flip-+ associate-/l* add-log-exp unswap-sqr
sqrt-pow1 pow1/2 pow-prod-down
frac-2neg clear-num div-inv
rem-sqrt-square sqrt-unprod *-commutative associate-/l/
Counts
4 → 118
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
9.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
17.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
8.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

series1.2s

Counts
4 → 12
Calls
4 calls:
52.0ms
(sqrt (+ x 1.0))
215.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
852.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
125.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

simplify48.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
09351330
150011177

prune285.0ms

Filtered
130 candidates to 91 candidates (70.0%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New12010130
Fresh549
Picked101
Done000
Total12614140

Merged error: 0.0b

Counts
140 → 14

regimes51.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01410
11410

end0.0ms

sample1.2s

Algorithm
intervals
Results
285.0ms8240×body80nan
263.0ms1853×body640valid
208.0ms1165×body1280valid
150.0ms4049×body80valid
61.0ms596×body320valid
23.0ms337×body160valid

Profiling

Loading profile data...