Details

Time bar (total: 4.0s)

sample46.0ms

Algorithm
intervals
Results
10.0ms62×body640valid
9.0ms275×body80nan
6.0ms140×body80valid
5.0ms27×body1280valid
2.0ms14×body320valid
1.0ms13×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0116
1146
2146

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.1b

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

rewrite67.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:
7.0ms
(sqrt (+ x 1.0))
6.0ms
(/ 1.0 (sqrt (+ x 1.0)))
3.0ms
(/ 1.0 (sqrt x))
45.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series283.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (+ x 1.0))
76.0ms
(/ 1.0 (sqrt (+ x 1.0)))
42.0ms
(/ 1.0 (sqrt x))
134.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify45.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04431097
114341038
25001992

prune308.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 18.6b

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)))
3.6b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite73.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:
4.0ms
(sqrt (+ x 1.0))
31.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
13.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
22.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series425.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (+ x 1.0))
265.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
57.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
73.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify66.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0511884
12548762
25002749

prune259.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 17.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt (+ x 1.0)) (sqrt x))
0.3b
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
0.5b
(* (sqrt x) (sqrt x))
2.9b
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* (sqrt x) (sqrt x)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt
55×sqrt-prod
40×*-un-lft-identity
38×pow1
24×add-cube-cbrt
20×associate-*l*
19×swap-sqr associate-*r*
18×sqrt-pow1 pow1/2
14×sqrt-div
12×unswap-sqr
10×add-exp-log pow-prod-up add-cbrt-cube
pow-prod-down
flip3-+ flip-+ distribute-lft-out
pow-sqr add-log-exp
frac-times associate-*l/
sqrt-unprod prod-exp *-commutative cbrt-unprod
pow2 pow-plus associate-*r/ rem-square-sqrt
sub-neg flip3-- diff-log flip-- difference-of-squares
Counts
4 → 157
Calls
4 calls:
14.0ms
(* (sqrt (+ x 1.0)) (sqrt x))
23.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
7.0ms
(* (sqrt x) (sqrt x))
12.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* (sqrt x) (sqrt x)))

series108.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* (sqrt (+ x 1.0)) (sqrt x))
17.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
16.0ms
(* (sqrt x) (sqrt x))
14.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* (sqrt x) (sqrt x)))

simplify62.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0375734
11736639
25002610

prune310.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.4b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
20×add-exp-log add-cbrt-cube
16×flip3-+ flip-+
15×sqrt-prod
14×sqrt-div associate-*l/
13×*-un-lft-identity associate-*l*
12×associate-*r/ frac-add
11×add-cube-cbrt
10×pow1 associate-*r*
add-log-exp
prod-exp associate-/r/ cbrt-unprod unswap-sqr
cbrt-undiv div-exp pow-prod-down
sum-log distribute-lft-out
sqrt-pow1 pow1/2 *-commutative
+-commutative distribute-rgt-in associate-+r+ frac-2neg distribute-lft-in times-frac sqrt-unprod clear-num associate-/r* div-inv associate-/l*
Counts
4 → 109
Calls
4 calls:
12.0ms
(+ (* (sqrt (+ x 1.0)) (sqrt x)) (+ x 1.0))
47.0ms
(* (sqrt x) (+ (* (sqrt (+ x 1.0)) (sqrt x)) (+ x 1.0)))
16.0ms
(* (sqrt (+ x 1.0)) (sqrt x))
18.0ms
(/ (* 1.0 1.0) (* (sqrt x) (+ (* (sqrt (+ x 1.0)) (sqrt x)) (+ x 1.0))))

series439.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(+ (* (sqrt (+ x 1.0)) (sqrt x)) (+ x 1.0))
135.0ms
(* (sqrt x) (+ (* (sqrt (+ x 1.0)) (sqrt x)) (+ x 1.0)))
56.0ms
(* (sqrt (+ x 1.0)) (sqrt x))
188.0ms
(/ (* 1.0 1.0) (* (sqrt x) (+ (* (sqrt (+ x 1.0)) (sqrt x)) (+ x 1.0))))

simplify87.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
06961315
134571139
250011135

prune282.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

regimes49.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
01310
11310

end0.0ms

sample855.0ms

Algorithm
intervals
Results
180.0ms1782×body640valid
171.0ms7968×body80nan
152.0ms1174×body1280valid
111.0ms4128×body80valid
45.0ms607×body320valid
15.0ms309×body160valid