Error in 1.1m

Runtime

Time bar (total: 1.1m)Debug log

start748.0ms

Algorithm
intervals

setup66.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Counts
4 → 110
Calls

4 calls. Slowest were:

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

series210.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

80.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
65.0ms
(* (/ (cos th) (sqrt 2)) (* a1 a1))
35.0ms
(/ (cos th) (sqrt 2))

simplify3.6s

Counts
98 → 122
Calls

98 calls. Slowest were:

458.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a1 a1) (* a1 a1)) (* a1 a1)))
454.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a2 a2) (* a2 a2)) (* a2 a2)))
334.0ms
(/ (* (* (cos th) (cos th)) (cos th)) (* (* (sqrt 2) (sqrt 2)) (sqrt 2)))

prune1.6s

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Counts
4 → 91
Calls

4 calls. Slowest were:

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

series256.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

92.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2))
72.0ms
(* (/ (cos th) (sqrt 2)) (* a2 a2))
46.0ms
(/ (cos th) (sqrt 2))

simplify3.4s

Counts
74 → 103
Calls

74 calls. Slowest were:

484.0ms
(* (* (* (/ (cos th) (sqrt 2)) (/ (cos th) (sqrt 2))) (/ (cos th) (sqrt 2))) (* (* (* a2 a2) (* a2 a2)) (* a2 a2)))
398.0ms
(- (pow a1 2) (* 1/2 (* (pow a1 2) (pow th 2))))
354.0ms
(- (/ (pow a2 2) (sqrt 2)) (* 1/2 (/ (* (pow a2 2) (pow th 2)) (sqrt 2))))

prune1.6s

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Counts
4 → 388
Calls

4 calls. Slowest were:

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

series236.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

70.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* a2 a2))
67.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2))
59.0ms
(/ (cos th) (sqrt (sqrt 2)))

simplify13.5s

Counts
511 → 400
Calls

511 calls. Slowest were:

622.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)))
453.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))))
373.0ms
(+ (log (/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))) (log (* a2 a2)))

prune6.7s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Counts
4 → 386
Calls

4 calls. Slowest were:

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

series223.0ms

Counts
4 → 12
Calls

4 calls. Slowest were:

76.0ms
(/ (cos th) (sqrt (sqrt 2)))
73.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* a2 a2))
41.0ms
(/ (/ (cos th) (sqrt (sqrt 2))) (sqrt (sqrt 2)))

simplify13.4s

Counts
508 → 398
Calls

508 calls. Slowest were:

661.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)))
445.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))))
441.0ms
(/ (* (cos th) (pow a2 2)) (sqrt 2))

prune6.6s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

regimes506.0ms

Please include this information when filing a bug report:

herbie shell --seed 2018359 
(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.4633053674294151 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