Error in 37.7s

Runtime

Time bar (total: 37.7s)Debug log

start250.0ms

Algorithm
intervals

setup77.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Counts
4 → 97
Calls

4 calls. Slowest were:

6.0ms
(* (tan x) (tan x))
4.0ms
(/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x))))
4.0ms
(* (tan x) (tan x))

series187.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

79.0ms
(/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x))))
55.0ms
(* (tan x) (tan x))
27.0ms
(* (tan x) (tan x))

simplify2.6s

Counts
72 → 109
Calls

72 calls. Slowest were:

703.0ms
(/ (* (* (- 1 (* (tan x) (tan x))) (- 1 (* (tan x) (tan x)))) (- 1 (* (tan x) (tan x)))) (* (* (+ 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x)))) (+ 1 (* (tan x) (tan x)))))
458.0ms
(+ (* 1 1) (- (* (* (tan x) (tan x)) (* (tan x) (tan x))) (* 1 (* (tan x) (tan x)))))
217.0ms
(/ (- 1 (/ (pow (sin x) 2) (pow (cos x) 2))) (+ (/ (pow (sin x) 2) (pow (cos x) 2)) 1))

prune1.1s

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Counts
4 → 127
Calls

4 calls. Slowest were:

7.0ms
(- (/ 1 (fma (tan x) (tan x) 1)) (/ (* (tan x) (tan x)) (+ 1 (* (tan x) (tan x)))))
4.0ms
(* (tan x) (tan x))
4.0ms
(* (tan x) (tan x))

series229.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

129.0ms
(- (/ 1 (fma (tan x) (tan x) 1)) (/ (* (tan x) (tan x)) (+ 1 (* (tan x) (tan x)))))
44.0ms
(/ 1 (fma (tan x) (tan x) 1))
30.0ms
(* (tan x) (tan x))

simplify13.8s

Counts
129 → 139
Calls

129 calls. Slowest were:

840.0ms
(- (* 1 (+ 1 (* (tan x) (tan x)))) (* (fma (tan x) (tan x) 1) (* (tan x) (tan x))))
546.0ms
(fma 1 (/ 1 (fma (tan x) (tan x) 1)) (- (* (+ (* 1 1) (- (* (* (tan x) (tan x)) (* (tan x) (tan x))) (* 1 (* (tan x) (tan x))))) (/ (* (tan x) (tan x)) (+ (pow 1 3) (pow (* (tan x) (tan x)) 3))))))
506.0ms
(fma 1 (/ 1 (fma (tan x) (tan x) 1)) (- (* (/ 1 (+ 1 (* (tan x) (tan x)))) (* (tan x) (tan x)))))

prune1.7s

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.3b
(fma (tan x) (- (tan x)) 1)
0.1b
(/ (fma (tan x) (- (tan x)) 1) (fma (tan x) (tan x) 1))
0.1b
(fma (tan x) (tan x) 1)

rewrite4.0ms

Algorithm
rewrite-expression-head
Counts
3 → 49
Calls

3 calls. Slowest were:

3.0ms
(/ (fma (tan x) (- (tan x)) 1) (fma (tan x) (tan x) 1))
0.0ms
(fma (tan x) (- (tan x)) 1)
0.0ms
(fma (tan x) (tan x) 1)

series589.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

486.0ms
(/ (fma (tan x) (- (tan x)) 1) (fma (tan x) (tan x) 1))
57.0ms
(fma (tan x) (- (tan x)) 1)
45.0ms
(fma (tan x) (tan x) 1)

simplify1.4s

Counts
34 → 58
Calls

34 calls. Slowest were:

241.0ms
(/ (- 1 (/ (pow (sin x) 2) (pow (cos x) 2))) (+ (/ (pow (sin x) 2) (pow (cos x) 2)) 1))
240.0ms
(/ (- 1 (/ (pow (sin x) 2) (pow (cos x) 2))) (+ (/ (pow (sin x) 2) (pow (cos x) 2)) 1))
238.0ms
(/ (* (* (fma (tan x) (- (tan x)) 1) (fma (tan x) (- (tan x)) 1)) (fma (tan x) (- (tan x)) 1)) (* (* (fma (tan x) (tan x) 1) (fma (tan x) (tan x) 1)) (fma (tan x) (tan x) 1)))

prune653.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(fma (tan x) (- (tan x)) 1)
0.3b
(log1p (/ (fma (tan x) (- (tan x)) 1) (fma (tan x) (tan x) 1)))
0.2b
(expm1 (log1p (/ (fma (tan x) (- (tan x)) 1) (fma (tan x) (tan x) 1))))
0.1b
(/ (fma (tan x) (- (tan x)) 1) (fma (tan x) (tan x) 1))

rewrite11.0ms

Algorithm
rewrite-expression-head
Counts
4 → 61
Calls

4 calls. Slowest were:

9.0ms
(/ (fma (tan x) (- (tan x)) 1) (fma (tan x) (tan x) 1))
0.0ms
(log1p (/ (fma (tan x) (- (tan x)) 1) (fma (tan x) (tan x) 1)))
0.0ms
(fma (tan x) (- (tan x)) 1)

series771.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

348.0ms
(expm1 (log1p (/ (fma (tan x) (- (tan x)) 1) (fma (tan x) (tan x) 1))))
223.0ms
(log1p (/ (fma (tan x) (- (tan x)) 1) (fma (tan x) (tan x) 1)))
137.0ms
(/ (fma (tan x) (- (tan x)) 1) (fma (tan x) (tan x) 1))

simplify2.4s

Counts
39 → 73
Calls

39 calls. Slowest were:

295.0ms
(/ (- 1 (/ (pow (sin x) 2) (pow (cos x) 2))) (+ (/ (pow (sin x) 2) (pow (cos x) 2)) 1))
276.0ms
(/ (* (* (fma (tan x) (- (tan x)) 1) (fma (tan x) (- (tan x)) 1)) (fma (tan x) (- (tan x)) 1)) (* (* (fma (tan x) (tan x) 1) (fma (tan x) (tan x) 1)) (fma (tan x) (tan x) 1)))
256.0ms
(/ (- 1 (/ (pow (sin x) 2) (pow (cos x) 2))) (+ (/ (pow (sin x) 2) (pow (cos x) 2)) 1))

prune1.1s

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.0b

regimes349.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 +o rules:numerics
(FPCore (x)
  :name "Trigonometry B"
  (/ (- 1 (* (tan x) (tan x))) (+ 1 (* (tan x) (tan x)))))

Backtrace

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