Error in 18.1s

Runtime

Time bar (total: 18.1s)Debug logProfile

start80.0ms

Algorithm
intervals

setup247.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.3b

localize34.0ms

Local error

Found 2 expressions with local error:

21.2b
(/ (* (- x y) (+ y x)) (+ (* x x) (* y y)))
0.0b
(+ (* x x) (* y y))

rewrite19.0ms

Algorithm
rewrite-expression-head
Counts
2 → 42
Calls

2 calls. Slowest were:

15.0ms
(/ (* (- x y) (+ y x)) (+ (* x x) (* y y)))
3.0ms
(+ (* x x) (* y y))

series64.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

48.0ms
(/ (* (- x y) (+ y x)) (+ (* x x) (* y y)))
16.0ms
(+ (* x x) (* y y))

simplify2.5s

Counts
31 → 48
Calls

31 calls. Slowest were:

269.0ms
(* (- (* x x) (* y y)) (+ y x))
251.0ms
(/ (* (* (* (- x y) (- x y)) (- x y)) (* (* (+ y x) (+ y x)) (+ y x))) (* (* (+ (* x x) (* y y)) (+ (* x x) (* y y))) (+ (* x x) (* y y))))
249.0ms
(* (- (* x x) (* y y)) (+ (pow y 3) (pow x 3)))

prune453.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize1.0ms

Local error

Found 0 expressions with local error:

rewrite0.0ms

Algorithm
rewrite-expression-head
Counts
0 → 0
Calls

0 calls. Slowest were:

series0.0ms

Counts
0 → 0
Calls

0 calls. Slowest were:

simplify0.0ms

Counts
0 → 0
Calls

0 calls. Slowest were:

prune20.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize22.0ms

Local error

Found 2 expressions with local error:

21.2b
(/ (* (- x y) (+ y x)) (+ (pow y 2) (pow x 2)))
0.0b
(+ (pow y 2) (pow x 2))

rewrite31.0ms

Algorithm
rewrite-expression-head
Counts
2 → 45
Calls

2 calls. Slowest were:

23.0ms
(/ (* (- x y) (+ y x)) (+ (pow y 2) (pow x 2)))
7.0ms
(+ (pow y 2) (pow x 2))

series54.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

39.0ms
(/ (* (- x y) (+ y x)) (+ (pow y 2) (pow x 2)))
15.0ms
(+ (pow y 2) (pow x 2))

simplify2.4s

Counts
35 → 51
Calls

35 calls. Slowest were:

259.0ms
(* (- (* x x) (* y y)) (+ y x))
246.0ms
(/ (* (* (* (- x y) (+ y x)) (* (- x y) (+ y x))) (* (- x y) (+ y x))) (* (* (+ (pow y 2) (pow x 2)) (+ (pow y 2) (pow x 2))) (+ (pow y 2) (pow x 2))))
239.0ms
(* (- (* x x) (* y y)) (+ (pow y 3) (pow x 3)))

prune670.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

21.2b
(/ (* (- x y) (+ y x)) (+ (* x x) (* y y)))
0.0b
(+ (* x x) (* y y))
0.0b
(log (exp (/ (* (- x y) (+ y x)) (+ (* x x) (* y y)))))
0.0b
(exp (/ (* (- x y) (+ y x)) (+ (* x x) (* y y))))

rewrite49.0ms

Algorithm
rewrite-expression-head
Counts
4 → 80
Calls

4 calls. Slowest were:

16.0ms
(log (exp (/ (* (- x y) (+ y x)) (+ (* x x) (* y y)))))
15.0ms
(/ (* (- x y) (+ y x)) (+ (* x x) (* y y)))
11.0ms
(exp (/ (* (- x y) (+ y x)) (+ (* x x) (* y y))))

series213.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

83.0ms
(exp (/ (* (- x y) (+ y x)) (+ (* x x) (* y y))))
55.0ms
(log (exp (/ (* (- x y) (+ y x)) (+ (* x x) (* y y)))))
49.0ms
(/ (* (- x y) (+ y x)) (+ (* x x) (* y y)))

simplify5.5s

Counts
60 → 92
Calls

60 calls. Slowest were:

321.0ms
(log (sqrt (exp (/ (* (- x y) (+ y x)) (+ (* x x) (* y y))))))
302.0ms
(exp (/ (* (- x y) (+ y x)) (+ (pow (* x x) 3) (pow (* y y) 3))))
290.0ms
(/ (* (* (* (- x y) (- x y)) (- x y)) (* (* (+ y x) (+ y x)) (+ y x))) (* (* (+ (* x x) (* y y)) (+ (* x x) (* y y))) (+ (* x x) (* y y))))

prune975.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

regimes118.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 
(FPCore (x y)
  :name "Kahan p9 Example"
  :pre (and (< 0 x 1) (< y 1))

  :herbie-target
  (if (< 0.5 (fabs (/ x y)) 2) (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))) (- 1 (/ 2 (+ 1 (* (/ x y) (/ x y))))))

  (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))))

Backtrace

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