Error in 45.1s

Runtime

Time bar (total: 45.1s)Debug log

start154.0ms

Algorithm
intervals

setup113.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.1b

localize27.0ms

Local error

Found 3 expressions with local error:

2.3b
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))
0.0b
(- (/ 1 (+ x 1)) (/ 2 x))
0.0b
(/ 1 (+ x 1))

rewrite61.0ms

Algorithm
rewrite-expression-head
Counts
3 → 58
Calls

3 calls. Slowest were:

48.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))
9.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
2.0ms
(/ 1 (+ x 1))

series62.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

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

simplify3.7s

Counts
39 → 67
Calls

39 calls. Slowest were:

623.0ms
(* (+ (* (/ 1 (+ x 1)) (/ 1 (+ x 1))) (+ (* (/ 2 x) (/ 2 x)) (* (/ 1 (+ x 1)) (/ 2 x)))) (- x 1))
476.0ms
(* (+ (/ 1 (+ x 1)) (/ 2 x)) (- x 1))
375.0ms
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))

prune734.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize35.0ms

Local error

Found 4 expressions with local error:

16.2b
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))
0.1b
(* (* (+ x 1) x) (- x 1))
0.0b
(* (- (* 1 x) (* (+ x 1) 2)) (- x 1))
0.0b
(- (* 1 x) (* (+ x 1) 2))

rewrite29.0ms

Algorithm
rewrite-expression-head
Counts
4 → 99
Calls

4 calls. Slowest were:

9.0ms
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))
8.0ms
(* (* (+ x 1) x) (- x 1))
6.0ms
(* (- (* 1 x) (* (+ x 1) 2)) (- x 1))

series88.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

64.0ms
(* (* (+ x 1) x) (- x 1))
11.0ms
(- (* 1 x) (* (+ x 1) 2))
10.0ms
(* (- (* 1 x) (* (+ x 1) 2)) (- x 1))

simplify20.2s

Counts
97 → 111
Calls

97 calls. Slowest were:

1.3s
(+ (* (* (- (pow (* 1 x) 3) (pow (* (+ x 1) 2) 3)) (- (pow x 3) (pow 1 3))) (+ (* x x) (- (* 1 1) (* x 1)))) (* (* (+ (* (* 1 x) (* 1 x)) (+ (* (* (+ x 1) 2) (* (+ x 1) 2)) (* (* 1 x) (* (+ x 1) 2)))) (+ (* x x) (+ (* 1 1) (* x 1)))) (* (* (+ (pow x 3) (pow 1 3)) x) 1)))
856.0ms
(+ (* (* (- (pow (* 1 x) 3) (pow (* (+ x 1) 2) 3)) (- (pow x 3) (pow 1 3))) (- x 1)) (* (* (+ (* (* 1 x) (* 1 x)) (+ (* (* (+ x 1) 2) (* (+ x 1) 2)) (* (* 1 x) (* (+ x 1) 2)))) (+ (* x x) (+ (* 1 1) (* x 1)))) (* (* (- (* x x) (* 1 1)) x) 1)))
657.0ms
(* (+ (* 1 x) (* (+ x 1) 2)) (+ (* x x) (+ (* 1 1) (* x 1))))

prune1.8s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Counts
3 → 59
Calls

3 calls. Slowest were:

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

series135.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

61.0ms
(* (* (+ x 1) x) (- x 1))
42.0ms
(/ 2 (* (* (+ x 1) x) (- x 1)))
31.0ms
(* (+ x 1) x)

simplify5.0s

Counts
45 → 68
Calls

45 calls. Slowest were:

538.0ms
(* (* (- (* x x) (* 1 1)) x) (- (pow x 3) (pow 1 3)))
512.0ms
(- (+ (* 2 x) (+ (* 2 (pow x 3)) (* 2 (/ 1 x)))))
348.0ms
(* (* (- (* x x) (* 1 1)) x) (- x 1))

prune603.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Counts
3 → 68
Calls

3 calls. Slowest were:

5.0ms
(/ (/ 2 (* (+ x 1) x)) (- x 1))
2.0ms
(* (+ x 1) x)
1.0ms
(/ 2 (* (+ x 1) x))

series85.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

39.0ms
(/ (/ 2 (* (+ x 1) x)) (- x 1))
31.0ms
(* (+ x 1) x)
15.0ms
(/ 2 (* (+ x 1) x))

simplify5.5s

Counts
62 → 77
Calls

62 calls. Slowest were:

437.0ms
(- (+ (* 2 x) (+ (* 2 (pow x 3)) (* 2 (/ 1 x)))))
429.0ms
(- (+ (* 2 (/ 1 (pow x 4))) (* 2 (/ 1 (pow x 2)))) (* 2 (/ 1 (pow x 3))))
356.0ms
(- (+ (* 2 (/ 1 (pow x 4))) (* 2 (/ 1 (pow x 2)))) (* 2 (/ 1 (pow x 3))))

prune662.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes42.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 
(FPCore (x)
  :name "3frac (problem 3.3.3)"

  :herbie-target
  (/ 2 (* x (- (* x x) 1)))

  (+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1))))

Backtrace

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