Details

Time bar (total: 2.5s)

analyze1.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%0%50%2

sample27.0ms

Algorithm
intervals
Results
8.0ms63×body640valid
6.0ms36×body1280valid
5.0ms132×body80valid
1.0ms13×body320valid
1.0ms12×body160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (10.0ms)

IterNodesCost
026511
126511

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

Counts
2 → 1

localize10.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))
3.3b
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

rewrite46.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 → 132
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
5.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))))

series31.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
050761839

prune249.0ms

Filtered
103 candidates to 144 candidates (-39.8%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New13311144
Fresh000
Picked101
Done000
Total13411145

Merged error: 15.1b

Counts
145 → 11

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.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 → 92
Calls
4 calls:
3.0ms
(sqrt (+ 1.0 x))
16.0ms
(/ (* 1.0 (- (sqrt (+ 1.0 x)) (sqrt x))) (* (sqrt x) (sqrt (+ 1.0 x))))
7.0ms
(* (sqrt x) (sqrt (+ 1.0 x)))
8.0ms
(- (sqrt (+ 1.0 x)) (sqrt x))

series49.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
052121577

prune186.0ms

Filtered
76 candidates to 104 candidates (-36.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1031104
Fresh5510
Picked101
Done000
Total1096115

Merged error: 0.2b

Counts
115 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
35×sqrt-prod
32×distribute-lft-out
29×add-exp-log add-cbrt-cube
28×add-sqr-sqrt
25×times-frac
20×add-cube-cbrt
cbrt-undiv div-exp
pow1 prod-exp cbrt-unprod
associate-*r* associate-/r*
associate-*l* add-log-exp
flip3-+ associate-*r/ flip-+ associate-/l*
sqrt-div associate-/r/ unswap-sqr
pow-prod-down associate-/l/
frac-2neg sqrt-pow1 pow1/2 clear-num div-inv
+-commutative sqrt-unprod sum-log *-commutative
Counts
4 → 125
Calls
4 calls:
7.0ms
(+ (sqrt (+ 1.0 x)) (sqrt x))
12.0ms
(/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))
19.0ms
(/ (* 1.0 (/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))) (* (sqrt x) (sqrt (+ 1.0 x))))
8.0ms
(* (sqrt x) (sqrt (+ 1.0 x)))

series55.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (sqrt (+ 1.0 x)) (sqrt x))
9.0ms
(/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))
35.0ms
(/ (* 1.0 (/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))) (* (sqrt x) (sqrt (+ 1.0 x))))
6.0ms
(* (sqrt x) (sqrt (+ 1.0 x)))

simplify61.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
055232087

prune253.0ms

Filtered
91 candidates to 137 candidates (-50.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1298137
Fresh235
Picked101
Done000
Total13211143

Merged error: 0.0b

Counts
143 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
106×times-frac
72×*-un-lft-identity
67×add-sqr-sqrt
55×sqrt-prod
48×add-cube-cbrt
23×distribute-lft-out
20×add-exp-log associate-/r/ add-cbrt-cube
12×flip3-+ flip-+
11×associate-/r* associate-/l*
10×div-inv
pow1
cbrt-undiv div-exp associate-*r*
associate-*l* add-log-exp
sqrt-div unswap-sqr
pow-prod-down prod-exp cbrt-unprod
frac-2neg sqrt-pow1 pow1/2 associate-*r/ clear-num
+-commutative sqrt-unprod sum-log *-commutative associate-/l/
Counts
4 → 176
Calls
4 calls:
3.0ms
(+ x (* (sqrt x) (sqrt (+ x 1.0))))
14.0ms
(/ (/ (* 1.0 1.0) (+ x (* (sqrt x) (sqrt (+ x 1.0))))) (sqrt (+ 1.0 x)))
8.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
6.0ms
(/ (* 1.0 1.0) (+ x (* (sqrt x) (sqrt (+ x 1.0)))))

series45.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ x (* (sqrt x) (sqrt (+ x 1.0))))
24.0ms
(/ (/ (* 1.0 1.0) (+ x (* (sqrt x) (sqrt (+ x 1.0))))) (sqrt (+ 1.0 x)))
6.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
10.0ms
(/ (* 1.0 1.0) (+ x (* (sqrt x) (sqrt (+ x 1.0)))))

simplify86.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049754295
149754295

prune343.0ms

Filtered
129 candidates to 188 candidates (-45.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1844188
Fresh4610
Picked011
Done000
Total18811199

Merged error: 0b

Counts
199 → 11

regimes61.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01318
11318

end0.0ms

sample784.0ms

Algorithm
intervals
Results
263.0ms1866×body640valid
204.0ms1142×body1280valid
148.0ms4095×body80valid
62.0ms607×body320valid
20.0ms290×body160valid

Profiling

Loading profile data...