Error in 53.1s

Runtime

Time bar (total: 53.1s)Debug logProfile

start405.0ms

Algorithm
intervals

setup124.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.5b

localize37.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ (cos th) (sqrt 2))
0.7b
(/ (cos th) (sqrt 2))
0.3b
(* (/ (cos th) (sqrt 2)) (* a1 a1))
0.3b
(* (/ (cos th) (sqrt 2)) (* a2 a2))

rewrite24.0ms

Algorithm
rewrite-expression-head
Counts
4 → 118
Calls

4 calls. Slowest were:

9.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
6.0ms
(* (/ (cos th) (sqrt 2)) (* a1 a1))
3.0ms
(/ (cos th) (sqrt 2))

series244.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

82.0ms
(* (/ (cos th) (sqrt 2)) (* a1 a1))
75.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
45.0ms
(/ (cos th) (sqrt 2))

simplify3.4s

Counts
98 → 130
Calls

98 calls. Slowest were:

387.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a1 a1) (* a1 a1)) (* a1 a1)))
380.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a2 a2) (* a2 a2)) (* a2 a2)))
301.0ms
(/ (* (* (cos th) (cos th)) (cos th)) (* (* (sqrt 2) (sqrt 2)) (sqrt 2)))

prune1.9s

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ (cos th) (sqrt 2))
0.3b
(/ (* (cos th) (* a1 a1)) (sqrt 2))
0.3b
(* (/ (cos th) (sqrt 2)) (* a2 a2))
0.1b
(* (cos th) (* a1 a1))

rewrite40.0ms

Algorithm
rewrite-expression-head
Counts
4 → 99
Calls

4 calls. Slowest were:

14.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2))
11.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
7.0ms
(/ (cos th) (sqrt 2))

series278.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

107.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
87.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2))
45.0ms
(* (cos th) (* a1 a1))

simplify3.3s

Counts
74 → 111
Calls

74 calls. Slowest were:

445.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a2 a2) (* a2 a2)) (* a2 a2)))
417.0ms
(- (pow a1 2) (* 1/2 (* (pow a1 2) (pow th 2))))
288.0ms
(* (* (* (cos th) (cos th)) (cos th)) (* (* (* a1 a1) (* a1 a1)) (* a1 a1)))

prune1.5s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ (cos th) (sqrt (sqrt 2)))
0.6b
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))
0.3b
(/ (* (cos th) (* a1 a1)) (sqrt 2))
0.3b
(* (/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* a2 a2))

rewrite38.0ms

Algorithm
rewrite-expression-head
Counts
4 → 396
Calls

4 calls. Slowest were:

12.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* a2 a2))
7.0ms
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))
7.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2))

series281.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

80.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2))
73.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* a2 a2))
72.0ms
(/ (cos th) (sqrt (sqrt 2)))

simplify13.6s

Counts
511 → 408
Calls

511 calls. Slowest were:

681.0ms
(* (* (* (/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2))) (/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))) (/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))) (* (* (* a2 a2) (* a2 a2)) (* a2 a2)))
417.0ms
(/ (* (* (/ (cos th) (sqrt (sqrt 2))) (/ (cos th) (sqrt (sqrt 2)))) (/ (cos th) (sqrt (sqrt 2)))) (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (sqrt (sqrt 2))))
344.0ms
(+ (- (- (log (cos th)) (log (sqrt (sqrt 2)))) (log (sqrt (sqrt 2)))) (log (* a2 a2)))

prune6.8s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize29.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ (/ 1 (sqrt (sqrt 2))) (sqrt (sqrt 2)))
1.0b
(/ 1 (sqrt (sqrt 2)))
0.3b
(/ (* (cos th) (* a1 a1)) (sqrt 2))
0.3b
(* (/ (/ 1 (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* a2 a2))

rewrite38.0ms

Algorithm
rewrite-expression-head
Counts
4 → 144
Calls

4 calls. Slowest were:

13.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2))
11.0ms
(* (/ (/ 1 (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* a2 a2))
9.0ms
(/ (/ 1 (sqrt (sqrt 2))) (sqrt (sqrt 2)))

series129.0ms

Counts
4 → 8
Calls

4 calls. Slowest were:

92.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2))
37.0ms
(* (/ (/ 1 (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* a2 a2))
0.0ms
(/ (/ 1 (sqrt (sqrt 2))) (sqrt (sqrt 2)))

simplify3.2s

Counts
129 → 152
Calls

129 calls. Slowest were:

613.0ms
(* (* (* (/ (/ 1 (sqrt (sqrt 2))) (sqrt (sqrt 2))) (/ (/ 1 (sqrt (sqrt 2))) (sqrt (sqrt 2)))) (/ (/ 1 (sqrt (sqrt 2))) (sqrt (sqrt 2)))) (* (* (* a2 a2) (* a2 a2)) (* a2 a2)))
323.0ms
(+ (- (log (/ 1 (sqrt (sqrt 2)))) (log (sqrt (sqrt 2)))) (log (* a2 a2)))
306.0ms
(- (/ (pow a1 2) (sqrt 2)) (* 1/2 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))))

prune2.5s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

regimes559.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 +o rules:numerics
(FPCore (a1 a2 th)
  :name "Migdal et al, Equation (64)"
  (+ (* (/ (cos th) (sqrt 2)) (* a1 a1)) (* (/ (cos th) (sqrt 2)) (* a2 a2))))

Backtrace

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