Initial program 61.9
Simplified61.9
Simplified0
Final simplification0
herbie shell --seed 2019010
(FPCore ()
:name "3.9.2 real part (p56)"
(re (+.c (+.c (+.c (+.c (*.c (*.c (*.c (complex (/ (- 1) 2) (/ (sqrt 3) 2)) (complex (/ (- 1) 2) (/ (sqrt 3) 2))) (complex (/ (- 1) 2) (/ (sqrt 3) 2))) (complex (/ (- 1) 2) (/ (sqrt 3) 2))) (*.c (*.c (*.c (complex (- 2) 0) (complex (/ (- 1) 2) (/ (sqrt 3) 2))) (complex (/ (- 1) 2) (/ (sqrt 3) 2))) (complex (/ (- 1) 2) (/ (sqrt 3) 2)))) (*.c (*.c (complex 5 0) (complex (/ (- 1) 2) (/ (sqrt 3) 2))) (complex (/ (- 1) 2) (/ (sqrt 3) 2)))) (*.c (complex 4 0) (complex (/ (- 1) 2) (/ (sqrt 3) 2)))) (complex 7 0))))
Time bar (total: 14.3s)Debug log
| 405.0ms | (re (+.c (+.c (+.c (+.c (*.c (*.c (*.c (complex (/ (- 1) 2) (/ (sqrt 3) 2)) (complex (/ (- 1) 2) (/ (sqrt 3) 2))) (complex (/ (- 1) 2) (/ (sqrt 3) 2))) (complex (/ (- 1) 2) (/ (sqrt 3) 2))) (*.c (*.c (*.c (complex (- 2) 0) (complex (/ (- 1) 2) (/ (sqrt 3) 2))) (complex (/ (- 1) 2) (/ (sqrt 3) 2))) (complex (/ (- 1) 2) (/ (sqrt 3) 2)))) (*.c (*.c (complex 5 0) (complex (/ (- 1) 2) (/ (sqrt 3) 2))) (complex (/ (- 1) 2) (/ (sqrt 3) 2)))) (*.c (complex 4 0) (complex (/ (- 1) 2) (/ (sqrt 3) 2)))) (complex 7 0))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 61.9b
Found 4 expressions with local error:
| 1.6b | (*.c (complex -1/2 (/ (sqrt 3) 2)) (complex -1/2 (/ (sqrt 3) 2))) |
| 1.6b | (*.c (complex -1/2 (/ (sqrt 3) 2)) (complex -1/2 (/ (sqrt 3) 2))) |
| 1.0b | (/ 2 (sqrt 3)) |
| 1.0b | (/ -2 (/ 2 (sqrt 3))) |
| 7× | associate-/r* |
| 4× | add-cube-cbrt |
| 4× | *-un-lft-identity |
| 4× | add-sqr-sqrt |
| 3× | div-inv |
| 2× | complex-mul-def |
| 2× | add-log-exp |
| 2× | add-exp-log |
| 2× | *.c-commutative |
| 2× | add-cbrt-cube |
| 2× | frac-2neg |
| 2× | clear-num |
| 2× | pow1 |
| 1× | associate-/r/ |
| 1.0ms | (*.c (complex -1/2 (/ (sqrt 3) 2)) (complex -1/2 (/ (sqrt 3) 2))) |
| 1.0ms | (*.c (complex -1/2 (/ (sqrt 3) 2)) (complex -1/2 (/ (sqrt 3) 2))) |
| 0.0ms | (/ 2 (sqrt 3)) |
| 0.0ms | (/ -2 (/ 2 (sqrt 3))) |
| 0.0ms | (*.c (complex -1/2 (/ (sqrt 3) 2)) (complex -1/2 (/ (sqrt 3) 2))) |
| 0.0ms | (*.c (complex -1/2 (/ (sqrt 3) 2)) (complex -1/2 (/ (sqrt 3) 2))) |
| 0.0ms | (/ -2 (/ 2 (sqrt 3))) |
| 0.0ms | (/ 2 (sqrt 3)) |
| 276.0ms | (re (+.c (complex 5 (* (/ (sqrt 3) 2) 4)) (*.c (*.c (complex -1/2 (/ (sqrt 3) 2)) (complex -1/2 (/ (sqrt 3) 2))) (+.c (complex 6 (/ -2 (/ 2 (sqrt 3)))) (*.c (complex -1/2 (/ (sqrt 3) 2)) (complex -1/2 (/ (sqrt 3) 2))))))) |
| 257.0ms | (re (+.c (complex 5 (* (/ (sqrt 3) 2) 4)) (*.c (*.c (complex -1/2 (/ (sqrt 3) 2)) (complex -1/2 (/ (sqrt 3) 2))) (+.c (complex 6 (/ -2 (/ 2 (sqrt 3)))) (*.c (complex -1/2 (/ (sqrt 3) 2)) (complex -1/2 (/ (sqrt 3) 2))))))) |
| 233.0ms | (re (+.c (complex 5 (* (/ (sqrt 3) 2) 4)) (*.c (*.c (complex -1/2 (/ (sqrt 3) 2)) (complex -1/2 (/ (sqrt 3) 2))) (+.c (complex 6 (/ -2 (/ 2 (sqrt 3)))) (*.c (complex -1/2 (/ (sqrt 3) 2)) (complex -1/2 (/ (sqrt 3) 2))))))) |
| 220.0ms | (re (+.c (complex 5 (* (/ (sqrt 3) 2) 4)) (*.c (*.c (complex -1/2 (/ (sqrt 3) 2)) (complex -1/2 (/ (sqrt 3) 2))) (+.c (complex 6 (/ -2 (/ 2 (sqrt 3)))) (*.c (complex -1/2 (/ (sqrt 3) 2)) (complex -1/2 (/ (sqrt 3) 2))))))) |
| 61.0ms | (- (* -1/2 -1/2) (* (/ (sqrt 3) 2) (/ (sqrt 3) 2))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0b
Found 0 expressions with local error:
1 alts after pruning (0 fresh and 1 done)
Merged error: 0b