


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
if x < -3.7473322553187984e-211Initial program 10.8
rmApplied sub-neg10.8
Applied distribute-lft-in10.8
rmApplied distribute-rgt-neg-in10.8
Applied associate-*r*11.4
Taylor expanded around inf 11.5
rmApplied associate-*r*11.0
if -3.7473322553187984e-211 < x Initial program 12.4
rmApplied sub-neg12.4
Applied distribute-lft-in12.4
rmApplied distribute-rgt-neg-in12.4
Applied associate-*r*12.4
Taylor expanded around -inf 12.5
Simplified12.5
Final simplification11.9
herbie shell --seed 2019010
(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: 20.1s)Debug log
| 133.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: 12.2b
Found 4 expressions with local error:
| 6.3b | (* j (- (* c t) (* i y))) |
| 6.1b | (* x (- (* y z) (* t a))) |
| 4.8b | (* b (- (* c z) (* i a))) |
| 0.2b | (- (* 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 |
| 9.0ms | (* x (- (* y z) (* t a))) |
| 3.0ms | (* j (- (* c t) (* i y))) |
| 3.0ms | (* b (- (* c z) (* i a))) |
| 2.0ms | (- (* y z) (* t a)) |
| 61.0ms | (* j (- (* c t) (* i y))) |
| 57.0ms | (* x (- (* y z) (* t a))) |
| 49.0ms | (* b (- (* c z) (* i a))) |
| 44.0ms | (- (* y z) (* t a)) |
| 148.0ms | (+ (* (* c z) (* c z)) (+ (* (* i a) (* i a)) (* (* c z) (* i a)))) |
| 114.0ms | (+ (* (* c t) (* c t)) (+ (* (* i y) (* i y)) (* (* c t) (* i y)))) |
| 113.0ms | (+ (* (* y z) (* y z)) (+ (* (* t a) (* t a)) (* (* y z) (* t a)))) |
| 91.0ms | (- (* z (* b c)) (* a (* i b))) |
| 86.0ms | (- (* t (* j c)) (* i (* y j))) |
19 alts after pruning (19 fresh and 0 done)
Merged error: 8.8b
Found 4 expressions with local error:
| 6.6b | (* j (- (* i y))) |
| 6.1b | (* x (- (* y z) (* t a))) |
| 4.8b | (* b (- (* c z) (* i a))) |
| 4.8b | (* j (* c t)) |
| 13× | associate-*r* |
| 7× | add-cube-cbrt |
| 7× | *-un-lft-identity |
| 7× | add-sqr-sqrt |
| 4× | add-log-exp |
| 4× | *-commutative |
| 4× | add-exp-log |
| 4× | associate-*r/ |
| 4× | add-cbrt-cube |
| 4× | distribute-lft-in |
| 4× | sub-neg |
| 4× | pow1 |
| 4× | distribute-rgt-in |
| 2× | flip-- |
| 2× | flip3-- |
| 1× | distribute-rgt-neg-out |
| 1× | distribute-rgt-neg-in |
| 1× | neg-mul-1 |
| 1× | distribute-lft-neg-in |
| 3.0ms | (* b (- (* c z) (* i a))) |
| 3.0ms | (* x (- (* y z) (* t a))) |
| 2.0ms | (* j (- (* i y))) |
| 1.0ms | (* j (* c t)) |
| 62.0ms | (* b (- (* c z) (* i a))) |
| 57.0ms | (* x (- (* y z) (* t a))) |
| 26.0ms | (* j (* c t)) |
| 18.0ms | (* j (- (* i y))) |
| 135.0ms | (+ (* (* c z) (* c z)) (+ (* (* i a) (* i a)) (* (* c z) (* i a)))) |
| 120.0ms | (+ (* (* y z) (* y z)) (+ (* (* t a) (* t a)) (* (* y z) (* t a)))) |
| 92.0ms | (- (* z (* b c)) (* a (* i b))) |
| 91.0ms | (- (* z (* b c)) (* a (* i b))) |
| 49.0ms | (- (* x (* z y)) (* a (* x t))) |
17 alts after pruning (17 fresh and 0 done)
Merged error: 6.4b
Found 4 expressions with local error:
| 6.1b | (* x (- (* y z) (* t a))) |
| 4.8b | (* b (- (* c z) (* i a))) |
| 4.8b | (* j (* c t)) |
| 4.3b | (* (* j i) (- y)) |
| 11× | associate-*r* |
| 7× | add-cube-cbrt |
| 7× | *-un-lft-identity |
| 7× | add-sqr-sqrt |
| 6× | add-exp-log |
| 6× | add-cbrt-cube |
| 6× | pow1 |
| 4× | add-log-exp |
| 4× | *-commutative |
| 4× | associate-*r/ |
| 4× | distribute-lft-in |
| 4× | sub-neg |
| 4× | distribute-rgt-in |
| 2× | flip-- |
| 2× | flip3-- |
| 1× | cbrt-unprod |
| 1× | distribute-rgt-neg-out |
| 1× | prod-exp |
| 1× | pow-prod-down |
| 1× | associate-*l* |
| 1× | neg-mul-1 |
| 7.0ms | (* (* j i) (- y)) |
| 4.0ms | (* b (- (* c z) (* i a))) |
| 3.0ms | (* x (- (* y z) (* t a))) |
| 2.0ms | (* j (* c t)) |
| 70.0ms | (* x (- (* y z) (* t a))) |
| 55.0ms | (* b (- (* c z) (* i a))) |
| 27.0ms | (* (* j i) (- y)) |
| 25.0ms | (* j (* c t)) |
| 459.0ms | (* (* (* (* j i) (* j i)) (* j i)) (* (* (- y) (- y)) (- y))) |
| 134.0ms | (+ (* (* c z) (* c z)) (+ (* (* i a) (* i a)) (* (* c z) (* i a)))) |
| 134.0ms | (+ (* (* y z) (* y z)) (+ (* (* t a) (* t a)) (* (* y z) (* t a)))) |
| 50.0ms | (- (* x (* z y)) (* a (* x t))) |
| 44.0ms | (- (* z (* b c)) (* a (* i b))) |
17 alts after pruning (17 fresh and 0 done)
Merged error: 6.2b
Found 4 expressions with local error:
| 6.1b | (* x (- (* y z) (* t a))) |
| 4.8b | (* b (- (* c z) (* i a))) |
| 4.3b | (* (* j i) (- y)) |
| 4.0b | (* t (* j c)) |
| 11× | associate-*r* |
| 7× | add-cube-cbrt |
| 7× | *-un-lft-identity |
| 7× | add-sqr-sqrt |
| 6× | add-exp-log |
| 6× | add-cbrt-cube |
| 6× | pow1 |
| 4× | add-log-exp |
| 4× | *-commutative |
| 4× | associate-*r/ |
| 4× | distribute-lft-in |
| 4× | sub-neg |
| 4× | distribute-rgt-in |
| 2× | flip-- |
| 2× | flip3-- |
| 1× | cbrt-unprod |
| 1× | distribute-rgt-neg-out |
| 1× | prod-exp |
| 1× | pow-prod-down |
| 1× | associate-*l* |
| 1× | neg-mul-1 |
| 7.0ms | (* x (- (* y z) (* t a))) |
| 7.0ms | (* (* j i) (- y)) |
| 6.0ms | (* b (- (* c z) (* i a))) |
| 2.0ms | (* t (* j c)) |
| 70.0ms | (* x (- (* y z) (* t a))) |
| 44.0ms | (* b (- (* c z) (* i a))) |
| 29.0ms | (* (* j i) (- y)) |
| 27.0ms | (* t (* j c)) |
| 532.0ms | (* (* (* (* j i) (* j i)) (* j i)) (* (* (- y) (- y)) (- y))) |
| 142.0ms | (+ (* (* c z) (* c z)) (+ (* (* i a) (* i a)) (* (* c z) (* i a)))) |
| 107.0ms | (+ (* (* y z) (* y z)) (+ (* (* t a) (* t a)) (* (* y z) (* t a)))) |
| 78.0ms | (- (* z (* b c)) (* a (* i b))) |
| 63.0ms | (- (* x (* z y)) (* a (* x t))) |
16 alts after pruning (16 fresh and 0 done)
Merged error: 6.0b
-3% (6.0b remaining)
Error of 11.9b against oracle of 5.9b and baseline of 11.7b