Error in 20.4s

Runtime

Time bar (total: 20.4s)Debug logProfile

start70.0ms

Algorithm
intervals

setup16.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.1b

localize54.0ms

Local error

Found 3 expressions with local error:

3.2b
(- (/ 1 (+ x 1)) (/ 1 (- x 1)))
0.0b
(/ 1 (+ x 1))
0.0b
(/ 1 (- x 1))

rewrite17.0ms

Algorithm
rewrite-expression-head
Counts
3 → 55
Calls

3 calls. Slowest were:

13.0ms
(- (/ 1 (+ x 1)) (/ 1 (- x 1)))
2.0ms
(/ 1 (+ x 1))
2.0ms
(/ 1 (- x 1))

series62.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

40.0ms
(- (/ 1 (+ x 1)) (/ 1 (- x 1)))
11.0ms
(/ 1 (- x 1))
10.0ms
(/ 1 (+ x 1))

simplify1.7s

Counts
32 → 64
Calls

32 calls. Slowest were:

442.0ms
(- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2))))))
401.0ms
(- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2))))))
196.0ms
(- (* 1 (- x 1)) (* (+ x 1) 1))

prune526.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize14.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ 1 (+ -1 (* x x)))
0.0b
(* (/ 1 (+ -1 (* x x))) -2)

rewrite4.0ms

Algorithm
rewrite-expression-head
Counts
2 → 33
Calls

2 calls. Slowest were:

3.0ms
(* (/ 1 (+ -1 (* x x))) -2)
1.0ms
(/ 1 (+ -1 (* x x)))

series31.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

16.0ms
(* (/ 1 (+ -1 (* x x))) -2)
15.0ms
(/ 1 (+ -1 (* x x)))

simplify2.1s

Counts
17 → 39
Calls

17 calls. Slowest were:

520.0ms
(- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2))))))
519.0ms
(- (+ (* 2 (/ 1 (pow x 4))) (+ (* 2 (/ 1 (pow x 6))) (* 2 (/ 1 (pow x 2))))))
358.0ms
(+ (* -1 -1) (- (* (* x x) (* x x)) (* -1 (* x x))))

prune398.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize26.0ms

Local error

Found 4 expressions with local error:

14.7b
(cbrt (+ -1 (* x x)))
14.7b
(cbrt (+ -1 (* x x)))
14.7b
(cbrt (+ -1 (* x x)))
0.7b
(/ 1 (* (cbrt (+ -1 (* x x))) (cbrt (+ -1 (* x x)))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Counts
4 → 68
Calls

4 calls. Slowest were:

10.0ms
(/ 1 (* (cbrt (+ -1 (* x x))) (cbrt (+ -1 (* x x)))))
1.0ms
(cbrt (+ -1 (* x x)))
1.0ms
(cbrt (+ -1 (* x x)))

series525.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

159.0ms
(/ 1 (* (cbrt (+ -1 (* x x))) (cbrt (+ -1 (* x x)))))
140.0ms
(cbrt (+ -1 (* x x)))
117.0ms
(cbrt (+ -1 (* x x)))

simplify4.6s

Counts
43 → 80
Calls

43 calls. Slowest were:

401.0ms
(cbrt (+ (* -1 -1) (- (* (* x x) (* x x)) (* -1 (* x x)))))
373.0ms
(cbrt (+ (* -1 -1) (- (* (* x x) (* x x)) (* -1 (* x x)))))
337.0ms
(* (cbrt (+ (* -1 -1) (- (* (* x x) (* x x)) (* -1 (* x x))))) (cbrt (- -1 (* x x))))

prune1.2s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

14.7b
(cbrt (+ -1 (* x x)))
14.7b
(cbrt (+ -1 (* x x)))
14.7b
(cbrt (+ -1 (* x x)))
14.7b
(cbrt (+ -1 (* x x)))

rewrite3.0ms

Algorithm
rewrite-expression-head
Counts
4 → 52
Calls

4 calls. Slowest were:

1.0ms
(cbrt (+ -1 (* x x)))
1.0ms
(cbrt (+ -1 (* x x)))
1.0ms
(cbrt (+ -1 (* x x)))

series487.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

149.0ms
(cbrt (+ -1 (* x x)))
127.0ms
(cbrt (+ -1 (* x x)))
109.0ms
(cbrt (+ -1 (* x x)))

simplify3.2s

Counts
32 → 64
Calls

32 calls. Slowest were:

338.0ms
(cbrt (- (* -1 -1) (* (* x x) (* x x))))
310.0ms
(cbrt (- (* -1 -1) (* (* x x) (* x x))))
280.0ms
(- (pow -1 1/3) (+ (* 1/3 (* (pow x 2) (pow -1 1/3))) (* 1/9 (* (pow x 4) (pow -1 1/3)))))

prune1.4s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

regimes42.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 
(FPCore (x)
  :name "Asymptote A"
  (- (/ 1 (+ x 1)) (/ 1 (- x 1))))

Backtrace

partition: contract violation expected: list? given: 0.3619737250820544 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