Error in 32.4s

Runtime

Time bar (total: 32.4s)Debug logProfile

start528.0ms

Algorithm
intervals

setup27.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.8b

localize49.0ms

Local error

Found 3 expressions with local error:

1.2b
(- x (sin x))
1.2b
(- x (tan x))
0.0b
(/ (- x (sin x)) (- x (tan x)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Counts
3 → 54
Calls

3 calls. Slowest were:

6.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (sin x))
1.0ms
(- x (tan x))

series247.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

114.0ms
(/ (- x (sin x)) (- x (tan x)))
92.0ms
(- x (tan x))
40.0ms
(- x (sin x))

simplify1.2s

Counts
39 → 63
Calls

39 calls. Slowest were:

247.0ms
(- (+ 1 (+ (/ (pow (sin x) 2) (* (pow (cos x) 2) (pow x 2))) (/ (sin x) (* (cos x) x)))) (+ (/ (sin x) x) (/ (pow (sin x) 2) (* (cos x) (pow x 2)))))
212.0ms
(- (+ 1 (+ (/ (pow (sin x) 2) (* (pow (cos x) 2) (pow x 2))) (/ (sin x) (* (cos x) x)))) (+ (/ (sin x) x) (/ (pow (sin x) 2) (* (cos x) (pow x 2)))))
150.0ms
(/ (* (* (- x (sin x)) (- x (sin x))) (- x (sin x))) (* (* (- x (tan x)) (- x (tan x))) (- x (tan x))))

prune659.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 4 expressions with local error:

1.2b
(- x (sin x))
1.2b
(- x (tan x))
0.0b
(/ 1 (/ (- x (tan x)) (- x (sin x))))
0.0b
(/ (- x (tan x)) (- x (sin x)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Counts
4 → 84
Calls

4 calls. Slowest were:

3.0ms
(/ (- x (tan x)) (- x (sin x)))
2.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
0.0ms
(- x (sin x))

series256.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

81.0ms
(/ (- x (tan x)) (- x (sin x)))
75.0ms
(- x (tan x))
72.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))

simplify1.9s

Counts
59 → 96
Calls

59 calls. Slowest were:

253.0ms
(- (+ 1 (+ (/ (pow (sin x) 2) (* (pow (cos x) 2) (pow x 2))) (/ (sin x) (* (cos x) x)))) (+ (/ (sin x) x) (/ (pow (sin x) 2) (* (cos x) (pow x 2)))))
237.0ms
(- (+ 1 (+ (/ (pow (sin x) 2) (* (pow (cos x) 2) (pow x 2))) (/ (sin x) (* (cos x) x)))) (+ (/ (sin x) x) (/ (pow (sin x) 2) (* (cos x) (pow x 2)))))
194.0ms
(/ (* (* (- x (tan x)) (- x (tan x))) (- x (tan x))) (* (* (- x (sin x)) (- x (sin x))) (- x (sin x))))

prune916.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize42.0ms

Local error

Found 3 expressions with local error:

0.4b
(/ 1 (+ (- (* (* x x) -9/10) 2) (* -513/1400 (pow x 4))))
0.3b
(* -513/1400 (pow x 4))
0.2b
(* (* x x) -9/10)

rewrite25.0ms

Algorithm
rewrite-expression-head
Counts
3 → 38
Calls

3 calls. Slowest were:

19.0ms
(/ 1 (+ (- (* (* x x) -9/10) 2) (* -513/1400 (pow x 4))))
4.0ms
(* (* x x) -9/10)
2.0ms
(* -513/1400 (pow x 4))

series68.0ms

Counts
3 → 9
Calls

3 calls. Slowest were:

25.0ms
(/ 1 (+ (- (* (* x x) -9/10) 2) (* -513/1400 (pow x 4))))
25.0ms
(* (* x x) -9/10)
18.0ms
(* -513/1400 (pow x 4))

simplify866.0ms

Counts
18 → 47
Calls

18 calls. Slowest were:

237.0ms
(+ (* (- (* (* x x) -9/10) 2) (- (* (* x x) -9/10) 2)) (- (* (* -513/1400 (pow x 4)) (* -513/1400 (pow x 4))) (* (- (* (* x x) -9/10) 2) (* -513/1400 (pow x 4)))))
117.0ms
(- (* 196000/29241 (/ 1 (pow x 6))) (+ (* 1400/513 (/ 1 (pow x 4))) (* 7840000/5000211 (/ 1 (pow x 8)))))
111.0ms
(- (* 196000/29241 (/ 1 (pow x 6))) (+ (* 1400/513 (/ 1 (pow x 4))) (* 7840000/5000211 (/ 1 (pow x 8)))))

prune666.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize38.0ms

Local error

Found 4 expressions with local error:

14.8b
(/ (- (* x x) (* (tan x) (tan x))) (* (- x (sin x)) (+ x (tan x))))
1.2b
(- (* x x) (* (tan x) (tan x)))
1.2b
(- x (sin x))
0.3b
(* (tan x) (tan x))

rewrite30.0ms

Algorithm
rewrite-expression-head
Counts
4 → 81
Calls

4 calls. Slowest were:

16.0ms
(/ (- (* x x) (* (tan x) (tan x))) (* (- x (sin x)) (+ x (tan x))))
7.0ms
(* (tan x) (tan x))
4.0ms
(- (* x x) (* (tan x) (tan x)))

series322.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

189.0ms
(/ (- (* x x) (* (tan x) (tan x))) (* (- x (sin x)) (+ x (tan x))))
79.0ms
(- (* x x) (* (tan x) (tan x)))
28.0ms
(- x (sin x))

simplify3.8s

Counts
57 → 93
Calls

57 calls. Slowest were:

342.0ms
(/ (* x x) (* (- x (sin x)) (+ x (tan x))))
327.0ms
(/ (- (* x x) (* (tan x) (tan x))) (+ x (tan x)))
294.0ms
(- (log (- (* x x) (* (tan x) (tan x)))) (log (* (- x (sin x)) (+ x (tan x)))))

prune1.1s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes36.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 
(FPCore (x)
  :name "sintan (problem 3.4.5)"
  (/ (- x (sin x)) (- x (tan x))))

Backtrace

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