Error in 1.2m

Runtime

Time bar (total: 1.2m)Debug log

start491.0ms

Algorithm
intervals

setup71.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.9b

localize28.0ms

Local error

Found 3 expressions with local error:

3.0b
(tan (+ y z))
0.2b
(- (tan (+ y z)) (tan a))
0.1b
(+ x (- (tan (+ y z)) (tan a)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Counts
3 → 65
Calls

3 calls. Slowest were:

6.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(+ x (- (tan (+ y z)) (tan a)))
2.0ms
(tan (+ y z))

series393.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

169.0ms
(+ x (- (tan (+ y z)) (tan a)))
155.0ms
(- (tan (+ y z)) (tan a))
69.0ms
(tan (+ y z))

simplify1.4s

Counts
50 → 74
Calls

50 calls. Slowest were:

307.0ms
(- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a)))
140.0ms
(* (- 1 (* (tan y) (tan z))) (cos a))
50.0ms
(- (+ (/ (sin (+ z y)) (cos (+ z y))) x) (/ (sin a) (cos a)))

prune1.1s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))
0.1b
(+ (tan y) (tan z))
0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))

rewrite80.0ms

Algorithm
rewrite-expression-head
Counts
4 → 199
Calls

4 calls. Slowest were:

32.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
31.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
4.0ms
(* (tan y) (tan z))

series1.2s

Counts
4 → 12
Calls

4 calls. Slowest were:

500.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
435.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
131.0ms
(* (tan y) (tan z))

simplify15.6s

Counts
220 → 211
Calls

220 calls. Slowest were:

601.0ms
(fma (/ 1 (* (cbrt (- 1 (* (tan y) (tan z)))) (cbrt (- 1 (* (tan y) (tan z)))))) (/ (+ (tan y) (tan z)) (cbrt (- 1 (* (tan y) (tan z))))) (- (* (tan a) 1)))
537.0ms
(fma (/ 1 (* (cbrt (- 1 (* (tan y) (tan z)))) (cbrt (- 1 (* (tan y) (tan z)))))) (/ (+ (tan y) (tan z)) (cbrt (- 1 (* (tan y) (tan z))))) (- (* (tan a) 1)))
508.0ms
(fma (/ 1 (* (cbrt (- 1 (* (tan y) (tan z)))) (cbrt (- 1 (* (tan y) (tan z)))))) (/ (+ (tan y) (tan z)) (cbrt (- 1 (* (tan y) (tan z))))) (- (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a))))))

prune3.2s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z)))) (- (tan a)))
0.2b
(* (tan y) (tan z))
0.1b
(+ (tan y) (tan z))
0.1b
(+ x (fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z)))) (- (tan a))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Counts
4 → 63
Calls

4 calls. Slowest were:

7.0ms
(+ (tan y) (tan z))
4.0ms
(* (tan y) (tan z))
1.0ms
(+ x (fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z)))) (- (tan a))))

series979.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

410.0ms
(fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z)))) (- (tan a)))
318.0ms
(+ x (fma (+ (tan y) (tan z)) (/ 1 (- 1 (* (tan y) (tan z)))) (- (tan a))))
144.0ms
(+ (tan y) (tan z))

simplify1.4s

Counts
31 → 75
Calls

31 calls. Slowest were:

284.0ms
(- (+ (/ (sin z) (* (cos z) (- 1 (/ (* (sin z) (sin y)) (* (cos y) (cos z)))))) (+ (/ (sin y) (* (cos y) (- 1 (/ (* (sin z) (sin y)) (* (cos y) (cos z)))))) x)) (/ (sin a) (cos a)))
253.0ms
(- (+ (/ (sin z) (* (cos z) (- 1 (/ (* (sin z) (sin y)) (* (cos y) (cos z)))))) (+ (/ (sin y) (* (cos y) (- 1 (/ (* (sin z) (sin y)) (* (cos y) (cos z)))))) x)) (/ (sin a) (cos a)))
231.0ms
(- (+ (/ (sin z) (* (cos z) (- 1 (/ (* (sin z) (sin y)) (* (cos y) (cos z)))))) (/ (sin y) (* (cos y) (- 1 (/ (* (sin z) (sin y)) (* (cos y) (cos z))))))) (/ (sin a) (cos a)))

prune1.1s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize34.0ms

Local error

Found 4 expressions with local error:

2.3b
(log (exp (- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a))))
0.5b
(exp (- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a)))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a))
0.2b
(* (tan z) (tan y))

rewrite194.0ms

Algorithm
rewrite-expression-head
Counts
4 → 263
Calls

4 calls. Slowest were:

69.0ms
(log (exp (- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a))))
69.0ms
(exp (- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a)))
46.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a))

series1.4s

Counts
4 → 12
Calls

4 calls. Slowest were:

492.0ms
(exp (- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a)))
406.0ms
(log (exp (- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a))))
403.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan z) (tan y)))) (tan a))

simplify25.9s

Counts
289 → 275
Calls

289 calls. Slowest were:

490.0ms
(- (+ (/ (sin z) (* (cos z) (- 1 (/ (* (sin z) (sin y)) (* (cos y) (cos z)))))) (/ (sin y) (* (cos y) (- 1 (/ (* (sin z) (sin y)) (* (cos y) (cos z))))))) (/ (sin a) (cos a)))
424.0ms
(log (exp (fma (/ 1 (* (cbrt (- 1 (* (tan z) (tan y)))) (cbrt (- 1 (* (tan z) (tan y)))))) (/ (+ (tan y) (tan z)) (cbrt (- 1 (* (tan z) (tan y))))) (- (* (sqrt (tan a)) (sqrt (tan a)))))))
409.0ms
(exp (fma (/ 1 (* (cbrt (- 1 (* (tan z) (tan y)))) (cbrt (- 1 (* (tan z) (tan y)))))) (/ (+ (tan y) (tan z)) (cbrt (- 1 (* (tan z) (tan y))))) (- (* (cbrt (tan a)) (* (cbrt (tan a)) (cbrt (tan a)))))))

prune3.8s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

regimes324.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 +o rules:numerics
(FPCore (x y z a)
  :name "(+ x (- (tan (+ y z)) (tan a)))"
  :pre (and (or (== x 0) (<= 0.5884142 x 505.5909)) (or (<= -1.796658e+308 y -9.425585e-310) (<= 1.284938e-309 y 1.751224e+308)) (or (<= -1.776707e+308 z -8.599796e-310) (<= 3.293145e-311 z 1.725154e+308)) (or (<= -1.796658e+308 a -9.425585e-310) (<= 1.284938e-309 a 1.751224e+308)))
  (+ x (- (tan (+ y z)) (tan a))))

Backtrace

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