


Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t



Bits error versus a



Bits error versus b



Bits error versus c



Bits error versus i



Bits error versus j
Results
Initial program 11.9
rmApplied add-cube-cbrt12.1
Applied associate-*r*12.1
rmApplied add-cbrt-cube12.2
Final simplification12.2
herbie shell --seed 2019016
(FPCore (x y z t a b c i j)
:name "Linear.Matrix:det33 from linear-1.19.1.3"
(+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y)))))
Time bar (total: 27.9s)Debug log
| 642× | (pre true 80) |
| 642× | (body real 80) |
| 111.0ms | (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y)))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 14.4b
Found 4 expressions with local error:
| 7.4b | (* x (- (* y z) (* t a))) |
| 5.9b | (* j (- (* c t) (* i y))) |
| 5.6b | (* b (- (* c z) (* i a))) |
| 0.5b | (- (* y z) (* t a)) |
| 9× | associate-*r* |
| 7× | add-cube-cbrt |
| 7× | *-un-lft-identity |
| 7× | sub-neg |
| 7× | add-sqr-sqrt |
| 6× | add-log-exp |
| 6× | associate-*r/ |
| 6× | distribute-lft-in |
| 6× | distribute-rgt-in |
| 4× | flip-- |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | flip3-- |
| 4× | pow1 |
| 3× | *-commutative |
| 1× | diff-log |
| 4.0ms | (* x (- (* y z) (* t a))) |
| 4.0ms | (* j (- (* c t) (* i y))) |
| 4.0ms | (* b (- (* c z) (* i a))) |
| 2.0ms | (- (* y z) (* t a)) |
| 54.0ms | (* j (- (* c t) (* i y))) |
| 50.0ms | (* x (- (* y z) (* t a))) |
| 47.0ms | (* b (- (* c z) (* i a))) |
| 25.0ms | (- (* y z) (* t a)) |
| 139.0ms | (+ (* (* c z) (* c z)) (+ (* (* i a) (* i a)) (* (* c z) (* i a)))) |
| 119.0ms | (+ (* (* y z) (* y z)) (+ (* (* t a) (* t a)) (* (* y z) (* t a)))) |
| 109.0ms | (+ (* (* c t) (* c t)) (+ (* (* i y) (* i y)) (* (* c t) (* i y)))) |
| 44.0ms | (- (* z (* b c)) (* a (* i b))) |
| 44.0ms | (- (* t (* j c)) (* i (* y j))) |
19 alts after pruning (19 fresh and 0 done)
Merged error: 10.7b
Found 4 expressions with local error:
| 7.8b | (cbrt (* j (- (* c t) (* i y)))) |
| 7.8b | (cbrt (* j (- (* c t) (* i y)))) |
| 7.8b | (cbrt (* j (- (* c t) (* i y)))) |
| 7.4b | (* x (- (* y z) (* t a))) |
| 8× | associate-*r/ |
| 6× | cbrt-div |
| 5× | add-cube-cbrt |
| 5× | *-un-lft-identity |
| 5× | add-sqr-sqrt |
| 4× | add-log-exp |
| 4× | flip-- |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | flip3-- |
| 4× | pow1 |
| 3× | associate-*r* |
| 3× | pow1/3 |
| 3× | cbrt-prod |
| 2× | distribute-lft-in |
| 2× | sub-neg |
| 2× | distribute-rgt-in |
| 1× | *-commutative |
| 4.0ms | (* x (- (* y z) (* t a))) |
| 2.0ms | (cbrt (* j (- (* c t) (* i y)))) |
| 2.0ms | (cbrt (* j (- (* c t) (* i y)))) |
| 2.0ms | (cbrt (* j (- (* c t) (* i y)))) |
| 132.0ms | (cbrt (* j (- (* c t) (* i y)))) |
| 120.0ms | (cbrt (* j (- (* c t) (* i y)))) |
| 120.0ms | (cbrt (* j (- (* c t) (* i y)))) |
| 44.0ms | (* x (- (* y z) (* t a))) |
| 175.0ms | (exp (* 1/3 (+ (log i) (+ (log -1) (+ (log y) (log j)))))) |
| 172.0ms | (cbrt (* j (- (pow (* c t) 3) (pow (* i y) 3)))) |
| 171.0ms | (* (cbrt -1) (exp (* -1/3 (+ (log (/ -1 j)) (+ (log (/ -1 t)) (log (/ -1 c))))))) |
| 163.0ms | (exp (* 1/3 (+ (log i) (+ (log -1) (+ (log y) (log j)))))) |
| 163.0ms | (exp (* 1/3 (+ (log i) (+ (log -1) (+ (log y) (log j)))))) |
22 alts after pruning (22 fresh and 0 done)
Merged error: 10.7b
Found 4 expressions with local error:
| 8.8b | (cbrt (- (* y z) (* t a))) |
| 8.8b | (cbrt (- (* y z) (* t a))) |
| 8.8b | (cbrt (- (* y z) (* t a))) |
| 5.9b | (* j (- (* c t) (* i y))) |
| 9× | cbrt-prod |
| 8× | add-cube-cbrt |
| 8× | *-un-lft-identity |
| 8× | add-sqr-sqrt |
| 6× | cbrt-div |
| 4× | add-log-exp |
| 4× | flip-- |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | flip3-- |
| 4× | pow1 |
| 3× | associate-*r* |
| 3× | pow1/3 |
| 2× | associate-*r/ |
| 2× | distribute-lft-in |
| 2× | sub-neg |
| 2× | distribute-rgt-in |
| 1× | *-commutative |
| 4.0ms | (* j (- (* c t) (* i y))) |
| 1.0ms | (cbrt (- (* y z) (* t a))) |
| 1.0ms | (cbrt (- (* y z) (* t a))) |
| 1.0ms | (cbrt (- (* y z) (* t a))) |
| 153.0ms | (cbrt (- (* y z) (* t a))) |
| 137.0ms | (cbrt (- (* y z) (* t a))) |
| 103.0ms | (cbrt (- (* y z) (* t a))) |
| 45.0ms | (* j (- (* c t) (* i y))) |
| 394.0ms | (cbrt (- (pow (* y z) 3) (pow (* t a) 3))) |
| 379.0ms | (cbrt (- (pow (* y z) 3) (pow (* t a) 3))) |
| 274.0ms | (exp (* -1/3 (+ (log (/ 1 z)) (log (/ 1 y))))) |
| 237.0ms | (cbrt (- (pow (* y z) 3) (pow (* t a) 3))) |
| 231.0ms | (exp (* -1/3 (+ (log (/ 1 z)) (log (/ 1 y))))) |
24 alts after pruning (24 fresh and 0 done)
Merged error: 10.7b
Found 4 expressions with local error:
| 8.8b | (cbrt (- (* y z) (* t a))) |
| 8.8b | (cbrt (- (* y z) (* t a))) |
| 8.8b | (cbrt (- (* y z) (* t a))) |
| 8.8b | (cbrt (- (* y z) (* t a))) |
| 12× | cbrt-prod |
| 8× | add-cube-cbrt |
| 8× | *-un-lft-identity |
| 8× | cbrt-div |
| 8× | add-sqr-sqrt |
| 4× | add-log-exp |
| 4× | flip-- |
| 4× | add-exp-log |
| 4× | pow1/3 |
| 4× | add-cbrt-cube |
| 4× | flip3-- |
| 4× | pow1 |
| 2.0ms | (cbrt (- (* y z) (* t a))) |
| 1.0ms | (cbrt (- (* y z) (* t a))) |
| 1.0ms | (cbrt (- (* y z) (* t a))) |
| 1.0ms | (cbrt (- (* y z) (* t a))) |
| 121.0ms | (cbrt (- (* y z) (* t a))) |
| 114.0ms | (cbrt (- (* y z) (* t a))) |
| 106.0ms | (cbrt (- (* y z) (* t a))) |
| 101.0ms | (cbrt (- (* y z) (* t a))) |
| 384.0ms | (cbrt (- (pow (* y z) 3) (pow (* t a) 3))) |
| 307.0ms | (cbrt (- (pow (* y z) 3) (pow (* t a) 3))) |
| 302.0ms | (cbrt (- (pow (* y z) 3) (pow (* t a) 3))) |
| 288.0ms | (cbrt (- (* (* y z) (* y z)) (* (* t a) (* t a)))) |
| 273.0ms | (exp (* -1/3 (+ (log (/ 1 z)) (log (/ 1 y))))) |
24 alts after pruning (23 fresh and 1 done)
Merged error: 10.7b
0% (3.8b remaining)
Error of 12.2b against oracle of 8.3b and baseline of 12.2b
| 19247× | (pre true 80) |
| 19247× | (body real 80) |