


Bits error versus g



Bits error versus h
Results
Initial program 1.0
Simplified1.0
rmApplied distribute-frac-neg1.0
Applied acos-neg1.0
Applied div-sub1.0
Applied associate-+l-1.0
Applied cos-diff0.1
Simplified0.1
rmApplied add-sqr-sqrt1.0
rmApplied cos-diff0.0
Final simplification0.0
herbie shell --seed 2019010
(FPCore (g h)
:name "2-ancestry mixing, negative discriminant"
(* 2 (cos (+ (/ (* 2 PI) 3) (/ (acos (/ (- g) h)) 3)))))
Time bar (total: 9.1s)Debug log
| 23.0ms | (* 2 (cos (+ (/ (* 2 PI) 3) (/ (acos (/ (- g) h)) 3)))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 1.0b
Found 4 expressions with local error:
| 1.0b | (/ PI 3/2) |
| 1.0b | (cos (+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2))) |
| 1.0b | (+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2)) |
| 0.9b | (/ (acos (/ (- g) h)) 3) |
| 7× | *-un-lft-identity |
| 6× | add-log-exp |
| 6× | div-sub |
| 5× | add-cube-cbrt |
| 5× | add-sqr-sqrt |
| 4× | associate-+l- |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | pow1 |
| 3× | associate-/l* |
| 3× | distribute-frac-neg |
| 3× | acos-neg |
| 3× | acos-asin |
| 2× | div-inv |
| 2× | frac-2neg |
| 2× | clear-num |
| 2× | cos-diff |
| 1× | distribute-lft-out |
| 1× | flip-+ |
| 1× | frac-add |
| 1× | flip3-+ |
| 1× | sum-log |
| 1× | cos-sum |
| 1× | +-commutative |
| 14.0ms | (cos (+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2))) |
| 11.0ms | (+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2)) |
| 4.0ms | (/ (acos (/ (- g) h)) 3) |
| 0.0ms | (/ PI 3/2) |
| 90.0ms | (cos (+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2))) |
| 31.0ms | (+ (/ (acos (/ (- g) h)) 3) (/ PI 3/2)) |
| 8.0ms | (/ (acos (/ (- g) h)) 3) |
| 0.0ms | (/ PI 3/2) |
| 50.0ms | (* (cos (/ (/ PI 2) 3)) (cos (- (/ (asin (/ (- g) h)) 3) (/ PI 3/2)))) |
| 37.0ms | (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)) |
| 35.0ms | (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)) |
| 32.0ms | (cos (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI))) |
| 30.0ms | (+ (* 1/3 (acos (* -1 (/ g h)))) (* 2/3 PI)) |
4 alts after pruning (4 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 56.5b | (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) |
| 1.0b | (sin (/ PI 3)) |
| 1.0b | (/ PI 3) |
| 1.0b | (/ PI 3/2) |
| 4× | add-log-exp |
| 4× | add-cube-cbrt |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | *-un-lft-identity |
| 4× | pow1 |
| 4× | add-sqr-sqrt |
| 2× | div-inv |
| 2× | frac-2neg |
| 2× | clear-num |
| 2× | cos-sum |
| 1× | sin-PI/3 |
| 1× | sub-neg |
| 1× | cos-diff |
| 14.0ms | (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) |
| 3.0ms | (sin (/ PI 3)) |
| 0.0ms | (/ PI 3) |
| 0.0ms | (/ PI 3/2) |
| 104.0ms | (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) |
| 0.0ms | (sin (/ PI 3)) |
| 0.0ms | (/ PI 3) |
| 0.0ms | (/ PI 3/2) |
| 199.0ms | (* (+ (* (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) 1/2) (* (sin (/ PI 3)) (sin (- (/ (acos (/ g h)) 3) (/ PI 3/2))))) 2) |
| 184.0ms | (* (+ (* (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) 1/2) (* (sin (/ PI 3)) (sin (- (/ (acos (/ g h)) 3) (/ PI 3/2))))) 2) |
| 164.0ms | (* (+ (* (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) 1/2) (* (sin (/ PI 3)) (sin (- (/ (acos (/ g h)) 3) (/ PI 3/2))))) 2) |
| 14.0ms | (cos (- (* 1/3 (acos (/ g h))) (* 2/3 PI))) |
| 10.0ms | (cos (- (* 1/3 (acos (/ g h))) (* 2/3 PI))) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 60.6b | (cos (- (* 1/3 (acos (/ g h))) (* 2/3 PI))) |
| 1.0b | (sin (/ PI 3)) |
| 1.0b | (/ PI 3/2) |
| 1.0b | (* 2/3 PI) |
| 4× | add-log-exp |
| 4× | add-cube-cbrt |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | *-un-lft-identity |
| 4× | pow1 |
| 4× | add-sqr-sqrt |
| 2× | cos-sum |
| 1× | div-inv |
| 1× | *-commutative |
| 1× | frac-2neg |
| 1× | sin-PI/3 |
| 1× | sub-neg |
| 1× | clear-num |
| 1× | cos-diff |
| 14.0ms | (cos (- (* 1/3 (acos (/ g h))) (* 2/3 PI))) |
| 3.0ms | (sin (/ PI 3)) |
| 0.0ms | (/ PI 3/2) |
| 0.0ms | (* 2/3 PI) |
| 111.0ms | (cos (- (* 1/3 (acos (/ g h))) (* 2/3 PI))) |
| 0.0ms | (sin (/ PI 3)) |
| 0.0ms | (* 2/3 PI) |
| 0.0ms | (/ PI 3/2) |
| 15.0ms | (cos (- (* 1/3 (acos (/ g h))) (* 2/3 PI))) |
| 13.0ms | (cos (- (* 1/3 (acos (/ g h))) (* 2/3 PI))) |
| 11.0ms | (* (cos (* 1/3 (acos (/ g h)))) (cos (- (* 2/3 PI)))) |
| 11.0ms | (* (cos (* 1/3 (acos (/ g h)))) (cos (- (* 2/3 PI)))) |
| 8.0ms | (cos (- (* 1/3 (acos (/ g h))) (* 2/3 PI))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 56.5b | (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) |
| 1.0b | (/ PI 3/2) |
| 1.0b | (/ PI 3/2) |
| 1.0b | (sin (* (sqrt (/ PI 3)) (sqrt (/ PI 3)))) |
| 4× | add-log-exp |
| 4× | add-cube-cbrt |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | *-un-lft-identity |
| 4× | pow1 |
| 4× | add-sqr-sqrt |
| 2× | div-inv |
| 2× | frac-2neg |
| 2× | clear-num |
| 2× | cos-sum |
| 1× | sub-neg |
| 1× | cos-diff |
| 15.0ms | (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) |
| 10.0ms | (sin (* (sqrt (/ PI 3)) (sqrt (/ PI 3)))) |
| 0.0ms | (/ PI 3/2) |
| 0.0ms | (/ PI 3/2) |
| 113.0ms | (cos (- (/ (acos (/ g h)) 3) (/ PI 3/2))) |
| 0.0ms | (/ PI 3/2) |
| 0.0ms | (/ PI 3/2) |
| 0.0ms | (sin (* (sqrt (/ PI 3)) (sqrt (/ PI 3)))) |
| 16.0ms | (cos (- (* 1/3 (acos (/ g h))) (* 2/3 PI))) |
| 12.0ms | (cos (- (* 1/3 (acos (/ g h))) (* 2/3 PI))) |
| 9.0ms | (* (cos (/ (acos (/ g h)) 3)) (cos (- (/ PI 3/2)))) |
| 8.0ms | (* (cos (/ (acos (/ g h)) 3)) (cos (- (/ PI 3/2)))) |
| 7.0ms | (cos (- (* 1/3 (acos (/ g h))) (* 2/3 PI))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b