Error in 16.2s

Runtime

Time bar (total: 16.2s)Debug log

start137.0ms

Algorithm
intervals

setup77.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.0b

localize26.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Counts
3 → 62
Calls

3 calls. Slowest were:

12.0ms
(- (/ x (+ x 1)) (/ (+ x 1) (- x 1)))
6.0ms
(/ (+ x 1) (- x 1))
1.0ms
(/ x (+ x 1))

series89.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

57.0ms
(- (/ x (+ x 1)) (/ (+ x 1) (- x 1)))
17.0ms
(/ (+ x 1) (- x 1))
15.0ms
(/ x (+ x 1))

simplify2.1s

Counts
51 → 71
Calls

51 calls. Slowest were:

503.0ms
(- (* x (- x 1)) (* (+ x 1) (+ x 1)))
347.0ms
(/ (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* (- x 1) (- x 1)) (- x 1)))
266.0ms
(- (+ (* 3 (/ 1 (pow x 3))) (+ (/ 1 (pow x 2)) (* 3 (/ 1 x)))))

prune615.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 4 expressions with local error:

7.6b
(- (* x (/ 1 (+ x 1))) (/ (+ x 1) (- x 1)))
0.1b
(* x (/ 1 (+ x 1)))
0.0b
(/ 1 (+ x 1))
0.0b
(/ (+ x 1) (- x 1))

rewrite9.0ms

Algorithm
rewrite-expression-head
Counts
4 → 79
Calls

4 calls. Slowest were:

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

series86.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

44.0ms
(- (* x (/ 1 (+ x 1))) (/ (+ x 1) (- x 1)))
16.0ms
(* x (/ 1 (+ x 1)))
16.0ms
(/ (+ x 1) (- x 1))

simplify2.3s

Counts
60 → 91
Calls

60 calls. Slowest were:

505.0ms
(- (* x (- x 1)) (* (+ x 1) (+ x 1)))
286.0ms
(/ (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* (- x 1) (- x 1)) (- x 1)))
253.0ms
(- (* (* x 1) (- x 1)) (* (+ x 1) (+ x 1)))

prune552.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ x 3) x)
0.0b
(+ 1 (* (+ x 3) x))

rewrite4.0ms

Algorithm
rewrite-expression-head
Counts
2 → 23
Calls

2 calls. Slowest were:

2.0ms
(* (+ x 3) x)
1.0ms
(+ 1 (* (+ x 3) x))

series28.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

19.0ms
(* (+ x 3) x)
9.0ms
(+ 1 (* (+ x 3) x))

simplify382.0ms

Counts
10 → 29
Calls

10 calls. Slowest were:

310.0ms
(* (- (* x x) (* 3 3)) x)
18.0ms
(* (+ (pow x 3) (pow 3 3)) x)
11.0ms
(+ (* 3 x) (+ (pow x 2) 1))

prune298.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.1b

localize29.0ms

Local error

Found 4 expressions with local error:

6.0b
(+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))
0.4b
(/ 1 (* x x))
0.1b
(/ (/ -3 x) (* x x))
0.0b
(- (/ -3 x) (/ 1 (* x x)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Counts
4 → 74
Calls

4 calls. Slowest were:

36.0ms
(+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))
8.0ms
(- (/ -3 x) (/ 1 (* x x)))
5.0ms
(/ (/ -3 x) (* x x))

series97.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

33.0ms
(- (/ -3 x) (/ 1 (* x x)))
26.0ms
(+ (- (/ -3 x) (/ 1 (* x x))) (/ (/ -3 x) (* x x)))
26.0ms
(/ (/ -3 x) (* x x))

simplify3.1s

Counts
47 → 86
Calls

47 calls. Slowest were:

532.0ms
(/ (* (* (/ -3 x) (/ -3 x)) (/ -3 x)) (* (* (* x x) (* x x)) (* x x)))
477.0ms
(* (+ (* (/ -3 x) (/ -3 x)) (+ (* (/ 1 (* x x)) (/ 1 (* x x))) (* (/ -3 x) (/ 1 (* x x))))) (* x x))
292.0ms
(+ (* (- (* (/ -3 x) (/ -3 x)) (* (/ 1 (* x x)) (/ 1 (* x x)))) (* x x)) (* (+ (/ -3 x) (/ 1 (* x x))) (/ -3 x)))

prune729.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.1b

regimes68.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 
(FPCore (x)
  :name "Asymptote C"
  (- (/ x (+ x 1)) (/ (+ x 1) (- x 1))))

Backtrace

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