Error in 17.0s

Runtime

Time bar (total: 17.0s)Debug logProfile

start71.0ms

Algorithm
intervals

setup22.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.9b

localize20.0ms

Local error

Found 1 expressions with local error:

3.2b
(- (sqrt (+ 1 x)) (sqrt x))

rewrite7.0ms

Algorithm
rewrite-expression-head
Counts
1 → 41
Calls

1 calls. Slowest were:

6.0ms
(- (sqrt (+ 1 x)) (sqrt x))

series23.0ms

Counts
1 → 3
Calls

1 calls. Slowest were:

23.0ms
(- (sqrt (+ 1 x)) (sqrt x))

simplify705.0ms

Counts
50 → 44
Calls

50 calls. Slowest were:

37.0ms
(fma (sqrt 1) (sqrt (+ 1 x)) (- (* (sqrt x) 1)))
30.0ms
(/ (exp (sqrt (+ 1 x))) (exp (sqrt x)))
30.0ms
(fma (sqrt (sqrt (+ 1 x))) (sqrt (sqrt (+ 1 x))) (- (* (sqrt (sqrt x)) (sqrt (sqrt x)))))

prune417.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 30.2b

localize25.0ms

Local error

Found 4 expressions with local error:

30.9b
(fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x)))
0.3b
(cbrt (+ x 1))
0.3b
(cbrt (+ x 1))
0.1b
(sqrt (cbrt (+ x 1)))

rewrite4.0ms

Algorithm
rewrite-expression-head
Counts
4 → 60
Calls

4 calls. Slowest were:

1.0ms
(sqrt (cbrt (+ x 1)))
1.0ms
(cbrt (+ x 1))
1.0ms
(cbrt (+ x 1))

series184.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

67.0ms
(fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x)))
51.0ms
(sqrt (cbrt (+ x 1)))
33.0ms
(cbrt (+ x 1))

simplify1.4s

Counts
32 → 72
Calls

32 calls. Slowest were:

262.0ms
(- (+ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (* 1/3 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) x))) (* 1/9 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (pow x 2))))
246.0ms
(- (+ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (* 1/3 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) x))) (* 1/9 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (pow x 2))))
219.0ms
(- (+ (exp (* 1/6 (- (log -1) (log (/ -1 x))))) (* 1/6 (/ (exp (* 1/6 (- (log -1) (log (/ -1 x))))) x))) (* 5/72 (/ (exp (* 1/6 (- (log -1) (log (/ -1 x))))) (pow x 2))))

prune1.1s

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 30.2b

localize18.0ms

Local error

Found 4 expressions with local error:

30.9b
(fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x)))
5.9b
(log (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x))))
0.5b
(exp (log (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x)))))
0.3b
(cbrt (+ x 1))

rewrite8.0ms

Algorithm
rewrite-expression-head
Counts
4 → 56
Calls

4 calls. Slowest were:

4.0ms
(exp (log (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x)))))
2.0ms
(log (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x))))
1.0ms
(cbrt (+ x 1))

series305.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

121.0ms
(log (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x))))
73.0ms
(fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x)))
61.0ms
(exp (log (fma (fabs (cbrt (+ x 1))) (sqrt (cbrt (+ x 1))) (- (sqrt x)))))

simplify534.0ms

Counts
29 → 68
Calls

29 calls. Slowest were:

240.0ms
(- (+ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (* 1/3 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) x))) (* 1/9 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (pow x 2))))
75.0ms
(- (+ (* 1/3 (pow (/ 1 (pow x 2)) 1/3)) (pow (/ 1 x) -1/3)) (* 1/9 (pow (/ 1 (pow x 5)) 1/3)))
53.0ms
(- (+ (* 1/3 x) 1) (* 1/9 (pow x 2)))

prune1.4s

Pruning

30 alts after pruning (30 fresh and 0 done)

Merged error: 30.2b

localize26.0ms

Local error

Found 4 expressions with local error:

30.9b
(fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x)))
5.9b
(log (fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x))))
0.6b
(exp (log (fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x)))))
0.3b
(cbrt (+ x 1))

rewrite7.0ms

Algorithm
rewrite-expression-head
Counts
4 → 56
Calls

4 calls. Slowest were:

4.0ms
(exp (log (fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x)))))
2.0ms
(log (fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x))))
1.0ms
(cbrt (+ x 1))

series333.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

130.0ms
(log (fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x))))
89.0ms
(fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x)))
60.0ms
(exp (log (fma (fabs (cbrt (+ x 1))) (sqrt (* (cbrt (* (cbrt (+ x 1)) (cbrt (+ x 1)))) (cbrt (cbrt (+ x 1))))) (- (sqrt x)))))

simplify614.0ms

Counts
29 → 68
Calls

29 calls. Slowest were:

203.0ms
(- (+ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (* 1/3 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) x))) (* 1/9 (/ (exp (* 1/3 (- (log -1) (log (/ -1 x))))) (pow x 2))))
85.0ms
(- (+ (* 1/3 (pow (/ 1 (pow x 2)) 1/3)) (pow (/ 1 x) -1/3)) (* 1/9 (pow (/ 1 (pow x 5)) 1/3)))
76.0ms
(- (+ (* 1/3 x) 1) (* 1/9 (pow x 2)))

prune1.2s

Pruning

31 alts after pruning (31 fresh and 0 done)

Merged error: 30.2b

regimes314.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 +o rules:numerics
(FPCore (x)
  :name "2sqrt (example 3.1)"

  :herbie-target
  (/ 1 (+ (sqrt (+ x 1)) (sqrt x)))

  (- (sqrt (+ x 1)) (sqrt x)))

Backtrace

partition: contract violation expected: list? given: 30.01157865279454 argument position: 2nd other arguments...: #<procedure:ordinary-value?>LC
partition/home/p92/racket/collects/racket/list.rkt5550
errors-score/data/pavpan/nightlies/herbie/develop/src/points.rkt3220
for-loop/data/pavpan/nightlies/herbie/develop/src/sandbox.rkt7512
(unnamed)/home/p92/racket/collects/racket/private/more-scheme.rkt26128
run/home/p92/racket/share/pkgs/profile-lib/main.rkt392
profile-thunk16/home/p92/racket/share/pkgs/profile-lib/main.rkt90
(unnamed)/home/p92/racket/collects/racket/private/more-scheme.rkt26128