Error in 52.7s

Runtime

Time bar (total: 52.7s)Debug logProfile

start385.0ms

Algorithm
intervals

setup105.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.5b

localize35.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 → 110
Calls

4 calls. Slowest were:

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

series274.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

104.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
77.0ms
(* (/ (cos th) (sqrt 2)) (* a1 a1))
49.0ms
(/ (cos th) (sqrt 2))

simplify3.6s

Counts
98 → 122
Calls

98 calls. Slowest were:

525.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a2 a2) (* a2 a2)) (* a2 a2)))
483.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a1 a1) (* a1 a1)) (* a1 a1)))
338.0ms
(- (/ (pow a1 2) (sqrt 2)) (* 1/2 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))))

prune1.8s

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize9.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))

rewrite19.0ms

Algorithm
rewrite-expression-head
Counts
4 → 91
Calls

4 calls. Slowest were:

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

series221.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

82.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
73.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2))
36.0ms
(* (cos th) (* a1 a1))

simplify3.1s

Counts
74 → 103
Calls

74 calls. Slowest were:

396.0ms
(- (pow a1 2) (* 1/2 (* (pow a1 2) (pow th 2))))
374.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a2 a2) (* a2 a2)) (* a2 a2)))
320.0ms
(- (/ (pow a1 2) (sqrt 2)) (* 1/2 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))))

prune1.4s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize27.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))

rewrite76.0ms

Algorithm
rewrite-expression-head
Counts
4 → 388
Calls

4 calls. Slowest were:

20.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* a2 a2))
14.0ms
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))
13.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2))

series326.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

102.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* a2 a2))
85.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2))
82.0ms
(/ (cos th) (sqrt (sqrt 2)))

simplify13.3s

Counts
511 → 400
Calls

511 calls. Slowest were:

664.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)))
512.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))))
375.0ms
(+ (log (/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))) (log (* a2 a2)))

prune6.6s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize23.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))

rewrite21.0ms

Algorithm
rewrite-expression-head
Counts
4 → 136
Calls

4 calls. Slowest were:

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

series123.0ms

Counts
4 → 8
Calls

4 calls. Slowest were:

87.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2))
35.0ms
(* (/ (/ 1 (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* a2 a2))
0.0ms
(/ (/ 1 (sqrt (sqrt 2))) (sqrt (sqrt 2)))

simplify3.8s

Counts
129 → 144
Calls

129 calls. Slowest were:

1.0s
(* (* (* (/ (/ 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)))
327.0ms
(+ (- (log (/ 1 (sqrt (sqrt 2)))) (log (sqrt (sqrt 2)))) (log (* a2 a2)))
275.0ms
(- (/ (pow a1 2) (sqrt 2)) (* 1/2 (/ (* (pow a1 2) (pow th 2)) (sqrt 2))))

prune2.4s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

regimes483.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018357 
(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