Error in 20.0s

Runtime

Time bar (total: 20.0s)Debug log

start132.0ms

Algorithm
intervals

setup34.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.7b

localize23.0ms

Local error

Found 2 expressions with local error:

0.7b
(/ (exp a) (+ (exp a) (exp b)))
0.0b
(+ (exp a) (exp b))

rewrite18.0ms

Algorithm
rewrite-expression-head
Counts
2 → 52
Calls

2 calls. Slowest were:

11.0ms
(/ (exp a) (+ (exp a) (exp b)))
6.0ms
(+ (exp a) (exp b))

series93.0ms

Counts
2 → 6
Calls

2 calls. Slowest were:

55.0ms
(/ (exp a) (+ (exp a) (exp b)))
37.0ms
(+ (exp a) (exp b))

simplify596.0ms

Counts
44 → 58
Calls

44 calls. Slowest were:

229.0ms
(/ (* (* (exp a) (exp a)) (exp a)) (* (* (+ (exp a) (exp b)) (+ (exp a) (exp b))) (+ (exp a) (exp b))))
92.0ms
(+ (* (exp a) (exp a)) (- (* (exp b) (exp b)) (* (exp a) (exp b))))
47.0ms
(- (+ (* 1/4 a) 1/2) (* 1/4 b))

prune545.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.7b

localize12.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ (exp a) (+ (exp a) (exp b)))
0.2b
(log (exp (/ (exp a) (+ (exp a) (exp b)))))
0.0b
(+ (exp a) (exp b))
0.0b
(exp (/ (exp a) (+ (exp a) (exp b))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Counts
4 → 112
Calls

4 calls. Slowest were:

12.0ms
(/ (exp a) (+ (exp a) (exp b)))
12.0ms
(log (exp (/ (exp a) (+ (exp a) (exp b)))))
10.0ms
(exp (/ (exp a) (+ (exp a) (exp b))))

series188.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

68.0ms
(exp (/ (exp a) (+ (exp a) (exp b))))
45.0ms
(/ (exp a) (+ (exp a) (exp b)))
38.0ms
(log (exp (/ (exp a) (+ (exp a) (exp b)))))

simplify1.5s

Counts
91 → 124
Calls

91 calls. Slowest were:

429.0ms
(- (+ (* 1/4 (* a (exp 1/2))) (exp 1/2)) (* 1/4 (* b (exp 1/2))))
246.0ms
(/ (* (* (exp a) (exp a)) (exp a)) (* (* (+ (exp a) (exp b)) (+ (exp a) (exp b))) (+ (exp a) (exp b))))
96.0ms
(exp (/ (exp a) (- (* (exp a) (exp a)) (* (exp b) (exp b)))))

prune1.4s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.6b

localize17.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ (exp a) (+ (exp a) (exp b)))
0.7b
(/ (exp a) (+ (exp a) (exp b)))
0.7b
(/ (exp a) (+ (exp a) (exp b)))
0.4b
(cbrt (* (* (/ (exp a) (+ (exp a) (exp b))) (/ (exp a) (+ (exp a) (exp b)))) (/ (exp a) (+ (exp a) (exp b)))))

rewrite70.0ms

Algorithm
rewrite-expression-head
Counts
4 → 124
Calls

4 calls. Slowest were:

31.0ms
(cbrt (* (* (/ (exp a) (+ (exp a) (exp b))) (/ (exp a) (+ (exp a) (exp b)))) (/ (exp a) (+ (exp a) (exp b)))))
13.0ms
(/ (exp a) (+ (exp a) (exp b)))
12.0ms
(/ (exp a) (+ (exp a) (exp b)))

series184.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

57.0ms
(cbrt (* (* (/ (exp a) (+ (exp a) (exp b))) (/ (exp a) (+ (exp a) (exp b)))) (/ (exp a) (+ (exp a) (exp b)))))
48.0ms
(/ (exp a) (+ (exp a) (exp b)))
42.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify2.2s

Counts
123 → 136
Calls

123 calls. Slowest were:

299.0ms
(/ (* (* (exp a) (exp a)) (exp a)) (* (* (+ (exp a) (exp b)) (+ (exp a) (exp b))) (+ (exp a) (exp b))))
264.0ms
(/ (* (* (exp a) (exp a)) (exp a)) (* (* (+ (exp a) (exp b)) (+ (exp a) (exp b))) (+ (exp a) (exp b))))
212.0ms
(/ (* (* (exp a) (exp a)) (exp a)) (* (* (+ (exp a) (exp b)) (+ (exp a) (exp b))) (+ (exp a) (exp b))))

prune1.5s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.6b

localize9.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ (exp a) (+ (exp a) (exp b)))
0.7b
(/ (exp a) (+ (exp a) (exp b)))
0.7b
(/ (exp a) (+ (exp a) (exp b)))
0.7b
(/ (exp a) (+ (exp a) (exp b)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Counts
4 → 140
Calls

4 calls. Slowest were:

12.0ms
(/ (exp a) (+ (exp a) (exp b)))
10.0ms
(/ (exp a) (+ (exp a) (exp b)))
6.0ms
(/ (exp a) (+ (exp a) (exp b)))

series209.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

64.0ms
(/ (exp a) (+ (exp a) (exp b)))
51.0ms
(/ (exp a) (+ (exp a) (exp b)))
48.0ms
(/ (exp a) (+ (exp a) (exp b)))

simplify2.4s

Counts
148 → 152
Calls

148 calls. Slowest were:

298.0ms
(/ (* (* (exp a) (exp a)) (exp a)) (* (* (+ (exp a) (exp b)) (+ (exp a) (exp b))) (+ (exp a) (exp b))))
289.0ms
(/ (* (* (exp a) (exp a)) (exp a)) (* (* (+ (exp a) (exp b)) (+ (exp a) (exp b))) (+ (exp a) (exp b))))
247.0ms
(/ (* (* (exp a) (exp a)) (exp a)) (* (* (+ (exp a) (exp b)) (+ (exp a) (exp b))) (+ (exp a) (exp b))))

prune1.8s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.6b

regimes238.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 +o rules:numerics
(FPCore (a b)
  :name "Quotient of sum of exps"

  :herbie-target
  (/ 1 (+ 1 (exp (- b a))))

  (/ (exp a) (+ (exp a) (exp b))))

Backtrace

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