Error in 5.1s

Runtime

Time bar (total: 5.1s)Debug log

start3.0ms

Algorithm
sampled

setup7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.4b

localize0.0ms

Local error

Found 2 expressions with local error:

7.5b
(- (/ x0 (- 1 x1)) x0)
1.0b
(/ x0 (- 1 x1))

rewrite6.0ms

Algorithm
rewrite-expression-head
Counts
2 → 36
Calls

2 calls. Slowest were:

5.0ms
(- (/ x0 (- 1 x1)) x0)
0.0ms
(/ x0 (- 1 x1))

series36.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

21.0ms
(- (/ x0 (- 1 x1)) x0)
15.0ms
(/ x0 (- 1 x1))

simplify1.5s

Counts
15 → 42
Calls

15 calls. Slowest were:

966.0ms
(+ (* x0 (pow x1 3)) (+ (* x0 (pow x1 2)) (* x0 x1)))
157.0ms
(+ x0 (+ (* x0 x1) (* x0 (pow x1 2))))
88.0ms
(- (+ (/ x0 (pow x1 3)) (+ (/ x0 (pow x1 2)) (/ x0 x1))))

prune51.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.8b

localize0.0ms

Local error

Found 3 expressions with local error:

7.4b
(fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))
1.0b
(/ x0 (- 1 x1))
1.0b
(/ x0 (- 1 x1))

rewrite3.0ms

Algorithm
rewrite-expression-head
Counts
3 → 44
Calls

3 calls. Slowest were:

1.0ms
(/ x0 (- 1 x1))
1.0ms
(/ x0 (- 1 x1))
0.0ms
(fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))

series147.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

106.0ms
(fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))
24.0ms
(/ x0 (- 1 x1))
18.0ms
(/ x0 (- 1 x1))

simplify664.0ms

Counts
19 → 53
Calls

19 calls. Slowest were:

196.0ms
(+ x0 (+ (* x0 x1) (* x0 (pow x1 2))))
128.0ms
(+ x0 (+ (* x0 x1) (* x0 (pow x1 2))))
78.0ms
(- (+ (/ x0 (pow x1 3)) (+ (/ x0 (pow x1 2)) (/ x0 x1))))

prune107.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.0b

localize0.0ms

Local error

Found 4 expressions with local error:

7.4b
(fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))
6.0b
(log (exp (fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))))
1.0b
(/ x0 (- 1 x1))
1.0b
(/ x0 (- 1 x1))

rewrite4.0ms

Algorithm
rewrite-expression-head
Counts
4 → 62
Calls

4 calls. Slowest were:

2.0ms
(log (exp (fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))))
0.0ms
(/ x0 (- 1 x1))
0.0ms
(/ x0 (- 1 x1))

series231.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

93.0ms
(fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))
89.0ms
(log (exp (fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))))
24.0ms
(/ x0 (- 1 x1))

simplify800.0ms

Counts
30 → 74
Calls

30 calls. Slowest were:

179.0ms
(+ x0 (+ (* x0 x1) (* x0 (pow x1 2))))
168.0ms
(+ x0 (+ (* x0 x1) (* x0 (pow x1 2))))
88.0ms
(- (+ (/ x0 (pow x1 3)) (+ (/ x0 (pow x1 2)) (/ x0 x1))))

prune165.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.6b

localize1.0ms

Local error

Found 4 expressions with local error:

7.4b
(fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))
6.0b
(log (exp (fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))))
1.0b
(exp (log (log (exp (fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))))))
1.0b
(/ x0 (- 1 x1))

rewrite11.0ms

Algorithm
rewrite-expression-head
Counts
4 → 66
Calls

4 calls. Slowest were:

5.0ms
(exp (log (log (exp (fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))))))
4.0ms
(log (exp (fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))))
1.0ms
(/ x0 (- 1 x1))

series295.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

108.0ms
(fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))
83.0ms
(exp (log (log (exp (fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))))))
77.0ms
(log (exp (fma (sqrt (/ x0 (- 1 x1))) (sqrt (/ x0 (- 1 x1))) (- x0))))

simplify716.0ms

Counts
37 → 78
Calls

37 calls. Slowest were:

182.0ms
(+ x0 (+ (* x0 x1) (* x0 (pow x1 2))))
92.0ms
(- (+ (/ x0 (pow x1 3)) (+ (/ x0 (pow x1 2)) (/ x0 x1))))
78.0ms
(- (+ (/ x0 (pow x1 3)) (+ (/ x0 (pow x1 2)) (/ x0 x1))))

prune240.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 4.6b

regimes17.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 +o rules:numerics
(FPCore (x0 x1)
  :name "(- (/ x0 (- 1 x1)) x0)"
  :pre (or (and (== x0 1.855) (== x1 0.000209)) (and (== x0 2.985) (== x1 0.0186)))

  :herbie-target
  (/ (* x0 x1) (- 1 x1))

  (- (/ x0 (- 1 x1)) x0))

Backtrace

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