lean_all/ym/GenA6.lean
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))))) := A1.Dn K O x hD (2) (3) (2) (3) (4) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (5))))) := A1.Dn K O x hD (3) (1) (3) (4) (5) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))))) := A1.Dn K O x hD (3) (3) (3) (4) (5) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (6))))) := A1.Dn K O x hD (1) (4) (1) (2) (3) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (8))))) := A1.Dn K O x hD (1) (6) (1) (2) (3) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (7))))) := A1.Dn K O x hD (2) (4) (2) (3) (4) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (6))))) := A1.Dn K O x hD (3) (2) (3) (4) (5) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))))) := A1.Dn K O x hD (3) (4) (3) (4) (5) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (7))))) := A1.Dn K O x hD (1) (5) (1) (2) (3) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (9))))) := A1.Dn K O x hD (1) (7) (1) (2) (3) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (8))))) := A1.Dn K O x hD (2) (5) (2) (3) (4) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))))) := A1.Dn K O x hD (3) (3) (3) (4) (5) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (9))))) := A1.Dn K O x hD (3) (5) (3) (4) (5) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (8))))) := A1.Dn K O x hD (1) (6) (1) (2) (3) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (10))))) := A1.Dn K O x hD (1) (8) (1) (2) (3) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (9))))) := A1.Dn K O x hD (2) (6) (2) (3) (4) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))))) := A1.Dn K O x hD (3) (4) (3) (4) (5) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (10))))) := A1.Dn K O x hD (3) (6) (3) (4) (5) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (9))))) := A1.Dn K O x hD (1) (7) (1) (2) (3) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (11))))) := A1.Dn K O x hD (1) (9) (1) (2) (3) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (10))))) := A1.Dn K O x hD (2) (7) (2) (3) (4) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (9))))) := A1.Dn K O x hD (3) (5) (3) (4) (5) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (11))))) := A1.Dn K O x hD (3) (7) (3) (4) (5) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (10))))) := A1.Dn K O x hD (1) (8) (1) (2) (3) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (12))))) := A1.Dn K O x hD (1) (10) (1) (2) (3) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (11))))) := A1.Dn K O x hD (2) (8) (2) (3) (4) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (10))))) := A1.Dn K O x hD (3) (6) (3) (4) (5) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (12))))) := A1.Dn K O x hD (3) (8) (3) (4) (5) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (11))))) := A1.Dn K O x hD (1) (9) (1) (2) (3) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (13))))) := A1.Dn K O x hD (1) (11) (1) (2) (3) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (12))))) := A1.Dn K O x hD (2) (9) (2) (3) (4) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (11))))) := A1.Dn K O x hD (3) (7) (3) (4) (5) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (13))))) := A1.Dn K O x hD (3) (9) (3) (4) (5) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (12))))) := A1.Dn K O x hD (1) (10) (1) (2) (3) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (14))))) := A1.Dn K O x hD (1) (12) (1) (2) (3) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (13))))) := A1.Dn K O x hD (2) (10) (2) (3) (4) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (12))))) := A1.Dn K O x hD (3) (8) (3) (4) (5) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (14))))) := A1.Dn K O x hD (3) (10) (3) (4) (5) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (13))))) := A1.Dn K O x hD (1) (11) (1) (2) (3) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (15))))) := A1.Dn K O x hD (1) (13) (1) (2) (3) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (14))))) := A1.Dn K O x hD (2) (11) (2) (3) (4) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (13))))) := A1.Dn K O x hD (3) (9) (3) (4) (5) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (15))))) := A1.Dn K O x hD (3) (11) (3) (4) (5) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (14))))) := A1.Dn K O x hD (1) (12) (1) (2) (3) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (16))))) := A1.Dn K O x hD (1) (14) (1) (2) (3) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (15))))) := A1.Dn K O x hD (2) (12) (2) (3) (4) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (14))))) := A1.Dn K O x hD (3) (10) (3) (4) (5) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (16))))) := A1.Dn K O x hD (3) (12) (3) (4) (5) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (K.add (Zs K x (w + 15)) (Zs K x (w + 17)))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (w + 18))) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 15))))) := A1.Dn K O x hD (1) (w + 13) (1) (2) (3) (w + 14) (w + 15) (w + 16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 17))))) := A1.Dn K O x hD (1) (w + 15) (1) (2) (3) (w + 16) (w + 17) (w + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 16))))) := A1.Dn K O x hD (2) (w + 13) (2) (3) (4) (w + 15) (w + 16) (w + 17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 15))))) := A1.Dn K O x hD (3) (w + 11) (3) (4) (5) (w + 14) (w + 15) (w + 16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 17))))) := A1.Dn K O x hD (3) (w + 13) (3) (4) (5) (w + 16) (w + 17) (w + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (Zs K x (4)) (Zs K x (6)))) (K.neg (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (4))))) := A1.Dn K O x hD (2) (1) (2) (3) (4) (3) (4) (5) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))))) := A1.Dn K O x hD (2) (3) (2) (3) (4) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (6))))) := A1.Dn K O x hD (4) (1) (4) (5) (6) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (5))))) := A1.Dn K O x hD (2) (2) (2) (3) (4) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (7))))) := A1.Dn K O x hD (2) (4) (2) (3) (4) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (6))))) := A1.Dn K O x hD (3) (2) (3) (4) (5) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (7))))) := A1.Dn K O x hD (4) (2) (4) (5) (6) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))))) := A1.Dn K O x hD (2) (3) (2) (3) (4) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (8))))) := A1.Dn K O x hD (2) (5) (2) (3) (4) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))))) := A1.Dn K O x hD (3) (3) (3) (4) (5) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (6))))) := A1.Dn K O x hD (4) (1) (4) (5) (6) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))))) := A1.Dn K O x hD (4) (3) (4) (5) (6) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (7))))) := A1.Dn K O x hD (2) (4) (2) (3) (4) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (9))))) := A1.Dn K O x hD (2) (6) (2) (3) (4) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))))) := A1.Dn K O x hD (3) (4) (3) (4) (5) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (7))))) := A1.Dn K O x hD (4) (2) (4) (5) (6) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (9))))) := A1.Dn K O x hD (4) (4) (4) (5) (6) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (8))))) := A1.Dn K O x hD (2) (5) (2) (3) (4) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (10))))) := A1.Dn K O x hD (2) (7) (2) (3) (4) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (9))))) := A1.Dn K O x hD (3) (5) (3) (4) (5) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))))) := A1.Dn K O x hD (4) (3) (4) (5) (6) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))))) := A1.Dn K O x hD (4) (5) (4) (5) (6) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (9))))) := A1.Dn K O x hD (2) (6) (2) (3) (4) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (11))))) := A1.Dn K O x hD (2) (8) (2) (3) (4) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (10))))) := A1.Dn K O x hD (3) (6) (3) (4) (5) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (9))))) := A1.Dn K O x hD (4) (4) (4) (5) (6) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (11))))) := A1.Dn K O x hD (4) (6) (4) (5) (6) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (10))))) := A1.Dn K O x hD (2) (7) (2) (3) (4) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (12))))) := A1.Dn K O x hD (2) (9) (2) (3) (4) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (11))))) := A1.Dn K O x hD (3) (7) (3) (4) (5) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))))) := A1.Dn K O x hD (4) (5) (4) (5) (6) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (12))))) := A1.Dn K O x hD (4) (7) (4) (5) (6) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (11))))) := A1.Dn K O x hD (2) (8) (2) (3) (4) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (13))))) := A1.Dn K O x hD (2) (10) (2) (3) (4) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (12))))) := A1.Dn K O x hD (3) (8) (3) (4) (5) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (11))))) := A1.Dn K O x hD (4) (6) (4) (5) (6) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (13))))) := A1.Dn K O x hD (4) (8) (4) (5) (6) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (12))))) := A1.Dn K O x hD (2) (9) (2) (3) (4) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (14))))) := A1.Dn K O x hD (2) (11) (2) (3) (4) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (13))))) := A1.Dn K O x hD (3) (9) (3) (4) (5) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (12))))) := A1.Dn K O x hD (4) (7) (4) (5) (6) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (14))))) := A1.Dn K O x hD (4) (9) (4) (5) (6) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (13))))) := A1.Dn K O x hD (2) (10) (2) (3) (4) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (15))))) := A1.Dn K O x hD (2) (12) (2) (3) (4) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (14))))) := A1.Dn K O x hD (3) (10) (3) (4) (5) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (13))))) := A1.Dn K O x hD (4) (8) (4) (5) (6) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (15))))) := A1.Dn K O x hD (4) (10) (4) (5) (6) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (14))))) := A1.Dn K O x hD (2) (11) (2) (3) (4) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (16))))) := A1.Dn K O x hD (2) (13) (2) (3) (4) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (15))))) := A1.Dn K O x hD (3) (11) (3) (4) (5) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (14))))) := A1.Dn K O x hD (4) (9) (4) (5) (6) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (16))))) := A1.Dn K O x hD (4) (11) (4) (5) (6) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (15))))) := A1.Dn K O x hD (2) (12) (2) (3) (4) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (17))))) := A1.Dn K O x hD (2) (14) (2) (3) (4) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (16))))) := A1.Dn K O x hD (3) (12) (3) (4) (5) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (15))))) := A1.Dn K O x hD (4) (10) (4) (5) (6) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (17))))) := A1.Dn K O x hD (4) (12) (4) (5) (6) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (Zs K x (w + 16)) (Zs K x (w + 18)))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (w + 19))) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 16))))) := A1.Dn K O x hD (2) (w + 13) (2) (3) (4) (w + 15) (w + 16) (w + 17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 18))))) := A1.Dn K O x hD (2) (w + 15) (2) (3) (4) (w + 17) (w + 18) (w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 17))))) := A1.Dn K O x hD (3) (w + 13) (3) (4) (5) (w + 16) (w + 17) (w + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 16))))) := A1.Dn K O x hD (4) (w + 11) (4) (5) (6) (w + 15) (w + 16) (w + 17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 18))))) := A1.Dn K O x hD (4) (w + 13) (4) (5) (6) (w + 17) (w + 18) (w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (5))))) := A1.Dn K O x hD (3) (1) (3) (4) (5) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))))) := A1.Dn K O x hD (3) (3) (3) (4) (5) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))) := A1.Dn K O x hD (5) (1) (5) (6) (7) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (6))))) := A1.Dn K O x hD (3) (2) (3) (4) (5) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))))) := A1.Dn K O x hD (3) (4) (3) (4) (5) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (7))))) := A1.Dn K O x hD (4) (2) (4) (5) (6) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (8))))) := A1.Dn K O x hD (5) (2) (5) (6) (7) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))))) := A1.Dn K O x hD (3) (3) (3) (4) (5) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (9))))) := A1.Dn K O x hD (3) (5) (3) (4) (5) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))))) := A1.Dn K O x hD (4) (3) (4) (5) (6) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))) := A1.Dn K O x hD (5) (1) (5) (6) (7) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))))) := A1.Dn K O x hD (5) (3) (5) (6) (7) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))))) := A1.Dn K O x hD (3) (4) (3) (4) (5) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (10))))) := A1.Dn K O x hD (3) (6) (3) (4) (5) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (9))))) := A1.Dn K O x hD (4) (4) (4) (5) (6) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (8))))) := A1.Dn K O x hD (5) (2) (5) (6) (7) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (10))))) := A1.Dn K O x hD (5) (4) (5) (6) (7) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (9))))) := A1.Dn K O x hD (3) (5) (3) (4) (5) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (11))))) := A1.Dn K O x hD (3) (7) (3) (4) (5) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))))) := A1.Dn K O x hD (4) (5) (4) (5) (6) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))))) := A1.Dn K O x hD (5) (3) (5) (6) (7) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (11))))) := A1.Dn K O x hD (5) (5) (5) (6) (7) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (10))))) := A1.Dn K O x hD (3) (6) (3) (4) (5) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (12))))) := A1.Dn K O x hD (3) (8) (3) (4) (5) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (11))))) := A1.Dn K O x hD (4) (6) (4) (5) (6) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (10))))) := A1.Dn K O x hD (5) (4) (5) (6) (7) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (12))))) := A1.Dn K O x hD (5) (6) (5) (6) (7) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (11))))) := A1.Dn K O x hD (3) (7) (3) (4) (5) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (13))))) := A1.Dn K O x hD (3) (9) (3) (4) (5) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (12))))) := A1.Dn K O x hD (4) (7) (4) (5) (6) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (11))))) := A1.Dn K O x hD (5) (5) (5) (6) (7) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (13))))) := A1.Dn K O x hD (5) (7) (5) (6) (7) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (12))))) := A1.Dn K O x hD (3) (8) (3) (4) (5) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (14))))) := A1.Dn K O x hD (3) (10) (3) (4) (5) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (13))))) := A1.Dn K O x hD (4) (8) (4) (5) (6) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (12))))) := A1.Dn K O x hD (5) (6) (5) (6) (7) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (14))))) := A1.Dn K O x hD (5) (8) (5) (6) (7) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (13))))) := A1.Dn K O x hD (3) (9) (3) (4) (5) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (15))))) := A1.Dn K O x hD (3) (11) (3) (4) (5) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (14))))) := A1.Dn K O x hD (4) (9) (4) (5) (6) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (13))))) := A1.Dn K O x hD (5) (7) (5) (6) (7) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (15))))) := A1.Dn K O x hD (5) (9) (5) (6) (7) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (14))))) := A1.Dn K O x hD (3) (10) (3) (4) (5) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (16))))) := A1.Dn K O x hD (3) (12) (3) (4) (5) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (15))))) := A1.Dn K O x hD (4) (10) (4) (5) (6) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (14))))) := A1.Dn K O x hD (5) (8) (5) (6) (7) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (16))))) := A1.Dn K O x hD (5) (10) (5) (6) (7) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (15))))) := A1.Dn K O x hD (3) (11) (3) (4) (5) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (17))))) := A1.Dn K O x hD (3) (13) (3) (4) (5) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (16))))) := A1.Dn K O x hD (4) (11) (4) (5) (6) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (15))))) := A1.Dn K O x hD (5) (9) (5) (6) (7) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (17))))) := A1.Dn K O x hD (5) (11) (5) (6) (7) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (16))))) := A1.Dn K O x hD (3) (12) (3) (4) (5) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (18))))) := A1.Dn K O x hD (3) (14) (3) (4) (5) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (17))))) := A1.Dn K O x hD (4) (12) (4) (5) (6) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (16))))) := A1.Dn K O x hD (5) (10) (5) (6) (7) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (18))))) := A1.Dn K O x hD (5) (12) (5) (6) (7) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.add (Zs K x (w + 17)) (Zs K x (w + 19)))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (w + 20))) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 17))))) := A1.Dn K O x hD (3) (w + 13) (3) (4) (5) (w + 16) (w + 17) (w + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 19))))) := A1.Dn K O x hD (3) (w + 15) (3) (4) (5) (w + 18) (w + 19) (w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 18))))) := A1.Dn K O x hD (4) (w + 13) (4) (5) (6) (w + 17) (w + 18) (w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 17))))) := A1.Dn K O x hD (5) (w + 11) (5) (6) (7) (w + 16) (w + 17) (w + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 19))))) := A1.Dn K O x hD (5) (w + 13) (5) (6) (7) (w + 18) (w + 19) (w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (6))))) := A1.Dn K O x hD (4) (1) (4) (5) (6) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))))) := A1.Dn K O x hD (4) (3) (4) (5) (6) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (8))))) := A1.Dn K O x hD (6) (1) (6) (7) (8) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (7))))) := A1.Dn K O x hD (4) (2) (4) (5) (6) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (9))))) := A1.Dn K O x hD (4) (4) (4) (5) (6) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (8))))) := A1.Dn K O x hD (5) (2) (5) (6) (7) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (9))))) := A1.Dn K O x hD (6) (2) (6) (7) (8) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))))) := A1.Dn K O x hD (4) (3) (4) (5) (6) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))))) := A1.Dn K O x hD (4) (5) (4) (5) (6) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))))) := A1.Dn K O x hD (5) (3) (5) (6) (7) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (8))))) := A1.Dn K O x hD (6) (1) (6) (7) (8) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))))) := A1.Dn K O x hD (6) (3) (6) (7) (8) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (9))))) := A1.Dn K O x hD (4) (4) (4) (5) (6) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (11))))) := A1.Dn K O x hD (4) (6) (4) (5) (6) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (10))))) := A1.Dn K O x hD (5) (4) (5) (6) (7) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (9))))) := A1.Dn K O x hD (6) (2) (6) (7) (8) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))))) := A1.Dn K O x hD (6) (4) (6) (7) (8) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))))) := A1.Dn K O x hD (4) (5) (4) (5) (6) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (12))))) := A1.Dn K O x hD (4) (7) (4) (5) (6) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (11))))) := A1.Dn K O x hD (5) (5) (5) (6) (7) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))))) := A1.Dn K O x hD (6) (3) (6) (7) (8) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (12))))) := A1.Dn K O x hD (6) (5) (6) (7) (8) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (11))))) := A1.Dn K O x hD (4) (6) (4) (5) (6) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (13))))) := A1.Dn K O x hD (4) (8) (4) (5) (6) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (12))))) := A1.Dn K O x hD (5) (6) (5) (6) (7) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))))) := A1.Dn K O x hD (6) (4) (6) (7) (8) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (13))))) := A1.Dn K O x hD (6) (6) (6) (7) (8) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (12))))) := A1.Dn K O x hD (4) (7) (4) (5) (6) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (14))))) := A1.Dn K O x hD (4) (9) (4) (5) (6) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (13))))) := A1.Dn K O x hD (5) (7) (5) (6) (7) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (12))))) := A1.Dn K O x hD (6) (5) (6) (7) (8) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (14))))) := A1.Dn K O x hD (6) (7) (6) (7) (8) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (13))))) := A1.Dn K O x hD (4) (8) (4) (5) (6) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (15))))) := A1.Dn K O x hD (4) (10) (4) (5) (6) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (14))))) := A1.Dn K O x hD (5) (8) (5) (6) (7) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (13))))) := A1.Dn K O x hD (6) (6) (6) (7) (8) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (15))))) := A1.Dn K O x hD (6) (8) (6) (7) (8) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (14))))) := A1.Dn K O x hD (4) (9) (4) (5) (6) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (16))))) := A1.Dn K O x hD (4) (11) (4) (5) (6) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (15))))) := A1.Dn K O x hD (5) (9) (5) (6) (7) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (14))))) := A1.Dn K O x hD (6) (7) (6) (7) (8) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (16))))) := A1.Dn K O x hD (6) (9) (6) (7) (8) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (15))))) := A1.Dn K O x hD (4) (10) (4) (5) (6) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (17))))) := A1.Dn K O x hD (4) (12) (4) (5) (6) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (16))))) := A1.Dn K O x hD (5) (10) (5) (6) (7) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (15))))) := A1.Dn K O x hD (6) (8) (6) (7) (8) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (17))))) := A1.Dn K O x hD (6) (10) (6) (7) (8) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (16))))) := A1.Dn K O x hD (4) (11) (4) (5) (6) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (18))))) := A1.Dn K O x hD (4) (13) (4) (5) (6) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (17))))) := A1.Dn K O x hD (5) (11) (5) (6) (7) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (16))))) := A1.Dn K O x hD (6) (9) (6) (7) (8) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (18))))) := A1.Dn K O x hD (6) (11) (6) (7) (8) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (17))))) := A1.Dn K O x hD (4) (12) (4) (5) (6) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (19))))) := A1.Dn K O x hD (4) (14) (4) (5) (6) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (18))))) := A1.Dn K O x hD (5) (12) (5) (6) (7) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (17))))) := A1.Dn K O x hD (6) (10) (6) (7) (8) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (19))))) := A1.Dn K O x hD (6) (12) (6) (7) (8) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.add (Zs K x (w + 18)) (Zs K x (w + 20)))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (w + 21))) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 18))))) := A1.Dn K O x hD (4) (w + 13) (4) (5) (6) (w + 17) (w + 18) (w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 20))))) := A1.Dn K O x hD (4) (w + 15) (4) (5) (6) (w + 19) (w + 20) (w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 19))))) := A1.Dn K O x hD (5) (w + 13) (5) (6) (7) (w + 18) (w + 19) (w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 18))))) := A1.Dn K O x hD (6) (w + 11) (6) (7) (8) (w + 17) (w + 18) (w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 20))))) := A1.Dn K O x hD (6) (w + 13) (6) (7) (8) (w + 19) (w + 20) (w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))) := A1.Dn K O x hD (5) (1) (5) (6) (7) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))))) := A1.Dn K O x hD (5) (3) (5) (6) (7) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (9))))) := A1.Dn K O x hD (7) (1) (7) (8) (9) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (8))))) := A1.Dn K O x hD (5) (2) (5) (6) (7) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (10))))) := A1.Dn K O x hD (5) (4) (5) (6) (7) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (9))))) := A1.Dn K O x hD (6) (2) (6) (7) (8) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (10))))) := A1.Dn K O x hD (7) (2) (7) (8) (9) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))))) := A1.Dn K O x hD (5) (3) (5) (6) (7) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (11))))) := A1.Dn K O x hD (5) (5) (5) (6) (7) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))))) := A1.Dn K O x hD (6) (3) (6) (7) (8) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (9))))) := A1.Dn K O x hD (7) (1) (7) (8) (9) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))))) := A1.Dn K O x hD (7) (3) (7) (8) (9) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (10))))) := A1.Dn K O x hD (5) (4) (5) (6) (7) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (12))))) := A1.Dn K O x hD (5) (6) (5) (6) (7) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))))) := A1.Dn K O x hD (6) (4) (6) (7) (8) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (10))))) := A1.Dn K O x hD (7) (2) (7) (8) (9) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (12))))) := A1.Dn K O x hD (7) (4) (7) (8) (9) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (11))))) := A1.Dn K O x hD (5) (5) (5) (6) (7) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (13))))) := A1.Dn K O x hD (5) (7) (5) (6) (7) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (12))))) := A1.Dn K O x hD (6) (5) (6) (7) (8) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))))) := A1.Dn K O x hD (7) (3) (7) (8) (9) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (13))))) := A1.Dn K O x hD (7) (5) (7) (8) (9) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (12))))) := A1.Dn K O x hD (5) (6) (5) (6) (7) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (14))))) := A1.Dn K O x hD (5) (8) (5) (6) (7) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (13))))) := A1.Dn K O x hD (6) (6) (6) (7) (8) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (12))))) := A1.Dn K O x hD (7) (4) (7) (8) (9) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (14))))) := A1.Dn K O x hD (7) (6) (7) (8) (9) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (13))))) := A1.Dn K O x hD (5) (7) (5) (6) (7) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (15))))) := A1.Dn K O x hD (5) (9) (5) (6) (7) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (14))))) := A1.Dn K O x hD (6) (7) (6) (7) (8) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (13))))) := A1.Dn K O x hD (7) (5) (7) (8) (9) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (15))))) := A1.Dn K O x hD (7) (7) (7) (8) (9) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (14))))) := A1.Dn K O x hD (5) (8) (5) (6) (7) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (16))))) := A1.Dn K O x hD (5) (10) (5) (6) (7) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (15))))) := A1.Dn K O x hD (6) (8) (6) (7) (8) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (14))))) := A1.Dn K O x hD (7) (6) (7) (8) (9) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (16))))) := A1.Dn K O x hD (7) (8) (7) (8) (9) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (15))))) := A1.Dn K O x hD (5) (9) (5) (6) (7) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (17))))) := A1.Dn K O x hD (5) (11) (5) (6) (7) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (16))))) := A1.Dn K O x hD (6) (9) (6) (7) (8) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (15))))) := A1.Dn K O x hD (7) (7) (7) (8) (9) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (17))))) := A1.Dn K O x hD (7) (9) (7) (8) (9) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (16))))) := A1.Dn K O x hD (5) (10) (5) (6) (7) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (18))))) := A1.Dn K O x hD (5) (12) (5) (6) (7) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (17))))) := A1.Dn K O x hD (6) (10) (6) (7) (8) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (16))))) := A1.Dn K O x hD (7) (8) (7) (8) (9) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (18))))) := A1.Dn K O x hD (7) (10) (7) (8) (9) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (17))))) := A1.Dn K O x hD (5) (11) (5) (6) (7) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (19))))) := A1.Dn K O x hD (5) (13) (5) (6) (7) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (18))))) := A1.Dn K O x hD (6) (11) (6) (7) (8) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (17))))) := A1.Dn K O x hD (7) (9) (7) (8) (9) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (19))))) := A1.Dn K O x hD (7) (11) (7) (8) (9) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (18))))) := A1.Dn K O x hD (5) (12) (5) (6) (7) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (20))))) := A1.Dn K O x hD (5) (14) (5) (6) (7) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (19))))) := A1.Dn K O x hD (6) (12) (6) (7) (8) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (18))))) := A1.Dn K O x hD (7) (10) (7) (8) (9) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (20))))) := A1.Dn K O x hD (7) (12) (7) (8) (9) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.add (Zs K x (w + 19)) (Zs K x (w + 21)))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (w + 22))) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 19))))) := A1.Dn K O x hD (5) (w + 13) (5) (6) (7) (w + 18) (w + 19) (w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 21))))) := A1.Dn K O x hD (5) (w + 15) (5) (6) (7) (w + 20) (w + 21) (w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 20))))) := A1.Dn K O x hD (6) (w + 13) (6) (7) (8) (w + 19) (w + 20) (w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 19))))) := A1.Dn K O x hD (7) (w + 11) (7) (8) (9) (w + 18) (w + 19) (w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 21))))) := A1.Dn K O x hD (7) (w + 13) (7) (8) (9) (w + 20) (w + 21) (w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (8))))) := A1.Dn K O x hD (6) (1) (6) (7) (8) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))))) := A1.Dn K O x hD (6) (3) (6) (7) (8) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (10))))) := A1.Dn K O x hD (8) (1) (8) (9) (10) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (9))))) := A1.Dn K O x hD (6) (2) (6) (7) (8) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))))) := A1.Dn K O x hD (6) (4) (6) (7) (8) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (10))))) := A1.Dn K O x hD (7) (2) (7) (8) (9) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (11))))) := A1.Dn K O x hD (8) (2) (8) (9) (10) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))))) := A1.Dn K O x hD (6) (3) (6) (7) (8) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (12))))) := A1.Dn K O x hD (6) (5) (6) (7) (8) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))))) := A1.Dn K O x hD (7) (3) (7) (8) (9) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (10))))) := A1.Dn K O x hD (8) (1) (8) (9) (10) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))))) := A1.Dn K O x hD (8) (3) (8) (9) (10) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))))) := A1.Dn K O x hD (6) (4) (6) (7) (8) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (13))))) := A1.Dn K O x hD (6) (6) (6) (7) (8) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (12))))) := A1.Dn K O x hD (7) (4) (7) (8) (9) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (11))))) := A1.Dn K O x hD (8) (2) (8) (9) (10) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (13))))) := A1.Dn K O x hD (8) (4) (8) (9) (10) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (12))))) := A1.Dn K O x hD (6) (5) (6) (7) (8) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (14))))) := A1.Dn K O x hD (6) (7) (6) (7) (8) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (13))))) := A1.Dn K O x hD (7) (5) (7) (8) (9) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))))) := A1.Dn K O x hD (8) (3) (8) (9) (10) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (14))))) := A1.Dn K O x hD (8) (5) (8) (9) (10) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (13))))) := A1.Dn K O x hD (6) (6) (6) (7) (8) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (15))))) := A1.Dn K O x hD (6) (8) (6) (7) (8) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (14))))) := A1.Dn K O x hD (7) (6) (7) (8) (9) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (13))))) := A1.Dn K O x hD (8) (4) (8) (9) (10) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (15))))) := A1.Dn K O x hD (8) (6) (8) (9) (10) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (14))))) := A1.Dn K O x hD (6) (7) (6) (7) (8) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (16))))) := A1.Dn K O x hD (6) (9) (6) (7) (8) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (15))))) := A1.Dn K O x hD (7) (7) (7) (8) (9) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (14))))) := A1.Dn K O x hD (8) (5) (8) (9) (10) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (16))))) := A1.Dn K O x hD (8) (7) (8) (9) (10) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (15))))) := A1.Dn K O x hD (6) (8) (6) (7) (8) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (17))))) := A1.Dn K O x hD (6) (10) (6) (7) (8) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (16))))) := A1.Dn K O x hD (7) (8) (7) (8) (9) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (15))))) := A1.Dn K O x hD (8) (6) (8) (9) (10) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (17))))) := A1.Dn K O x hD (8) (8) (8) (9) (10) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (16))))) := A1.Dn K O x hD (6) (9) (6) (7) (8) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (18))))) := A1.Dn K O x hD (6) (11) (6) (7) (8) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (17))))) := A1.Dn K O x hD (7) (9) (7) (8) (9) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (16))))) := A1.Dn K O x hD (8) (7) (8) (9) (10) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (18))))) := A1.Dn K O x hD (8) (9) (8) (9) (10) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (17))))) := A1.Dn K O x hD (6) (10) (6) (7) (8) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (19))))) := A1.Dn K O x hD (6) (12) (6) (7) (8) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (18))))) := A1.Dn K O x hD (7) (10) (7) (8) (9) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (17))))) := A1.Dn K O x hD (8) (8) (8) (9) (10) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (19))))) := A1.Dn K O x hD (8) (10) (8) (9) (10) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (18))))) := A1.Dn K O x hD (6) (11) (6) (7) (8) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (20))))) := A1.Dn K O x hD (6) (13) (6) (7) (8) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (19))))) := A1.Dn K O x hD (7) (11) (7) (8) (9) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (18))))) := A1.Dn K O x hD (8) (9) (8) (9) (10) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (20))))) := A1.Dn K O x hD (8) (11) (8) (9) (10) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (19)) (Zs K x (21)))) (K.neg (K.mul (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (19))))) := A1.Dn K O x hD (6) (12) (6) (7) (8) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (21))))) := A1.Dn K O x hD (6) (14) (6) (7) (8) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (20))))) := A1.Dn K O x hD (7) (12) (7) (8) (9) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (19))))) := A1.Dn K O x hD (8) (10) (8) (9) (10) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (21))))) := A1.Dn K O x hD (8) (12) (8) (9) (10) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.add (Zs K x (w + 20)) (Zs K x (w + 22)))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (w + 23))) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 20))))) := A1.Dn K O x hD (6) (w + 13) (6) (7) (8) (w + 19) (w + 20) (w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 22))))) := A1.Dn K O x hD (6) (w + 15) (6) (7) (8) (w + 21) (w + 22) (w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 21))))) := A1.Dn K O x hD (7) (w + 13) (7) (8) (9) (w + 20) (w + 21) (w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 20))))) := A1.Dn K O x hD (8) (w + 11) (8) (9) (10) (w + 19) (w + 20) (w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 22))))) := A1.Dn K O x hD (8) (w + 13) (8) (9) (10) (w + 21) (w + 22) (w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (9))))) := A1.Dn K O x hD (7) (1) (7) (8) (9) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))))) := A1.Dn K O x hD (7) (3) (7) (8) (9) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (11))))) := A1.Dn K O x hD (9) (1) (9) (10) (11) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (10))))) := A1.Dn K O x hD (7) (2) (7) (8) (9) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (12))))) := A1.Dn K O x hD (7) (4) (7) (8) (9) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (11))))) := A1.Dn K O x hD (8) (2) (8) (9) (10) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (12))))) := A1.Dn K O x hD (9) (2) (9) (10) (11) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))))) := A1.Dn K O x hD (7) (3) (7) (8) (9) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (13))))) := A1.Dn K O x hD (7) (5) (7) (8) (9) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))))) := A1.Dn K O x hD (8) (3) (8) (9) (10) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (11))))) := A1.Dn K O x hD (9) (1) (9) (10) (11) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))))) := A1.Dn K O x hD (9) (3) (9) (10) (11) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (12))))) := A1.Dn K O x hD (7) (4) (7) (8) (9) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (14))))) := A1.Dn K O x hD (7) (6) (7) (8) (9) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (13))))) := A1.Dn K O x hD (8) (4) (8) (9) (10) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (12))))) := A1.Dn K O x hD (9) (2) (9) (10) (11) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (14))))) := A1.Dn K O x hD (9) (4) (9) (10) (11) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (13))))) := A1.Dn K O x hD (7) (5) (7) (8) (9) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (15))))) := A1.Dn K O x hD (7) (7) (7) (8) (9) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (14))))) := A1.Dn K O x hD (8) (5) (8) (9) (10) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))))) := A1.Dn K O x hD (9) (3) (9) (10) (11) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (15))))) := A1.Dn K O x hD (9) (5) (9) (10) (11) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (14))))) := A1.Dn K O x hD (7) (6) (7) (8) (9) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (16))))) := A1.Dn K O x hD (7) (8) (7) (8) (9) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (15))))) := A1.Dn K O x hD (8) (6) (8) (9) (10) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (14))))) := A1.Dn K O x hD (9) (4) (9) (10) (11) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (16))))) := A1.Dn K O x hD (9) (6) (9) (10) (11) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (15))))) := A1.Dn K O x hD (7) (7) (7) (8) (9) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (17))))) := A1.Dn K O x hD (7) (9) (7) (8) (9) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (16))))) := A1.Dn K O x hD (8) (7) (8) (9) (10) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (15))))) := A1.Dn K O x hD (9) (5) (9) (10) (11) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (17))))) := A1.Dn K O x hD (9) (7) (9) (10) (11) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (16))))) := A1.Dn K O x hD (7) (8) (7) (8) (9) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (18))))) := A1.Dn K O x hD (7) (10) (7) (8) (9) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (17))))) := A1.Dn K O x hD (8) (8) (8) (9) (10) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (16))))) := A1.Dn K O x hD (9) (6) (9) (10) (11) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (18))))) := A1.Dn K O x hD (9) (8) (9) (10) (11) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (17))))) := A1.Dn K O x hD (7) (9) (7) (8) (9) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (19))))) := A1.Dn K O x hD (7) (11) (7) (8) (9) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (18))))) := A1.Dn K O x hD (8) (9) (8) (9) (10) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (17))))) := A1.Dn K O x hD (9) (7) (9) (10) (11) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (19))))) := A1.Dn K O x hD (9) (9) (9) (10) (11) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (18))))) := A1.Dn K O x hD (7) (10) (7) (8) (9) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (20))))) := A1.Dn K O x hD (7) (12) (7) (8) (9) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (19))))) := A1.Dn K O x hD (8) (10) (8) (9) (10) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (18))))) := A1.Dn K O x hD (9) (8) (9) (10) (11) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (20))))) := A1.Dn K O x hD (9) (10) (9) (10) (11) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (19)) (Zs K x (21)))) (K.neg (K.mul (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (19))))) := A1.Dn K O x hD (7) (11) (7) (8) (9) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (21))))) := A1.Dn K O x hD (7) (13) (7) (8) (9) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (20))))) := A1.Dn K O x hD (8) (11) (8) (9) (10) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (19))))) := A1.Dn K O x hD (9) (9) (9) (10) (11) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))))) := A1.Dn K O x hD (9) (11) (9) (10) (11) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (20)) (Zs K x (22)))) (K.neg (K.mul (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (20))))) := A1.Dn K O x hD (7) (12) (7) (8) (9) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (22))))) := A1.Dn K O x hD (7) (14) (7) (8) (9) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (21))))) := A1.Dn K O x hD (8) (12) (8) (9) (10) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (20))))) := A1.Dn K O x hD (9) (10) (9) (10) (11) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))))) := A1.Dn K O x hD (9) (12) (9) (10) (11) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.add (Zs K x (w + 21)) (Zs K x (w + 23)))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (w + 24))) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 21))))) := A1.Dn K O x hD (7) (w + 13) (7) (8) (9) (w + 20) (w + 21) (w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 23))))) := A1.Dn K O x hD (7) (w + 15) (7) (8) (9) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 22))))) := A1.Dn K O x hD (8) (w + 13) (8) (9) (10) (w + 21) (w + 22) (w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 21))))) := A1.Dn K O x hD (9) (w + 11) (9) (10) (11) (w + 20) (w + 21) (w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 23))))) := A1.Dn K O x hD (9) (w + 13) (9) (10) (11) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (10))))) := A1.Dn K O x hD (8) (1) (8) (9) (10) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))))) := A1.Dn K O x hD (8) (3) (8) (9) (10) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (12))))) := A1.Dn K O x hD (10) (1) (10) (11) (12) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (11))))) := A1.Dn K O x hD (8) (2) (8) (9) (10) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (13))))) := A1.Dn K O x hD (8) (4) (8) (9) (10) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (12))))) := A1.Dn K O x hD (9) (2) (9) (10) (11) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (13))))) := A1.Dn K O x hD (10) (2) (10) (11) (12) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))))) := A1.Dn K O x hD (8) (3) (8) (9) (10) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (14))))) := A1.Dn K O x hD (8) (5) (8) (9) (10) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))))) := A1.Dn K O x hD (9) (3) (9) (10) (11) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (12))))) := A1.Dn K O x hD (10) (1) (10) (11) (12) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))))) := A1.Dn K O x hD (10) (3) (10) (11) (12) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (13))))) := A1.Dn K O x hD (8) (4) (8) (9) (10) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (15))))) := A1.Dn K O x hD (8) (6) (8) (9) (10) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (14))))) := A1.Dn K O x hD (9) (4) (9) (10) (11) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (13))))) := A1.Dn K O x hD (10) (2) (10) (11) (12) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (15))))) := A1.Dn K O x hD (10) (4) (10) (11) (12) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (14))))) := A1.Dn K O x hD (8) (5) (8) (9) (10) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (16))))) := A1.Dn K O x hD (8) (7) (8) (9) (10) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (15))))) := A1.Dn K O x hD (9) (5) (9) (10) (11) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))))) := A1.Dn K O x hD (10) (3) (10) (11) (12) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (16))))) := A1.Dn K O x hD (10) (5) (10) (11) (12) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (15))))) := A1.Dn K O x hD (8) (6) (8) (9) (10) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (17))))) := A1.Dn K O x hD (8) (8) (8) (9) (10) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (16))))) := A1.Dn K O x hD (9) (6) (9) (10) (11) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (15))))) := A1.Dn K O x hD (10) (4) (10) (11) (12) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (17))))) := A1.Dn K O x hD (10) (6) (10) (11) (12) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (16))))) := A1.Dn K O x hD (8) (7) (8) (9) (10) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (18))))) := A1.Dn K O x hD (8) (9) (8) (9) (10) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (17))))) := A1.Dn K O x hD (9) (7) (9) (10) (11) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (16))))) := A1.Dn K O x hD (10) (5) (10) (11) (12) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (18))))) := A1.Dn K O x hD (10) (7) (10) (11) (12) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (17))))) := A1.Dn K O x hD (8) (8) (8) (9) (10) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (19))))) := A1.Dn K O x hD (8) (10) (8) (9) (10) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (18))))) := A1.Dn K O x hD (9) (8) (9) (10) (11) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (17))))) := A1.Dn K O x hD (10) (6) (10) (11) (12) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (19))))) := A1.Dn K O x hD (10) (8) (10) (11) (12) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (18))))) := A1.Dn K O x hD (8) (9) (8) (9) (10) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (20))))) := A1.Dn K O x hD (8) (11) (8) (9) (10) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (19))))) := A1.Dn K O x hD (9) (9) (9) (10) (11) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (18))))) := A1.Dn K O x hD (10) (7) (10) (11) (12) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (20))))) := A1.Dn K O x hD (10) (9) (10) (11) (12) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (19)) (Zs K x (21)))) (K.neg (K.mul (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (19))))) := A1.Dn K O x hD (8) (10) (8) (9) (10) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (21))))) := A1.Dn K O x hD (8) (12) (8) (9) (10) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (20))))) := A1.Dn K O x hD (9) (10) (9) (10) (11) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (19))))) := A1.Dn K O x hD (10) (8) (10) (11) (12) (18) (19) (20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (21))))) := A1.Dn K O x hD (10) (10) (10) (11) (12) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (20)) (Zs K x (22)))) (K.neg (K.mul (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (20))))) := A1.Dn K O x hD (8) (11) (8) (9) (10) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (22))))) := A1.Dn K O x hD (8) (13) (8) (9) (10) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))))) := A1.Dn K O x hD (9) (11) (9) (10) (11) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (20))))) := A1.Dn K O x hD (10) (9) (10) (11) (12) (19) (20) (21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (22))))) := A1.Dn K O x hD (10) (11) (10) (11) (12) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (21)) (Zs K x (23)))) (K.neg (K.mul (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (21))))) := A1.Dn K O x hD (8) (12) (8) (9) (10) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (23))))) := A1.Dn K O x hD (8) (14) (8) (9) (10) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))))) := A1.Dn K O x hD (9) (12) (9) (10) (11) (21) (22) (23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (21))))) := A1.Dn K O x hD (10) (10) (10) (11) (12) (20) (21) (22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (23))))) := A1.Dn K O x hD (10) (12) (10) (11) (12) (22) (23) (24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.add (Zs K x (w + 22)) (Zs K x (w + 24)))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (w + 25))) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 22))))) := A1.Dn K O x hD (8) (w + 13) (8) (9) (10) (w + 21) (w + 22) (w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 24))))) := A1.Dn K O x hD (8) (w + 15) (8) (9) (10) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 23))))) := A1.Dn K O x hD (9) (w + 13) (9) (10) (11) (w + 22) (w + 23) (w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 22))))) := A1.Dn K O x hD (10) (w + 11) (10) (11) (12) (w + 21) (w + 22) (w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 24))))) := A1.Dn K O x hD (10) (w + 13) (10) (11) (12) (w + 23) (w + 24) (w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (Zs K x (a + 11)) (Zs K x (a + 13)))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (K.add (Zs K x (a + 10)) (Zs K x (a + 12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 9) (1) (a + 9) (a + 10) (a + 11) (a + 10) (a + 11) (a + 12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 9) (3) (a + 9) (a + 10) (a + 11) (a + 12) (a + 13) (a + 14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 11) (1) (a + 11) (a + 12) (a + 13) (a + 12) (a + 13) (a + 14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (K.add (Zs K x (a + 10)) (Zs K x (a + 12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 9) (2) (a + 9) (a + 10) (a + 11) (a + 11) (a + 12) (a + 13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 9) (4) (a + 9) (a + 10) (a + 11) (a + 13) (a + 14) (a + 15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 10) (2) (a + 10) (a + 11) (a + 12) (a + 12) (a + 13) (a + 14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 11) (2) (a + 11) (a + 12) (a + 13) (a + 13) (a + 14) (a + 15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (Zs K x (a + 13)) (Zs K x (a + 15)))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 16))) (K.add (Zs K x (a + 10)) (Zs K x (a + 12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 9) (3) (a + 9) (a + 10) (a + 11) (a + 12) (a + 13) (a + 14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 9) (5) (a + 9) (a + 10) (a + 11) (a + 14) (a + 15) (a + 16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 10) (3) (a + 10) (a + 11) (a + 12) (a + 13) (a + 14) (a + 15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 11) (1) (a + 11) (a + 12) (a + 13) (a + 12) (a + 13) (a + 14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 11) (3) (a + 11) (a + 12) (a + 13) (a + 14) (a + 15) (a + 16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (Zs K x (a + 14)) (Zs K x (a + 16)))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 17))) (K.add (Zs K x (a + 10)) (Zs K x (a + 12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 9) (4) (a + 9) (a + 10) (a + 11) (a + 13) (a + 14) (a + 15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 9) (6) (a + 9) (a + 10) (a + 11) (a + 15) (a + 16) (a + 17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 10) (4) (a + 10) (a + 11) (a + 12) (a + 14) (a + 15) (a + 16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 11) (2) (a + 11) (a + 12) (a + 13) (a + 13) (a + 14) (a + 15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 11) (4) (a + 11) (a + 12) (a + 13) (a + 15) (a + 16) (a + 17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (Zs K x (a + 15)) (Zs K x (a + 17)))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (K.add (Zs K x (a + 10)) (Zs K x (a + 12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 9) (5) (a + 9) (a + 10) (a + 11) (a + 14) (a + 15) (a + 16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 9) (7) (a + 9) (a + 10) (a + 11) (a + 16) (a + 17) (a + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 10) (5) (a + 10) (a + 11) (a + 12) (a + 15) (a + 16) (a + 17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 11) (3) (a + 11) (a + 12) (a + 13) (a + 14) (a + 15) (a + 16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 11) (5) (a + 11) (a + 12) (a + 13) (a + 16) (a + 17) (a + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (Zs K x (a + 16)) (Zs K x (a + 18)))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (K.add (Zs K x (a + 10)) (Zs K x (a + 12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 9) (6) (a + 9) (a + 10) (a + 11) (a + 15) (a + 16) (a + 17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 9) (8) (a + 9) (a + 10) (a + 11) (a + 17) (a + 18) (a + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 10) (6) (a + 10) (a + 11) (a + 12) (a + 16) (a + 17) (a + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 11) (4) (a + 11) (a + 12) (a + 13) (a + 15) (a + 16) (a + 17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 11) (6) (a + 11) (a + 12) (a + 13) (a + 17) (a + 18) (a + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (Zs K x (a + 17)) (Zs K x (a + 19)))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))) (K.add (Zs K x (a + 10)) (Zs K x (a + 12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 9) (7) (a + 9) (a + 10) (a + 11) (a + 16) (a + 17) (a + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 9) (9) (a + 9) (a + 10) (a + 11) (a + 18) (a + 19) (a + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 10) (7) (a + 10) (a + 11) (a + 12) (a + 17) (a + 18) (a + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 11) (5) (a + 11) (a + 12) (a + 13) (a + 16) (a + 17) (a + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 11) (7) (a + 11) (a + 12) (a + 13) (a + 18) (a + 19) (a + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (Zs K x (a + 18)) (Zs K x (a + 20)))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 21))) (K.add (Zs K x (a + 10)) (Zs K x (a + 12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 9) (8) (a + 9) (a + 10) (a + 11) (a + 17) (a + 18) (a + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 9) (10) (a + 9) (a + 10) (a + 11) (a + 19) (a + 20) (a + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 10) (8) (a + 10) (a + 11) (a + 12) (a + 18) (a + 19) (a + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 11) (6) (a + 11) (a + 12) (a + 13) (a + 17) (a + 18) (a + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 11) (8) (a + 11) (a + 12) (a + 13) (a + 19) (a + 20) (a + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (Zs K x (a + 19)) (Zs K x (a + 21)))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 22))) (K.add (Zs K x (a + 10)) (Zs K x (a + 12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 9) (9) (a + 9) (a + 10) (a + 11) (a + 18) (a + 19) (a + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 9) (11) (a + 9) (a + 10) (a + 11) (a + 20) (a + 21) (a + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 10) (9) (a + 10) (a + 11) (a + 12) (a + 19) (a + 20) (a + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 11) (7) (a + 11) (a + 12) (a + 13) (a + 18) (a + 19) (a + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 11) (9) (a + 11) (a + 12) (a + 13) (a + 20) (a + 21) (a + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (Zs K x (a + 20)) (Zs K x (a + 22)))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 23))) (K.add (Zs K x (a + 10)) (Zs K x (a + 12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 9) (10) (a + 9) (a + 10) (a + 11) (a + 19) (a + 20) (a + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 9) (12) (a + 9) (a + 10) (a + 11) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 10) (10) (a + 10) (a + 11) (a + 12) (a + 20) (a + 21) (a + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 11) (8) (a + 11) (a + 12) (a + 13) (a + 19) (a + 20) (a + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 11) (10) (a + 11) (a + 12) (a + 13) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (Zs K x (a + 21)) (Zs K x (a + 23)))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 24))) (K.add (Zs K x (a + 10)) (Zs K x (a + 12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 9) (11) (a + 9) (a + 10) (a + 11) (a + 20) (a + 21) (a + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 9) (13) (a + 9) (a + 10) (a + 11) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 10) (11) (a + 10) (a + 11) (a + 12) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 11) (9) (a + 11) (a + 12) (a + 13) (a + 20) (a + 21) (a + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 11) (11) (a + 11) (a + 12) (a + 13) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (Zs K x (a + 22)) (Zs K x (a + 24)))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 25))) (K.add (Zs K x (a + 10)) (Zs K x (a + 12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 9) (12) (a + 9) (a + 10) (a + 11) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 9) (14) (a + 9) (a + 10) (a + 11) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))))) := A1.Dn K O x hD (a + 10) (12) (a + 10) (a + 11) (a + 12) (a + 22) (a + 23) (a + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 11) (10) (a + 11) (a + 12) (a + 13) (a + 21) (a + 22) (a + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 24))))) := A1.Dn K O x hD (a + 11) (12) (a + 11) (a + 12) (a + 13) (a + 23) (a + 24) (a + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25)))) (K.neg (K.mul (K.add (K.add (Zs K x (a + w + 22)) (Zs K x (a + w + 24))) (Zs K x (a + w + 26))) (K.add (Zs K x (a + 10)) (Zs K x (a + 12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 22)) (Zs K x (a + w + 24))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + w + 23))))) := A1.Dn K O x hD (a + 9) (w + 13) (a + 9) (a + 10) (a + 11) (a + w + 22) (a + w + 23) (a + w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat -- (+14 chars; full line in the Zenodo source)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 24)) (Zs K x (a + w + 26))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + w + 25))))) := A1.Dn K O x hD (a + 9) (w + 15) (a + 9) (a + 10) (a + 11) (a + w + 24) (a + w + 25) (a + w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat -- (+14 chars; full line in the Zenodo source)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + 11))) (K.neg (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + w + 24))))) := A1.Dn K O x hD (a + 10) (w + 13) (a + 10) (a + 11) (a + 12) (a + w + 23) (a + w + 24) (a + w + 25) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+17 chars; full line in the Zenodo source)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 22)) (Zs K x (a + w + 24))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + w + 23))))) := A1.Dn K O x hD (a + 11) (w + 11) (a + 11) (a + 12) (a + 13) (a + w + 22) (a + w + 23) (a + w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+17 chars; full line in the Zenodo source)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 24)) (Zs K x (a + w + 26))) (Zs K x (a + 12))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + w + 25))))) := A1.Dn K O x hD (a + 11) (w + 13) (a + 11) (a + 12) (a + 13) (a + w + 24) (a + w + 25) (a + w + 26) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+17 chars; full line in the Zenodo source)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
end signs
section final
variable (O : ORing K)
/-- **(A) at n = 6 for every length** (generated): a v-good X gives 64 c_6 c_8 ≤ 63 c_7² -/
theorem prod_lc (F : OField.OF K O) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero) (X : List R) (hXg : L1Full.Good K O X) (M : Nat) (hX : X.length = M + 2) :
O.le (K.mul (LibRing.castN K 64) (K.mul (cgc K X X 6) (cgc K X X 8)))
(K.mul (LibRing.castN K 63) (K.mul (cgc K X X 7) (cgc K X X 7))) := by
have ⟨hb, hpos, hv, h0⟩ := hXg
let x := co K X
have hzY : ∀ t, M + 3 ≤ t → Zs K x t = K.zero := fun t ht => by
cases t with
| zero => exact absurd ht (Nat.not_succ_le_zero _)
| succ t => exact HeatLR.co_out K X t (by rw [hX]; exact Nat.le_of_succ_le_succ ht)
have hY : ∀ j, O.le K.zero (Zs K x j) := fun j => by cases j with
| zero => exact O.le_refl _
| succ j => exact hb j
have hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k)) := fun a k =>
Window.dl_nn_t K O F (Zs K x) hY (M + 3)
(fun j hj => hpos j (by rw [hX]; exact Nat.lt_of_succ_lt_succ hj))
hzY (CgWindow.VV_Zs K O x hv h0) a k
have hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))) := by
intro a w
rw [← Lagrange.tail_minor K (Zs K x) (M + 3) hzY a w (M + 3) (by lib_nat_le)]
exact CauchyBinet2.sum_nn K O _ (fun i => by rw [show a + w + i = a + i + w by lib_nat]; exact hD (a + i) w) _
have hxz : ∀ t, M + 1 + 1 ≤ t → x t = K.zero := A1C.hzX K X (M + 1) hX
have cb0 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (Zs K (Zs K (Zs K (Zs K (Zs K x))))) (fun i => x (i + 1)) (fun i => x (i + 2)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg0 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg1 K O x hb hT hD h1 h10 i w))))
have cn0 := SU2CharExp.cN_nn K O h1 1
have cb1 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (fun i => x (i + 5)) (fun i => x (i + 1)) (fun i => x (i + 2)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg2 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg1 K O x hb hT hD h1 h10 i w))))
have cn1 := SU2CharExp.cN_nn K O h1 4
have cb2 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (fun i => x (i + 6)) x (fun i => x (i + 2)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg3 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg4 K O x hb hT hD h1 h10 i w))))
have cn2 := SU2CharExp.cN_nn K O h1 4
have cb3 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (pv5 K x) (fun i => x (i + 1)) (fun i => x (i + 2)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg5 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg1 K O x hb hT hD h1 h10 i w))))
have cn3 := SU2CharExp.cN_nn K O h1 1
have cb4 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K (Zs K (Zs K x))))) (Zs K (pv1 K (fun i => x (i + 2)))) (fun i => x (i + 2)) (fun i => x (i + 3)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg6 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg7 K O x hb hT hD h1 h10 i w))))
have cn4 := SU2CharExp.cN_nn K O h1 2
have cb5 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K x))) (fun i => x (i + 2)) (fun i => x (i + 4)) (fun i => x (i + 5)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg8 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg9 K O x hb hT hD h1 h10 i w))))
have cn5 := SU2CharExp.cN_nn K O h1 2
have cb6 := CauchyBinet2.cb_nonneg K O (Zs K x) x (Zs K (pv7 K x)) (Zs K (pv6 K x)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg10 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg11 K O x hb hT hD h1 h10 i w))))
have cn6 := SU2CharExp.cN_nn K O h1 3
have cb7 := CauchyBinet2.cb_nonneg K O (Zs K x) (Zs K (c1v K x)) (fun i => x (i + 6)) (fun i => x (i + 5)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => O.mul_nonneg _ _ (sg12 K O x hb hT hD h1 h10 i w) (sg13 K O x hb hT hD h1 h10 i w)))
have cn7 := SU2CharExp.cN_nn K O h1 3
have cb8 := CauchyBinet2.cb_nonneg K O x (fun i => x (i + 1)) (Zs K (pv4 K (fun i => x (i + 2)))) (fun i => x (i + 6)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg14 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg15 K O x hb hT hD h1 h10 i w))))
have cn8 := SU2CharExp.cN_nn K O h1 1
have cb9 := CauchyBinet2.cb_nonneg K O x (fun i => x (i + 2)) (Zs K (pv3 K (fun i => x (i + 2)))) (fun i => x (i + 6)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg4 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg16 K O x hb hT hD h1 h10 i w))))
have cn9 := SU2CharExp.cN_nn K O h1 5
have cb10 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 1)) (fun i => x (i + 2)) (pv6 K x) (fun i => x (i + 5)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg1 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg17 K O x hb hT hD h1 h10 i w))))
have cn10 := SU2CharExp.cN_nn K O h1 1
have cb11 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 1)) (fun i => x (i + 2)) (pv4 K (fun i => x (i + 2))) (fun i => x (i + 5)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg1 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg18 K O x hb hT hD h1 h10 i w))))
have cn11 := SU2CharExp.cN_nn K O h1 3
have cb12 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 1)) (fun i => x (i + 2)) (Zs K (pv3 K (fun i => x (i + 1)))) (fun i => x (i + 6)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg1 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg19 K O x hb hT hD h1 h10 i w))))
have cn12 := SU2CharExp.cN_nn K O h1 2
have cb13 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 1)) (fun i => x (i + 2)) (Zs K (pv5 K x)) (pv5 K x) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg1 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg20 K O x hb hT hD h1 h10 i w))))
have cn13 := SU2CharExp.cN_nn K O h1 2
have cb14 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 3)) (fun i => x (i + 4)) (fun i => x (i + 5)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg7 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg9 K O x hb hT hD h1 h10 i w))))
have cn14 := SU2CharExp.cN_nn K O h1 9
have cb15 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 3)) (Zs K (pv2 K (fun i => x (i + 2)))) (fun i => x (i + 4)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg7 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg21 K O x hb hT hD h1 h10 i w))))
have cn15 := SU2CharExp.cN_nn K O h1 13
have cb16 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 3)) (Zs K (pv1 K (fun i => x (i + 2)))) (fun i => x (i + 5)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg7 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg22 K O x hb hT hD h1 h10 i w))))
have cn16 := SU2CharExp.cN_nn K O h1 4
have cb17 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 3)) (Zs K (pv4 K x)) (Zs K (pv3 K x)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg7 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg23 K O x hb hT hD h1 h10 i w))))
have cn17 := SU2CharExp.cN_nn K O h1 102
have cb18 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 3)) (Zs K (pv4 K x)) (pv4 K x) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg7 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg24 K O x hb hT hD h1 h10 i w))))
have cn18 := SU2CharExp.cN_nn K O h1 12
have cb19 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 4)) (Zs K (pv1 K (fun i => x (i + 2)))) (fun i => x (i + 4)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg25 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg26 K O x hb hT hD h1 h10 i w))))
have cn19 := SU2CharExp.cN_nn K O h1 1
have cb20 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 3)) (fun i => x (i + 4)) (fun i => x (i + 3)) (fun i => x (i + 4)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg27 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg27 K O x hb hT hD h1 h10 i w))))
have cn20 := SU2CharExp.cN_nn K O h1 34
have cb21 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 3)) (fun i => x (i + 4)) (Zs K (pv1 K (fun i => x (i + 2)))) (fun i => x (i + 3)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg27 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg28 K O x hb hT hD h1 h10 i w))))
have cn21 := SU2CharExp.cN_nn K O h1 2
have cb22 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 3)) (fun i => x (i + 4)) (pv1 K (fun i => x (i + 2))) (fun i => x (i + 4)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg27 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg29 K O x hb hT hD h1 h10 i w))))
have cn22 := SU2CharExp.cN_nn K O h1 20
have cb23 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 3)) (fun i => x (i + 4)) (Zs K (pv3 K x)) (Zs K (pv2 K x)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg27 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg30 K O x hb hT hD h1 h10 i w))))
have cn23 := SU2CharExp.cN_nn K O h1 108
have cb24 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 3)) (fun i => x (i + 4)) (Zs K (pv3 K x)) (pv3 K x) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg27 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg31 K O x hb hT hD h1 h10 i w))))
have cn24 := SU2CharExp.cN_nn K O h1 6
have cb25 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 3)) (fun i => x (i + 5)) (pv1 K (fun i => x (i + 2))) (fun i => x (i + 3)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg32 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg33 K O x hb hT hD h1 h10 i w))))
have cn25 := SU2CharExp.cN_nn K O h1 5
have cb26 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 4)) (fun i => x (i + 5)) (Zs K (pv2 K x)) (Zs K (c1v K x)) (M + 1 + 1 + 10) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg9 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg34 K O x hb hT hD h1 h10 i w))))
have cn26 := SU2CharExp.cN_nn K O h1 11
have tot := (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn0 cb0) (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn1 cb1) (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn2 cb2) (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn3 cb3) (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn4 cb4) (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn5 cb5) (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn6 cb6) (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn7 cb7) (A -- (+989 chars; full line in the Zenodo source)
have id := ident K x (M + 1 + 1) hxz
apply A1.le_of_sub_nn K O
rw [A1C.cgc_ip K X (M + 1) 6 hX (pv6 K (co K X)) (psi6 K X) 10]
rw [A1C.cgc_ip K X (M + 1) 7 hX (pv7 K (co K X)) (psi7 K X) 10]
rw [A1C.cgc_ip K X (M + 1) 8 hX (pv8 K (co K X)) (psi8 K X) 10]
show O.le K.zero _
rw [id]; exact tot
end final
end GenA6
#print axioms GenA6.ident
#print axioms GenA6.prod_lc
lean_all/ym/GenA7.lean
/-
ym/GenA7 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7S00
import ym.GenA7S01
import ym.GenA7S02
import ym.GenA7S03
import ym.GenA7S04
import ym.GenA7S05
import ym.GenA7S06
import ym.GenA7S07
import ym.GenA7S08
import ym.GenA7S09
import ym.GenA7S10
import ym.GenA7S11
import ym.GenA7S12
import ym.GenA7S13
import ym.GenA7S14
import ym.GenA7S15
import ym.GenA7S16
import ym.GenA7S17
import ym.GenA7S18
import ym.GenA7S19
import ym.GenA7S20
import ym.GenA7S21
import ym.GenA7S22
import ym.GenA7S23
import ym.GenA7S24
import ym.GenA7S25
import ym.GenA7S26
import ym.GenA7S27
import ym.GenA7S28
import ym.GenA7S29
import ym.GenA7S30
import ym.GenA7S31
import ym.GenA7S32
import ym.GenA7S33
import ym.GenA7S34
import ym.GenA7S35
import ym.GenA7S36
import ym.GenA7S37
import ym.GenA7S38
import ym.GenA7S39
import ym.GenA7S40
import ym.GenA7S41
import ym.GenA7S42
import ym.GenA7S43
import ym.GenA7S44
import ym.GenA7S45
import ym.GenA7S46
import ym.GenA7S47
import ym.GenA7S48
import ym.GenA7S49
import ym.GenA7S50
import ym.GenA7S51
import ym.GenA7S52
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section final
variable (O : ORing K)
/-- **(A) at n = 7 for every length** (generated): a v-good X gives 81 c_7 c_9 ≤ 80 c_8² -/
theorem prod_lc (F : OField.OF K O) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero) (X : List R) (hXg : L1Full.Good K O X) (M : Nat) (hX : X.length = M + 2) :
O.le (K.mul (LibRing.castN K 1215) (K.mul (cgc K X X 7) (cgc K X X 9)))
(K.mul (LibRing.castN K 1200) (K.mul (cgc K X X 8) (cgc K X X 8))) := by
have ⟨hb, hpos, hv, h0⟩ := hXg
let x := co K X
have hzY : ∀ t, M + 3 ≤ t → Zs K x t = K.zero := fun t ht => by
cases t with
| zero => exact absurd ht (Nat.not_succ_le_zero _)
| succ t => exact HeatLR.co_out K X t (by rw [hX]; exact Nat.le_of_succ_le_succ ht)
have hY : ∀ j, O.le K.zero (Zs K x j) := fun j => by cases j with
| zero => exact O.le_refl _
| succ j => exact hb j
have hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k)) := fun a k =>
Window.dl_nn_t K O F (Zs K x) hY (M + 3)
(fun j hj => hpos j (by rw [hX]; exact Nat.lt_of_succ_lt_succ hj))
hzY (CgWindow.VV_Zs K O x hv h0) a k
have hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))) := by
intro a w
rw [← Lagrange.tail_minor K (Zs K x) (M + 3) hzY a w (M + 3) (by lib_nat_le)]
exact CauchyBinet2.sum_nn K O _ (fun i => by rw [show a + w + i = a + i + w by lib_nat]; exact hD (a + i) w) _
have hxz : ∀ t, M + 1 + 1 ≤ t → x t = K.zero := A1C.hzX K X (M + 1) hX
have cb0 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (fun i => x (i + 1)) (fun i => x (i + 2)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg0 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg1 K O x hb hT hD h1 h10 i w))))
have cn0 := SU2CharExp.cN_nn K O h1 42
have cb1 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (fun i => x (i + 7)) x (fun i => x (i + 2)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg2 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg3 K O x hb hT hD h1 h10 i w))))
have cn1 := SU2CharExp.cN_nn K O h1 16
have cb2 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (Zs K (pv5 K x)) (fun i => x (i + 1)) (fun i => x (i + 2)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg4 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg1 K O x hb hT hD h1 h10 i w))))
have cn2 := SU2CharExp.cN_nn K O h1 84
have cb3 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (pv6 K x) (fun i => x (i + 1)) (fun i => x (i + 2)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg5 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg1 K O x hb hT hD h1 h10 i w))))
have cn3 := SU2CharExp.cN_nn K O h1 120
have cb4 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (fun i => x (i + 5)) (fun i => x (i + 2)) (fun i => x (i + 3)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg6 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg7 K O x hb hT hD h1 h10 i w))))
have cn4 := SU2CharExp.cN_nn K O h1 18
have cb5 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (fun i => x (i + 7)) x (fun i => x (i + 3)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg8 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg9 K O x hb hT hD h1 h10 i w))))
have cn5 := SU2CharExp.cN_nn K O h1 44
have cb6 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K (Zs K (Zs K x))))) (Zs K (pv3 K x)) (fun i => x (i + 3)) (fun i => x (i + 4)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg10 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg11 K O x hb hT hD h1 h10 i w))))
have cn6 := SU2CharExp.cN_nn K O h1 92
have cb7 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K x))) (Zs K (c1v K x)) (fun i => x (i + 5)) (fun i => x (i + 6)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg12 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg13 K O x hb hT hD h1 h10 i w))))
have cn7 := SU2CharExp.cN_nn K O h1 102
have cb8 := CauchyBinet2.cb_nonneg K O (Zs K x) x (Zs K (pv8 K x)) (Zs K (pv7 K x)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg14 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg15 K O x hb hT hD h1 h10 i w))))
have cn8 := SU2CharExp.cN_nn K O h1 250
have cb9 := CauchyBinet2.cb_nonneg K O (Zs K x) (fun i => x (i + 4)) (fun i => x (i + 5)) (fun i => x (i + 6)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg16 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg13 K O x hb hT hD h1 h10 i w))))
have cn9 := SU2CharExp.cN_nn K O h1 44
have cb10 := CauchyBinet2.cb_nonneg K O (Zs K x) (Zs K (c1v K x)) (fun i => x (i + 7)) (fun i => x (i + 6)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => O.mul_nonneg _ _ (sg17 K O x hb hT hD h1 h10 i w) (sg18 K O x hb hT hD h1 h10 i w)))
have cn10 := SU2CharExp.cN_nn K O h1 18
have cb11 := CauchyBinet2.cb_nonneg K O x (fun i => x (i + 2)) (Zs K (pv4 K (fun i => x (i + 2)))) (fun i => x (i + 7)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg3 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg19 K O x hb hT hD h1 h10 i w))))
have cn11 := SU2CharExp.cN_nn K O h1 6
have cb12 := CauchyBinet2.cb_nonneg K O x (fun i => x (i + 2)) (Zs K (pv4 K (fun i => x (i + 3)))) (Zs K (pv2 K (fun i => x (i + 3)))) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg3 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg20 K O x hb hT hD h1 h10 i w))))
have cn12 := SU2CharExp.cN_nn K O h1 30
have cb13 := CauchyBinet2.cb_nonneg K O x (fun i => x (i + 3)) (pv4 K (fun i => x (i + 3))) (fun i => x (i + 6)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg9 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg21 K O x hb hT hD h1 h10 i w))))
have cn13 := SU2CharExp.cN_nn K O h1 22
have cb14 := CauchyBinet2.cb_nonneg K O x (fun i => x (i + 3)) (Zs K (pv3 K (fun i => x (i + 2)))) (fun i => x (i + 7)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg9 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg22 K O x hb hT hD h1 h10 i w))))
have cn14 := SU2CharExp.cN_nn K O h1 28
have cb15 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 1)) (fun i => x (i + 3)) (Zs K (pv2 K (fun i => x (i + 3)))) (fun i => x (i + 6)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg23 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg24 K O x hb hT hD h1 h10 i w))))
have cn15 := SU2CharExp.cN_nn K O h1 12
have cb16 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 1)) (fun i => x (i + 3)) (Zs K (pv3 K (fun i => x (i + 1)))) (fun i => x (i + 7)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg23 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg25 K O x hb hT hD h1 h10 i w))))
have cn16 := SU2CharExp.cN_nn K O h1 42
have cb17 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 1)) (fun i => x (i + 4)) (Zs K (pv2 K (fun i => x (i + 3)))) (fun i => x (i + 5)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg26 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg27 K O x hb hT hD h1 h10 i w))))
have cn17 := SU2CharExp.cN_nn K O h1 10
have cb18 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 1)) (fun i => x (i + 4)) (Zs K (pv3 K (fun i => x (i + 1)))) (fun i => x (i + 6)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg26 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg28 K O x hb hT hD h1 h10 i w))))
have cn18 := SU2CharExp.cN_nn K O h1 18
have cb19 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 1)) (fun i => x (i + 4)) (pv3 K (fun i => x (i + 2))) (fun i => x (i + 6)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg26 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg29 K O x hb hT hD h1 h10 i w))))
have cn19 := SU2CharExp.cN_nn K O h1 6
have cb20 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 1)) (fun i => x (i + 4)) (Zs K (pv1 K (fun i => x (i + 3)))) (fun i => x (i + 6)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg26 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg30 K O x hb hT hD h1 h10 i w))))
have cn20 := SU2CharExp.cN_nn K O h1 34
have cb21 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 1)) (fun i => x (i + 4)) (pv2 K (fun i => x (i + 3))) (fun i => x (i + 6)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg26 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg31 K O x hb hT hD h1 h10 i w))))
have cn21 := SU2CharExp.cN_nn K O h1 12
have cb22 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 3)) (Zs K (pv3 K (fun i => x (i + 1)))) (fun i => x (i + 6)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg7 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg28 K O x hb hT hD h1 h10 i w))))
have cn22 := SU2CharExp.cN_nn K O h1 42
have cb23 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 3)) (Zs K (pv5 K x)) (Zs K (pv4 K x)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg7 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg32 K O x hb hT hD h1 h10 i w))))
have cn23 := SU2CharExp.cN_nn K O h1 708
have cb24 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 4)) (fun i => x (i + 4)) (fun i => x (i + 6)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg33 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg34 K O x hb hT hD h1 h10 i w))))
have cn24 := SU2CharExp.cN_nn K O h1 12
have cb25 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 4)) (Zs K (pv2 K (fun i => x (i + 3)))) (fun i => x (i + 4)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg33 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg35 K O x hb hT hD h1 h10 i w))))
have cn25 := SU2CharExp.cN_nn K O h1 80
have cb26 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 4)) (Zs K (pv1 K (fun i => x (i + 3)))) (fun i => x (i + 5)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg33 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg36 K O x hb hT hD h1 h10 i w))))
have cn26 := SU2CharExp.cN_nn K O h1 64
have cb27 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 5)) (fun i => x (i + 4)) (fun i => x (i + 5)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg37 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg38 K O x hb hT hD h1 h10 i w))))
have cn27 := SU2CharExp.cN_nn K O h1 28
have cb28 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 5)) (pv3 K (fun i => x (i + 1))) (fun i => x (i + 5)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg37 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg39 K O x hb hT hD h1 h10 i w))))
have cn28 := SU2CharExp.cN_nn K O h1 18
have cb29 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 5)) (pv2 K (fun i => x (i + 2))) (fun i => x (i + 5)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg37 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg40 K O x hb hT hD h1 h10 i w))))
have cn29 := SU2CharExp.cN_nn K O h1 12
have cb30 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 3)) (fun i => x (i + 4)) (fun i => x (i + 4)) (fun i => x (i + 5)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg11 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg38 K O x hb hT hD h1 h10 i w))))
have cn30 := SU2CharExp.cN_nn K O h1 986
have cb31 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 3)) (fun i => x (i + 4)) (Zs K (pv2 K (fun i => x (i + 2)))) (fun i => x (i + 4)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg11 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg41 K O x hb hT hD h1 h10 i w))))
have cn31 := SU2CharExp.cN_nn K O h1 12
have cb32 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 3)) (fun i => x (i + 4)) (pv1 K (fun i => x (i + 3))) (fun i => x (i + 5)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg11 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg42 K O x hb hT hD h1 h10 i w))))
have cn32 := SU2CharExp.cN_nn K O h1 60
have cb33 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 3)) (fun i => x (i + 4)) (Zs K (pv4 K x)) (Zs K (pv3 K x)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg11 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg43 K O x hb hT hD h1 h10 i w))))
have cn33 := SU2CharExp.cN_nn K O h1 2190
have cb34 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 3)) (fun i => x (i + 4)) (Zs K (pv4 K x)) (pv4 K x) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg11 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg44 K O x hb hT hD h1 h10 i w))))
have cn34 := SU2CharExp.cN_nn K O h1 120
have cb35 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 3)) (fun i => x (i + 5)) (pv1 K (fun i => x (i + 3))) (fun i => x (i + 4)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg45 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg46 K O x hb hT hD h1 h10 i w))))
have cn35 := SU2CharExp.cN_nn K O h1 160
have cb36 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 3)) (fun i => x (i + 6)) (pv1 K (fun i => x (i + 3))) (fun i => x (i + 3)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg47 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg48 K O x hb hT hD h1 h10 i w))))
have cn36 := SU2CharExp.cN_nn K O h1 10
have cb37 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 4)) (fun i => x (i + 5)) (pv2 K x) (fun i => x (i + 5)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg38 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg49 K O x hb hT hD h1 h10 i w))))
have cn37 := SU2CharExp.cN_nn K O h1 22
have cb38 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 4)) (fun i => x (i + 5)) (Zs K (pv3 K x)) (Zs K (pv2 K x)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg38 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg50 K O x hb hT hD h1 h10 i w))))
have cn38 := SU2CharExp.cN_nn K O h1 810
have cb39 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 4)) (fun i => x (i + 5)) (Zs K (pv3 K x)) (pv3 K x) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg38 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg51 K O x hb hT hD h1 h10 i w))))
have cn39 := SU2CharExp.cN_nn K O h1 14
have cb40 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 4)) (fun i => x (i + 6)) (pv1 K (fun i => x (i + 1))) (fun i => x (i + 4)) (M + 1 + 1 + 12) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg34 K O x hb hT hD h1 h10 i w)) (A1.nn_neg K O _ (sg52 K O x hb hT hD h1 h10 i w))))
have cn40 := SU2CharExp.cN_nn K O h1 34
have tot := (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn0 cb0) (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn1 cb1) (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn2 cb2) (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn3 cb3) (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn4 cb4) (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn5 cb5) (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn6 cb6) (A1.nn_add K O _ _ (A1.pos_mul K O _ _ cn7 cb7) (A -- (+1703 chars; full line in the Zenodo source)
have id := ident K x (M + 1 + 1) hxz
apply A1.le_of_sub_nn K O
rw [A1C.cgc_ip K X (M + 1) 7 hX (pv7 K (co K X)) (psi7 K X) 12]
rw [A1C.cgc_ip K X (M + 1) 8 hX (pv8 K (co K X)) (psi8 K X) 12]
rw [A1C.cgc_ip K X (M + 1) 9 hX (pv9 K (co K X)) (psi9 K X) 12]
show O.le K.zero _
rw [id]; exact tot
end final
end GenA7
#print axioms GenA7.ident
#print axioms GenA7.prod_lc
lean_all/ym/GenA7B.lean
/-
ym/GenA7B — T45, G54: part of the generated base of (A) (GenA7B split by cert/A/gen/split_base.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7Bp06
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section ident
variable (x : Nat → R) (L : Nat) (hz : ∀ t, L ≤ t → x t = K.zero)
set_option maxRecDepth 2000000 in
include hz in
theorem lhsP : K.add (K.mul (LibRing.castN K 1200) (K.mul (ip K x (pv8 K x) (L + 12)) (ip K x (pv8 K x) (L + 12)))) (K.neg (K.mul (LibRing.castN K 1215) (K.mul (ip K x (pv7 K x) (L + 12)) (ip K x (pv9 K x) (L + 12))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+16333 chars; full line in the Zenodo source)
rw [ip106 K x L hz, ip105 K x L hz, ip107 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem ident : K.add (K.mul (LibRing.castN K 1200) (K.mul (ip K x (pv8 K x) (L + 12)) (ip K x (pv8 K x) (L + 12)))) (K.neg (K.mul (LibRing.castN K 1215) (K.mul (ip K x (pv7 K x) (L + 12)) (ip K x (pv9 K x) (L + 12))))) = (K.add (K.mul (LibRing.castN K 42) (K.add (K.mul (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (fun i => x (i + 1)) (L + 12)) (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K -- (+12593 chars; full line in the Zenodo source)
rw [lhsP K x L hz, cb0 K x L hz, cb1 K x L hz, cb2 K x L hz, cb3 K x L hz, cb4 K x L hz, cb5 K x L hz, cb6 K x L hz, cb7 K x L hz, cb8 K x L hz, cb9 K x L hz, cb10 K x L hz, cb11 K x L hz, cb12 K x L hz, cb13 K x L hz, cb14 K x L hz, cb15 K x L hz, cb16 K x L hz, cb17 K x L hz, cb18 K x L hz, cb19 K x L hz, cb20 K x L hz, cb21 K x L hz, cb22 K x L hz, cb23 K x L hz, cb24 K x L hz, cb25 K x L hz, -- (+225 chars; full line in the Zenodo source)
ring_z
end ident
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
omit hx hT hD h1 h10 in
theorem nn_scale (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero) (n : Nat) (hn : 1 ≤ n) (t s : R) (hs : O.le K.zero s)
(h : s = K.mul (LibRing.castN K n) t) : O.le K.zero t := by
have p := SU2CharExp.pos_of_ge_one K O h1 h10 n hn
apply O.pos_cancel _ _ _ p.1 p.2
show O.le (K.mul K.zero (LibRing.castN K n)) (K.mul t (LibRing.castN K n))
rw [show K.mul K.zero (LibRing.castN K n) = K.zero by lib_ring, show K.mul t (LibRing.castN K n) = s by rw [h]; lib_ring]
exact hs
end signs
end GenA7
lean_all/ym/GenA7Bp00.lean
/-
ym/GenA7Bp00 — T45, G54: part of the generated base of (A) (GenA7B split by cert/A/gen/split_base.py).
Lean 4 core only, no axioms.
-/
import ym.AVs
import ym.RingZ
import ym.A2
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
def pv1 (x : Nat → R) : Nat → R
| 0 => (x 1)
| d + 1 => (K.add (x d) (x (d + 2)))
def pv2 (x : Nat → R) : Nat → R
| 0 => (x 2)
| 1 => (K.add (x 1) (x 3))
| d + 2 => (K.add (K.add (x d) (x (d + 2))) (x (d + 4)))
def pv3 (x : Nat → R) : Nat → R
| 0 => (x 3)
| 1 => (K.add (x 2) (x 4))
| 2 => (K.add (K.add (x 1) (x 3)) (x 5))
| d + 3 => (K.add (K.add (K.add (x d) (x (d + 2))) (x (d + 4))) (x (d + 6)))
def pv4 (x : Nat → R) : Nat → R
| 0 => (x 4)
| 1 => (K.add (x 3) (x 5))
| 2 => (K.add (K.add (x 2) (x 4)) (x 6))
| 3 => (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7))
| d + 4 => (K.add (K.add (K.add (K.add (x d) (x (d + 2))) (x (d + 4))) (x (d + 6))) (x (d + 8)))
def pv5 (x : Nat → R) : Nat → R
| 0 => (x 5)
| 1 => (K.add (x 4) (x 6))
| 2 => (K.add (K.add (x 3) (x 5)) (x 7))
| 3 => (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8))
| 4 => (K.add (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (x 9))
| d + 5 => (K.add (K.add (K.add (K.add (K.add (x d) (x (d + 2))) (x (d + 4))) (x (d + 6))) (x (d + 8))) (x (d + 10)))
def pv6 (x : Nat → R) : Nat → R
| 0 => (x 6)
| 1 => (K.add (x 5) (x 7))
| 2 => (K.add (K.add (x 4) (x 6)) (x 8))
| 3 => (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9))
| 4 => (K.add (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8)) (x 10))
| 5 => (K.add (K.add (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (x 9)) (x 11))
| d + 6 => (K.add (K.add (K.add (K.add (K.add (K.add (x d) (x (d + 2))) (x (d + 4))) (x (d + 6))) (x (d + 8))) (x (d + 10))) (x (d + 12)))
def pv7 (x : Nat → R) : Nat → R
| 0 => (x 7)
| 1 => (K.add (x 6) (x 8))
| 2 => (K.add (K.add (x 5) (x 7)) (x 9))
| 3 => (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10))
| 4 => (K.add (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 11))
| 5 => (K.add (K.add (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8)) (x 10)) (x 12))
| 6 => (K.add (K.add (K.add (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (x 9)) (x 11)) (x 13))
| d + 7 => (K.add (K.add (K.add (K.add (K.add (K.add (K.add (x d) (x (d + 2))) (x (d + 4))) (x (d + 6))) (x (d + 8))) (x (d + 10))) (x (d + 12))) (x (d + 14)))
def pv8 (x : Nat → R) : Nat → R
| 0 => (x 8)
| 1 => (K.add (x 7) (x 9))
| 2 => (K.add (K.add (x 6) (x 8)) (x 10))
| 3 => (K.add (K.add (K.add (x 5) (x 7)) (x 9)) (x 11))
| 4 => (K.add (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10)) (x 12))
| 5 => (K.add (K.add (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 11)) (x 13))
| 6 => (K.add (K.add (K.add (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8)) (x 10)) (x 12)) (x 14))
| 7 => (K.add (K.add (K.add (K.add (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (x 9)) (x 11)) (x 13)) (x 15))
| d + 8 => (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (x d) (x (d + 2))) (x (d + 4))) (x (d + 6))) (x (d + 8))) (x (d + 10))) (x (d + 12))) (x (d + 14))) (x (d + 16)))
def pv9 (x : Nat → R) : Nat → R
| 0 => (x 9)
| 1 => (K.add (x 8) (x 10))
| 2 => (K.add (K.add (x 7) (x 9)) (x 11))
| 3 => (K.add (K.add (K.add (x 6) (x 8)) (x 10)) (x 12))
| 4 => (K.add (K.add (K.add (K.add (x 5) (x 7)) (x 9)) (x 11)) (x 13))
| 5 => (K.add (K.add (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10)) (x 12)) (x 14))
| 6 => (K.add (K.add (K.add (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 11)) (x 13)) (x 15))
| 7 => (K.add (K.add (K.add (K.add (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8)) (x 10)) (x 12)) (x 14)) (x 16))
| 8 => (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (x 9)) (x 11)) (x 13)) (x 15)) (x 17))
| d + 9 => (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (x d) (x (d + 2))) (x (d + 4))) (x (d + 6))) (x (d + 8))) (x (d + 10))) (x (d + 12))) (x (d + 14))) (x (d + 16))) (x (d + 18)))
theorem psi1 (X : List R) : ∀ j, CgWindow.Psi K X j 1 = pv1 K (HeatPair.co K X) j
| 0 => by
have := CgWindow.Psi_lo K X 0 1; rw [show 0 + 1 = 1 from rfl] at this; rw [this]
show (K.add K.zero (HeatPair.co K X 1)) = (HeatPair.co K X 1)
lib_ring
| d + 1 => by
have := CgWindow.Psi_hi K X 1 d; rw [show 1 + d = d + 1 by lib_nat] at this; rw [this]
show (K.add (K.add K.zero (HeatPair.co K X (d + 2 * 0))) (HeatPair.co K X (d + 2 * 1))) = (K.add (HeatPair.co K X d) (HeatPair.co K X (d + 2)))
rw [show d + 2 * 0 = d by lib_nat, show d + 2 * 1 = d + 2 by lib_nat]; lib_ring
theorem psi2 (X : List R) : ∀ j, CgWindow.Psi K X j 2 = pv2 K (HeatPair.co K X) j
| 0 => by
have := CgWindow.Psi_lo K X 0 2; rw [show 0 + 2 = 2 from rfl] at this; rw [this]
show (K.add K.zero (HeatPair.co K X 2)) = (HeatPair.co K X 2)
lib_ring
| 1 => by
have := CgWindow.Psi_lo K X 1 1; rw [show 1 + 1 = 2 from rfl] at this; rw [this]
show (K.add (K.add K.zero (HeatPair.co K X 1)) (HeatPair.co K X 3)) = (K.add (HeatPair.co K X 1) (HeatPair.co K X 3))
lib_ring
| d + 2 => by
have := CgWindow.Psi_hi K X 2 d; rw [show 2 + d = d + 2 by lib_nat] at this; rw [this]
show (K.add (K.add (K.add K.zero (HeatPair.co K X (d + 2 * 0))) (HeatPair.co K X (d + 2 * 1))) (HeatPair.co K X (d + 2 * 2))) = (K.add (K.add (HeatPair.co K X d) (HeatPair.co K X (d + 2))) (HeatPair.co K X (d + 4)))
rw [show d + 2 * 0 = d by lib_nat, show d + 2 * 1 = d + 2 by lib_nat, show d + 2 * 2 = d + 4 by lib_nat]; lib_ring
theorem psi3 (X : List R) : ∀ j, CgWindow.Psi K X j 3 = pv3 K (HeatPair.co K X) j
| 0 => by
have := CgWindow.Psi_lo K X 0 3; rw [show 0 + 3 = 3 from rfl] at this; rw [this]
show (K.add K.zero (HeatPair.co K X 3)) = (HeatPair.co K X 3)
lib_ring
| 1 => by
have := CgWindow.Psi_lo K X 1 2; rw [show 1 + 2 = 3 from rfl] at this; rw [this]
show (K.add (K.add K.zero (HeatPair.co K X 2)) (HeatPair.co K X 4)) = (K.add (HeatPair.co K X 2) (HeatPair.co K X 4))
lib_ring
| 2 => by
have := CgWindow.Psi_lo K X 2 1; rw [show 2 + 1 = 3 from rfl] at this; rw [this]
show (K.add (K.add (K.add K.zero (HeatPair.co K X 1)) (HeatPair.co K X 3)) (HeatPair.co K X 5)) = (K.add (K.add (HeatPair.co K X 1) (HeatPair.co K X 3)) (HeatPair.co K X 5))
lib_ring
| d + 3 => by
have := CgWindow.Psi_hi K X 3 d; rw [show 3 + d = d + 3 by lib_nat] at this; rw [this]
show (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X (d + 2 * 0))) (HeatPair.co K X (d + 2 * 1))) (HeatPair.co K X (d + 2 * 2))) (HeatPair.co K X (d + 2 * 3))) = (K.add (K.add (K.add (HeatPair.co K X d) (HeatPair.co K X (d + 2))) (HeatPair.co K X (d + 4))) (HeatPair.co K X (d + 6)))
rw [show d + 2 * 0 = d by lib_nat, show d + 2 * 1 = d + 2 by lib_nat, show d + 2 * 2 = d + 4 by lib_nat, show d + 2 * 3 = d + 6 by lib_nat]; lib_ring
theorem psi4 (X : List R) : ∀ j, CgWindow.Psi K X j 4 = pv4 K (HeatPair.co K X) j
| 0 => by
have := CgWindow.Psi_lo K X 0 4; rw [show 0 + 4 = 4 from rfl] at this; rw [this]
show (K.add K.zero (HeatPair.co K X 4)) = (HeatPair.co K X 4)
lib_ring
| 1 => by
have := CgWindow.Psi_lo K X 1 3; rw [show 1 + 3 = 4 from rfl] at this; rw [this]
show (K.add (K.add K.zero (HeatPair.co K X 3)) (HeatPair.co K X 5)) = (K.add (HeatPair.co K X 3) (HeatPair.co K X 5))
lib_ring
| 2 => by
have := CgWindow.Psi_lo K X 2 2; rw [show 2 + 2 = 4 from rfl] at this; rw [this]
show (K.add (K.add (K.add K.zero (HeatPair.co K X 2)) (HeatPair.co K X 4)) (HeatPair.co K X 6)) = (K.add (K.add (HeatPair.co K X 2) (HeatPair.co K X 4)) (HeatPair.co K X 6))
lib_ring
| 3 => by
have := CgWindow.Psi_lo K X 3 1; rw [show 3 + 1 = 4 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 1)) (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7)) = (K.add (K.add (K.add (HeatPair.co K X 1) (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7))
lib_ring
| d + 4 => by
have := CgWindow.Psi_hi K X 4 d; rw [show 4 + d = d + 4 by lib_nat] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X (d + 2 * 0))) (HeatPair.co K X (d + 2 * 1))) (HeatPair.co K X (d + 2 * 2))) (HeatPair.co K X (d + 2 * 3))) (HeatPair.co K X (d + 2 * 4))) = (K.add (K.add (K.add (K.add (HeatPair.co K X d) (HeatPair.co K X (d + 2))) (HeatPair.co K X (d + 4))) (HeatPair.co K X (d + 6))) (HeatPair.co K X (d + 8)))
rw [show d + 2 * 0 = d by lib_nat, show d + 2 * 1 = d + 2 by lib_nat, show d + 2 * 2 = d + 4 by lib_nat, show d + 2 * 3 = d + 6 by lib_nat, show d + 2 * 4 = d + 8 by lib_nat]; lib_ring
theorem psi5 (X : List R) : ∀ j, CgWindow.Psi K X j 5 = pv5 K (HeatPair.co K X) j
| 0 => by
have := CgWindow.Psi_lo K X 0 5; rw [show 0 + 5 = 5 from rfl] at this; rw [this]
show (K.add K.zero (HeatPair.co K X 5)) = (HeatPair.co K X 5)
lib_ring
| 1 => by
have := CgWindow.Psi_lo K X 1 4; rw [show 1 + 4 = 5 from rfl] at this; rw [this]
show (K.add (K.add K.zero (HeatPair.co K X 4)) (HeatPair.co K X 6)) = (K.add (HeatPair.co K X 4) (HeatPair.co K X 6))
lib_ring
| 2 => by
have := CgWindow.Psi_lo K X 2 3; rw [show 2 + 3 = 5 from rfl] at this; rw [this]
show (K.add (K.add (K.add K.zero (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7)) = (K.add (K.add (HeatPair.co K X 3) (HeatPair.co K X 5)) (HeatPair.co K X 7))
lib_ring
| 3 => by
have := CgWindow.Psi_lo K X 3 2; rw [show 3 + 2 = 5 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 2)) (HeatPair.co K X 4)) (HeatPair.co K X 6)) (HeatPair.co K X 8)) = (K.add (K.add (K.add (HeatPair.co K X 2) (HeatPair.co K X 4)) (HeatPair.co K X 6)) (HeatPair.co K X 8))
lib_ring
| 4 => by
have := CgWindow.Psi_lo K X 4 1; rw [show 4 + 1 = 5 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 1)) (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) = (K.add (K.add (K.add (K.add (HeatPair.co K X 1) (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9))
lib_ring
| d + 5 => by
have := CgWindow.Psi_hi K X 5 d; rw [show 5 + d = d + 5 by lib_nat] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X (d + 2 * 0))) (HeatPair.co K X (d + 2 * 1))) (HeatPair.co K X (d + 2 * 2))) (HeatPair.co K X (d + 2 * 3))) (HeatPair.co K X (d + 2 * 4))) (HeatPair.co K X (d + 2 * 5))) = (K.add (K.add (K.add (K.add (K.add (HeatPair.co K X d) (HeatPair.co K X (d + 2))) (HeatPair.co K X (d + 4))) (HeatPair.co K X (d + 6))) (HeatPair.co K X ( -- (+36 chars; full line in the Zenodo source)
rw [show d + 2 * 0 = d by lib_nat, show d + 2 * 1 = d + 2 by lib_nat, show d + 2 * 2 = d + 4 by lib_nat, show d + 2 * 3 = d + 6 by lib_nat, show d + 2 * 4 = d + 8 by lib_nat, show d + 2 * 5 = d + 10 by lib_nat]; lib_ring
theorem psi6 (X : List R) : ∀ j, CgWindow.Psi K X j 6 = pv6 K (HeatPair.co K X) j
| 0 => by
have := CgWindow.Psi_lo K X 0 6; rw [show 0 + 6 = 6 from rfl] at this; rw [this]
show (K.add K.zero (HeatPair.co K X 6)) = (HeatPair.co K X 6)
lib_ring
| 1 => by
have := CgWindow.Psi_lo K X 1 5; rw [show 1 + 5 = 6 from rfl] at this; rw [this]
show (K.add (K.add K.zero (HeatPair.co K X 5)) (HeatPair.co K X 7)) = (K.add (HeatPair.co K X 5) (HeatPair.co K X 7))
lib_ring
| 2 => by
have := CgWindow.Psi_lo K X 2 4; rw [show 2 + 4 = 6 from rfl] at this; rw [this]
show (K.add (K.add (K.add K.zero (HeatPair.co K X 4)) (HeatPair.co K X 6)) (HeatPair.co K X 8)) = (K.add (K.add (HeatPair.co K X 4) (HeatPair.co K X 6)) (HeatPair.co K X 8))
lib_ring
| 3 => by
have := CgWindow.Psi_lo K X 3 3; rw [show 3 + 3 = 6 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) = (K.add (K.add (K.add (HeatPair.co K X 3) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9))
lib_ring
| 4 => by
have := CgWindow.Psi_lo K X 4 2; rw [show 4 + 2 = 6 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 2)) (HeatPair.co K X 4)) (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10)) = (K.add (K.add (K.add (K.add (HeatPair.co K X 2) (HeatPair.co K X 4)) (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10))
lib_ring
| 5 => by
have := CgWindow.Psi_lo K X 5 1; rw [show 5 + 1 = 6 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 1)) (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11)) = (K.add (K.add (K.add (K.add (K.add (HeatPair.co K X 1) (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11))
lib_ring
| d + 6 => by
have := CgWindow.Psi_hi K X 6 d; rw [show 6 + d = d + 6 by lib_nat] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X (d + 2 * 0))) (HeatPair.co K X (d + 2 * 1))) (HeatPair.co K X (d + 2 * 2))) (HeatPair.co K X (d + 2 * 3))) (HeatPair.co K X (d + 2 * 4))) (HeatPair.co K X (d + 2 * 5))) (HeatPair.co K X (d + 2 * 6))) = (K.add (K.add (K.add (K.add (K.add (K.add (HeatPair.co K X d) (HeatPair.co K X (d + 2))) (HeatPair.co K X (d + 4))) -- (+109 chars; full line in the Zenodo source)
rw [show d + 2 * 0 = d by lib_nat, show d + 2 * 1 = d + 2 by lib_nat, show d + 2 * 2 = d + 4 by lib_nat, show d + 2 * 3 = d + 6 by lib_nat, show d + 2 * 4 = d + 8 by lib_nat, show d + 2 * 5 = d + 10 by lib_nat, show d + 2 * 6 = d + 12 by lib_nat]; lib_ring
theorem psi7 (X : List R) : ∀ j, CgWindow.Psi K X j 7 = pv7 K (HeatPair.co K X) j
| 0 => by
have := CgWindow.Psi_lo K X 0 7; rw [show 0 + 7 = 7 from rfl] at this; rw [this]
show (K.add K.zero (HeatPair.co K X 7)) = (HeatPair.co K X 7)
lib_ring
| 1 => by
have := CgWindow.Psi_lo K X 1 6; rw [show 1 + 6 = 7 from rfl] at this; rw [this]
show (K.add (K.add K.zero (HeatPair.co K X 6)) (HeatPair.co K X 8)) = (K.add (HeatPair.co K X 6) (HeatPair.co K X 8))
lib_ring
| 2 => by
have := CgWindow.Psi_lo K X 2 5; rw [show 2 + 5 = 7 from rfl] at this; rw [this]
show (K.add (K.add (K.add K.zero (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) = (K.add (K.add (HeatPair.co K X 5) (HeatPair.co K X 7)) (HeatPair.co K X 9))
lib_ring
| 3 => by
have := CgWindow.Psi_lo K X 3 4; rw [show 3 + 4 = 7 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 4)) (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10)) = (K.add (K.add (K.add (HeatPair.co K X 4) (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10))
lib_ring
| 4 => by
have := CgWindow.Psi_lo K X 4 3; rw [show 4 + 3 = 7 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11)) = (K.add (K.add (K.add (K.add (HeatPair.co K X 3) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11))
lib_ring
| 5 => by
have := CgWindow.Psi_lo K X 5 2; rw [show 5 + 2 = 7 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 2)) (HeatPair.co K X 4)) (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10)) (HeatPair.co K X 12)) = (K.add (K.add (K.add (K.add (K.add (HeatPair.co K X 2) (HeatPair.co K X 4)) (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10)) (HeatPair.co K X 12))
lib_ring
| 6 => by
have := CgWindow.Psi_lo K X 6 1; rw [show 6 + 1 = 7 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 1)) (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11)) (HeatPair.co K X 13)) = (K.add (K.add (K.add (K.add (K.add (K.add (HeatPair.co K X 1) (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11)) (HeatPair.co K X -- (+5 chars; full line in the Zenodo source)
lib_ring
| d + 7 => by
have := CgWindow.Psi_hi K X 7 d; rw [show 7 + d = d + 7 by lib_nat] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X (d + 2 * 0))) (HeatPair.co K X (d + 2 * 1))) (HeatPair.co K X (d + 2 * 2))) (HeatPair.co K X (d + 2 * 3))) (HeatPair.co K X (d + 2 * 4))) (HeatPair.co K X (d + 2 * 5))) (HeatPair.co K X (d + 2 * 6))) (HeatPair.co K X (d + 2 * 7))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (HeatPair.co K X d) (HeatPair -- (+182 chars; full line in the Zenodo source)
rw [show d + 2 * 0 = d by lib_nat, show d + 2 * 1 = d + 2 by lib_nat, show d + 2 * 2 = d + 4 by lib_nat, show d + 2 * 3 = d + 6 by lib_nat, show d + 2 * 4 = d + 8 by lib_nat, show d + 2 * 5 = d + 10 by lib_nat, show d + 2 * 6 = d + 12 by lib_nat, show d + 2 * 7 = d + 14 by lib_nat]; lib_ring
theorem psi8 (X : List R) : ∀ j, CgWindow.Psi K X j 8 = pv8 K (HeatPair.co K X) j
| 0 => by
have := CgWindow.Psi_lo K X 0 8; rw [show 0 + 8 = 8 from rfl] at this; rw [this]
show (K.add K.zero (HeatPair.co K X 8)) = (HeatPair.co K X 8)
lib_ring
| 1 => by
have := CgWindow.Psi_lo K X 1 7; rw [show 1 + 7 = 8 from rfl] at this; rw [this]
show (K.add (K.add K.zero (HeatPair.co K X 7)) (HeatPair.co K X 9)) = (K.add (HeatPair.co K X 7) (HeatPair.co K X 9))
lib_ring
| 2 => by
have := CgWindow.Psi_lo K X 2 6; rw [show 2 + 6 = 8 from rfl] at this; rw [this]
show (K.add (K.add (K.add K.zero (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10)) = (K.add (K.add (HeatPair.co K X 6) (HeatPair.co K X 8)) (HeatPair.co K X 10))
lib_ring
| 3 => by
have := CgWindow.Psi_lo K X 3 5; rw [show 3 + 5 = 8 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11)) = (K.add (K.add (K.add (HeatPair.co K X 5) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11))
lib_ring
| 4 => by
have := CgWindow.Psi_lo K X 4 4; rw [show 4 + 4 = 8 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 4)) (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10)) (HeatPair.co K X 12)) = (K.add (K.add (K.add (K.add (HeatPair.co K X 4) (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10)) (HeatPair.co K X 12))
lib_ring
| 5 => by
have := CgWindow.Psi_lo K X 5 3; rw [show 5 + 3 = 8 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11)) (HeatPair.co K X 13)) = (K.add (K.add (K.add (K.add (K.add (HeatPair.co K X 3) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11)) (HeatPair.co K X 13))
lib_ring
| 6 => by
have := CgWindow.Psi_lo K X 6 2; rw [show 6 + 2 = 8 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 2)) (HeatPair.co K X 4)) (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10)) (HeatPair.co K X 12)) (HeatPair.co K X 14)) = (K.add (K.add (K.add (K.add (K.add (K.add (HeatPair.co K X 2) (HeatPair.co K X 4)) (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10)) (HeatPair.co K X 12)) (HeatPair.co K -- (+7 chars; full line in the Zenodo source)
lib_ring
| 7 => by
have := CgWindow.Psi_lo K X 7 1; rw [show 7 + 1 = 8 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 1)) (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11)) (HeatPair.co K X 13)) (HeatPair.co K X 15)) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (HeatPair.co K X 1) (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (H -- (+63 chars; full line in the Zenodo source)
lib_ring
| d + 8 => by
have := CgWindow.Psi_hi K X 8 d; rw [show 8 + d = d + 8 by lib_nat] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X (d + 2 * 0))) (HeatPair.co K X (d + 2 * 1))) (HeatPair.co K X (d + 2 * 2))) (HeatPair.co K X (d + 2 * 3))) (HeatPair.co K X (d + 2 * 4))) (HeatPair.co K X (d + 2 * 5))) (HeatPair.co K X (d + 2 * 6))) (HeatPair.co K X (d + 2 * 7))) (HeatPair.co K X (d + 2 * 8))) = (K.add (K.add (K.add (K.add (K.add (K.ad -- (+255 chars; full line in the Zenodo source)
rw [show d + 2 * 0 = d by lib_nat, show d + 2 * 1 = d + 2 by lib_nat, show d + 2 * 2 = d + 4 by lib_nat, show d + 2 * 3 = d + 6 by lib_nat, show d + 2 * 4 = d + 8 by lib_nat, show d + 2 * 5 = d + 10 by lib_nat, show d + 2 * 6 = d + 12 by lib_nat, show d + 2 * 7 = d + 14 by lib_nat, show d + 2 * 8 = d + 16 by lib_nat]; lib_ring
theorem psi9 (X : List R) : ∀ j, CgWindow.Psi K X j 9 = pv9 K (HeatPair.co K X) j
| 0 => by
have := CgWindow.Psi_lo K X 0 9; rw [show 0 + 9 = 9 from rfl] at this; rw [this]
show (K.add K.zero (HeatPair.co K X 9)) = (HeatPair.co K X 9)
lib_ring
| 1 => by
have := CgWindow.Psi_lo K X 1 8; rw [show 1 + 8 = 9 from rfl] at this; rw [this]
show (K.add (K.add K.zero (HeatPair.co K X 8)) (HeatPair.co K X 10)) = (K.add (HeatPair.co K X 8) (HeatPair.co K X 10))
lib_ring
| 2 => by
have := CgWindow.Psi_lo K X 2 7; rw [show 2 + 7 = 9 from rfl] at this; rw [this]
show (K.add (K.add (K.add K.zero (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11)) = (K.add (K.add (HeatPair.co K X 7) (HeatPair.co K X 9)) (HeatPair.co K X 11))
lib_ring
| 3 => by
have := CgWindow.Psi_lo K X 3 6; rw [show 3 + 6 = 9 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10)) (HeatPair.co K X 12)) = (K.add (K.add (K.add (HeatPair.co K X 6) (HeatPair.co K X 8)) (HeatPair.co K X 10)) (HeatPair.co K X 12))
lib_ring
| 4 => by
have := CgWindow.Psi_lo K X 4 5; rw [show 4 + 5 = 9 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11)) (HeatPair.co K X 13)) = (K.add (K.add (K.add (K.add (HeatPair.co K X 5) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11)) (HeatPair.co K X 13))
lib_ring
| 5 => by
have := CgWindow.Psi_lo K X 5 4; rw [show 5 + 4 = 9 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 4)) (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10)) (HeatPair.co K X 12)) (HeatPair.co K X 14)) = (K.add (K.add (K.add (K.add (K.add (HeatPair.co K X 4) (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10)) (HeatPair.co K X 12)) (HeatPair.co K X 14))
lib_ring
| 6 => by
have := CgWindow.Psi_lo K X 6 3; rw [show 6 + 3 = 9 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11)) (HeatPair.co K X 13)) (HeatPair.co K X 15)) = (K.add (K.add (K.add (K.add (K.add (K.add (HeatPair.co K X 3) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11)) (HeatPair.co K X 13)) (HeatPair.co K -- (+7 chars; full line in the Zenodo source)
lib_ring
| 7 => by
have := CgWindow.Psi_lo K X 7 2; rw [show 7 + 2 = 9 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 2)) (HeatPair.co K X 4)) (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10)) (HeatPair.co K X 12)) (HeatPair.co K X 14)) (HeatPair.co K X 16)) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (HeatPair.co K X 2) (HeatPair.co K X 4)) (HeatPair.co K X 6)) (HeatPair.co K X 8)) (HeatPair.co K X 10)) -- (+65 chars; full line in the Zenodo source)
lib_ring
| 8 => by
have := CgWindow.Psi_lo K X 8 1; rw [show 8 + 1 = 9 from rfl] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X 1)) (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPair.co K X 7)) (HeatPair.co K X 9)) (HeatPair.co K X 11)) (HeatPair.co K X 13)) (HeatPair.co K X 15)) (HeatPair.co K X 17)) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (HeatPair.co K X 1) (HeatPair.co K X 3)) (HeatPair.co K X 5)) (HeatPai -- (+121 chars; full line in the Zenodo source)
lib_ring
| d + 9 => by
have := CgWindow.Psi_hi K X 9 d; rw [show 9 + d = d + 9 by lib_nat] at this; rw [this]
show (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add K.zero (HeatPair.co K X (d + 2 * 0))) (HeatPair.co K X (d + 2 * 1))) (HeatPair.co K X (d + 2 * 2))) (HeatPair.co K X (d + 2 * 3))) (HeatPair.co K X (d + 2 * 4))) (HeatPair.co K X (d + 2 * 5))) (HeatPair.co K X (d + 2 * 6))) (HeatPair.co K X (d + 2 * 7))) (HeatPair.co K X (d + 2 * 8))) (HeatPair.co K X (d + 2 * 9))) = (K -- (+328 chars; full line in the Zenodo source)
rw [show d + 2 * 0 = d by lib_nat, show d + 2 * 1 = d + 2 by lib_nat, show d + 2 * 2 = d + 4 by lib_nat, show d + 2 * 3 = d + 6 by lib_nat, show d + 2 * 4 = d + 8 by lib_nat, show d + 2 * 5 = d + 10 by lib_nat, show d + 2 * 6 = d + 12 by lib_nat, show d + 2 * 7 = d + 14 by lib_nat, show d + 2 * 8 = d + 16 by lib_nat, show d + 2 * 9 = d + 18 by lib_nat]; lib_ring
section ident
variable (x : Nat → R) (L : Nat) (hz : ∀ t, L ≤ t → x t = K.zero)
include hz in
theorem ip0 : ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (fun i => x (i + 1)) (L + 12) = (K.add (K.add (K.add (Rk K x L 8) (K.neg K.zero)) K.zero) K.zero) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 10 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 9 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 8 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 7 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 6 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 5 + 1) = _; rw [ip_z1]
show ip K x (fun i => x (i + 8)) (L + 5) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [8]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [8]) = _; rfl
include hz in
theorem ip1 : ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (fun i => x (i + 2)) (L + 12) = (K.add (K.add (K.add (Rk K x L 8) (K.neg K.zero)) K.zero) K.zero) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 10 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 9 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 8 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 7 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 6 + 1) = _; rw [ip_z1]
show ip K x (fun i => x (i + 8)) (L + 6) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [8]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [8]) = _; rfl
include hz in
theorem ip2 : ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (fun i => x (i + 2)) (L + 12) = (K.add (K.add (K.add (Rk K x L 9) (K.neg K.zero)) K.zero) K.zero) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 10 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 9 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 8 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 7 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 6 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 5 + 1) = _; rw [ip_z1]
show ip K x (fun i => x (i + 9)) (L + 5) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [9]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 9)) = (K.add (x (i + 9)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [9]) = _; rfl
include hz in
theorem ip3 : ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (fun i => x (i + 1)) (L + 12) = (K.add (K.add (K.add (Rk K x L 7) (K.neg K.zero)) K.zero) K.zero) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 10 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 9 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 8 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 7 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 6 + 1) = _; rw [ip_z1]
show ip K x (fun i => x (i + 7)) (L + 6) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [7]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [7]) = _; rfl
include hz in
theorem ip4 : ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) x (L + 12) = (K.add (K.add (K.add (Rk K x L 7) (K.neg K.zero)) K.zero) K.zero) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 10 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 9 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 8 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 7 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 6 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 5 + 1) = _; rw [ip_z1]
show ip K x (fun i => x (i + 7)) (L + 5) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [7]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [7]) = _; rfl
include hz in
theorem ip5 : ip K (fun i => x (i + 7)) (fun i => x (i + 2)) (L + 12) = (K.add (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 7)) (fun i => x (i + 2)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [2]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (x (i + 2)) = (K.add (x (i + 2)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [7] [2]) = _; rfl
include hz in
theorem ip6 : ip K (fun i => x (i + 7)) x (L + 12) = (K.add (K.add (K.add (Rk K x L 7) (K.neg K.zero)) K.zero) K.zero) := by
show ip K (fun i => x (i + 7)) x (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [0]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [7] [0]) = _; rfl
include hz in
theorem ip7 : ip K (Zs K (pv5 K x)) (fun i => x (i + 2)) (L + 12) = (K.add (K.mul (x 5) (x 3)) (K.add (K.mul (K.add (x 4) (x 6)) (x 4)) (K.add (K.mul (K.add (K.add (x 3) (x 5)) (x 7)) (x 5)) (K.add (K.mul (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8)) (x 6)) (K.add (K.mul (K.add (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (x 9)) (x 7)) (K.add (K.add (K.add (Rk K x L 8) (K.neg K.zero)) K.zero) -- (+1098 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K (pv5 K x) (fun i => x (i + 3)) (L + 11) = _
rw [show L + 11 = L + 6 + 1 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [0, 2, 4, 6, 8, 10]) _ (AVs.vsum K x [8]) (fun i => by show (K.add (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) (x (i + 10))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) (K.add (x (i + 10)) K.zero)))))); lib_ring) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.ze -- (+37 chars; full line in the Zenodo source)
show (K.add (K.mul (x 5) (x 3)) (K.add (K.mul (K.add (x 4) (x 6)) (x 4)) (K.add (K.mul (K.add (K.add (x 3) (x 5)) (x 7)) (x 5)) (K.add (K.mul (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8)) (x 6)) (K.add (K.mul (K.add (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (x 9)) (x 7)) (AVs.psum K x L [0, 2, 4, 6, 8, 10] [8])))))) = _; rfl
include hz in
theorem ip8 : ip K (Zs K (pv5 K x)) (fun i => x (i + 1)) (L + 12) = (K.add (K.mul (x 5) (x 2)) (K.add (K.mul (K.add (x 4) (x 6)) (x 3)) (K.add (K.mul (K.add (K.add (x 3) (x 5)) (x 7)) (x 4)) (K.add (K.mul (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8)) (x 5)) (K.add (K.mul (K.add (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (x 9)) (x 6)) (K.add (K.add (K.add (Rk K x L 7) (K.neg K.zero)) K.zero) -- (+1042 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K (pv5 K x) (fun i => x (i + 2)) (L + 11) = _
rw [show L + 11 = L + 6 + 1 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [0, 2, 4, 6, 8, 10]) _ (AVs.vsum K x [7]) (fun i => by show (K.add (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) (x (i + 10))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) (K.add (x (i + 10)) K.zero)))))); lib_ring) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.ze -- (+37 chars; full line in the Zenodo source)
show (K.add (K.mul (x 5) (x 2)) (K.add (K.mul (K.add (x 4) (x 6)) (x 3)) (K.add (K.mul (K.add (K.add (x 3) (x 5)) (x 7)) (x 4)) (K.add (K.mul (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8)) (x 5)) (K.add (K.mul (K.add (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (x 9)) (x 6)) (AVs.psum K x L [0, 2, 4, 6, 8, 10] [7])))))) = _; rfl
include hz in
theorem ip9 : ip K (pv6 K x) (fun i => x (i + 2)) (L + 12) = (K.add (K.mul (x 6) (x 2)) (K.add (K.mul (K.add (x 5) (x 7)) (x 3)) (K.add (K.mul (K.add (K.add (x 4) (x 6)) (x 8)) (x 4)) (K.add (K.mul (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 5)) (K.add (K.mul (K.add (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8)) (x 10)) (x 6)) (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (x 1) (x 3)) ( -- (+1476 chars; full line in the Zenodo source)
show ip K (pv6 K x) (fun i => x (i + 2)) (L + 12) = _
rw [show L + 12 = L + 6 + 1 + 1 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [0, 2, 4, 6, 8, 10, 12]) _ (AVs.vsum K x [8]) (fun i => by show (K.add (K.add (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) (x (i + 10))) (x (i + 12))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) (K.add (x (i + 10)) (K.add (x (i + 12)) K.zero))))))); lib_ring) (fun i => -- (+83 chars; full line in the Zenodo source)
show (K.add (K.mul (x 6) (x 2)) (K.add (K.mul (K.add (x 5) (x 7)) (x 3)) (K.add (K.mul (K.add (K.add (x 4) (x 6)) (x 8)) (x 4)) (K.add (K.mul (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 5)) (K.add (K.mul (K.add (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8)) (x 10)) (x 6)) (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (x 9)) (x 11)) (x 7)) (AVs.psum K x L [0, -- (+40 chars; full line in the Zenodo source)
include hz in
theorem ip10 : ip K (pv6 K x) (fun i => x (i + 1)) (L + 12) = (K.add (K.mul (x 6) (x 1)) (K.add (K.mul (K.add (x 5) (x 7)) (x 2)) (K.add (K.mul (K.add (K.add (x 4) (x 6)) (x 8)) (x 3)) (K.add (K.mul (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 4)) (K.add (K.mul (K.add (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8)) (x 10)) (x 5)) (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (x 1) (x 3)) -- (+1393 chars; full line in the Zenodo source)
show ip K (pv6 K x) (fun i => x (i + 1)) (L + 12) = _
rw [show L + 12 = L + 6 + 1 + 1 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [0, 2, 4, 6, 8, 10, 12]) _ (AVs.vsum K x [7]) (fun i => by show (K.add (K.add (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) (x (i + 10))) (x (i + 12))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) (K.add (x (i + 10)) (K.add (x (i + 12)) K.zero))))))); lib_ring) (fun i => -- (+83 chars; full line in the Zenodo source)
show (K.add (K.mul (x 6) (x 1)) (K.add (K.mul (K.add (x 5) (x 7)) (x 2)) (K.add (K.mul (K.add (K.add (x 4) (x 6)) (x 8)) (x 3)) (K.add (K.mul (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 4)) (K.add (K.mul (K.add (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8)) (x 10)) (x 5)) (K.add (K.mul (K.add (K.add (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (x 9)) (x 11)) (x 6)) (AVs.psum K x L [0, -- (+40 chars; full line in the Zenodo source)
include hz in
theorem ip11 : ip K (fun i => x (i + 5)) (fun i => x (i + 3)) (L + 12) = (K.add (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul (x 2) (x 4))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 5)) (fun i => x (i + 3)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [5]) _ (AVs.vsum K x [3]) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring) (fun i => by show (x (i + 3)) = (K.add (x (i + 3)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [5] [3]) = _; rfl
include hz in
theorem ip12 : ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (fun i => x (i + 3)) (L + 12) = (K.add (K.add (K.add (Rk K x L 9) (K.neg K.zero)) K.zero) K.zero) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 10 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 9 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 8 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 7 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 6 + 1) = _; rw [ip_z1]
show ip K x (fun i => x (i + 9)) (L + 6) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [9]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 9)) = (K.add (x (i + 9)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [9]) = _; rfl
include hz in
theorem ip13 : ip K (fun i => x (i + 5)) (fun i => x (i + 2)) (L + 12) = (K.add (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 3))) (K.mul (x 1) (x 4))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 5)) (fun i => x (i + 2)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [5]) _ (AVs.vsum K x [2]) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring) (fun i => by show (x (i + 2)) = (K.add (x (i + 2)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [5] [2]) = _; rfl
include hz in
theorem ip14 : ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) x (L + 12) = (K.add (K.add (K.add (Rk K x L 6) (K.neg K.zero)) K.zero) K.zero) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 10 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 9 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 8 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 7 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 6 + 1) = _; rw [ip_z1]
show ip K x (fun i => x (i + 6)) (L + 6) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [6]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [6]) = _; rfl
include hz in
theorem ip15 : ip K (fun i => x (i + 7)) (fun i => x (i + 3)) (L + 12) = (K.add (K.add (K.add (Rk K x L 4) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 4))) (K.mul (x 1) (x 5))) (K.mul (x 2) (x 6))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 7)) (fun i => x (i + 3)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [3]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (x (i + 3)) = (K.add (x (i + 3)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [7] [3]) = _; rfl
include hz in
theorem ip16 : ip K (Zs K (Zs K (Zs K (Zs K (Zs K x))))) (fun i => x (i + 3)) (L + 12) = (K.add (K.add (K.add (Rk K x L 8) (K.neg K.zero)) K.zero) K.zero) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 10 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 9 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 8 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 7 + 1) = _; rw [ip_z1]
show ip K x (fun i => x (i + 8)) (L + 7) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [8]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [8]) = _; rfl
include hz in
theorem ip17 : ip K (Zs K (pv3 K x)) (fun i => x (i + 4)) (L + 12) = (K.add (K.mul (x 3) (x 5)) (K.add (K.mul (K.add (x 2) (x 4)) (x 6)) (K.add (K.mul (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (K.add (K.add (K.add (Rk K x L 8) (K.neg K.zero)) K.zero) (K.add (K.add (K.add (Rk K x L 6) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 6))) (K.mul (x 1) (x 7))))) K.zero) (K.add (K.add (K.add (Rk K x L 4) (K -- (+379 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K (pv3 K x) (fun i => x (i + 5)) (L + 11) = _
rw [show L + 11 = L + 8 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [0, 2, 4, 6]) _ (AVs.vsum K x [8]) (fun i => by show (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) K.zero)))); lib_ring) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 3) (x 5)) (K.add (K.mul (K.add (x 2) (x 4)) (x 6)) (K.add (K.mul (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (AVs.psum K x L [0, 2, 4, 6] [8])))) = _; rfl
include hz in
theorem ip18 : ip K (Zs K (Zs K (Zs K (Zs K (Zs K x))))) (fun i => x (i + 4)) (L + 12) = (K.add (K.add (K.add (Rk K x L 9) (K.neg K.zero)) K.zero) K.zero) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 10 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 9 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 8 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 7 + 1) = _; rw [ip_z1]
show ip K x (fun i => x (i + 9)) (L + 7) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [9]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 9)) = (K.add (x (i + 9)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [9]) = _; rfl
include hz in
theorem ip19 : ip K (Zs K (pv3 K x)) (fun i => x (i + 3)) (L + 12) = (K.add (K.mul (x 3) (x 4)) (K.add (K.mul (K.add (x 2) (x 4)) (x 5)) (K.add (K.mul (K.add (K.add (x 1) (x 3)) (x 5)) (x 6)) (K.add (K.add (K.add (Rk K x L 7) (K.neg K.zero)) K.zero) (K.add (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))))) K.zero) (K.add (K.add (K.add (Rk K x L 3) (K -- (+379 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K (pv3 K x) (fun i => x (i + 4)) (L + 11) = _
rw [show L + 11 = L + 8 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [0, 2, 4, 6]) _ (AVs.vsum K x [7]) (fun i => by show (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) K.zero)))); lib_ring) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 3) (x 4)) (K.add (K.mul (K.add (x 2) (x 4)) (x 5)) (K.add (K.mul (K.add (K.add (x 1) (x 3)) (x 5)) (x 6)) (AVs.psum K x L [0, 2, 4, 6] [7])))) = _; rfl
include hz in
theorem ip20 : ip K (Zs K (Zs K (Zs K x))) (fun i => x (i + 5)) (L + 12) = (K.add (K.add (K.add (Rk K x L 8) (K.neg K.zero)) K.zero) K.zero) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 10 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 9 + 1) = _; rw [ip_z1]
show ip K x (fun i => x (i + 8)) (L + 9) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [8]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [8]) = _; rfl
include hz in
theorem ip21 : ip K (Zs K (c1v K x)) (fun i => x (i + 6)) (L + 12) = (K.add (K.mul (K.add K.zero (x 1)) (x 7)) (K.add (K.add (K.add (Rk K x L 8) (K.neg K.zero)) K.zero) (K.add (K.add (K.add (Rk K x L 6) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 6))) (K.mul (x 1) (x 7))))) K.zero) K.zero))) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K (c1v K x) (fun i => x (i + 7)) (L + 11) = _
rw [show L + 11 = L + 10 + 1 from rfl, ip_head]
rw [ip_ext K _ (AVs.vsum K x [0, 2]) _ (AVs.vsum K x [8]) (fun i => by show (K.add (x (i + 0)) (x (i + 2))) = (K.add (x (i + 0)) (K.add (x (i + 2)) K.zero)); lib_ring) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (K.add K.zero (x 1)) (x 7)) (AVs.psum K x L [0, 2] [8])) = _; rfl
include hz in
theorem ip22 : ip K (Zs K (Zs K (Zs K x))) (fun i => x (i + 6)) (L + 12) = (K.add (K.add (K.add (Rk K x L 9) (K.neg K.zero)) K.zero) K.zero) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 10 + 1) = _; rw [ip_z1]
show ip K _ _ (L + 9 + 1) = _; rw [ip_z1]
show ip K x (fun i => x (i + 9)) (L + 9) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [9]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 9)) = (K.add (x (i + 9)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [9]) = _; rfl
include hz in
theorem ip23 : ip K (Zs K (c1v K x)) (fun i => x (i + 5)) (L + 12) = (K.add (K.mul (K.add K.zero (x 1)) (x 6)) (K.add (K.add (K.add (Rk K x L 7) (K.neg K.zero)) K.zero) (K.add (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))))) K.zero) K.zero))) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K (c1v K x) (fun i => x (i + 6)) (L + 11) = _
rw [show L + 11 = L + 10 + 1 from rfl, ip_head]
rw [ip_ext K _ (AVs.vsum K x [0, 2]) _ (AVs.vsum K x [7]) (fun i => by show (K.add (x (i + 0)) (x (i + 2))) = (K.add (x (i + 0)) (K.add (x (i + 2)) K.zero)); lib_ring) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (K.add K.zero (x 1)) (x 6)) (AVs.psum K x L [0, 2] [7])) = _; rfl
include hz in
theorem ip24 : ip K (Zs K x) (Zs K (pv8 K x)) (L + 12) = (K.add (K.mul (x 0) (x 8)) (K.add (K.mul (x 1) (K.add (x 7) (x 9))) (K.add (K.mul (x 2) (K.add (K.add (x 6) (x 8)) (x 10))) (K.add (K.mul (x 3) (K.add (K.add (K.add (x 5) (x 7)) (x 9)) (x 11))) (K.add (K.mul (x 4) (K.add (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10)) (x 12))) (K.add (K.mul (x 5) (K.add (K.add (K.add (K.add (K.add (x 3) (x -- (+2176 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_zz]
show ip K x (pv8 K x) (L + 11) = _
rw [show L + 11 = L + 3 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [8]) _ (AVs.vsum K x [0, 2, 4, 6, 8, 10, 12, 14, 16]) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) (x (i + 10))) (x (i + 12))) (x (i + 14))) (x (i + 16))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x ( -- (+175 chars; full line in the Zenodo source)
show (K.add (K.mul (x 0) (x 8)) (K.add (K.mul (x 1) (K.add (x 7) (x 9))) (K.add (K.mul (x 2) (K.add (K.add (x 6) (x 8)) (x 10))) (K.add (K.mul (x 3) (K.add (K.add (K.add (x 5) (x 7)) (x 9)) (x 11))) (K.add (K.mul (x 4) (K.add (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10)) (x 12))) (K.add (K.mul (x 5) (K.add (K.add (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 11)) (x 13))) (K.add (K.mul ( -- (+296 chars; full line in the Zenodo source)
include hz in
theorem ip25 : ip K x (Zs K (pv7 K x)) (L + 12) = (K.add (K.mul (x 1) (x 7)) (K.add (K.mul (x 2) (K.add (x 6) (x 8))) (K.add (K.mul (x 3) (K.add (K.add (x 5) (x 7)) (x 9))) (K.add (K.mul (x 4) (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10))) (K.add (K.mul (x 5) (K.add (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 11))) (K.add (K.mul (x 6) (K.add (K.add (K.add (K.add (K.add (x 2) (x 4)) (x 6) -- (+1763 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 1)) (pv7 K x) (L + 11) = _
rw [show L + 11 = L + 4 + 1 + 1 + 1 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [8]) _ (AVs.vsum K x [0, 2, 4, 6, 8, 10, 12, 14]) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) (x (i + 10))) (x (i + 12))) (x (i + 14))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6) -- (+129 chars; full line in the Zenodo source)
show (K.add (K.mul (x 1) (x 7)) (K.add (K.mul (x 2) (K.add (x 6) (x 8))) (K.add (K.mul (x 3) (K.add (K.add (x 5) (x 7)) (x 9))) (K.add (K.mul (x 4) (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10))) (K.add (K.mul (x 5) (K.add (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 11))) (K.add (K.mul (x 6) (K.add (K.add (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8)) (x 10)) (x 12))) (K.add (K.mul (x -- (+160 chars; full line in the Zenodo source)
include hz in
theorem ip26 : ip K (Zs K x) (Zs K (pv7 K x)) (L + 12) = (K.add (K.mul (x 0) (x 7)) (K.add (K.mul (x 1) (K.add (x 6) (x 8))) (K.add (K.mul (x 2) (K.add (K.add (x 5) (x 7)) (x 9))) (K.add (K.mul (x 3) (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10))) (K.add (K.mul (x 4) (K.add (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 11))) (K.add (K.mul (x 5) (K.add (K.add (K.add (K.add (K.add (x 2) (x 4) -- (+1658 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_zz]
show ip K x (pv7 K x) (L + 11) = _
rw [show L + 11 = L + 4 + 1 + 1 + 1 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [0, 2, 4, 6, 8, 10, 12, 14]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) (x (i + 10))) (x (i + 12))) (x (i + 14))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6) -- (+129 chars; full line in the Zenodo source)
show (K.add (K.mul (x 0) (x 7)) (K.add (K.mul (x 1) (K.add (x 6) (x 8))) (K.add (K.mul (x 2) (K.add (K.add (x 5) (x 7)) (x 9))) (K.add (K.mul (x 3) (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10))) (K.add (K.mul (x 4) (K.add (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 11))) (K.add (K.mul (x 5) (K.add (K.add (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8)) (x 10)) (x 12))) (K.add (K.mul (x -- (+160 chars; full line in the Zenodo source)
include hz in
theorem ip27 : ip K x (Zs K (pv8 K x)) (L + 12) = (K.add (K.mul (x 1) (x 8)) (K.add (K.mul (x 2) (K.add (x 7) (x 9))) (K.add (K.mul (x 3) (K.add (K.add (x 6) (x 8)) (x 10))) (K.add (K.mul (x 4) (K.add (K.add (K.add (x 5) (x 7)) (x 9)) (x 11))) (K.add (K.mul (x 5) (K.add (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10)) (x 12))) (K.add (K.mul (x 6) (K.add (K.add (K.add (K.add (K.add (x 3) (x 5)) (x -- (+2281 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 1)) (pv8 K x) (L + 11) = _
rw [show L + 11 = L + 3 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [9]) _ (AVs.vsum K x [0, 2, 4, 6, 8, 10, 12, 14, 16]) (fun i => by show (x (i + 9)) = (K.add (x (i + 9)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) (x (i + 10))) (x (i + 12))) (x (i + 14))) (x (i + 16))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x ( -- (+175 chars; full line in the Zenodo source)
show (K.add (K.mul (x 1) (x 8)) (K.add (K.mul (x 2) (K.add (x 7) (x 9))) (K.add (K.mul (x 3) (K.add (K.add (x 6) (x 8)) (x 10))) (K.add (K.mul (x 4) (K.add (K.add (K.add (x 5) (x 7)) (x 9)) (x 11))) (K.add (K.mul (x 5) (K.add (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10)) (x 12))) (K.add (K.mul (x 6) (K.add (K.add (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 11)) (x 13))) (K.add (K.mul ( -- (+296 chars; full line in the Zenodo source)
include hz in
theorem ip28 : ip K (Zs K x) (fun i => x (i + 5)) (L + 12) = (K.add (K.add (K.add (Rk K x L 6) (K.neg K.zero)) K.zero) K.zero) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K x (fun i => x (i + 6)) (L + 11) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [6]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [6]) = _; rfl
include hz in
theorem ip29 : ip K (fun i => x (i + 4)) (fun i => x (i + 6)) (L + 12) = (K.add (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul (x 2) (x 4))) (K.mul (x 3) (x 5))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 4)) (fun i => x (i + 6)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [4]) _ (AVs.vsum K x [6]) (fun i => by show (x (i + 4)) = (K.add (x (i + 4)) K.zero); lib_ring) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [4] [6]) = _; rfl
include hz in
theorem ip30 : ip K (Zs K x) (fun i => x (i + 6)) (L + 12) = (K.add (K.add (K.add (Rk K x L 7) (K.neg K.zero)) K.zero) K.zero) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K x (fun i => x (i + 7)) (L + 11) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [7]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [7]) = _; rfl
include hz in
theorem ip31 : ip K (fun i => x (i + 4)) (fun i => x (i + 5)) (L + 12) = (K.add (K.add (K.add (Rk K x L 1) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 1))) (K.mul (x 1) (x 2))) (K.mul (x 2) (x 3))) (K.mul (x 3) (x 4))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 4)) (fun i => x (i + 5)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [4]) _ (AVs.vsum K x [5]) (fun i => by show (x (i + 4)) = (K.add (x (i + 4)) K.zero); lib_ring) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [4] [5]) = _; rfl
include hz in
theorem ip32 : ip K (Zs K x) (fun i => x (i + 7)) (L + 12) = (K.add (K.add (K.add (Rk K x L 8) (K.neg K.zero)) K.zero) K.zero) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K x (fun i => x (i + 8)) (L + 11) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [8]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [8]) = _; rfl
include hz in
theorem ip33 : ip K (Zs K (c1v K x)) (fun i => x (i + 7)) (L + 12) = (K.add (K.mul (K.add K.zero (x 1)) (x 8)) (K.add (K.add (K.add (Rk K x L 9) (K.neg K.zero)) K.zero) (K.add (K.add (K.add (Rk K x L 7) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 7))) (K.mul (x 1) (x 8))))) K.zero) K.zero))) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_z1]
show ip K (c1v K x) (fun i => x (i + 8)) (L + 11) = _
rw [show L + 11 = L + 10 + 1 from rfl, ip_head]
rw [ip_ext K _ (AVs.vsum K x [0, 2]) _ (AVs.vsum K x [9]) (fun i => by show (K.add (x (i + 0)) (x (i + 2))) = (K.add (x (i + 0)) (K.add (x (i + 2)) K.zero)); lib_ring) (fun i => by show (x (i + 9)) = (K.add (x (i + 9)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (K.add K.zero (x 1)) (x 8)) (AVs.psum K x L [0, 2] [9])) = _; rfl
include hz in
theorem ip34 : ip K x (Zs K (pv4 K (fun i => x (i + 2)))) (L + 12) = (K.add (K.mul (x 1) (x 6)) (K.add (K.mul (x 2) (K.add (x 5) (x 7))) (K.add (K.mul (x 3) (K.add (K.add (x 4) (x 6)) (x 8))) (K.add (K.mul (x 4) (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9))) (K.add (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 3))) (K.mul (x 1) (x 4))))) (K.add (K.add (Rk K x L 1) (K.neg -- (+700 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 1)) (pv4 K (fun i => x (i + 2))) (L + 11) = _
rw [show L + 11 = L + 7 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [5]) _ (AVs.vsum K x [2, 4, 6, 8, 10]) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (x (i + 2)) (x (i + 4))) (x (i + 6))) (x (i + 8))) (x (i + 10))) = (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) (K.add (x (i + 10)) K.zero))))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 1) (x 6)) (K.add (K.mul (x 2) (K.add (x 5) (x 7))) (K.add (K.mul (x 3) (K.add (K.add (x 4) (x 6)) (x 8))) (K.add (K.mul (x 4) (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9))) (AVs.psum K x L [5] [2, 4, 6, 8, 10]))))) = _; rfl
include hz in
theorem ip35 : ip K (fun i => x (i + 2)) (fun i => x (i + 7)) (L + 12) = (K.add (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 2)) (fun i => x (i + 7)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [2]) _ (AVs.vsum K x [7]) (fun i => by show (x (i + 2)) = (K.add (x (i + 2)) K.zero); lib_ring) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [2] [7]) = _; rfl
include hz in
theorem ip36 : ip K x (fun i => x (i + 7)) (L + 12) = (K.add (K.add (K.add (Rk K x L 7) (K.neg K.zero)) K.zero) K.zero) := by
show ip K x (fun i => x (i + 7)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [7]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [7]) = _; rfl
include hz in
theorem ip37 : ip K (fun i => x (i + 2)) (Zs K (pv4 K (fun i => x (i + 2)))) (L + 12) = (K.add (K.mul (x 3) (x 6)) (K.add (K.mul (x 4) (K.add (x 5) (x 7))) (K.add (K.mul (x 5) (K.add (K.add (x 4) (x 6)) (x 8))) (K.add (K.mul (x 6) (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9))) (K.add (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))))) (K.add (K.add -- (+859 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 3)) (pv4 K (fun i => x (i + 2))) (L + 11) = _
rw [show L + 11 = L + 7 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [2, 4, 6, 8, 10]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (x (i + 2)) (x (i + 4))) (x (i + 6))) (x (i + 8))) (x (i + 10))) = (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) (K.add (x (i + 10)) K.zero))))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 3) (x 6)) (K.add (K.mul (x 4) (K.add (x 5) (x 7))) (K.add (K.mul (x 5) (K.add (K.add (x 4) (x 6)) (x 8))) (K.add (K.mul (x 6) (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9))) (AVs.psum K x L [7] [2, 4, 6, 8, 10]))))) = _; rfl
include hz in
theorem ip38 : ip K x (Zs K (pv4 K (fun i => x (i + 3)))) (L + 12) = (K.add (K.mul (x 1) (x 7)) (K.add (K.mul (x 2) (K.add (x 6) (x 8))) (K.add (K.mul (x 3) (K.add (K.add (x 5) (x 7)) (x 9))) (K.add (K.mul (x 4) (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10))) (K.add (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul (x 2) (x 4))))) (K.a -- (+758 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 1)) (pv4 K (fun i => x (i + 3))) (L + 11) = _
rw [show L + 11 = L + 7 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [5]) _ (AVs.vsum K x [3, 5, 7, 9, 11]) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (x (i + 3)) (x (i + 5))) (x (i + 7))) (x (i + 9))) (x (i + 11))) = (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) (K.add (x (i + 9)) (K.add (x (i + 11)) K.zero))))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 1) (x 7)) (K.add (K.mul (x 2) (K.add (x 6) (x 8))) (K.add (K.mul (x 3) (K.add (K.add (x 5) (x 7)) (x 9))) (K.add (K.mul (x 4) (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10))) (AVs.psum K x L [5] [3, 5, 7, 9, 11]))))) = _; rfl
include hz in
theorem ip39 : ip K (fun i => x (i + 2)) (Zs K (pv2 K (fun i => x (i + 3)))) (L + 12) = (K.add (K.mul (x 3) (x 5)) (K.add (K.mul (x 4) (K.add (x 4) (x 6))) (K.add (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul (x 2) (x 4))))) (K.add (K.add (Rk K x L 0) (K.neg (K.add (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 0))) (K.mul (x 1) -- (+281 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 3)) (pv2 K (fun i => x (i + 3))) (L + 11) = _
rw [show L + 11 = L + 9 + 1 + 1 from rfl, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [5]) _ (AVs.vsum K x [3, 5, 7]) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring) (fun i => by show (K.add (K.add (x (i + 3)) (x (i + 5))) (x (i + 7))) = (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) K.zero))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 3) (x 5)) (K.add (K.mul (x 4) (K.add (x 4) (x 6))) (AVs.psum K x L [5] [3, 5, 7]))) = _; rfl
include hz in
theorem ip40 : ip K x (Zs K (pv2 K (fun i => x (i + 3)))) (L + 12) = (K.add (K.mul (x 1) (x 5)) (K.add (K.mul (x 2) (K.add (x 4) (x 6))) (K.add (K.add (K.add (Rk K x L 0) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 0))) (K.mul (x 1) (x 1))) (K.mul (x 2) (x 2))))) (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul (x 2) (x 4))))) (K -- (+150 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 1)) (pv2 K (fun i => x (i + 3))) (L + 11) = _
rw [show L + 11 = L + 9 + 1 + 1 from rfl, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [3]) _ (AVs.vsum K x [3, 5, 7]) (fun i => by show (x (i + 3)) = (K.add (x (i + 3)) K.zero); lib_ring) (fun i => by show (K.add (K.add (x (i + 3)) (x (i + 5))) (x (i + 7))) = (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) K.zero))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 1) (x 5)) (K.add (K.mul (x 2) (K.add (x 4) (x 6))) (AVs.psum K x L [3] [3, 5, 7]))) = _; rfl
include hz in
theorem ip41 : ip K (fun i => x (i + 2)) (Zs K (pv4 K (fun i => x (i + 3)))) (L + 12) = (K.add (K.mul (x 3) (x 7)) (K.add (K.mul (x 4) (K.add (x 6) (x 8))) (K.add (K.mul (x 5) (K.add (K.add (x 5) (x 7)) (x 9))) (K.add (K.mul (x 6) (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10))) (K.add (K.add (K.add (Rk K x L 4) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 4))) (K.mul (x 1) (x 5))) (K.mul ( -- (+945 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 3)) (pv4 K (fun i => x (i + 3))) (L + 11) = _
rw [show L + 11 = L + 7 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [3, 5, 7, 9, 11]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (x (i + 3)) (x (i + 5))) (x (i + 7))) (x (i + 9))) (x (i + 11))) = (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) (K.add (x (i + 9)) (K.add (x (i + 11)) K.zero))))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 3) (x 7)) (K.add (K.mul (x 4) (K.add (x 6) (x 8))) (K.add (K.mul (x 5) (K.add (K.add (x 5) (x 7)) (x 9))) (K.add (K.mul (x 6) (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10))) (AVs.psum K x L [7] [3, 5, 7, 9, 11]))))) = _; rfl
include hz in
theorem ip42 : ip K x (pv4 K (fun i => x (i + 3))) (L + 12) = (K.add (K.mul (x 0) (x 7)) (K.add (K.mul (x 1) (K.add (x 6) (x 8))) (K.add (K.mul (x 2) (K.add (K.add (x 5) (x 7)) (x 9))) (K.add (K.mul (x 3) (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10))) (K.add (K.add (K.add (Rk K x L 1) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 1))) (K.mul (x 1) (x 2))) (K.mul (x 2) (x 3))))) (K.add (K.a -- (+639 chars; full line in the Zenodo source)
show ip K x (pv4 K (fun i => x (i + 3))) (L + 12) = _
rw [show L + 12 = L + 8 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [4]) _ (AVs.vsum K x [3, 5, 7, 9, 11]) (fun i => by show (x (i + 4)) = (K.add (x (i + 4)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (x (i + 3)) (x (i + 5))) (x (i + 7))) (x (i + 9))) (x (i + 11))) = (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) (K.add (x (i + 9)) (K.add (x (i + 11)) K.zero))))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 0) (x 7)) (K.add (K.mul (x 1) (K.add (x 6) (x 8))) (K.add (K.mul (x 2) (K.add (K.add (x 5) (x 7)) (x 9))) (K.add (K.mul (x 3) (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10))) (AVs.psum K x L [4] [3, 5, 7, 9, 11]))))) = _; rfl
include hz in
theorem ip43 : ip K (fun i => x (i + 3)) (fun i => x (i + 6)) (L + 12) = (K.add (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 3))) (K.mul (x 1) (x 4))) (K.mul (x 2) (x 5))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 3)) (fun i => x (i + 6)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [3]) _ (AVs.vsum K x [6]) (fun i => by show (x (i + 3)) = (K.add (x (i + 3)) K.zero); lib_ring) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [3] [6]) = _; rfl
include hz in
theorem ip44 : ip K x (fun i => x (i + 6)) (L + 12) = (K.add (K.add (K.add (Rk K x L 6) (K.neg K.zero)) K.zero) K.zero) := by
show ip K x (fun i => x (i + 6)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [0]) _ (AVs.vsum K x [6]) (fun i => by show (x (i + 0)) = (K.add (x (i + 0)) K.zero); lib_ring) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [0] [6]) = _; rfl
end ident
end GenA7
lean_all/ym/GenA7Bp01.lean
/-
ym/GenA7Bp01 — T45, G54: part of the generated base of (A) (GenA7B split by cert/A/gen/split_base.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7Bp00
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section ident
variable (x : Nat → R) (L : Nat) (hz : ∀ t, L ≤ t → x t = K.zero)
include hz in
theorem ip45 : ip K (fun i => x (i + 3)) (pv4 K (fun i => x (i + 3))) (L + 12) = (K.add (K.mul (x 3) (x 7)) (K.add (K.mul (x 4) (K.add (x 6) (x 8))) (K.add (K.mul (x 5) (K.add (K.add (x 5) (x 7)) (x 9))) (K.add (K.mul (x 6) (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10))) (K.add (K.add (K.add (Rk K x L 4) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 4))) (K.mul (x 1) (x 5))) (K.mul (x 2) (x -- (+938 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 3)) (pv4 K (fun i => x (i + 3))) (L + 12) = _
rw [show L + 12 = L + 8 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [3, 5, 7, 9, 11]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (x (i + 3)) (x (i + 5))) (x (i + 7))) (x (i + 9))) (x (i + 11))) = (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) (K.add (x (i + 9)) (K.add (x (i + 11)) K.zero))))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 3) (x 7)) (K.add (K.mul (x 4) (K.add (x 6) (x 8))) (K.add (K.mul (x 5) (K.add (K.add (x 5) (x 7)) (x 9))) (K.add (K.mul (x 6) (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10))) (AVs.psum K x L [7] [3, 5, 7, 9, 11]))))) = _; rfl
include hz in
theorem ip46 : ip K x (Zs K (pv3 K (fun i => x (i + 2)))) (L + 12) = (K.add (K.mul (x 1) (x 5)) (K.add (K.mul (x 2) (K.add (x 4) (x 6))) (K.add (K.mul (x 3) (K.add (K.add (x 3) (x 5)) (x 7))) (K.add (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))))) (K.add (K.add (Rk K x L 0) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 0))) (K.mul (x 1) -- (+390 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 1)) (pv3 K (fun i => x (i + 2))) (L + 11) = _
rw [show L + 11 = L + 8 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [4]) _ (AVs.vsum K x [2, 4, 6, 8]) (fun i => by show (x (i + 4)) = (K.add (x (i + 4)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (x (i + 2)) (x (i + 4))) (x (i + 6))) (x (i + 8))) = (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) K.zero)))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 1) (x 5)) (K.add (K.mul (x 2) (K.add (x 4) (x 6))) (K.add (K.mul (x 3) (K.add (K.add (x 3) (x 5)) (x 7))) (AVs.psum K x L [4] [2, 4, 6, 8])))) = _; rfl
include hz in
theorem ip47 : ip K (fun i => x (i + 3)) (fun i => x (i + 7)) (L + 12) = (K.add (K.add (K.add (Rk K x L 4) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 4))) (K.mul (x 1) (x 5))) (K.mul (x 2) (x 6))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 3)) (fun i => x (i + 7)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [3]) _ (AVs.vsum K x [7]) (fun i => by show (x (i + 3)) = (K.add (x (i + 3)) K.zero); lib_ring) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [3] [7]) = _; rfl
include hz in
theorem ip48 : ip K (fun i => x (i + 3)) (Zs K (pv3 K (fun i => x (i + 2)))) (L + 12) = (K.add (K.mul (x 4) (x 5)) (K.add (K.mul (x 5) (K.add (x 4) (x 6))) (K.add (K.mul (x 6) (K.add (K.add (x 3) (x 5)) (x 7))) (K.add (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))))) (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) ( -- (+549 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 4)) (pv3 K (fun i => x (i + 2))) (L + 11) = _
rw [show L + 11 = L + 8 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [2, 4, 6, 8]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (x (i + 2)) (x (i + 4))) (x (i + 6))) (x (i + 8))) = (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) K.zero)))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 4) (x 5)) (K.add (K.mul (x 5) (K.add (x 4) (x 6))) (K.add (K.mul (x 6) (K.add (K.add (x 3) (x 5)) (x 7))) (AVs.psum K x L [7] [2, 4, 6, 8])))) = _; rfl
include hz in
theorem ip49 : ip K (fun i => x (i + 1)) (Zs K (pv2 K (fun i => x (i + 3)))) (L + 12) = (K.add (K.mul (x 2) (x 5)) (K.add (K.mul (x 3) (K.add (x 4) (x 6))) (K.add (K.add (K.add (Rk K x L 1) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 1))) (K.mul (x 1) (x 2))) (K.mul (x 2) (x 3))))) (K.add (K.add (Rk K x L 1) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 1))) (K.mul (x 1) (x 2))) -- (+225 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 2)) (pv2 K (fun i => x (i + 3))) (L + 11) = _
rw [show L + 11 = L + 9 + 1 + 1 from rfl, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [4]) _ (AVs.vsum K x [3, 5, 7]) (fun i => by show (x (i + 4)) = (K.add (x (i + 4)) K.zero); lib_ring) (fun i => by show (K.add (K.add (x (i + 3)) (x (i + 5))) (x (i + 7))) = (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) K.zero))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 2) (x 5)) (K.add (K.mul (x 3) (K.add (x 4) (x 6))) (AVs.psum K x L [4] [3, 5, 7]))) = _; rfl
include hz in
theorem ip50 : ip K (fun i => x (i + 1)) (fun i => x (i + 6)) (L + 12) = (K.add (K.add (K.add (Rk K x L 5) (K.neg (K.add K.zero (K.mul (x 0) (x 5))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 1)) (fun i => x (i + 6)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [1]) _ (AVs.vsum K x [6]) (fun i => by show (x (i + 1)) = (K.add (x (i + 1)) K.zero); lib_ring) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [1] [6]) = _; rfl
include hz in
theorem ip51 : ip K (fun i => x (i + 3)) (Zs K (pv2 K (fun i => x (i + 3)))) (L + 12) = (K.add (K.mul (x 4) (x 5)) (K.add (K.mul (x 5) (K.add (x 4) (x 6))) (K.add (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 3))) (K.mul (x 1) (x 4))) (K.mul (x 2) (x 5))))) (K.add (K.add (Rk K x L 1) (K.neg (K.add (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 1))) (K.mul (x 1) -- (+309 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 4)) (pv2 K (fun i => x (i + 3))) (L + 11) = _
rw [show L + 11 = L + 9 + 1 + 1 from rfl, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [6]) _ (AVs.vsum K x [3, 5, 7]) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring) (fun i => by show (K.add (K.add (x (i + 3)) (x (i + 5))) (x (i + 7))) = (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) K.zero))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 4) (x 5)) (K.add (K.mul (x 5) (K.add (x 4) (x 6))) (AVs.psum K x L [6] [3, 5, 7]))) = _; rfl
include hz in
theorem ip52 : ip K (fun i => x (i + 1)) (Zs K (pv3 K (fun i => x (i + 1)))) (L + 12) = (K.add (K.mul (x 2) (x 4)) (K.add (K.mul (x 3) (K.add (x 3) (x 5))) (K.add (K.mul (x 4) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.add (K.add (Rk K x L 4) (K.neg (K.add K.zero (K.mul (x 0) (x 4))))) (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul -- (+409 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 2)) (pv3 K (fun i => x (i + 1))) (L + 11) = _
rw [show L + 11 = L + 8 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [5]) _ (AVs.vsum K x [1, 3, 5, 7]) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (x (i + 1)) (x (i + 3))) (x (i + 5))) (x (i + 7))) = (K.add (x (i + 1)) (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) K.zero)))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 2) (x 4)) (K.add (K.mul (x 3) (K.add (x 3) (x 5))) (K.add (K.mul (x 4) (K.add (K.add (x 2) (x 4)) (x 6))) (AVs.psum K x L [5] [1, 3, 5, 7])))) = _; rfl
include hz in
theorem ip53 : ip K (fun i => x (i + 1)) (fun i => x (i + 7)) (L + 12) = (K.add (K.add (K.add (Rk K x L 6) (K.neg (K.add K.zero (K.mul (x 0) (x 6))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 1)) (fun i => x (i + 7)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [1]) _ (AVs.vsum K x [7]) (fun i => by show (x (i + 1)) = (K.add (x (i + 1)) K.zero); lib_ring) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [1] [7]) = _; rfl
include hz in
theorem ip54 : ip K (fun i => x (i + 3)) (Zs K (pv3 K (fun i => x (i + 1)))) (L + 12) = (K.add (K.mul (x 4) (x 4)) (K.add (K.mul (x 5) (K.add (x 3) (x 5))) (K.add (K.mul (x 6) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.add (K.add (Rk K x L 6) (K.neg (K.add K.zero (K.mul (x 0) (x 6))))) (K.add (K.add (Rk K x L 4) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 4))) (K.mul (x 1) (x 5))) (K.mul -- (+465 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 4)) (pv3 K (fun i => x (i + 1))) (L + 11) = _
rw [show L + 11 = L + 8 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [1, 3, 5, 7]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (x (i + 1)) (x (i + 3))) (x (i + 5))) (x (i + 7))) = (K.add (x (i + 1)) (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) K.zero)))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 4) (x 4)) (K.add (K.mul (x 5) (K.add (x 3) (x 5))) (K.add (K.mul (x 6) (K.add (K.add (x 2) (x 4)) (x 6))) (AVs.psum K x L [7] [1, 3, 5, 7])))) = _; rfl
include hz in
theorem ip55 : ip K (fun i => x (i + 1)) (fun i => x (i + 5)) (L + 12) = (K.add (K.add (K.add (Rk K x L 4) (K.neg (K.add K.zero (K.mul (x 0) (x 4))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 1)) (fun i => x (i + 5)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [1]) _ (AVs.vsum K x [5]) (fun i => by show (x (i + 1)) = (K.add (x (i + 1)) K.zero); lib_ring) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [1] [5]) = _; rfl
include hz in
theorem ip56 : ip K (fun i => x (i + 4)) (Zs K (pv2 K (fun i => x (i + 3)))) (L + 12) = (K.add (K.mul (x 5) (x 5)) (K.add (K.mul (x 6) (K.add (x 4) (x 6))) (K.add (K.add (K.add (Rk K x L 4) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 4))) (K.mul (x 1) (x 5))) (K.mul (x 2) (x 6))))) (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) -- (+337 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 5)) (pv2 K (fun i => x (i + 3))) (L + 11) = _
rw [show L + 11 = L + 9 + 1 + 1 from rfl, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [3, 5, 7]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (x (i + 3)) (x (i + 5))) (x (i + 7))) = (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) K.zero))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 5) (x 5)) (K.add (K.mul (x 6) (K.add (x 4) (x 6))) (AVs.psum K x L [7] [3, 5, 7]))) = _; rfl
include hz in
theorem ip57 : ip K (fun i => x (i + 4)) (Zs K (pv3 K (fun i => x (i + 1)))) (L + 12) = (K.add (K.mul (x 5) (x 4)) (K.add (K.mul (x 6) (K.add (x 3) (x 5))) (K.add (K.mul (x 7) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.add (K.add (Rk K x L 7) (K.neg (K.add K.zero (K.mul (x 0) (x 7))))) (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))) (K.mul -- (+465 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 5)) (pv3 K (fun i => x (i + 1))) (L + 11) = _
rw [show L + 11 = L + 8 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [8]) _ (AVs.vsum K x [1, 3, 5, 7]) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (x (i + 1)) (x (i + 3))) (x (i + 5))) (x (i + 7))) = (K.add (x (i + 1)) (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) K.zero)))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 5) (x 4)) (K.add (K.mul (x 6) (K.add (x 3) (x 5))) (K.add (K.mul (x 7) (K.add (K.add (x 2) (x 4)) (x 6))) (AVs.psum K x L [8] [1, 3, 5, 7])))) = _; rfl
include hz in
theorem ip58 : ip K (fun i => x (i + 1)) (pv3 K (fun i => x (i + 2))) (L + 12) = (K.add (K.mul (x 1) (x 5)) (K.add (K.mul (x 2) (K.add (x 4) (x 6))) (K.add (K.mul (x 3) (K.add (K.add (x 3) (x 5)) (x 7))) (K.add (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))))) (K.add (K.add (Rk K x L 0) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 0))) -- (+402 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 1)) (pv3 K (fun i => x (i + 2))) (L + 12) = _
rw [show L + 12 = L + 9 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [4]) _ (AVs.vsum K x [2, 4, 6, 8]) (fun i => by show (x (i + 4)) = (K.add (x (i + 4)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (x (i + 2)) (x (i + 4))) (x (i + 6))) (x (i + 8))) = (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) K.zero)))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 1) (x 5)) (K.add (K.mul (x 2) (K.add (x 4) (x 6))) (K.add (K.mul (x 3) (K.add (K.add (x 3) (x 5)) (x 7))) (AVs.psum K x L [4] [2, 4, 6, 8])))) = _; rfl
include hz in
theorem ip59 : ip K (fun i => x (i + 4)) (pv3 K (fun i => x (i + 2))) (L + 12) = (K.add (K.mul (x 4) (x 5)) (K.add (K.mul (x 5) (K.add (x 4) (x 6))) (K.add (K.mul (x 6) (K.add (K.add (x 3) (x 5)) (x 7))) (K.add (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))))) (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 3))) -- (+542 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 4)) (pv3 K (fun i => x (i + 2))) (L + 12) = _
rw [show L + 12 = L + 9 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [2, 4, 6, 8]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (x (i + 2)) (x (i + 4))) (x (i + 6))) (x (i + 8))) = (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) K.zero)))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 4) (x 5)) (K.add (K.mul (x 5) (K.add (x 4) (x 6))) (K.add (K.mul (x 6) (K.add (K.add (x 3) (x 5)) (x 7))) (AVs.psum K x L [7] [2, 4, 6, 8])))) = _; rfl
include hz in
theorem ip60 : ip K (fun i => x (i + 1)) (Zs K (pv1 K (fun i => x (i + 3)))) (L + 12) = (K.add (K.mul (x 2) (x 4)) (K.add (K.add (K.add (Rk K x L 0) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 0))) (K.mul (x 1) (x 1))) (K.mul (x 2) (x 2))))) (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul (x 2) (x 4))))) K.zero)) K.zero)) := by
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 2)) (pv1 K (fun i => x (i + 3))) (L + 11) = _
rw [show L + 11 = L + 10 + 1 from rfl, ip_head]
rw [ip_ext K _ (AVs.vsum K x [3]) _ (AVs.vsum K x [3, 5]) (fun i => by show (x (i + 3)) = (K.add (x (i + 3)) K.zero); lib_ring) (fun i => by show (K.add (x (i + 3)) (x (i + 5))) = (K.add (x (i + 3)) (K.add (x (i + 5)) K.zero)); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 2) (x 4)) (AVs.psum K x L [3] [3, 5])) = _; rfl
include hz in
theorem ip61 : ip K (fun i => x (i + 4)) (Zs K (pv1 K (fun i => x (i + 3)))) (L + 12) = (K.add (K.mul (x 5) (x 4)) (K.add (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 3))) (K.mul (x 1) (x 4))) (K.mul (x 2) (x 5))))) (K.add (K.add (Rk K x L 1) (K.neg (K.add (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 1))) (K.mul (x 1) (x 2))) (K.mul (x 2) (x 3))) (K.mul (x 3) -- (+55 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 5)) (pv1 K (fun i => x (i + 3))) (L + 11) = _
rw [show L + 11 = L + 10 + 1 from rfl, ip_head]
rw [ip_ext K _ (AVs.vsum K x [6]) _ (AVs.vsum K x [3, 5]) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring) (fun i => by show (K.add (x (i + 3)) (x (i + 5))) = (K.add (x (i + 3)) (K.add (x (i + 5)) K.zero)); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 5) (x 4)) (AVs.psum K x L [6] [3, 5])) = _; rfl
include hz in
theorem ip62 : ip K (fun i => x (i + 1)) (pv2 K (fun i => x (i + 3))) (L + 12) = (K.add (K.mul (x 1) (x 5)) (K.add (K.mul (x 2) (K.add (x 4) (x 6))) (K.add (K.add (K.add (Rk K x L 0) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 0))) (K.mul (x 1) (x 1))) (K.mul (x 2) (x 2))))) (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul (x 2) -- (+162 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 1)) (pv2 K (fun i => x (i + 3))) (L + 12) = _
rw [show L + 12 = L + 10 + 1 + 1 from rfl, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [3]) _ (AVs.vsum K x [3, 5, 7]) (fun i => by show (x (i + 3)) = (K.add (x (i + 3)) K.zero); lib_ring) (fun i => by show (K.add (K.add (x (i + 3)) (x (i + 5))) (x (i + 7))) = (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) K.zero))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 1) (x 5)) (K.add (K.mul (x 2) (K.add (x 4) (x 6))) (AVs.psum K x L [3] [3, 5, 7]))) = _; rfl
include hz in
theorem ip63 : ip K (fun i => x (i + 4)) (pv2 K (fun i => x (i + 3))) (L + 12) = (K.add (K.mul (x 4) (x 5)) (K.add (K.mul (x 5) (K.add (x 4) (x 6))) (K.add (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 3))) (K.mul (x 1) (x 4))) (K.mul (x 2) (x 5))))) (K.add (K.add (Rk K x L 1) (K.neg (K.add (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 1))) (K.mul (x 1) (x 2))) -- (+302 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 4)) (pv2 K (fun i => x (i + 3))) (L + 12) = _
rw [show L + 12 = L + 10 + 1 + 1 from rfl, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [6]) _ (AVs.vsum K x [3, 5, 7]) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring) (fun i => by show (K.add (K.add (x (i + 3)) (x (i + 5))) (x (i + 7))) = (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) K.zero))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 4) (x 5)) (K.add (K.mul (x 5) (K.add (x 4) (x 6))) (AVs.psum K x L [6] [3, 5, 7]))) = _; rfl
include hz in
theorem ip64 : ip K (fun i => x (i + 2)) (Zs K (pv3 K (fun i => x (i + 1)))) (L + 12) = (K.add (K.mul (x 3) (x 4)) (K.add (K.mul (x 4) (K.add (x 3) (x 5))) (K.add (K.mul (x 5) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.add (K.add (Rk K x L 5) (K.neg (K.add K.zero (K.mul (x 0) (x 5))))) (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 3))) (K.mul (x 1) (x 4))) (K.mul -- (+437 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 3)) (pv3 K (fun i => x (i + 1))) (L + 11) = _
rw [show L + 11 = L + 8 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [6]) _ (AVs.vsum K x [1, 3, 5, 7]) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (x (i + 1)) (x (i + 3))) (x (i + 5))) (x (i + 7))) = (K.add (x (i + 1)) (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) K.zero)))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 3) (x 4)) (K.add (K.mul (x 4) (K.add (x 3) (x 5))) (K.add (K.mul (x 5) (K.add (K.add (x 2) (x 4)) (x 6))) (AVs.psum K x L [6] [1, 3, 5, 7])))) = _; rfl
include hz in
theorem ip65 : ip K (fun i => x (i + 2)) (fun i => x (i + 6)) (L + 12) = (K.add (K.add (K.add (Rk K x L 4) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 4))) (K.mul (x 1) (x 5))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 2)) (fun i => x (i + 6)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [2]) _ (AVs.vsum K x [6]) (fun i => by show (x (i + 2)) = (K.add (x (i + 2)) K.zero); lib_ring) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [2] [6]) = _; rfl
include hz in
theorem ip66 : ip K (fun i => x (i + 2)) (Zs K (pv5 K x)) (L + 12) = (K.add (K.mul (x 3) (x 5)) (K.add (K.mul (x 4) (K.add (x 4) (x 6))) (K.add (K.mul (x 5) (K.add (K.add (x 3) (x 5)) (x 7))) (K.add (K.mul (x 6) (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8))) (K.add (K.mul (x 7) (K.add (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (x 9))) (K.add (K.add (K.add (Rk K x L 8) (K.neg K.zero)) (K.add -- (+1024 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 3)) (pv5 K x) (L + 11) = _
rw [show L + 11 = L + 6 + 1 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [8]) _ (AVs.vsum K x [0, 2, 4, 6, 8, 10]) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) (x (i + 10))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) (K.add (x (i + 10)) K.zero))) -- (+37 chars; full line in the Zenodo source)
show (K.add (K.mul (x 3) (x 5)) (K.add (K.mul (x 4) (K.add (x 4) (x 6))) (K.add (K.mul (x 5) (K.add (K.add (x 3) (x 5)) (x 7))) (K.add (K.mul (x 6) (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8))) (K.add (K.mul (x 7) (K.add (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (x 9))) (AVs.psum K x L [8] [0, 2, 4, 6, 8, 10])))))) = _; rfl
include hz in
theorem ip67 : ip K (fun i => x (i + 3)) (Zs K (pv4 K x)) (L + 12) = (K.add (K.mul (x 4) (x 4)) (K.add (K.mul (x 5) (K.add (x 3) (x 5))) (K.add (K.mul (x 6) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.mul (x 7) (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7))) (K.add (K.add (K.add (Rk K x L 8) (K.neg K.zero)) (K.add (K.add (Rk K x L 6) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 6))) (K.mul (x 1) -- (+672 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 4)) (pv4 K x) (L + 11) = _
rw [show L + 11 = L + 7 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [8]) _ (AVs.vsum K x [0, 2, 4, 6, 8]) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) K.zero))))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 4) (x 4)) (K.add (K.mul (x 5) (K.add (x 3) (x 5))) (K.add (K.mul (x 6) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.mul (x 7) (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7))) (AVs.psum K x L [8] [0, 2, 4, 6, 8]))))) = _; rfl
include hz in
theorem ip68 : ip K (fun i => x (i + 2)) (Zs K (pv4 K x)) (L + 12) = (K.add (K.mul (x 3) (x 4)) (K.add (K.mul (x 4) (K.add (x 3) (x 5))) (K.add (K.mul (x 5) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.mul (x 6) (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7))) (K.add (K.add (K.add (Rk K x L 7) (K.neg K.zero)) (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) -- (+644 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 3)) (pv4 K x) (L + 11) = _
rw [show L + 11 = L + 7 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [0, 2, 4, 6, 8]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) K.zero))))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 3) (x 4)) (K.add (K.mul (x 4) (K.add (x 3) (x 5))) (K.add (K.mul (x 5) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.mul (x 6) (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7))) (AVs.psum K x L [7] [0, 2, 4, 6, 8]))))) = _; rfl
include hz in
theorem ip69 : ip K (fun i => x (i + 3)) (Zs K (pv5 K x)) (L + 12) = (K.add (K.mul (x 4) (x 5)) (K.add (K.mul (x 5) (K.add (x 4) (x 6))) (K.add (K.mul (x 6) (K.add (K.add (x 3) (x 5)) (x 7))) (K.add (K.mul (x 7) (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8))) (K.add (K.mul (x 8) (K.add (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (x 9))) (K.add (K.add (K.add (Rk K x L 9) (K.neg K.zero)) (K.add -- (+1052 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 4)) (pv5 K x) (L + 11) = _
rw [show L + 11 = L + 6 + 1 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [9]) _ (AVs.vsum K x [0, 2, 4, 6, 8, 10]) (fun i => by show (x (i + 9)) = (K.add (x (i + 9)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) (x (i + 10))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) (K.add (x (i + 10)) K.zero))) -- (+37 chars; full line in the Zenodo source)
show (K.add (K.mul (x 4) (x 5)) (K.add (K.mul (x 5) (K.add (x 4) (x 6))) (K.add (K.mul (x 6) (K.add (K.add (x 3) (x 5)) (x 7))) (K.add (K.mul (x 7) (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8))) (K.add (K.mul (x 8) (K.add (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7)) (x 9))) (AVs.psum K x L [9] [0, 2, 4, 6, 8, 10])))))) = _; rfl
include hz in
theorem ip70 : ip K (fun i => x (i + 2)) (fun i => x (i + 4)) (L + 12) = (K.add (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 2)) (fun i => x (i + 4)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [2]) _ (AVs.vsum K x [4]) (fun i => by show (x (i + 2)) = (K.add (x (i + 2)) K.zero); lib_ring) (fun i => by show (x (i + 4)) = (K.add (x (i + 4)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [2] [4]) = _; rfl
include hz in
theorem ip71 : ip K (fun i => x (i + 4)) (fun i => x (i + 4)) (L + 12) = (K.add (K.add (K.add (Rk K x L 0) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 0))) (K.mul (x 1) (x 1))) (K.mul (x 2) (x 2))) (K.mul (x 3) (x 3))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 4)) (fun i => x (i + 4)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [4]) _ (AVs.vsum K x [4]) (fun i => by show (x (i + 4)) = (K.add (x (i + 4)) K.zero); lib_ring) (fun i => by show (x (i + 4)) = (K.add (x (i + 4)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [4] [4]) = _; rfl
include hz in
theorem ip72 : ip K (fun i => x (i + 2)) (Zs K (pv1 K (fun i => x (i + 3)))) (L + 12) = (K.add (K.mul (x 3) (x 4)) (K.add (K.add (K.add (Rk K x L 1) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 1))) (K.mul (x 1) (x 2))) (K.mul (x 2) (x 3))))) (K.add (K.add (Rk K x L 1) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 1))) (K.mul (x 1) (x 2))) (K.mul (x 2) (x 3))) (K.mul (x 3) (x 4)) -- (+27 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 3)) (pv1 K (fun i => x (i + 3))) (L + 11) = _
rw [show L + 11 = L + 10 + 1 from rfl, ip_head]
rw [ip_ext K _ (AVs.vsum K x [4]) _ (AVs.vsum K x [3, 5]) (fun i => by show (x (i + 4)) = (K.add (x (i + 4)) K.zero); lib_ring) (fun i => by show (K.add (x (i + 3)) (x (i + 5))) = (K.add (x (i + 3)) (K.add (x (i + 5)) K.zero)); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 3) (x 4)) (AVs.psum K x L [4] [3, 5])) = _; rfl
include hz in
theorem ip73 : ip K (fun i => x (i + 2)) (fun i => x (i + 5)) (L + 12) = (K.add (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 3))) (K.mul (x 1) (x 4))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 2)) (fun i => x (i + 5)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [2]) _ (AVs.vsum K x [5]) (fun i => by show (x (i + 2)) = (K.add (x (i + 2)) K.zero); lib_ring) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [2] [5]) = _; rfl
include hz in
theorem ip74 : ip K (fun i => x (i + 5)) (fun i => x (i + 5)) (L + 12) = (K.add (K.add (K.add (Rk K x L 0) (K.neg (K.add (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 0))) (K.mul (x 1) (x 1))) (K.mul (x 2) (x 2))) (K.mul (x 3) (x 3))) (K.mul (x 4) (x 4))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 5)) (fun i => x (i + 5)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [5]) _ (AVs.vsum K x [5]) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [5] [5]) = _; rfl
include hz in
theorem ip75 : ip K (fun i => x (i + 5)) (fun i => x (i + 4)) (L + 12) = (K.add (K.add (K.add (Rk K x L 1) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 1))) (K.mul (x 1) (x 2))) (K.mul (x 2) (x 3))) (K.mul (x 3) (x 4))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 5)) (fun i => x (i + 4)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [5]) _ (AVs.vsum K x [4]) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring) (fun i => by show (x (i + 4)) = (K.add (x (i + 4)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [5] [4]) = _; rfl
include hz in
theorem ip76 : ip K (fun i => x (i + 2)) (pv3 K (fun i => x (i + 1))) (L + 12) = (K.add (K.mul (x 2) (x 4)) (K.add (K.mul (x 3) (K.add (x 3) (x 5))) (K.add (K.mul (x 4) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.add (K.add (Rk K x L 4) (K.neg (K.add K.zero (K.mul (x 0) (x 4))))) (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul (x 2) ( -- (+402 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 2)) (pv3 K (fun i => x (i + 1))) (L + 12) = _
rw [show L + 12 = L + 9 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [5]) _ (AVs.vsum K x [1, 3, 5, 7]) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (x (i + 1)) (x (i + 3))) (x (i + 5))) (x (i + 7))) = (K.add (x (i + 1)) (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) K.zero)))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 2) (x 4)) (K.add (K.mul (x 3) (K.add (x 3) (x 5))) (K.add (K.mul (x 4) (K.add (K.add (x 2) (x 4)) (x 6))) (AVs.psum K x L [5] [1, 3, 5, 7])))) = _; rfl
include hz in
theorem ip77 : ip K (fun i => x (i + 5)) (pv3 K (fun i => x (i + 1))) (L + 12) = (K.add (K.mul (x 5) (x 4)) (K.add (K.mul (x 6) (K.add (x 3) (x 5))) (K.add (K.mul (x 7) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.add (K.add (Rk K x L 7) (K.neg (K.add K.zero (K.mul (x 0) (x 7))))) (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))) (K.mul (x 2) ( -- (+458 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 5)) (pv3 K (fun i => x (i + 1))) (L + 12) = _
rw [show L + 12 = L + 9 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [8]) _ (AVs.vsum K x [1, 3, 5, 7]) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (x (i + 1)) (x (i + 3))) (x (i + 5))) (x (i + 7))) = (K.add (x (i + 1)) (K.add (x (i + 3)) (K.add (x (i + 5)) (K.add (x (i + 7)) K.zero)))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 5) (x 4)) (K.add (K.mul (x 6) (K.add (x 3) (x 5))) (K.add (K.mul (x 7) (K.add (K.add (x 2) (x 4)) (x 6))) (AVs.psum K x L [8] [1, 3, 5, 7])))) = _; rfl
include hz in
theorem ip78 : ip K (fun i => x (i + 2)) (pv2 K (fun i => x (i + 2))) (L + 12) = (K.add (K.mul (x 2) (x 4)) (K.add (K.mul (x 3) (K.add (x 3) (x 5))) (K.add (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))))) (K.add (K.add (Rk K x L 0) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 0))) (K.mul (x 1) (x 1))) (K.mul (x 2) (x 2))) (K.mul (x 3) -- (+190 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 2)) (pv2 K (fun i => x (i + 2))) (L + 12) = _
rw [show L + 12 = L + 10 + 1 + 1 from rfl, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [4]) _ (AVs.vsum K x [2, 4, 6]) (fun i => by show (x (i + 4)) = (K.add (x (i + 4)) K.zero); lib_ring) (fun i => by show (K.add (K.add (x (i + 2)) (x (i + 4))) (x (i + 6))) = (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) K.zero))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 2) (x 4)) (K.add (K.mul (x 3) (K.add (x 3) (x 5))) (AVs.psum K x L [4] [2, 4, 6]))) = _; rfl
include hz in
theorem ip79 : ip K (fun i => x (i + 5)) (pv2 K (fun i => x (i + 2))) (L + 12) = (K.add (K.mul (x 5) (x 4)) (K.add (K.mul (x 6) (K.add (x 3) (x 5))) (K.add (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))))) (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 3))) (K.mul (x 1) (x 4))) (K.mul (x 2) (x 5))) (K.mul (x 3) -- (+246 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 5)) (pv2 K (fun i => x (i + 2))) (L + 12) = _
rw [show L + 12 = L + 10 + 1 + 1 from rfl, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [2, 4, 6]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (x (i + 2)) (x (i + 4))) (x (i + 6))) = (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) K.zero))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 5) (x 4)) (K.add (K.mul (x 6) (K.add (x 3) (x 5))) (AVs.psum K x L [7] [2, 4, 6]))) = _; rfl
include hz in
theorem ip80 : ip K (fun i => x (i + 3)) (fun i => x (i + 4)) (L + 12) = (K.add (K.add (K.add (Rk K x L 1) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 1))) (K.mul (x 1) (x 2))) (K.mul (x 2) (x 3))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 3)) (fun i => x (i + 4)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [3]) _ (AVs.vsum K x [4]) (fun i => by show (x (i + 3)) = (K.add (x (i + 3)) K.zero); lib_ring) (fun i => by show (x (i + 4)) = (K.add (x (i + 4)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [3] [4]) = _; rfl
include hz in
theorem ip81 : ip K (fun i => x (i + 3)) (fun i => x (i + 5)) (L + 12) = (K.add (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul (x 2) (x 4))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 3)) (fun i => x (i + 5)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [3]) _ (AVs.vsum K x [5]) (fun i => by show (x (i + 3)) = (K.add (x (i + 3)) K.zero); lib_ring) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [3] [5]) = _; rfl
include hz in
theorem ip82 : ip K (fun i => x (i + 3)) (Zs K (pv2 K (fun i => x (i + 2)))) (L + 12) = (K.add (K.mul (x 4) (x 4)) (K.add (K.mul (x 5) (K.add (x 3) (x 5))) (K.add (K.add (K.add (Rk K x L 4) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 4))) (K.mul (x 1) (x 5))))) (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul (x 2) (x 4))) (K.mul -- (+253 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 4)) (pv2 K (fun i => x (i + 2))) (L + 11) = _
rw [show L + 11 = L + 9 + 1 + 1 from rfl, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [6]) _ (AVs.vsum K x [2, 4, 6]) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring) (fun i => by show (K.add (K.add (x (i + 2)) (x (i + 4))) (x (i + 6))) = (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) K.zero))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 4) (x 4)) (K.add (K.mul (x 5) (K.add (x 3) (x 5))) (AVs.psum K x L [6] [2, 4, 6]))) = _; rfl
include hz in
theorem ip83 : ip K (fun i => x (i + 4)) (Zs K (pv2 K (fun i => x (i + 2)))) (L + 12) = (K.add (K.mul (x 5) (x 4)) (K.add (K.mul (x 6) (K.add (x 3) (x 5))) (K.add (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))))) (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 3))) (K.mul (x 1) (x 4))) (K.mul (x 2) (x 5))) (K.mul -- (+253 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 5)) (pv2 K (fun i => x (i + 2))) (L + 11) = _
rw [show L + 11 = L + 9 + 1 + 1 from rfl, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [2, 4, 6]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (x (i + 2)) (x (i + 4))) (x (i + 6))) = (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) K.zero))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 5) (x 4)) (K.add (K.mul (x 6) (K.add (x 3) (x 5))) (AVs.psum K x L [7] [2, 4, 6]))) = _; rfl
include hz in
theorem ip84 : ip K (fun i => x (i + 3)) (pv1 K (fun i => x (i + 3))) (L + 12) = (K.add (K.mul (x 3) (x 4)) (K.add (K.add (K.add (Rk K x L 1) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 1))) (K.mul (x 1) (x 2))) (K.mul (x 2) (x 3))))) (K.add (K.add (Rk K x L 1) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 1))) (K.mul (x 1) (x 2))) (K.mul (x 2) (x 3))) (K.mul (x 3) (x 4))))) K.z -- (+20 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 3)) (pv1 K (fun i => x (i + 3))) (L + 12) = _
rw [show L + 12 = L + 11 + 1 from rfl, ip_head]
rw [ip_ext K _ (AVs.vsum K x [4]) _ (AVs.vsum K x [3, 5]) (fun i => by show (x (i + 4)) = (K.add (x (i + 4)) K.zero); lib_ring) (fun i => by show (K.add (x (i + 3)) (x (i + 5))) = (K.add (x (i + 3)) (K.add (x (i + 5)) K.zero)); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 3) (x 4)) (AVs.psum K x L [4] [3, 5])) = _; rfl
include hz in
theorem ip85 : ip K (fun i => x (i + 4)) (pv1 K (fun i => x (i + 3))) (L + 12) = (K.add (K.mul (x 4) (x 4)) (K.add (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul (x 2) (x 4))))) (K.add (K.add (Rk K x L 0) (K.neg (K.add (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 0))) (K.mul (x 1) (x 1))) (K.mul (x 2) (x 2))) (K.mul (x 3) (x 3)) -- (+48 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 4)) (pv1 K (fun i => x (i + 3))) (L + 12) = _
rw [show L + 12 = L + 11 + 1 from rfl, ip_head]
rw [ip_ext K _ (AVs.vsum K x [5]) _ (AVs.vsum K x [3, 5]) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring) (fun i => by show (K.add (x (i + 3)) (x (i + 5))) = (K.add (x (i + 3)) (K.add (x (i + 5)) K.zero)); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 4) (x 4)) (AVs.psum K x L [5] [3, 5])) = _; rfl
include hz in
theorem ip86 : ip K (fun i => x (i + 4)) (Zs K (pv3 K x)) (L + 12) = (K.add (K.mul (x 5) (x 3)) (K.add (K.mul (x 6) (K.add (x 2) (x 4))) (K.add (K.mul (x 7) (K.add (K.add (x 1) (x 3)) (x 5))) (K.add (K.add (K.add (Rk K x L 8) (K.neg K.zero)) (K.add (K.add (Rk K x L 6) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 6))) (K.mul (x 1) (x 7))))) (K.add (K.add (Rk K x L 4) (K.neg (K.add (K.add (K.add (K.a -- (+334 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 5)) (pv3 K x) (L + 11) = _
rw [show L + 11 = L + 8 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [8]) _ (AVs.vsum K x [0, 2, 4, 6]) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) K.zero)))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 5) (x 3)) (K.add (K.mul (x 6) (K.add (x 2) (x 4))) (K.add (K.mul (x 7) (K.add (K.add (x 1) (x 3)) (x 5))) (AVs.psum K x L [8] [0, 2, 4, 6])))) = _; rfl
include hz in
theorem ip87 : ip K (fun i => x (i + 3)) (Zs K (pv3 K x)) (L + 12) = (K.add (K.mul (x 4) (x 3)) (K.add (K.mul (x 5) (K.add (x 2) (x 4))) (K.add (K.mul (x 6) (K.add (K.add (x 1) (x 3)) (x 5))) (K.add (K.add (K.add (Rk K x L 7) (K.neg K.zero)) (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))))) (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add (K.add (K.a -- (+334 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 4)) (pv3 K x) (L + 11) = _
rw [show L + 11 = L + 8 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [0, 2, 4, 6]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) K.zero)))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 4) (x 3)) (K.add (K.mul (x 5) (K.add (x 2) (x 4))) (K.add (K.mul (x 6) (K.add (K.add (x 1) (x 3)) (x 5))) (AVs.psum K x L [7] [0, 2, 4, 6])))) = _; rfl
include hz in
theorem ip88 : ip K (fun i => x (i + 4)) (Zs K (pv4 K x)) (L + 12) = (K.add (K.mul (x 5) (x 4)) (K.add (K.mul (x 6) (K.add (x 3) (x 5))) (K.add (K.mul (x 7) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.mul (x 8) (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7))) (K.add (K.add (K.add (Rk K x L 9) (K.neg K.zero)) (K.add (K.add (Rk K x L 7) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 7))) (K.mul (x 1) -- (+672 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 5)) (pv4 K x) (L + 11) = _
rw [show L + 11 = L + 7 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [9]) _ (AVs.vsum K x [0, 2, 4, 6, 8]) (fun i => by show (x (i + 9)) = (K.add (x (i + 9)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) K.zero))))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 5) (x 4)) (K.add (K.mul (x 6) (K.add (x 3) (x 5))) (K.add (K.mul (x 7) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.mul (x 8) (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7))) (AVs.psum K x L [9] [0, 2, 4, 6, 8]))))) = _; rfl
include hz in
theorem ip89 : ip K (fun i => x (i + 4)) (pv4 K x) (L + 12) = (K.add (K.mul (x 4) (x 4)) (K.add (K.mul (x 5) (K.add (x 3) (x 5))) (K.add (K.mul (x 6) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.mul (x 7) (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7))) (K.add (K.add (K.add (Rk K x L 8) (K.neg K.zero)) (K.add (K.add (Rk K x L 6) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 6))) (K.mul (x 1) (x 7))) -- (+665 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 4)) (pv4 K x) (L + 12) = _
rw [show L + 12 = L + 8 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [8]) _ (AVs.vsum K x [0, 2, 4, 6, 8]) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) K.zero))))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 4) (x 4)) (K.add (K.mul (x 5) (K.add (x 3) (x 5))) (K.add (K.mul (x 6) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.mul (x 7) (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7))) (AVs.psum K x L [8] [0, 2, 4, 6, 8]))))) = _; rfl
include hz in
theorem ip90 : ip K (fun i => x (i + 3)) (pv4 K x) (L + 12) = (K.add (K.mul (x 3) (x 4)) (K.add (K.mul (x 4) (K.add (x 3) (x 5))) (K.add (K.mul (x 5) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.mul (x 6) (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7))) (K.add (K.add (K.add (Rk K x L 7) (K.neg K.zero)) (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))) -- (+637 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 3)) (pv4 K x) (L + 12) = _
rw [show L + 12 = L + 8 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [0, 2, 4, 6, 8]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) (K.add (x (i + 8)) K.zero))))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 3) (x 4)) (K.add (K.mul (x 4) (K.add (x 3) (x 5))) (K.add (K.mul (x 5) (K.add (K.add (x 2) (x 4)) (x 6))) (K.add (K.mul (x 6) (K.add (K.add (K.add (x 1) (x 3)) (x 5)) (x 7))) (AVs.psum K x L [7] [0, 2, 4, 6, 8]))))) = _; rfl
include hz in
theorem ip91 : ip K (fun i => x (i + 5)) (pv1 K (fun i => x (i + 3))) (L + 12) = (K.add (K.mul (x 5) (x 4)) (K.add (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 3))) (K.mul (x 1) (x 4))) (K.mul (x 2) (x 5))))) (K.add (K.add (Rk K x L 1) (K.neg (K.add (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 1))) (K.mul (x 1) (x 2))) (K.mul (x 2) (x 3))) (K.mul (x 3) (x 4)) -- (+48 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 5)) (pv1 K (fun i => x (i + 3))) (L + 12) = _
rw [show L + 12 = L + 11 + 1 from rfl, ip_head]
rw [ip_ext K _ (AVs.vsum K x [6]) _ (AVs.vsum K x [3, 5]) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring) (fun i => by show (K.add (x (i + 3)) (x (i + 5))) = (K.add (x (i + 3)) (K.add (x (i + 5)) K.zero)); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 5) (x 4)) (AVs.psum K x L [6] [3, 5])) = _; rfl
include hz in
theorem ip92 : ip K (fun i => x (i + 6)) (fun i => x (i + 3)) (L + 12) = (K.add (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 3))) (K.mul (x 1) (x 4))) (K.mul (x 2) (x 5))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 6)) (fun i => x (i + 3)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [6]) _ (AVs.vsum K x [3]) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring) (fun i => by show (x (i + 3)) = (K.add (x (i + 3)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [6] [3]) = _; rfl
include hz in
theorem ip93 : ip K (fun i => x (i + 3)) (fun i => x (i + 3)) (L + 12) = (K.add (K.add (K.add (Rk K x L 0) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 0))) (K.mul (x 1) (x 1))) (K.mul (x 2) (x 2))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 3)) (fun i => x (i + 3)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [3]) _ (AVs.vsum K x [3]) (fun i => by show (x (i + 3)) = (K.add (x (i + 3)) K.zero); lib_ring) (fun i => by show (x (i + 3)) = (K.add (x (i + 3)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [3] [3]) = _; rfl
end ident
end GenA7
lean_all/ym/GenA7Bp02.lean
/-
ym/GenA7Bp02 — T45, G54: part of the generated base of (A) (GenA7B split by cert/A/gen/split_base.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7Bp01
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section ident
variable (x : Nat → R) (L : Nat) (hz : ∀ t, L ≤ t → x t = K.zero)
include hz in
theorem ip94 : ip K (fun i => x (i + 6)) (pv1 K (fun i => x (i + 3))) (L + 12) = (K.add (K.mul (x 6) (x 4)) (K.add (K.add (K.add (Rk K x L 4) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 4))) (K.mul (x 1) (x 5))) (K.mul (x 2) (x 6))))) (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul (x 2) (x 4))) (K.mul (x 3) (x 5)) -- (+48 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 6)) (pv1 K (fun i => x (i + 3))) (L + 12) = _
rw [show L + 12 = L + 11 + 1 from rfl, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [3, 5]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (x (i + 3)) (x (i + 5))) = (K.add (x (i + 3)) (K.add (x (i + 5)) K.zero)); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 6) (x 4)) (AVs.psum K x L [7] [3, 5])) = _; rfl
include hz in
theorem ip95 : ip K (fun i => x (i + 4)) (pv2 K x) (L + 12) = (K.add (K.mul (x 4) (x 2)) (K.add (K.mul (x 5) (K.add (x 1) (x 3))) (K.add (K.add (K.add (Rk K x L 6) (K.neg K.zero)) (K.add (K.add (Rk K x L 4) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 4))) (K.mul (x 1) (x 5))))) (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul (x -- (+59 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 4)) (pv2 K x) (L + 12) = _
rw [show L + 12 = L + 10 + 1 + 1 from rfl, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [6]) _ (AVs.vsum K x [0, 2, 4]) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring) (fun i => by show (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) K.zero))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 4) (x 2)) (K.add (K.mul (x 5) (K.add (x 1) (x 3))) (AVs.psum K x L [6] [0, 2, 4]))) = _; rfl
include hz in
theorem ip96 : ip K (fun i => x (i + 5)) (pv2 K x) (L + 12) = (K.add (K.mul (x 5) (x 2)) (K.add (K.mul (x 6) (K.add (x 1) (x 3))) (K.add (K.add (K.add (Rk K x L 7) (K.neg K.zero)) (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))))) (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 3))) (K.mul (x 1) (x 4))) (K.mul (x -- (+59 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 5)) (pv2 K x) (L + 12) = _
rw [show L + 12 = L + 10 + 1 + 1 from rfl, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [0, 2, 4]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) K.zero))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 5) (x 2)) (K.add (K.mul (x 6) (K.add (x 1) (x 3))) (AVs.psum K x L [7] [0, 2, 4]))) = _; rfl
include hz in
theorem ip97 : ip K (fun i => x (i + 5)) (Zs K (pv2 K x)) (L + 12) = (K.add (K.mul (x 6) (x 2)) (K.add (K.mul (x 7) (K.add (x 1) (x 3))) (K.add (K.add (K.add (Rk K x L 8) (K.neg K.zero)) (K.add (K.add (Rk K x L 6) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 6))) (K.mul (x 1) (x 7))))) (K.add (K.add (Rk K x L 4) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 4))) (K.mul (x 1) (x 5))) (K. -- (+66 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 6)) (pv2 K x) (L + 11) = _
rw [show L + 11 = L + 9 + 1 + 1 from rfl, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [8]) _ (AVs.vsum K x [0, 2, 4]) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring) (fun i => by show (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) K.zero))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 6) (x 2)) (K.add (K.mul (x 7) (K.add (x 1) (x 3))) (AVs.psum K x L [8] [0, 2, 4]))) = _; rfl
include hz in
theorem ip98 : ip K (fun i => x (i + 4)) (Zs K (pv2 K x)) (L + 12) = (K.add (K.mul (x 5) (x 2)) (K.add (K.mul (x 6) (K.add (x 1) (x 3))) (K.add (K.add (K.add (Rk K x L 7) (K.neg K.zero)) (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))))) (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 3))) (K.mul (x 1) (x 4))) (K. -- (+66 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 5)) (pv2 K x) (L + 11) = _
rw [show L + 11 = L + 9 + 1 + 1 from rfl, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [0, 2, 4]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) K.zero))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 5) (x 2)) (K.add (K.mul (x 6) (K.add (x 1) (x 3))) (AVs.psum K x L [7] [0, 2, 4]))) = _; rfl
include hz in
theorem ip99 : ip K (fun i => x (i + 5)) (Zs K (pv3 K x)) (L + 12) = (K.add (K.mul (x 6) (x 3)) (K.add (K.mul (x 7) (K.add (x 2) (x 4))) (K.add (K.mul (x 8) (K.add (K.add (x 1) (x 3)) (x 5))) (K.add (K.add (K.add (Rk K x L 9) (K.neg K.zero)) (K.add (K.add (Rk K x L 7) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 7))) (K.mul (x 1) (x 8))))) (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add (K.add (K.a -- (+334 chars; full line in the Zenodo source)
show ip K _ _ (L + 11 + 1) = _; rw [ip_1z]
show ip K (fun i => x (i + 6)) (pv3 K x) (L + 11) = _
rw [show L + 11 = L + 8 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [9]) _ (AVs.vsum K x [0, 2, 4, 6]) (fun i => by show (x (i + 9)) = (K.add (x (i + 9)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) K.zero)))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 6) (x 3)) (K.add (K.mul (x 7) (K.add (x 2) (x 4))) (K.add (K.mul (x 8) (K.add (K.add (x 1) (x 3)) (x 5))) (AVs.psum K x L [9] [0, 2, 4, 6])))) = _; rfl
include hz in
theorem ip100 : ip K (fun i => x (i + 5)) (pv3 K x) (L + 12) = (K.add (K.mul (x 5) (x 3)) (K.add (K.mul (x 6) (K.add (x 2) (x 4))) (K.add (K.mul (x 7) (K.add (K.add (x 1) (x 3)) (x 5))) (K.add (K.add (K.add (Rk K x L 8) (K.neg K.zero)) (K.add (K.add (Rk K x L 6) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 6))) (K.mul (x 1) (x 7))))) (K.add (K.add (Rk K x L 4) (K.neg (K.add (K.add (K.add (K.add K.z -- (+328 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 5)) (pv3 K x) (L + 12) = _
rw [show L + 12 = L + 9 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [8]) _ (AVs.vsum K x [0, 2, 4, 6]) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) K.zero)))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 5) (x 3)) (K.add (K.mul (x 6) (K.add (x 2) (x 4))) (K.add (K.mul (x 7) (K.add (K.add (x 1) (x 3)) (x 5))) (AVs.psum K x L [8] [0, 2, 4, 6])))) = _; rfl
include hz in
theorem ip101 : ip K (fun i => x (i + 4)) (pv3 K x) (L + 12) = (K.add (K.mul (x 4) (x 3)) (K.add (K.mul (x 5) (K.add (x 2) (x 4))) (K.add (K.mul (x 6) (K.add (K.add (x 1) (x 3)) (x 5))) (K.add (K.add (K.add (Rk K x L 7) (K.neg K.zero)) (K.add (K.add (Rk K x L 5) (K.neg (K.add (K.add K.zero (K.mul (x 0) (x 5))) (K.mul (x 1) (x 6))))) (K.add (K.add (Rk K x L 3) (K.neg (K.add (K.add (K.add (K.add K.z -- (+328 chars; full line in the Zenodo source)
show ip K (fun i => x (i + 4)) (pv3 K x) (L + 12) = _
rw [show L + 12 = L + 9 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [0, 2, 4, 6]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6)) K.zero)))); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 4) (x 3)) (K.add (K.mul (x 5) (K.add (x 2) (x 4))) (K.add (K.mul (x 6) (K.add (K.add (x 1) (x 3)) (x 5))) (AVs.psum K x L [7] [0, 2, 4, 6])))) = _; rfl
include hz in
theorem ip102 : ip K (fun i => x (i + 4)) (pv1 K (fun i => x (i + 1))) (L + 12) = (K.add (K.mul (x 4) (x 2)) (K.add (K.add (K.add (Rk K x L 4) (K.neg (K.add K.zero (K.mul (x 0) (x 4))))) (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul (x 2) (x 4))))) K.zero)) K.zero)) := by
show ip K (fun i => x (i + 4)) (pv1 K (fun i => x (i + 1))) (L + 12) = _
rw [show L + 12 = L + 11 + 1 from rfl, ip_head]
rw [ip_ext K _ (AVs.vsum K x [5]) _ (AVs.vsum K x [1, 3]) (fun i => by show (x (i + 5)) = (K.add (x (i + 5)) K.zero); lib_ring) (fun i => by show (K.add (x (i + 1)) (x (i + 3))) = (K.add (x (i + 1)) (K.add (x (i + 3)) K.zero)); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 4) (x 2)) (AVs.psum K x L [5] [1, 3])) = _; rfl
include hz in
theorem ip103 : ip K (fun i => x (i + 6)) (fun i => x (i + 4)) (L + 12) = (K.add (K.add (K.add (Rk K x L 2) (K.neg (K.add (K.add (K.add (K.add K.zero (K.mul (x 0) (x 2))) (K.mul (x 1) (x 3))) (K.mul (x 2) (x 4))) (K.mul (x 3) (x 5))))) K.zero) K.zero) := by
show ip K (fun i => x (i + 6)) (fun i => x (i + 4)) (L + 12) = _
rw [ip_ext K _ (AVs.vsum K x [6]) _ (AVs.vsum K x [4]) (fun i => by show (x (i + 6)) = (K.add (x (i + 6)) K.zero); lib_ring) (fun i => by show (x (i + 4)) = (K.add (x (i + 4)) K.zero); lib_ring), AVs.ip_vsum K x L hz]
show (AVs.psum K x L [6] [4]) = _; rfl
include hz in
theorem ip104 : ip K (fun i => x (i + 6)) (pv1 K (fun i => x (i + 1))) (L + 12) = (K.add (K.mul (x 6) (x 2)) (K.add (K.add (K.add (Rk K x L 6) (K.neg (K.add K.zero (K.mul (x 0) (x 6))))) (K.add (K.add (Rk K x L 4) (K.neg (K.add (K.add (K.add K.zero (K.mul (x 0) (x 4))) (K.mul (x 1) (x 5))) (K.mul (x 2) (x 6))))) K.zero)) K.zero)) := by
show ip K (fun i => x (i + 6)) (pv1 K (fun i => x (i + 1))) (L + 12) = _
rw [show L + 12 = L + 11 + 1 from rfl, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [1, 3]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (x (i + 1)) (x (i + 3))) = (K.add (x (i + 1)) (K.add (x (i + 3)) K.zero)); lib_ring), AVs.ip_vsum K x L hz]
show (K.add (K.mul (x 6) (x 2)) (AVs.psum K x L [7] [1, 3])) = _; rfl
include hz in
theorem ip105 : ip K x (pv7 K x) (L + 12) = (K.add (K.mul (x 0) (x 7)) (K.add (K.mul (x 1) (K.add (x 6) (x 8))) (K.add (K.mul (x 2) (K.add (K.add (x 5) (x 7)) (x 9))) (K.add (K.mul (x 3) (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10))) (K.add (K.mul (x 4) (K.add (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 11))) (K.add (K.mul (x 5) (K.add (K.add (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8 -- (+1645 chars; full line in the Zenodo source)
show ip K x (pv7 K x) (L + 12) = _
rw [show L + 12 = L + 5 + 1 + 1 + 1 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [7]) _ (AVs.vsum K x [0, 2, 4, 6, 8, 10, 12, 14]) (fun i => by show (x (i + 7)) = (K.add (x (i + 7)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) (x (i + 10))) (x (i + 12))) (x (i + 14))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x (i + 4)) (K.add (x (i + 6) -- (+129 chars; full line in the Zenodo source)
show (K.add (K.mul (x 0) (x 7)) (K.add (K.mul (x 1) (K.add (x 6) (x 8))) (K.add (K.mul (x 2) (K.add (K.add (x 5) (x 7)) (x 9))) (K.add (K.mul (x 3) (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10))) (K.add (K.mul (x 4) (K.add (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 11))) (K.add (K.mul (x 5) (K.add (K.add (K.add (K.add (K.add (x 2) (x 4)) (x 6)) (x 8)) (x 10)) (x 12))) (K.add (K.mul (x -- (+160 chars; full line in the Zenodo source)
include hz in
theorem ip106 : ip K x (pv8 K x) (L + 12) = (K.add (K.mul (x 0) (x 8)) (K.add (K.mul (x 1) (K.add (x 7) (x 9))) (K.add (K.mul (x 2) (K.add (K.add (x 6) (x 8)) (x 10))) (K.add (K.mul (x 3) (K.add (K.add (K.add (x 5) (x 7)) (x 9)) (x 11))) (K.add (K.mul (x 4) (K.add (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10)) (x 12))) (K.add (K.mul (x 5) (K.add (K.add (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x -- (+2163 chars; full line in the Zenodo source)
show ip K x (pv8 K x) (L + 12) = _
rw [show L + 12 = L + 4 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [8]) _ (AVs.vsum K x [0, 2, 4, 6, 8, 10, 12, 14, 16]) (fun i => by show (x (i + 8)) = (K.add (x (i + 8)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) (x (i + 10))) (x (i + 12))) (x (i + 14))) (x (i + 16))) = (K.add (x (i + 0)) (K.add (x (i + 2)) (K.add (x ( -- (+175 chars; full line in the Zenodo source)
show (K.add (K.mul (x 0) (x 8)) (K.add (K.mul (x 1) (K.add (x 7) (x 9))) (K.add (K.mul (x 2) (K.add (K.add (x 6) (x 8)) (x 10))) (K.add (K.mul (x 3) (K.add (K.add (K.add (x 5) (x 7)) (x 9)) (x 11))) (K.add (K.mul (x 4) (K.add (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10)) (x 12))) (K.add (K.mul (x 5) (K.add (K.add (K.add (K.add (K.add (x 3) (x 5)) (x 7)) (x 9)) (x 11)) (x 13))) (K.add (K.mul ( -- (+296 chars; full line in the Zenodo source)
include hz in
theorem ip107 : ip K x (pv9 K x) (L + 12) = (K.add (K.mul (x 0) (x 9)) (K.add (K.mul (x 1) (K.add (x 8) (x 10))) (K.add (K.mul (x 2) (K.add (K.add (x 7) (x 9)) (x 11))) (K.add (K.mul (x 3) (K.add (K.add (K.add (x 6) (x 8)) (x 10)) (x 12))) (K.add (K.mul (x 4) (K.add (K.add (K.add (K.add (x 5) (x 7)) (x 9)) (x 11)) (x 13))) (K.add (K.mul (x 5) (K.add (K.add (K.add (K.add (K.add (x 4) (x 6)) (x 8)) -- (+2727 chars; full line in the Zenodo source)
show ip K x (pv9 K x) (L + 12) = _
rw [show L + 12 = L + 3 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 from rfl, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head, ip_head]
rw [ip_ext K _ (AVs.vsum K x [9]) _ (AVs.vsum K x [0, 2, 4, 6, 8, 10, 12, 14, 16, 18]) (fun i => by show (x (i + 9)) = (K.add (x (i + 9)) K.zero); lib_ring) (fun i => by show (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (x (i + 0)) (x (i + 2))) (x (i + 4))) (x (i + 6))) (x (i + 8))) (x (i + 10))) (x (i + 12))) (x (i + 14))) (x (i + 16))) (x (i + 18))) = (K.add (x (i + 0)) (K.ad -- (+221 chars; full line in the Zenodo source)
show (K.add (K.mul (x 0) (x 9)) (K.add (K.mul (x 1) (K.add (x 8) (x 10))) (K.add (K.mul (x 2) (K.add (K.add (x 7) (x 9)) (x 11))) (K.add (K.mul (x 3) (K.add (K.add (K.add (x 6) (x 8)) (x 10)) (x 12))) (K.add (K.mul (x 4) (K.add (K.add (K.add (K.add (x 5) (x 7)) (x 9)) (x 11)) (x 13))) (K.add (K.mul (x 5) (K.add (K.add (K.add (K.add (K.add (x 4) (x 6)) (x 8)) (x 10)) (x 12)) (x 14))) (K.add (K.mu -- (+448 chars; full line in the Zenodo source)
set_option maxRecDepth 2000000 in
include hz in
theorem cb0 : (K.mul (LibRing.castN K 42) (K.add (K.mul (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (fun i => x (i + 1)) (L + 12)) (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (fun i => x (i + 2)) (L + 12))) (K.neg (K.mul (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (fun i => x (i + 2)) (L + 12)) (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (fun i => x (i + 1)) ( -- (+162 chars; full line in the Zenodo source)
rw [ip0 K x L hz, ip1 K x L hz, ip2 K x L hz, ip3 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb1 : (K.mul (LibRing.castN K 16) (K.add (K.mul (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) x (L + 12)) (ip K (fun i => x (i + 7)) (fun i => x (i + 2)) (L + 12))) (K.neg (K.mul (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (fun i => x (i + 2)) (L + 12)) (ip K (fun i => x (i + 7)) x (L + 12)))))) = (K.add (K.add (K.add (K.mul (LibRing.castN K 16) (K.mul (Rk K x L 5) -- (+250 chars; full line in the Zenodo source)
rw [ip4 K x L hz, ip5 K x L hz, ip2 K x L hz, ip6 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb2 : (K.mul (LibRing.castN K 84) (K.add (K.mul (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (fun i => x (i + 1)) (L + 12)) (ip K (Zs K (pv5 K x)) (fun i => x (i + 2)) (L + 12))) (K.neg (K.mul (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (fun i => x (i + 2)) (L + 12)) (ip K (Zs K (pv5 K x)) (fun i => x (i + 1)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.a -- (+1968 chars; full line in the Zenodo source)
rw [ip0 K x L hz, ip7 K x L hz, ip2 K x L hz, ip8 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb3 : (K.mul (LibRing.castN K 120) (K.add (K.mul (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (fun i => x (i + 1)) (L + 12)) (ip K (pv6 K x) (fun i => x (i + 2)) (L + 12))) (K.neg (K.mul (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (fun i => x (i + 2)) (L + 12)) (ip K (pv6 K x) (fun i => x (i + 1)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K. -- (+1969 chars; full line in the Zenodo source)
rw [ip0 K x L hz, ip9 K x L hz, ip2 K x L hz, ip10 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb4 : (K.mul (LibRing.castN K 18) (K.add (K.mul (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (fun i => x (i + 2)) (L + 12)) (ip K (fun i => x (i + 5)) (fun i => x (i + 3)) (L + 12))) (K.neg (K.mul (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (fun i => x (i + 3)) (L + 12)) (ip K (fun i => x (i + 5)) (fun i => x (i + 2)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K. -- (+516 chars; full line in the Zenodo source)
rw [ip1 K x L hz, ip11 K x L hz, ip12 K x L hz, ip13 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb5 : (K.mul (LibRing.castN K 44) (K.add (K.mul (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) x (L + 12)) (ip K (fun i => x (i + 7)) (fun i => x (i + 3)) (L + 12))) (K.neg (K.mul (ip K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (fun i => x (i + 3)) (L + 12)) (ip K (fun i => x (i + 7)) x (L + 12)))))) = (K.add (K.add (K.add (K.add (K.mul (LibRing.castN K 44) (K.mul (Rk K x L 4) (Rk K x -- (+322 chars; full line in the Zenodo source)
rw [ip14 K x L hz, ip15 K x L hz, ip12 K x L hz, ip6 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb6 : (K.mul (LibRing.castN K 92) (K.add (K.mul (ip K (Zs K (Zs K (Zs K (Zs K (Zs K x))))) (fun i => x (i + 3)) (L + 12)) (ip K (Zs K (pv3 K x)) (fun i => x (i + 4)) (L + 12))) (K.neg (K.mul (ip K (Zs K (Zs K (Zs K (Zs K (Zs K x))))) (fun i => x (i + 4)) (L + 12)) (ip K (Zs K (pv3 K x)) (fun i => x (i + 3)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+1514 chars; full line in the Zenodo source)
rw [ip16 K x L hz, ip17 K x L hz, ip18 K x L hz, ip19 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb7 : (K.mul (LibRing.castN K 102) (K.add (K.mul (ip K (Zs K (Zs K (Zs K x))) (fun i => x (i + 5)) (L + 12)) (ip K (Zs K (c1v K x)) (fun i => x (i + 6)) (L + 12))) (K.neg (K.mul (ip K (Zs K (Zs K (Zs K x))) (fun i => x (i + 6)) (L + 12)) (ip K (Zs K (c1v K x)) (fun i => x (i + 5)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.neg (K.mul (LibRing.castN K 102) (K.mul (Rk K x L 5) (Rk -- (+373 chars; full line in the Zenodo source)
rw [ip20 K x L hz, ip21 K x L hz, ip22 K x L hz, ip23 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb8 : (K.mul (LibRing.castN K 250) (K.add (K.mul (ip K (Zs K x) (Zs K (pv8 K x)) (L + 12)) (ip K x (Zs K (pv7 K x)) (L + 12))) (K.neg (K.mul (ip K (Zs K x) (Zs K (pv7 K x)) (L + 12)) (ip K x (Zs K (pv8 K x)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add -- (+15846 chars; full line in the Zenodo source)
rw [ip24 K x L hz, ip25 K x L hz, ip26 K x L hz, ip27 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb9 : (K.mul (LibRing.castN K 44) (K.add (K.mul (ip K (Zs K x) (fun i => x (i + 5)) (L + 12)) (ip K (fun i => x (i + 4)) (fun i => x (i + 6)) (L + 12))) (K.neg (K.mul (ip K (Zs K x) (fun i => x (i + 6)) (L + 12)) (ip K (fun i => x (i + 4)) (fun i => x (i + 5)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.neg (K.mul (LibRing.castN K 44) (K.mul (Rk K x L -- (+688 chars; full line in the Zenodo source)
rw [ip28 K x L hz, ip29 K x L hz, ip30 K x L hz, ip31 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb10 : (K.mul (LibRing.castN K 18) (K.add (K.mul (ip K (Zs K x) (fun i => x (i + 7)) (L + 12)) (ip K (Zs K (c1v K x)) (fun i => x (i + 6)) (L + 12))) (K.neg (K.mul (ip K (Zs K x) (fun i => x (i + 6)) (L + 12)) (ip K (Zs K (c1v K x)) (fun i => x (i + 7)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.mul (LibRing.castN K 18) (K.mul (Rk K x L 6) (Rk K x L 8))) (K.neg (K.mul (LibRing.c -- (+339 chars; full line in the Zenodo source)
rw [ip32 K x L hz, ip21 K x L hz, ip30 K x L hz, ip33 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb11 : (K.mul (LibRing.castN K 6) (K.add (K.mul (ip K x (Zs K (pv4 K (fun i => x (i + 2)))) (L + 12)) (ip K (fun i => x (i + 2)) (fun i => x (i + 7)) (L + 12))) (K.neg (K.mul (ip K x (fun i => x (i + 7)) (L + 12)) (ip K (fun i => x (i + 2)) (Zs K (pv4 K (fun i => x (i + 2)))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add ( -- (+3009 chars; full line in the Zenodo source)
rw [ip34 K x L hz, ip35 K x L hz, ip36 K x L hz, ip37 K x L hz]
ring_z
end ident
end GenA7
lean_all/ym/GenA7Bp03.lean
/-
ym/GenA7Bp03 — T45, G54: part of the generated base of (A) (GenA7B split by cert/A/gen/split_base.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7Bp02
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section ident
variable (x : Nat → R) (L : Nat) (hz : ∀ t, L ≤ t → x t = K.zero)
set_option maxRecDepth 2000000 in
include hz in
theorem cb12 : (K.mul (LibRing.castN K 30) (K.add (K.mul (ip K x (Zs K (pv4 K (fun i => x (i + 3)))) (L + 12)) (ip K (fun i => x (i + 2)) (Zs K (pv2 K (fun i => x (i + 3)))) (L + 12))) (K.neg (K.mul (ip K x (Zs K (pv2 K (fun i => x (i + 3)))) (L + 12)) (ip K (fun i => x (i + 2)) (Zs K (pv4 K (fun i => x (i + 3)))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.ad -- (+7831 chars; full line in the Zenodo source)
rw [ip38 K x L hz, ip39 K x L hz, ip40 K x L hz, ip41 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb13 : (K.mul (LibRing.castN K 22) (K.add (K.mul (ip K x (pv4 K (fun i => x (i + 3))) (L + 12)) (ip K (fun i => x (i + 3)) (fun i => x (i + 6)) (L + 12))) (K.neg (K.mul (ip K x (fun i => x (i + 6)) (L + 12)) (ip K (fun i => x (i + 3)) (pv4 K (fun i => x (i + 3))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add -- (+4163 chars; full line in the Zenodo source)
rw [ip42 K x L hz, ip43 K x L hz, ip44 K x L hz, ip45 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb14 : (K.mul (LibRing.castN K 28) (K.add (K.mul (ip K x (Zs K (pv3 K (fun i => x (i + 2)))) (L + 12)) (ip K (fun i => x (i + 3)) (fun i => x (i + 7)) (L + 12))) (K.neg (K.mul (ip K x (fun i => x (i + 7)) (L + 12)) (ip K (fun i => x (i + 3)) (Zs K (pv3 K (fun i => x (i + 2)))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add -- (+3785 chars; full line in the Zenodo source)
rw [ip46 K x L hz, ip47 K x L hz, ip36 K x L hz, ip48 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb15 : (K.mul (LibRing.castN K 12) (K.add (K.mul (ip K (fun i => x (i + 1)) (Zs K (pv2 K (fun i => x (i + 3)))) (L + 12)) (ip K (fun i => x (i + 3)) (fun i => x (i + 6)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 1)) (fun i => x (i + 6)) (L + 12)) (ip K (fun i => x (i + 3)) (Zs K (pv2 K (fun i => x (i + 3)))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+3291 chars; full line in the Zenodo source)
rw [ip49 K x L hz, ip43 K x L hz, ip50 K x L hz, ip51 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb16 : (K.mul (LibRing.castN K 42) (K.add (K.mul (ip K (fun i => x (i + 1)) (Zs K (pv3 K (fun i => x (i + 1)))) (L + 12)) (ip K (fun i => x (i + 3)) (fun i => x (i + 7)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 1)) (fun i => x (i + 7)) (L + 12)) (ip K (fun i => x (i + 3)) (Zs K (pv3 K (fun i => x (i + 1)))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+4695 chars; full line in the Zenodo source)
rw [ip52 K x L hz, ip47 K x L hz, ip53 K x L hz, ip54 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb17 : (K.mul (LibRing.castN K 10) (K.add (K.mul (ip K (fun i => x (i + 1)) (Zs K (pv2 K (fun i => x (i + 3)))) (L + 12)) (ip K (fun i => x (i + 4)) (fun i => x (i + 5)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 1)) (fun i => x (i + 5)) (L + 12)) (ip K (fun i => x (i + 4)) (Zs K (pv2 K (fun i => x (i + 3)))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+4210 chars; full line in the Zenodo source)
rw [ip49 K x L hz, ip31 K x L hz, ip55 K x L hz, ip56 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb18 : (K.mul (LibRing.castN K 18) (K.add (K.mul (ip K (fun i => x (i + 1)) (Zs K (pv3 K (fun i => x (i + 1)))) (L + 12)) (ip K (fun i => x (i + 4)) (fun i => x (i + 6)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 1)) (fun i => x (i + 6)) (L + 12)) (ip K (fun i => x (i + 4)) (Zs K (pv3 K (fun i => x (i + 1)))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+5207 chars; full line in the Zenodo source)
rw [ip52 K x L hz, ip29 K x L hz, ip50 K x L hz, ip57 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb19 : (K.mul (LibRing.castN K 6) (K.add (K.mul (ip K (fun i => x (i + 1)) (pv3 K (fun i => x (i + 2))) (L + 12)) (ip K (fun i => x (i + 4)) (fun i => x (i + 6)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 1)) (fun i => x (i + 6)) (L + 12)) (ip K (fun i => x (i + 4)) (pv3 K (fun i => x (i + 2))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.ad -- (+4834 chars; full line in the Zenodo source)
rw [ip58 K x L hz, ip29 K x L hz, ip50 K x L hz, ip59 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb20 : (K.mul (LibRing.castN K 34) (K.add (K.mul (ip K (fun i => x (i + 1)) (Zs K (pv1 K (fun i => x (i + 3)))) (L + 12)) (ip K (fun i => x (i + 4)) (fun i => x (i + 6)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 1)) (fun i => x (i + 6)) (L + 12)) (ip K (fun i => x (i + 4)) (Zs K (pv1 K (fun i => x (i + 3)))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+3795 chars; full line in the Zenodo source)
rw [ip60 K x L hz, ip29 K x L hz, ip50 K x L hz, ip61 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb21 : (K.mul (LibRing.castN K 12) (K.add (K.mul (ip K (fun i => x (i + 1)) (pv2 K (fun i => x (i + 3))) (L + 12)) (ip K (fun i => x (i + 4)) (fun i => x (i + 6)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 1)) (fun i => x (i + 6)) (L + 12)) (ip K (fun i => x (i + 4)) (pv2 K (fun i => x (i + 3))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+4545 chars; full line in the Zenodo source)
rw [ip62 K x L hz, ip29 K x L hz, ip50 K x L hz, ip63 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb22 : (K.mul (LibRing.castN K 42) (K.add (K.mul (ip K (fun i => x (i + 2)) (Zs K (pv3 K (fun i => x (i + 1)))) (L + 12)) (ip K (fun i => x (i + 3)) (fun i => x (i + 6)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 2)) (fun i => x (i + 6)) (L + 12)) (ip K (fun i => x (i + 3)) (Zs K (pv3 K (fun i => x (i + 1)))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+5409 chars; full line in the Zenodo source)
rw [ip64 K x L hz, ip43 K x L hz, ip65 K x L hz, ip54 K x L hz]
ring_z
end ident
end GenA7
lean_all/ym/GenA7Bp04.lean
/-
ym/GenA7Bp04 — T45, G54: part of the generated base of (A) (GenA7B split by cert/A/gen/split_base.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7Bp03
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section ident
variable (x : Nat → R) (L : Nat) (hz : ∀ t, L ≤ t → x t = K.zero)
set_option maxRecDepth 2000000 in
include hz in
theorem cb23 : (K.mul (LibRing.castN K 708) (K.add (K.mul (ip K (fun i => x (i + 2)) (Zs K (pv5 K x)) (L + 12)) (ip K (fun i => x (i + 3)) (Zs K (pv4 K x)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 2)) (Zs K (pv4 K x)) (L + 12)) (ip K (fun i => x (i + 3)) (Zs K (pv5 K x)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add -- (+15983 chars; full line in the Zenodo source)
rw [ip66 K x L hz, ip67 K x L hz, ip68 K x L hz, ip69 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb24 : (K.mul (LibRing.castN K 12) (K.add (K.mul (ip K (fun i => x (i + 2)) (fun i => x (i + 4)) (L + 12)) (ip K (fun i => x (i + 4)) (fun i => x (i + 6)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 2)) (fun i => x (i + 6)) (L + 12)) (ip K (fun i => x (i + 4)) (fun i => x (i + 4)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add -- (+1852 chars; full line in the Zenodo source)
rw [ip70 K x L hz, ip29 K x L hz, ip65 K x L hz, ip71 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb25 : (K.mul (LibRing.castN K 80) (K.add (K.mul (ip K (fun i => x (i + 2)) (Zs K (pv2 K (fun i => x (i + 3)))) (L + 12)) (ip K (fun i => x (i + 4)) (fun i => x (i + 4)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 2)) (fun i => x (i + 4)) (L + 12)) (ip K (fun i => x (i + 4)) (Zs K (pv2 K (fun i => x (i + 3)))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+4964 chars; full line in the Zenodo source)
rw [ip39 K x L hz, ip71 K x L hz, ip70 K x L hz, ip56 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb26 : (K.mul (LibRing.castN K 64) (K.add (K.mul (ip K (fun i => x (i + 2)) (Zs K (pv1 K (fun i => x (i + 3)))) (L + 12)) (ip K (fun i => x (i + 4)) (fun i => x (i + 5)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 2)) (fun i => x (i + 5)) (L + 12)) (ip K (fun i => x (i + 4)) (Zs K (pv1 K (fun i => x (i + 3)))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+2836 chars; full line in the Zenodo source)
rw [ip72 K x L hz, ip31 K x L hz, ip73 K x L hz, ip61 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb27 : (K.mul (LibRing.castN K 28) (K.add (K.mul (ip K (fun i => x (i + 2)) (fun i => x (i + 4)) (L + 12)) (ip K (fun i => x (i + 5)) (fun i => x (i + 5)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 2)) (fun i => x (i + 5)) (L + 12)) (ip K (fun i => x (i + 5)) (fun i => x (i + 4)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add -- (+2187 chars; full line in the Zenodo source)
rw [ip70 K x L hz, ip74 K x L hz, ip73 K x L hz, ip75 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb28 : (K.mul (LibRing.castN K 18) (K.add (K.mul (ip K (fun i => x (i + 2)) (pv3 K (fun i => x (i + 1))) (L + 12)) (ip K (fun i => x (i + 5)) (fun i => x (i + 5)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 2)) (fun i => x (i + 5)) (L + 12)) (ip K (fun i => x (i + 5)) (pv3 K (fun i => x (i + 1))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+6319 chars; full line in the Zenodo source)
rw [ip76 K x L hz, ip74 K x L hz, ip73 K x L hz, ip77 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb29 : (K.mul (LibRing.castN K 12) (K.add (K.mul (ip K (fun i => x (i + 2)) (pv2 K (fun i => x (i + 2))) (L + 12)) (ip K (fun i => x (i + 5)) (fun i => x (i + 5)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 2)) (fun i => x (i + 5)) (L + 12)) (ip K (fun i => x (i + 5)) (pv2 K (fun i => x (i + 2))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+5164 chars; full line in the Zenodo source)
rw [ip78 K x L hz, ip74 K x L hz, ip73 K x L hz, ip79 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb30 : (K.mul (LibRing.castN K 986) (K.add (K.mul (ip K (fun i => x (i + 3)) (fun i => x (i + 4)) (L + 12)) (ip K (fun i => x (i + 4)) (fun i => x (i + 5)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 3)) (fun i => x (i + 5)) (L + 12)) (ip K (fun i => x (i + 4)) (fun i => x (i + 4)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.ad -- (+2499 chars; full line in the Zenodo source)
rw [ip80 K x L hz, ip31 K x L hz, ip81 K x L hz, ip71 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb31 : (K.mul (LibRing.castN K 12) (K.add (K.mul (ip K (fun i => x (i + 3)) (Zs K (pv2 K (fun i => x (i + 2)))) (L + 12)) (ip K (fun i => x (i + 4)) (fun i => x (i + 4)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 3)) (fun i => x (i + 4)) (L + 12)) (ip K (fun i => x (i + 4)) (Zs K (pv2 K (fun i => x (i + 2)))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+5827 chars; full line in the Zenodo source)
rw [ip82 K x L hz, ip71 K x L hz, ip80 K x L hz, ip83 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb32 : (K.mul (LibRing.castN K 60) (K.add (K.mul (ip K (fun i => x (i + 3)) (pv1 K (fun i => x (i + 3))) (L + 12)) (ip K (fun i => x (i + 4)) (fun i => x (i + 5)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 3)) (fun i => x (i + 5)) (L + 12)) (ip K (fun i => x (i + 4)) (pv1 K (fun i => x (i + 3))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+3181 chars; full line in the Zenodo source)
rw [ip84 K x L hz, ip31 K x L hz, ip81 K x L hz, ip85 K x L hz]
ring_z
end ident
end GenA7
lean_all/ym/GenA7Bp05.lean
/-
ym/GenA7Bp05 — T45, G54: part of the generated base of (A) (GenA7B split by cert/A/gen/split_base.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7Bp04
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section ident
variable (x : Nat → R) (L : Nat) (hz : ∀ t, L ≤ t → x t = K.zero)
set_option maxRecDepth 2000000 in
include hz in
theorem cb33 : (K.mul (LibRing.castN K 2190) (K.add (K.mul (ip K (fun i => x (i + 3)) (Zs K (pv4 K x)) (L + 12)) (ip K (fun i => x (i + 4)) (Zs K (pv3 K x)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 3)) (Zs K (pv3 K x)) (L + 12)) (ip K (fun i => x (i + 4)) (Zs K (pv4 K x)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add -- (+15166 chars; full line in the Zenodo source)
rw [ip67 K x L hz, ip86 K x L hz, ip87 K x L hz, ip88 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb34 : (K.mul (LibRing.castN K 120) (K.add (K.mul (ip K (fun i => x (i + 3)) (Zs K (pv4 K x)) (L + 12)) (ip K (fun i => x (i + 4)) (pv4 K x) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 3)) (pv4 K x) (L + 12)) (ip K (fun i => x (i + 4)) (Zs K (pv4 K x)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add -- (+15532 chars; full line in the Zenodo source)
rw [ip67 K x L hz, ip89 K x L hz, ip90 K x L hz, ip88 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb35 : (K.mul (LibRing.castN K 160) (K.add (K.mul (ip K (fun i => x (i + 3)) (pv1 K (fun i => x (i + 3))) (L + 12)) (ip K (fun i => x (i + 5)) (fun i => x (i + 4)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 3)) (fun i => x (i + 4)) (L + 12)) (ip K (fun i => x (i + 5)) (pv1 K (fun i => x (i + 3))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K. -- (+2244 chars; full line in the Zenodo source)
rw [ip84 K x L hz, ip75 K x L hz, ip80 K x L hz, ip91 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb36 : (K.mul (LibRing.castN K 10) (K.add (K.mul (ip K (fun i => x (i + 3)) (pv1 K (fun i => x (i + 3))) (L + 12)) (ip K (fun i => x (i + 6)) (fun i => x (i + 3)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 3)) (fun i => x (i + 3)) (L + 12)) (ip K (fun i => x (i + 6)) (pv1 K (fun i => x (i + 3))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+3935 chars; full line in the Zenodo source)
rw [ip84 K x L hz, ip92 K x L hz, ip93 K x L hz, ip94 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb37 : (K.mul (LibRing.castN K 22) (K.add (K.mul (ip K (fun i => x (i + 4)) (pv2 K x) (L + 12)) (ip K (fun i => x (i + 5)) (fun i => x (i + 5)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 4)) (fun i => x (i + 5)) (L + 12)) (ip K (fun i => x (i + 5)) (pv2 K x) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add -- (+4554 chars; full line in the Zenodo source)
rw [ip95 K x L hz, ip74 K x L hz, ip31 K x L hz, ip96 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb38 : (K.mul (LibRing.castN K 810) (K.add (K.mul (ip K (fun i => x (i + 4)) (Zs K (pv3 K x)) (L + 12)) (ip K (fun i => x (i + 5)) (Zs K (pv2 K x)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 4)) (Zs K (pv2 K x)) (L + 12)) (ip K (fun i => x (i + 5)) (Zs K (pv3 K x)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add -- (+6752 chars; full line in the Zenodo source)
rw [ip86 K x L hz, ip97 K x L hz, ip98 K x L hz, ip99 K x L hz]
ring_z
end ident
end GenA7
lean_all/ym/GenA7Bp06.lean
/-
ym/GenA7Bp06 — T45, G54: part of the generated base of (A) (GenA7B split by cert/A/gen/split_base.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7Bp05
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section ident
variable (x : Nat → R) (L : Nat) (hz : ∀ t, L ≤ t → x t = K.zero)
set_option maxRecDepth 2000000 in
include hz in
theorem cb39 : (K.mul (LibRing.castN K 14) (K.add (K.mul (ip K (fun i => x (i + 4)) (Zs K (pv3 K x)) (L + 12)) (ip K (fun i => x (i + 5)) (pv3 K x) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 4)) (pv3 K x) (L + 12)) (ip K (fun i => x (i + 5)) (Zs K (pv3 K x)) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add ( -- (+10389 chars; full line in the Zenodo source)
rw [ip86 K x L hz, ip100 K x L hz, ip101 K x L hz, ip99 K x L hz]
ring_z
set_option maxRecDepth 2000000 in
include hz in
theorem cb40 : (K.mul (LibRing.castN K 34) (K.add (K.mul (ip K (fun i => x (i + 4)) (pv1 K (fun i => x (i + 1))) (L + 12)) (ip K (fun i => x (i + 6)) (fun i => x (i + 4)) (L + 12))) (K.neg (K.mul (ip K (fun i => x (i + 4)) (fun i => x (i + 4)) (L + 12)) (ip K (fun i => x (i + 6)) (pv1 K (fun i => x (i + 1))) (L + 12)))))) = (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.add (K.a -- (+3550 chars; full line in the Zenodo source)
rw [ip102 K x L hz, ip103 K x L hz, ip71 K x L hz, ip104 K x L hz]
ring_z
end ident
end GenA7
lean_all/ym/GenA7S00.lean
/-
ym/GenA7S00 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg0 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero K.zero) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero K.zero) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero K.zero) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero K.zero) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero K.zero) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (1))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (2))) (K.neg (K.mul (Zs K x (1)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (3))) (K.neg (K.mul (Zs K x (2)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 10))) (K.neg (K.mul (Zs K x (w + 9)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero K.zero) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero K.zero) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero K.zero) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero K.zero) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (1))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (2))) (K.neg (K.mul (Zs K x (1)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (3))) (K.neg (K.mul (Zs K x (2)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 11))) (K.neg (K.mul (Zs K x (w + 10)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero K.zero) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero K.zero) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero K.zero) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (1))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (2))) (K.neg (K.mul (Zs K x (1)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (3))) (K.neg (K.mul (Zs K x (2)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 12))) (K.neg (K.mul (Zs K x (w + 11)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero K.zero) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero K.zero) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (1))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (2))) (K.neg (K.mul (Zs K x (1)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (3))) (K.neg (K.mul (Zs K x (2)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 13))) (K.neg (K.mul (Zs K x (w + 12)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero K.zero) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (1))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (2))) (K.neg (K.mul (Zs K x (1)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (3))) (K.neg (K.mul (Zs K x (2)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 14))) (K.neg (K.mul (Zs K x (w + 13)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (1))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (2))) (K.neg (K.mul (Zs K x (1)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (3))) (K.neg (K.mul (Zs K x (2)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 15))) (K.neg (K.mul (Zs K x (w + 14)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (2))) (K.neg (K.mul (Zs K x (1)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (1))) := O.mul_nonneg _ _ (hx (0)) (hx (0))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (3))) (K.neg (K.mul (Zs K x (2)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (2))) := O.mul_nonneg _ _ (hx (0)) (hx (1))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (0)) (hx (2))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (0)) (hx (3))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (0)) (hx (4))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (0)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (0)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (0)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (0)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (0)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (0)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (0)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (0)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (0)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 16))) (K.neg (K.mul (Zs K x (w + 15)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (0)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (3))) (K.neg (K.mul (Zs K x (2)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (3))) (K.neg (K.mul (Zs K x (2)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (0)
try rw [show (0) + (0) + 1 + (1) = 2 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (4))) (K.neg (K.mul (Zs K x (2)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (0)
try rw [show (0) + (0) + 1 + (2) = 3 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (2)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (0)
try rw [show (0) + (0) + 1 + (3) = 4 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (2)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (0)
try rw [show (0) + (0) + 1 + (4) = 5 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (2)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (0)
try rw [show (0) + (0) + 1 + (5) = 6 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (2)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (0)
try rw [show (0) + (0) + 1 + (6) = 7 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (2)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (0)
try rw [show (0) + (0) + 1 + (7) = 8 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (7)
try rw [show (0) + (7) + 1 + (1) = 9 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (8)
try rw [show (0) + (8) + 1 + (1) = 10 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (9)
try rw [show (0) + (9) + 1 + (1) = 11 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (10)
try rw [show (0) + (10) + 1 + (1) = 12 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (11)
try rw [show (0) + (11) + 1 + (1) = 13 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (12)
try rw [show (0) + (12) + 1 + (1) = 14 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (13)
try rw [show (0) + (13) + 1 + (1) = 15 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (w + 16)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (2)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (0)
try rw [show (0) + (0) + 1 + (w + 15) = w + 16 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (0)
try rw [show (1) + (0) + 1 + (1) = 3 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (0)
try rw [show (1) + (0) + 1 + (2) = 4 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (0)
try rw [show (1) + (0) + 1 + (3) = 5 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (0)
try rw [show (1) + (0) + 1 + (4) = 6 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (0)
try rw [show (1) + (0) + 1 + (5) = 7 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (3)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (0)
try rw [show (1) + (0) + 1 + (6) = 8 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (0)
try rw [show (1) + (0) + 1 + (7) = 9 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (7)
try rw [show (1) + (7) + 1 + (1) = 10 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (8)
try rw [show (1) + (8) + 1 + (1) = 11 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (9)
try rw [show (1) + (9) + 1 + (1) = 12 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (10)
try rw [show (1) + (10) + 1 + (1) = 13 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (11)
try rw [show (1) + (11) + 1 + (1) = 14 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (12)
try rw [show (1) + (12) + 1 + (1) = 15 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (13)
try rw [show (1) + (13) + 1 + (1) = 16 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (w + 17)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (3)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (0)
try rw [show (1) + (0) + 1 + (w + 15) = w + 17 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (0)
try rw [show (2) + (0) + 1 + (1) = 4 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (0)
try rw [show (2) + (0) + 1 + (2) = 5 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (0)
try rw [show (2) + (0) + 1 + (3) = 6 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (0)
try rw [show (2) + (0) + 1 + (4) = 7 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (0)
try rw [show (2) + (0) + 1 + (5) = 8 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (0)
try rw [show (2) + (0) + 1 + (6) = 9 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (0)
try rw [show (2) + (0) + 1 + (7) = 10 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (7)
try rw [show (2) + (7) + 1 + (1) = 11 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (8)
try rw [show (2) + (8) + 1 + (1) = 12 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (9)
try rw [show (2) + (9) + 1 + (1) = 13 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (10)
try rw [show (2) + (10) + 1 + (1) = 14 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (11)
try rw [show (2) + (11) + 1 + (1) = 15 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (12)
try rw [show (2) + (12) + 1 + (1) = 16 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (13)
try rw [show (2) + (13) + 1 + (1) = 17 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (w + 18)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (0)
try rw [show (2) + (0) + 1 + (w + 15) = w + 18 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (0)
try rw [show (3) + (0) + 1 + (1) = 5 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (0)
try rw [show (3) + (0) + 1 + (2) = 6 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (0)
try rw [show (3) + (0) + 1 + (3) = 7 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (0)
try rw [show (3) + (0) + 1 + (4) = 8 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (0)
try rw [show (3) + (0) + 1 + (5) = 9 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (0)
try rw [show (3) + (0) + 1 + (6) = 10 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (0)
try rw [show (3) + (0) + 1 + (7) = 11 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (7)
try rw [show (3) + (7) + 1 + (1) = 12 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (8)
try rw [show (3) + (8) + 1 + (1) = 13 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (9)
try rw [show (3) + (9) + 1 + (1) = 14 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (10)
try rw [show (3) + (10) + 1 + (1) = 15 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (11)
try rw [show (3) + (11) + 1 + (1) = 16 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (12)
try rw [show (3) + (12) + 1 + (1) = 17 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (13)
try rw [show (3) + (13) + 1 + (1) = 18 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (w + 19)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (0)
try rw [show (3) + (0) + 1 + (w + 15) = w + 19 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (0)
try rw [show (4) + (0) + 1 + (1) = 6 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (0)
try rw [show (4) + (0) + 1 + (2) = 7 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (0)
try rw [show (4) + (0) + 1 + (3) = 8 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (0)
try rw [show (4) + (0) + 1 + (4) = 9 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (0)
try rw [show (4) + (0) + 1 + (5) = 10 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (0)
try rw [show (4) + (0) + 1 + (6) = 11 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (0)
try rw [show (4) + (0) + 1 + (7) = 12 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (7)
try rw [show (4) + (7) + 1 + (1) = 13 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (8)
try rw [show (4) + (8) + 1 + (1) = 14 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (9)
try rw [show (4) + (9) + 1 + (1) = 15 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (10)
try rw [show (4) + (10) + 1 + (1) = 16 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (11)
try rw [show (4) + (11) + 1 + (1) = 17 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (12)
try rw [show (4) + (12) + 1 + (1) = 18 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (13)
try rw [show (4) + (13) + 1 + (1) = 19 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (w + 20)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (0)
try rw [show (4) + (0) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (0)
try rw [show (5) + (0) + 1 + (1) = 7 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (0)
try rw [show (5) + (0) + 1 + (2) = 8 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (0)
try rw [show (5) + (0) + 1 + (3) = 9 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (0)
try rw [show (5) + (0) + 1 + (4) = 10 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (0)
try rw [show (5) + (0) + 1 + (5) = 11 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (0)
try rw [show (5) + (0) + 1 + (6) = 12 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (0)
try rw [show (5) + (0) + 1 + (7) = 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (7)
try rw [show (5) + (7) + 1 + (1) = 14 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (9)
try rw [show (5) + (9) + 1 + (1) = 16 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (10)
try rw [show (5) + (10) + 1 + (1) = 17 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (11)
try rw [show (5) + (11) + 1 + (1) = 18 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (12)
try rw [show (5) + (12) + 1 + (1) = 19 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (13)
try rw [show (5) + (13) + 1 + (1) = 20 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (w + 21)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (0)
try rw [show (5) + (0) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 9))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 9))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 8)))))) := by
have h := A2.mk K O x hT (1) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (1) = a + 8 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (1) = a + 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 10))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 10))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (2) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (2) = a + 9 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (2) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 11))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 11))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 10)))))) := by
have h := A2.mk K O x hT (3) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (3) = a + 10 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (3) = a + 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 12))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 12))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 11)))))) := by
have h := A2.mk K O x hT (4) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (4) = a + 11 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (4) = a + 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 13))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 13))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (5) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (5) = a + 12 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (5) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 14))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 14))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (6) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (6) = a + 13 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (6) = a + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (7) = a + 14 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (8) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (8) = a + 15 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (8) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (9) = a + 16 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (10) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (10) = a + 17 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (10) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (11) = a + 18 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (12) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (12) = a + 19 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (12) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (13) = a + 20 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (14) = a + 21 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 23))) (K.neg (K.mul (Zs K x (a + w + 22)) (Zs K x (a + 8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 23))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (w + 15) = a + w + 22 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (w + 15) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S01.lean
/-
ym/GenA7S01 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg1 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (fun i => x (i + 1)) (fun i => x (i + 2)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (0)
try rw [show (1) + (0) + 1 + (1) = 3 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (0)
try rw [show (1) + (0) + 1 + (2) = 4 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (0)
try rw [show (1) + (0) + 1 + (3) = 5 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (0)
try rw [show (1) + (0) + 1 + (4) = 6 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (0)
try rw [show (1) + (0) + 1 + (5) = 7 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (3)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (0)
try rw [show (1) + (0) + 1 + (6) = 8 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (0)
try rw [show (1) + (0) + 1 + (7) = 9 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (7)
try rw [show (1) + (7) + 1 + (1) = 10 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (8)
try rw [show (1) + (8) + 1 + (1) = 11 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (9)
try rw [show (1) + (9) + 1 + (1) = 12 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (10)
try rw [show (1) + (10) + 1 + (1) = 13 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (11)
try rw [show (1) + (11) + 1 + (1) = 14 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (12)
try rw [show (1) + (12) + 1 + (1) = 15 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (13)
try rw [show (1) + (13) + 1 + (1) = 16 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (w + 17)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (3)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (0)
try rw [show (1) + (0) + 1 + (w + 15) = w + 17 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (0)
try rw [show (2) + (0) + 1 + (1) = 4 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (0)
try rw [show (2) + (0) + 1 + (2) = 5 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (0)
try rw [show (2) + (0) + 1 + (3) = 6 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (0)
try rw [show (2) + (0) + 1 + (4) = 7 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (0)
try rw [show (2) + (0) + 1 + (5) = 8 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (0)
try rw [show (2) + (0) + 1 + (6) = 9 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (0)
try rw [show (2) + (0) + 1 + (7) = 10 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (7)
try rw [show (2) + (7) + 1 + (1) = 11 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (8)
try rw [show (2) + (8) + 1 + (1) = 12 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (9)
try rw [show (2) + (9) + 1 + (1) = 13 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (10)
try rw [show (2) + (10) + 1 + (1) = 14 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (11)
try rw [show (2) + (11) + 1 + (1) = 15 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (12)
try rw [show (2) + (12) + 1 + (1) = 16 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (13)
try rw [show (2) + (13) + 1 + (1) = 17 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (w + 18)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (0)
try rw [show (2) + (0) + 1 + (w + 15) = w + 18 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (0)
try rw [show (3) + (0) + 1 + (1) = 5 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (0)
try rw [show (3) + (0) + 1 + (2) = 6 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (0)
try rw [show (3) + (0) + 1 + (3) = 7 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (0)
try rw [show (3) + (0) + 1 + (4) = 8 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (0)
try rw [show (3) + (0) + 1 + (5) = 9 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (0)
try rw [show (3) + (0) + 1 + (6) = 10 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (0)
try rw [show (3) + (0) + 1 + (7) = 11 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (7)
try rw [show (3) + (7) + 1 + (1) = 12 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (8)
try rw [show (3) + (8) + 1 + (1) = 13 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (9)
try rw [show (3) + (9) + 1 + (1) = 14 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (10)
try rw [show (3) + (10) + 1 + (1) = 15 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (11)
try rw [show (3) + (11) + 1 + (1) = 16 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (12)
try rw [show (3) + (12) + 1 + (1) = 17 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (13)
try rw [show (3) + (13) + 1 + (1) = 18 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (w + 19)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (0)
try rw [show (3) + (0) + 1 + (w + 15) = w + 19 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (0)
try rw [show (4) + (0) + 1 + (1) = 6 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (0)
try rw [show (4) + (0) + 1 + (2) = 7 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (0)
try rw [show (4) + (0) + 1 + (3) = 8 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (0)
try rw [show (4) + (0) + 1 + (4) = 9 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (0)
try rw [show (4) + (0) + 1 + (5) = 10 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (0)
try rw [show (4) + (0) + 1 + (6) = 11 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (0)
try rw [show (4) + (0) + 1 + (7) = 12 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (7)
try rw [show (4) + (7) + 1 + (1) = 13 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (8)
try rw [show (4) + (8) + 1 + (1) = 14 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (9)
try rw [show (4) + (9) + 1 + (1) = 15 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (10)
try rw [show (4) + (10) + 1 + (1) = 16 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (11)
try rw [show (4) + (11) + 1 + (1) = 17 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (12)
try rw [show (4) + (12) + 1 + (1) = 18 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (13)
try rw [show (4) + (13) + 1 + (1) = 19 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (w + 20)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (0)
try rw [show (4) + (0) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (0)
try rw [show (5) + (0) + 1 + (1) = 7 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (0)
try rw [show (5) + (0) + 1 + (2) = 8 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (0)
try rw [show (5) + (0) + 1 + (3) = 9 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (0)
try rw [show (5) + (0) + 1 + (4) = 10 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (0)
try rw [show (5) + (0) + 1 + (5) = 11 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (0)
try rw [show (5) + (0) + 1 + (6) = 12 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (0)
try rw [show (5) + (0) + 1 + (7) = 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (7)
try rw [show (5) + (7) + 1 + (1) = 14 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (9)
try rw [show (5) + (9) + 1 + (1) = 16 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (10)
try rw [show (5) + (10) + 1 + (1) = 17 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (11)
try rw [show (5) + (11) + 1 + (1) = 18 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (12)
try rw [show (5) + (12) + 1 + (1) = 19 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (13)
try rw [show (5) + (13) + 1 + (1) = 20 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (w + 21)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (0)
try rw [show (5) + (0) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (0)
try rw [show (6) + (0) + 1 + (1) = 8 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (0)
try rw [show (6) + (0) + 1 + (2) = 9 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (0)
try rw [show (6) + (0) + 1 + (3) = 10 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (0)
try rw [show (6) + (0) + 1 + (4) = 11 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (0)
try rw [show (6) + (0) + 1 + (5) = 12 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (0)
try rw [show (6) + (0) + 1 + (6) = 13 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (0)
try rw [show (6) + (0) + 1 + (7) = 14 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (7)
try rw [show (6) + (7) + 1 + (1) = 15 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (8)
try rw [show (6) + (8) + 1 + (1) = 16 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (9)
try rw [show (6) + (9) + 1 + (1) = 17 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (10)
try rw [show (6) + (10) + 1 + (1) = 18 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (11)
try rw [show (6) + (11) + 1 + (1) = 19 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (12)
try rw [show (6) + (12) + 1 + (1) = 20 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (13)
try rw [show (6) + (13) + 1 + (1) = 21 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (w + 22)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (0)
try rw [show (6) + (0) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (0)
try rw [show (7) + (0) + 1 + (1) = 9 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (0)
try rw [show (7) + (0) + 1 + (2) = 10 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (0)
try rw [show (7) + (0) + 1 + (3) = 11 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (0)
try rw [show (7) + (0) + 1 + (4) = 12 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (0)
try rw [show (7) + (0) + 1 + (5) = 13 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (0)
try rw [show (7) + (0) + 1 + (6) = 14 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (0)
try rw [show (7) + (0) + 1 + (7) = 15 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (7)
try rw [show (7) + (7) + 1 + (1) = 16 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (8)
try rw [show (7) + (8) + 1 + (1) = 17 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (9)
try rw [show (7) + (9) + 1 + (1) = 18 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (10)
try rw [show (7) + (10) + 1 + (1) = 19 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (11)
try rw [show (7) + (11) + 1 + (1) = 20 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (12)
try rw [show (7) + (12) + 1 + (1) = 21 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (13)
try rw [show (7) + (13) + 1 + (1) = 22 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (w + 23)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (0)
try rw [show (7) + (0) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (0)
try rw [show (8) + (0) + 1 + (1) = 10 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (0)
try rw [show (8) + (0) + 1 + (2) = 11 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (0)
try rw [show (8) + (0) + 1 + (3) = 12 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (0)
try rw [show (8) + (0) + 1 + (4) = 13 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (0)
try rw [show (8) + (0) + 1 + (5) = 14 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (0)
try rw [show (8) + (0) + 1 + (6) = 15 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (0)
try rw [show (8) + (0) + 1 + (7) = 16 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (7)
try rw [show (8) + (7) + 1 + (1) = 17 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (8)
try rw [show (8) + (8) + 1 + (1) = 18 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (9)
try rw [show (8) + (9) + 1 + (1) = 19 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (10)
try rw [show (8) + (10) + 1 + (1) = 20 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (11)
try rw [show (8) + (11) + 1 + (1) = 21 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (12)
try rw [show (8) + (12) + 1 + (1) = 22 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (13)
try rw [show (8) + (13) + 1 + (1) = 23 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (w + 24)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (0)
try rw [show (8) + (0) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (0)
try rw [show (9) + (0) + 1 + (1) = 11 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (0)
try rw [show (9) + (0) + 1 + (2) = 12 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (0)
try rw [show (9) + (0) + 1 + (3) = 13 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (0)
try rw [show (9) + (0) + 1 + (4) = 14 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (0)
try rw [show (9) + (0) + 1 + (5) = 15 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (0)
try rw [show (9) + (0) + 1 + (6) = 16 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (0)
try rw [show (9) + (0) + 1 + (7) = 17 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (7)
try rw [show (9) + (7) + 1 + (1) = 18 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (8)
try rw [show (9) + (8) + 1 + (1) = 19 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (9)
try rw [show (9) + (9) + 1 + (1) = 20 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (10)
try rw [show (9) + (10) + 1 + (1) = 21 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (11)
try rw [show (9) + (11) + 1 + (1) = 22 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (12)
try rw [show (9) + (12) + 1 + (1) = 23 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (13)
try rw [show (9) + (13) + 1 + (1) = 24 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (w + 25)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (0)
try rw [show (9) + (0) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (0)
try rw [show (10) + (0) + 1 + (1) = 12 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (0)
try rw [show (10) + (0) + 1 + (2) = 13 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (0)
try rw [show (10) + (0) + 1 + (3) = 14 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (0)
try rw [show (10) + (0) + 1 + (4) = 15 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (0)
try rw [show (10) + (0) + 1 + (5) = 16 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (0)
try rw [show (10) + (0) + 1 + (6) = 17 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (0)
try rw [show (10) + (0) + 1 + (7) = 18 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (7)
try rw [show (10) + (7) + 1 + (1) = 19 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (8)
try rw [show (10) + (8) + 1 + (1) = 20 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (9)
try rw [show (10) + (9) + 1 + (1) = 21 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (10)
try rw [show (10) + (10) + 1 + (1) = 22 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (11)
try rw [show (10) + (11) + 1 + (1) = 23 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (12)
try rw [show (10) + (12) + 1 + (1) = 24 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (13)
try rw [show (10) + (13) + 1 + (1) = 25 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (w + 26)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (0)
try rw [show (10) + (0) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (0)
try rw [show (11) + (0) + 1 + (1) = 13 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (0)
try rw [show (11) + (0) + 1 + (2) = 14 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (0)
try rw [show (11) + (0) + 1 + (3) = 15 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (0)
try rw [show (11) + (0) + 1 + (4) = 16 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (0)
try rw [show (11) + (0) + 1 + (5) = 17 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (0)
try rw [show (11) + (0) + 1 + (6) = 18 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (0)
try rw [show (11) + (0) + 1 + (7) = 19 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (7)
try rw [show (11) + (7) + 1 + (1) = 20 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (8)
try rw [show (11) + (8) + 1 + (1) = 21 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (9)
try rw [show (11) + (9) + 1 + (1) = 22 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (10)
try rw [show (11) + (10) + 1 + (1) = 23 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (11)
try rw [show (11) + (11) + 1 + (1) = 24 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (12)
try rw [show (11) + (12) + 1 + (1) = 25 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (13)
try rw [show (11) + (13) + 1 + (1) = 26 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (w + 27)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (0)
try rw [show (11) + (0) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (0)
try rw [show (12) + (0) + 1 + (1) = 14 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (0)
try rw [show (12) + (0) + 1 + (2) = 15 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (0)
try rw [show (12) + (0) + 1 + (3) = 16 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (0)
try rw [show (12) + (0) + 1 + (4) = 17 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (0)
try rw [show (12) + (0) + 1 + (5) = 18 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (0)
try rw [show (12) + (0) + 1 + (6) = 19 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (0)
try rw [show (12) + (0) + 1 + (7) = 20 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (7)
try rw [show (12) + (7) + 1 + (1) = 21 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (8)
try rw [show (12) + (8) + 1 + (1) = 22 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (9)
try rw [show (12) + (9) + 1 + (1) = 23 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (10)
try rw [show (12) + (10) + 1 + (1) = 24 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (11)
try rw [show (12) + (11) + 1 + (1) = 25 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (12)
try rw [show (12) + (12) + 1 + (1) = 26 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (13)
try rw [show (12) + (13) + 1 + (1) = 27 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (w + 28)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (0)
try rw [show (12) + (0) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (0)
try rw [show (13) + (0) + 1 + (1) = 15 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (0)
try rw [show (13) + (0) + 1 + (2) = 16 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (0)
try rw [show (13) + (0) + 1 + (3) = 17 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (0)
try rw [show (13) + (0) + 1 + (4) = 18 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (0)
try rw [show (13) + (0) + 1 + (5) = 19 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (5) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (6) (13) (0)
try rw [show (13) + (0) + 1 + (6) = 20 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (6) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (7) (13) (0)
try rw [show (13) + (0) + 1 + (7) = 21 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (7) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (7)
try rw [show (13) + (7) + 1 + (1) = 22 by lib_nat] at h
try rw [show (13) + (7) + 1 = 21 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (8)
try rw [show (13) + (8) + 1 + (1) = 23 by lib_nat] at h
try rw [show (13) + (8) + 1 = 22 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (9)
try rw [show (13) + (9) + 1 + (1) = 24 by lib_nat] at h
try rw [show (13) + (9) + 1 = 23 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (10)
try rw [show (13) + (10) + 1 + (1) = 25 by lib_nat] at h
try rw [show (13) + (10) + 1 = 24 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (11)
try rw [show (13) + (11) + 1 + (1) = 26 by lib_nat] at h
try rw [show (13) + (11) + 1 = 25 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (12)
try rw [show (13) + (12) + 1 + (1) = 27 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (13)
try rw [show (13) + (13) + 1 + (1) = 28 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (w + 29)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (0)
try rw [show (13) + (0) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (1) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (1) = a + 16 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (1) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (2) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (2) = a + 17 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (2) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (3) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (3) = a + 18 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (3) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (4) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (4) = a + 19 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (4) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (5) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (5) = a + 20 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (5) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (6) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (6) = a + 21 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (6) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 22)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (7) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (7) = a + 22 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (7) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 23)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (8) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (8) = a + 23 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (8) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 24)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (9) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (9) = a + 24 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (9) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 25)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (10) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (10) = a + 25 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (10) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 26)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (11) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (11) = a + 26 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (11) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 27)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (12) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (12) = a + 27 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (12) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 28)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (13) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (13) = a + 28 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (13) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 29)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (14) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (14) = a + 29 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (14) = a + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + w + 30)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 15)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 14) (0)
try rw [show (a + 14) + (0) + 1 + (w + 15) = a + w + 30 by lib_nat] at h
try rw [show (a + 14) + (0) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 14) + (w + 15) = a + w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S02.lean
/-
ym/GenA7S02 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg2 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (fun i => x (i + 7)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (K.neg (K.mul K.zero (Zs K x (8))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul K.zero (Zs K x (8))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul K.zero (Zs K x (8))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul K.zero (Zs K x (8))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul K.zero (Zs K x (8))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul K.zero (Zs K x (8))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (1)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (0)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (2)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (3)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (7)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (w + 9)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 9))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul K.zero (Zs K x (9))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul K.zero (Zs K x (9))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul K.zero (Zs K x (9))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul K.zero (Zs K x (9))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul K.zero (Zs K x (9))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (1)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (0)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (2)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (3)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (3)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (23))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (8)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (w + 10)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 10))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul K.zero (Zs K x (10))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul K.zero (Zs K x (10))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul K.zero (Zs K x (10))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul K.zero (Zs K x (10))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (1)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (0)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (2)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (3)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (4)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (3)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (23))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (24))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (9)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (w + 11)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (9)) (hx (w + 10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul K.zero (Zs K x (11))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul K.zero (Zs K x (11))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul K.zero (Zs K x (11))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (1)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (0)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (2)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (3)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (4)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (3)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (5)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (6)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (23))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (8)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (24))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (9)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (25))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (10)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (w + 12)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (10)) (hx (w + 11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul K.zero (Zs K x (12))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul K.zero (Zs K x (12))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (1)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (0)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (2)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (3)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (2)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (4)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (3)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (5)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (4)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (6)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (7)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (23))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (8)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (24))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (9)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (25))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (10)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (26))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (12)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (11)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (w + 13)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (12)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (11)) (hx (w + 12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul K.zero (Zs K x (13))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (1)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (0)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (2)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (3)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (2)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (4)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (3)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (5)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (4)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (6)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (6)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (7)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (23))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (8)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (24))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (9)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (25))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (10)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (26))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (12)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (11)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (27))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (13)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (12)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (w + 14)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (13)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (12)) (hx (w + 13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (1)) (Zs K x (14))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (0)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (2)) (Zs K x (14))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (1)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (3)) (Zs K x (14))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (2)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (4)) (Zs K x (14))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (3)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (5)) (Zs K x (14))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (4)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (6)) (Zs K x (14))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (5)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (7)) (Zs K x (14))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (6)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (8)) (Zs K x (14))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (7)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (23))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (8)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (24))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (9)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (25))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14))))))
have t0 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (10)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (26))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14))))))
have t0 : O.le K.zero (K.mul (Zs K x (12)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (11)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (27))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14))))))
have t0 : O.le K.zero (K.mul (Zs K x (13)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (12)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (28))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14))))))
have t0 : O.le K.zero (K.mul (Zs K x (14)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (13)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (w + 15)) (Zs K x (14))))))
have t0 : O.le K.zero (K.mul (Zs K x (14)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (13)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (2)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (13)
try rw [show (0) + (13) + 1 + (1) = 15 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (3)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (13)
try rw [show (0) + (13) + 1 + (2) = 16 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (4)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (13)
try rw [show (0) + (13) + 1 + (3) = 17 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (5)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (13)
try rw [show (0) + (13) + 1 + (4) = 18 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (6)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (13)
try rw [show (0) + (13) + 1 + (5) = 19 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (7)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (13)
try rw [show (0) + (13) + 1 + (6) = 20 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (8)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (23))) (K.neg (K.mul (Zs K x (9)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (14)
try rw [show (0) + (14) + 1 + (7) = 22 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (0)
try rw [show (7) + (0) + 1 + (7) = 15 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (15)
try rw [show (0) + (15) + 1 + (7) = 23 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (1)
try rw [show (7) + (1) + 1 + (7) = 16 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (25))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (16)
try rw [show (0) + (16) + 1 + (7) = 24 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (2)
try rw [show (7) + (2) + 1 + (7) = 17 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (26))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (17)
try rw [show (0) + (17) + 1 + (7) = 25 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (3)
try rw [show (7) + (3) + 1 + (7) = 18 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (27))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (18)
try rw [show (0) + (18) + 1 + (7) = 26 by lib_nat] at h
try rw [show (0) + (18) + 1 = 19 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (4)
try rw [show (7) + (4) + 1 + (7) = 19 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (28))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (19)
try rw [show (0) + (19) + 1 + (7) = 27 by lib_nat] at h
try rw [show (0) + (19) + 1 = 20 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (5)
try rw [show (7) + (5) + 1 + (7) = 20 by lib_nat] at h
try rw [show (7) + (5) + 1 = 13 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (29))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (20)
try rw [show (0) + (20) + 1 + (7) = 28 by lib_nat] at h
try rw [show (0) + (20) + 1 = 21 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (6)
try rw [show (7) + (6) + 1 + (7) = 21 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (w + 16)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (13)
try rw [show (0) + (13) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (3)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (13)
try rw [show (1) + (13) + 1 + (1) = 16 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (4)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (13)
try rw [show (1) + (13) + 1 + (2) = 17 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (5)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (13)
try rw [show (1) + (13) + 1 + (3) = 18 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (6)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (13)
try rw [show (1) + (13) + 1 + (4) = 19 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (7)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (13)
try rw [show (1) + (13) + 1 + (5) = 20 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (8)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (13)
try rw [show (1) + (13) + 1 + (6) = 21 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (9)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (13)
try rw [show (1) + (13) + 1 + (7) = 22 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (24))) (K.neg (K.mul (Zs K x (10)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (20)
try rw [show (1) + (20) + 1 + (1) = 23 by lib_nat] at h
try rw [show (1) + (20) + 1 = 22 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (12)
try rw [show (2) + (12) + 1 + (7) = 22 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (25))) (K.neg (K.mul (Zs K x (11)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (20)
try rw [show (1) + (20) + 1 + (2) = 24 by lib_nat] at h
try rw [show (1) + (20) + 1 = 22 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (26))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (20)
try rw [show (1) + (20) + 1 + (3) = 25 by lib_nat] at h
try rw [show (1) + (20) + 1 = 22 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (27))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (27))) (K.neg (K.mul (Zs K x (23)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (20)
try rw [show (1) + (20) + 1 + (4) = 26 by lib_nat] at h
try rw [show (1) + (20) + 1 = 22 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (28))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (20)
try rw [show (1) + (20) + 1 + (5) = 27 by lib_nat] at h
try rw [show (1) + (20) + 1 = 22 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (29))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (29))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (20)
try rw [show (1) + (20) + 1 + (6) = 28 by lib_nat] at h
try rw [show (1) + (20) + 1 = 22 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (30))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (20)
try rw [show (1) + (20) + 1 + (7) = 29 by lib_nat] at h
try rw [show (1) + (20) + 1 = 22 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (6)
try rw [show (8) + (6) + 1 + (7) = 22 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (w + 17)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (13)
try rw [show (1) + (13) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (4)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (13)
try rw [show (2) + (13) + 1 + (1) = 17 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (5)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (13)
try rw [show (2) + (13) + 1 + (2) = 18 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (6)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (13)
try rw [show (2) + (13) + 1 + (3) = 19 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (7)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (13)
try rw [show (2) + (13) + 1 + (4) = 20 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (8)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (13)
try rw [show (2) + (13) + 1 + (5) = 21 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (9)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (13)
try rw [show (2) + (13) + 1 + (6) = 22 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (10)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (13)
try rw [show (2) + (13) + 1 + (7) = 23 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (25))) (K.neg (K.mul (Zs K x (11)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (20)
try rw [show (2) + (20) + 1 + (1) = 24 by lib_nat] at h
try rw [show (2) + (20) + 1 = 23 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (12)
try rw [show (3) + (12) + 1 + (7) = 23 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (26))) (K.neg (K.mul (Zs K x (12)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (20)
try rw [show (2) + (20) + 1 + (2) = 25 by lib_nat] at h
try rw [show (2) + (20) + 1 = 23 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (27))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (20)
try rw [show (2) + (20) + 1 + (3) = 26 by lib_nat] at h
try rw [show (2) + (20) + 1 = 23 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (28))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (28))) (K.neg (K.mul (Zs K x (24)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (20)
try rw [show (2) + (20) + 1 + (4) = 27 by lib_nat] at h
try rw [show (2) + (20) + 1 = 23 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (9)
try rw [show (6) + (9) + 1 + (7) = 23 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (29))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (20)
try rw [show (2) + (20) + 1 + (5) = 28 by lib_nat] at h
try rw [show (2) + (20) + 1 = 23 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (8)
try rw [show (7) + (8) + 1 + (7) = 23 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (30))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (30))) (K.neg (K.mul (Zs K x (24)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (20)
try rw [show (2) + (20) + 1 + (6) = 29 by lib_nat] at h
try rw [show (2) + (20) + 1 = 23 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (31))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (31))) (K.neg (K.mul (Zs K x (24)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (20)
try rw [show (2) + (20) + 1 + (7) = 30 by lib_nat] at h
try rw [show (2) + (20) + 1 = 23 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (6)
try rw [show (9) + (6) + 1 + (7) = 23 by lib_nat] at h
try rw [show (9) + (6) + 1 = 16 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (w + 18)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (13)
try rw [show (2) + (13) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (5)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (13)
try rw [show (3) + (13) + 1 + (1) = 18 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (6)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (13)
try rw [show (3) + (13) + 1 + (2) = 19 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (7)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (13)
try rw [show (3) + (13) + 1 + (3) = 20 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (8)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (13)
try rw [show (3) + (13) + 1 + (4) = 21 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (9)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (13)
try rw [show (3) + (13) + 1 + (5) = 22 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (10)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (13)
try rw [show (3) + (13) + 1 + (6) = 23 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (11)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (13)
try rw [show (3) + (13) + 1 + (7) = 24 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (26))) (K.neg (K.mul (Zs K x (12)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (20)
try rw [show (3) + (20) + 1 + (1) = 25 by lib_nat] at h
try rw [show (3) + (20) + 1 = 24 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (12)
try rw [show (4) + (12) + 1 + (7) = 24 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (27))) (K.neg (K.mul (Zs K x (13)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (20)
try rw [show (3) + (20) + 1 + (2) = 26 by lib_nat] at h
try rw [show (3) + (20) + 1 = 24 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (28))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (20)
try rw [show (3) + (20) + 1 + (3) = 27 by lib_nat] at h
try rw [show (3) + (20) + 1 = 24 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (10)
try rw [show (6) + (10) + 1 + (7) = 24 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (29))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (29))) (K.neg (K.mul (Zs K x (25)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (20)
try rw [show (3) + (20) + 1 + (4) = 28 by lib_nat] at h
try rw [show (3) + (20) + 1 = 24 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (9)
try rw [show (7) + (9) + 1 + (7) = 24 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (30))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (20)
try rw [show (3) + (20) + 1 + (5) = 29 by lib_nat] at h
try rw [show (3) + (20) + 1 = 24 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (8)
try rw [show (8) + (8) + 1 + (7) = 24 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (31))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (31))) (K.neg (K.mul (Zs K x (25)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (20)
try rw [show (3) + (20) + 1 + (6) = 30 by lib_nat] at h
try rw [show (3) + (20) + 1 = 24 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (7)
try rw [show (9) + (7) + 1 + (7) = 24 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (32))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (32))) (K.neg (K.mul (Zs K x (25)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (20)
try rw [show (3) + (20) + 1 + (7) = 31 by lib_nat] at h
try rw [show (3) + (20) + 1 = 24 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (6)
try rw [show (10) + (6) + 1 + (7) = 24 by lib_nat] at h
try rw [show (10) + (6) + 1 = 17 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (w + 19)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (13)
try rw [show (3) + (13) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (6)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (13)
try rw [show (4) + (13) + 1 + (1) = 19 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (7)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (13)
try rw [show (4) + (13) + 1 + (2) = 20 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (8)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (13)
try rw [show (4) + (13) + 1 + (3) = 21 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (9)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (13)
try rw [show (4) + (13) + 1 + (4) = 22 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (10)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (13)
try rw [show (4) + (13) + 1 + (5) = 23 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (11)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (13)
try rw [show (4) + (13) + 1 + (6) = 24 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (12)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (13)
try rw [show (4) + (13) + 1 + (7) = 25 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (27))) (K.neg (K.mul (Zs K x (13)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (20)
try rw [show (4) + (20) + 1 + (1) = 26 by lib_nat] at h
try rw [show (4) + (20) + 1 = 25 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (12)
try rw [show (5) + (12) + 1 + (7) = 25 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (28))) (K.neg (K.mul (Zs K x (14)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (28))) (K.neg (K.mul (Zs K x (26)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (20)
try rw [show (4) + (20) + 1 + (2) = 27 by lib_nat] at h
try rw [show (4) + (20) + 1 = 25 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (11)
try rw [show (6) + (11) + 1 + (7) = 25 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (29))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (20)
try rw [show (4) + (20) + 1 + (3) = 28 by lib_nat] at h
try rw [show (4) + (20) + 1 = 25 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (10)
try rw [show (7) + (10) + 1 + (7) = 25 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (30))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (30))) (K.neg (K.mul (Zs K x (26)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (20)
try rw [show (4) + (20) + 1 + (4) = 29 by lib_nat] at h
try rw [show (4) + (20) + 1 = 25 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (9)
try rw [show (8) + (9) + 1 + (7) = 25 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (31))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (20)
try rw [show (4) + (20) + 1 + (5) = 30 by lib_nat] at h
try rw [show (4) + (20) + 1 = 25 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (8)
try rw [show (9) + (8) + 1 + (7) = 25 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (32))) (K.neg (K.mul (Zs K x (18)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (32))) (K.neg (K.mul (Zs K x (26)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (20)
try rw [show (4) + (20) + 1 + (6) = 31 by lib_nat] at h
try rw [show (4) + (20) + 1 = 25 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (7)
try rw [show (10) + (7) + 1 + (7) = 25 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (33))) (K.neg (K.mul (Zs K x (19)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (33))) (K.neg (K.mul (Zs K x (26)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (20)
try rw [show (4) + (20) + 1 + (7) = 32 by lib_nat] at h
try rw [show (4) + (20) + 1 = 25 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (6)
try rw [show (11) + (6) + 1 + (7) = 25 by lib_nat] at h
try rw [show (11) + (6) + 1 = 18 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (w + 20)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (13)
try rw [show (4) + (13) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (7)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (13)
try rw [show (5) + (13) + 1 + (1) = 20 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (8)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (13)
try rw [show (5) + (13) + 1 + (2) = 21 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (9)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (13)
try rw [show (5) + (13) + 1 + (3) = 22 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (10)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (13)
try rw [show (5) + (13) + 1 + (4) = 23 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (11)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (13)
try rw [show (5) + (13) + 1 + (5) = 24 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (12)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (13)
try rw [show (5) + (13) + 1 + (6) = 25 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (13)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (13)
try rw [show (5) + (13) + 1 + (7) = 26 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (28))) (K.neg (K.mul (Zs K x (14)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (20)
try rw [show (5) + (20) + 1 + (1) = 27 by lib_nat] at h
try rw [show (5) + (20) + 1 = 26 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (12)
try rw [show (6) + (12) + 1 + (7) = 26 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (29))) (K.neg (K.mul (Zs K x (15)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (29))) (K.neg (K.mul (Zs K x (27)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (20)
try rw [show (5) + (20) + 1 + (2) = 28 by lib_nat] at h
try rw [show (5) + (20) + 1 = 26 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (11)
try rw [show (7) + (11) + 1 + (7) = 26 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (30))) (K.neg (K.mul (Zs K x (16)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (20)
try rw [show (5) + (20) + 1 + (3) = 29 by lib_nat] at h
try rw [show (5) + (20) + 1 = 26 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (10)
try rw [show (8) + (10) + 1 + (7) = 26 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (31))) (K.neg (K.mul (Zs K x (17)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (31))) (K.neg (K.mul (Zs K x (27)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (20)
try rw [show (5) + (20) + 1 + (4) = 30 by lib_nat] at h
try rw [show (5) + (20) + 1 = 26 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (9)
try rw [show (9) + (9) + 1 + (7) = 26 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (32))) (K.neg (K.mul (Zs K x (18)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (32))) (K.neg (K.mul (Zs K x (27)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (20)
try rw [show (5) + (20) + 1 + (5) = 31 by lib_nat] at h
try rw [show (5) + (20) + 1 = 26 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (8)
try rw [show (10) + (8) + 1 + (7) = 26 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (33))) (K.neg (K.mul (Zs K x (19)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (33))) (K.neg (K.mul (Zs K x (27)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (20)
try rw [show (5) + (20) + 1 + (6) = 32 by lib_nat] at h
try rw [show (5) + (20) + 1 = 26 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (7)
try rw [show (11) + (7) + 1 + (7) = 26 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (34))) (K.neg (K.mul (Zs K x (20)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (34))) (K.neg (K.mul (Zs K x (27)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (20)
try rw [show (5) + (20) + 1 + (7) = 33 by lib_nat] at h
try rw [show (5) + (20) + 1 = 26 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (6)
try rw [show (12) + (6) + 1 + (7) = 26 by lib_nat] at h
try rw [show (12) + (6) + 1 = 19 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 35))) (K.neg (K.mul (Zs K x (w + 21)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 35))) (K.neg (K.mul (Zs K x (20)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (13)
try rw [show (5) + (13) + 1 + (w + 15) = w + 34 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 8)))))) := by
have h := A2.mk K O x hT (1) (a + 6) (13)
try rw [show (a + 6) + (13) + 1 + (1) = a + 21 by lib_nat] at h
try rw [show (a + 6) + (13) + 1 = a + 20 by lib_nat] at h
try rw [show (a + 6) + (1) = a + 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (2) (a + 6) (13)
try rw [show (a + 6) + (13) + 1 + (2) = a + 22 by lib_nat] at h
try rw [show (a + 6) + (13) + 1 = a + 20 by lib_nat] at h
try rw [show (a + 6) + (2) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 10)))))) := by
have h := A2.mk K O x hT (3) (a + 6) (13)
try rw [show (a + 6) + (13) + 1 + (3) = a + 23 by lib_nat] at h
try rw [show (a + 6) + (13) + 1 = a + 20 by lib_nat] at h
try rw [show (a + 6) + (3) = a + 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 11)))))) := by
have h := A2.mk K O x hT (4) (a + 6) (13)
try rw [show (a + 6) + (13) + 1 + (4) = a + 24 by lib_nat] at h
try rw [show (a + 6) + (13) + 1 = a + 20 by lib_nat] at h
try rw [show (a + 6) + (4) = a + 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (5) (a + 6) (13)
try rw [show (a + 6) + (13) + 1 + (5) = a + 25 by lib_nat] at h
try rw [show (a + 6) + (13) + 1 = a + 20 by lib_nat] at h
try rw [show (a + 6) + (5) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (5)
try rw [show (a + 6) + (5) + 1 + (14) = a + 26 by lib_nat] at h
try rw [show (a + 6) + (5) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (14) = a + 27 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (7)
try rw [show (a + 6) + (7) + 1 + (14) = a + 28 by lib_nat] at h
try rw [show (a + 6) + (7) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (14) = a + 29 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (9)
try rw [show (a + 6) + (9) + 1 + (14) = a + 30 by lib_nat] at h
try rw [show (a + 6) + (9) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (10)
try rw [show (a + 6) + (10) + 1 + (14) = a + 31 by lib_nat] at h
try rw [show (a + 6) + (10) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (11)
try rw [show (a + 6) + (11) + 1 + (14) = a + 32 by lib_nat] at h
try rw [show (a + 6) + (11) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (12)
try rw [show (a + 6) + (12) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 6) + (12) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 35))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 35))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (13)
try rw [show (a + 6) + (13) + 1 + (14) = a + 34 by lib_nat] at h
try rw [show (a + 6) + (13) + 1 = a + 20 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 36))) (K.neg (K.mul (Zs K x (a + w + 22)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 36))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 6) (13)
try rw [show (a + 6) + (13) + 1 + (w + 15) = a + w + 35 by lib_nat] at h
try rw [show (a + 6) + (13) + 1 = a + 20 by lib_nat] at h
try rw [show (a + 6) + (w + 15) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S03.lean
/-
ym/GenA7S03 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg3 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K x (fun i => x (i + 2)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (4))) (K.neg (K.mul (Zs K x (2)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (4))) (K.neg (K.mul (Zs K x (2)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (0)
try rw [show (0) + (0) + 1 + (2) = 3 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (1)
try rw [show (0) + (1) + 1 + (2) = 4 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (1)
try rw [show (0) + (1) + 1 + (3) = 5 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (3)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (1)
try rw [show (0) + (1) + 1 + (4) = 6 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (1)
try rw [show (0) + (1) + 1 + (5) = 7 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (1)
try rw [show (0) + (1) + 1 + (6) = 8 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (1)
try rw [show (0) + (1) + 1 + (7) = 9 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (7)
try rw [show (0) + (7) + 1 + (2) = 10 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (8)
try rw [show (0) + (8) + 1 + (2) = 11 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (9)
try rw [show (0) + (9) + 1 + (2) = 12 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (10)
try rw [show (0) + (10) + 1 + (2) = 13 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (11)
try rw [show (0) + (11) + 1 + (2) = 14 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (12)
try rw [show (0) + (12) + 1 + (2) = 15 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (13)
try rw [show (0) + (13) + 1 + (2) = 16 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (w + 16)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (3)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (1)
try rw [show (0) + (1) + 1 + (w + 15) = w + 17 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (0)
try rw [show (1) + (0) + 1 + (2) = 4 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (1)
try rw [show (1) + (1) + 1 + (2) = 5 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (1)
try rw [show (1) + (1) + 1 + (3) = 6 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (1)
try rw [show (1) + (1) + 1 + (4) = 7 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (1)
try rw [show (1) + (1) + 1 + (5) = 8 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (1)
try rw [show (1) + (1) + 1 + (6) = 9 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (1)
try rw [show (1) + (1) + 1 + (7) = 10 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (7)
try rw [show (1) + (7) + 1 + (2) = 11 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (8)
try rw [show (1) + (8) + 1 + (2) = 12 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (9)
try rw [show (1) + (9) + 1 + (2) = 13 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (10)
try rw [show (1) + (10) + 1 + (2) = 14 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (11)
try rw [show (1) + (11) + 1 + (2) = 15 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (12)
try rw [show (1) + (12) + 1 + (2) = 16 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (13)
try rw [show (1) + (13) + 1 + (2) = 17 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (w + 17)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (1)
try rw [show (1) + (1) + 1 + (w + 15) = w + 18 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (0)
try rw [show (2) + (0) + 1 + (2) = 5 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (1)
try rw [show (2) + (1) + 1 + (2) = 6 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (1)
try rw [show (2) + (1) + 1 + (3) = 7 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (1)
try rw [show (2) + (1) + 1 + (4) = 8 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (1)
try rw [show (2) + (1) + 1 + (5) = 9 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (1)
try rw [show (2) + (1) + 1 + (6) = 10 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (1)
try rw [show (2) + (1) + 1 + (7) = 11 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (7)
try rw [show (2) + (7) + 1 + (2) = 12 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (8)
try rw [show (2) + (8) + 1 + (2) = 13 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (9)
try rw [show (2) + (9) + 1 + (2) = 14 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (10)
try rw [show (2) + (10) + 1 + (2) = 15 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (11)
try rw [show (2) + (11) + 1 + (2) = 16 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (12)
try rw [show (2) + (12) + 1 + (2) = 17 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (13)
try rw [show (2) + (13) + 1 + (2) = 18 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (w + 18)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (1)
try rw [show (2) + (1) + 1 + (w + 15) = w + 19 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (0)
try rw [show (3) + (0) + 1 + (2) = 6 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (1)
try rw [show (3) + (1) + 1 + (2) = 7 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (1)
try rw [show (3) + (1) + 1 + (3) = 8 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (1)
try rw [show (3) + (1) + 1 + (4) = 9 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (1)
try rw [show (3) + (1) + 1 + (5) = 10 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (1)
try rw [show (3) + (1) + 1 + (6) = 11 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (1)
try rw [show (3) + (1) + 1 + (7) = 12 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (7)
try rw [show (3) + (7) + 1 + (2) = 13 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (8)
try rw [show (3) + (8) + 1 + (2) = 14 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (9)
try rw [show (3) + (9) + 1 + (2) = 15 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (10)
try rw [show (3) + (10) + 1 + (2) = 16 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (11)
try rw [show (3) + (11) + 1 + (2) = 17 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (12)
try rw [show (3) + (12) + 1 + (2) = 18 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (13)
try rw [show (3) + (13) + 1 + (2) = 19 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (w + 19)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (1)
try rw [show (3) + (1) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (0)
try rw [show (4) + (0) + 1 + (2) = 7 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (1)
try rw [show (4) + (1) + 1 + (2) = 8 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (1)
try rw [show (4) + (1) + 1 + (3) = 9 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (1)
try rw [show (4) + (1) + 1 + (4) = 10 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (1)
try rw [show (4) + (1) + 1 + (5) = 11 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (1)
try rw [show (4) + (1) + 1 + (6) = 12 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (1)
try rw [show (4) + (1) + 1 + (7) = 13 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (7)
try rw [show (4) + (7) + 1 + (2) = 14 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (8)
try rw [show (4) + (8) + 1 + (2) = 15 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (9)
try rw [show (4) + (9) + 1 + (2) = 16 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (10)
try rw [show (4) + (10) + 1 + (2) = 17 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (11)
try rw [show (4) + (11) + 1 + (2) = 18 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (12)
try rw [show (4) + (12) + 1 + (2) = 19 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (13)
try rw [show (4) + (13) + 1 + (2) = 20 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (w + 20)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (1)
try rw [show (4) + (1) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (0)
try rw [show (5) + (0) + 1 + (2) = 8 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (1)
try rw [show (5) + (1) + 1 + (2) = 9 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (1)
try rw [show (5) + (1) + 1 + (3) = 10 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (1)
try rw [show (5) + (1) + 1 + (4) = 11 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (1)
try rw [show (5) + (1) + 1 + (5) = 12 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (1)
try rw [show (5) + (1) + 1 + (6) = 13 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (1)
try rw [show (5) + (1) + 1 + (7) = 14 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (7)
try rw [show (5) + (7) + 1 + (2) = 15 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (8)
try rw [show (5) + (8) + 1 + (2) = 16 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (9)
try rw [show (5) + (9) + 1 + (2) = 17 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (10)
try rw [show (5) + (10) + 1 + (2) = 18 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (11)
try rw [show (5) + (11) + 1 + (2) = 19 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (12)
try rw [show (5) + (12) + 1 + (2) = 20 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (13)
try rw [show (5) + (13) + 1 + (2) = 21 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (w + 21)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (1)
try rw [show (5) + (1) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (0)
try rw [show (6) + (0) + 1 + (2) = 9 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (1)
try rw [show (6) + (1) + 1 + (2) = 10 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (1)
try rw [show (6) + (1) + 1 + (3) = 11 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (1)
try rw [show (6) + (1) + 1 + (4) = 12 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (1)
try rw [show (6) + (1) + 1 + (5) = 13 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (1)
try rw [show (6) + (1) + 1 + (6) = 14 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (1)
try rw [show (6) + (1) + 1 + (7) = 15 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (7)
try rw [show (6) + (7) + 1 + (2) = 16 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (8)
try rw [show (6) + (8) + 1 + (2) = 17 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (9)
try rw [show (6) + (9) + 1 + (2) = 18 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (10)
try rw [show (6) + (10) + 1 + (2) = 19 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (11)
try rw [show (6) + (11) + 1 + (2) = 20 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (12)
try rw [show (6) + (12) + 1 + (2) = 21 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (13)
try rw [show (6) + (13) + 1 + (2) = 22 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (w + 22)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (1)
try rw [show (6) + (1) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (0)
try rw [show (7) + (0) + 1 + (2) = 10 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (1)
try rw [show (7) + (1) + 1 + (2) = 11 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (1)
try rw [show (7) + (1) + 1 + (3) = 12 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (1)
try rw [show (7) + (1) + 1 + (4) = 13 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (1)
try rw [show (7) + (1) + 1 + (5) = 14 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (1)
try rw [show (7) + (1) + 1 + (6) = 15 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (1)
try rw [show (7) + (1) + 1 + (7) = 16 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (7)
try rw [show (7) + (7) + 1 + (2) = 17 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (8)
try rw [show (7) + (8) + 1 + (2) = 18 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (9)
try rw [show (7) + (9) + 1 + (2) = 19 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (10)
try rw [show (7) + (10) + 1 + (2) = 20 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (11)
try rw [show (7) + (11) + 1 + (2) = 21 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (12)
try rw [show (7) + (12) + 1 + (2) = 22 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (13)
try rw [show (7) + (13) + 1 + (2) = 23 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (w + 23)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (1)
try rw [show (7) + (1) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (0)
try rw [show (8) + (0) + 1 + (2) = 11 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (1)
try rw [show (8) + (1) + 1 + (2) = 12 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (1)
try rw [show (8) + (1) + 1 + (3) = 13 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (1)
try rw [show (8) + (1) + 1 + (4) = 14 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (1)
try rw [show (8) + (1) + 1 + (5) = 15 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (1)
try rw [show (8) + (1) + 1 + (6) = 16 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (1)
try rw [show (8) + (1) + 1 + (7) = 17 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (7)
try rw [show (8) + (7) + 1 + (2) = 18 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (8)
try rw [show (8) + (8) + 1 + (2) = 19 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (9)
try rw [show (8) + (9) + 1 + (2) = 20 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (10)
try rw [show (8) + (10) + 1 + (2) = 21 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (11)
try rw [show (8) + (11) + 1 + (2) = 22 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (12)
try rw [show (8) + (12) + 1 + (2) = 23 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (13)
try rw [show (8) + (13) + 1 + (2) = 24 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (w + 24)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (1)
try rw [show (8) + (1) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (0)
try rw [show (9) + (0) + 1 + (2) = 12 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (1)
try rw [show (9) + (1) + 1 + (2) = 13 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (1)
try rw [show (9) + (1) + 1 + (3) = 14 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (1)
try rw [show (9) + (1) + 1 + (4) = 15 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (1)
try rw [show (9) + (1) + 1 + (5) = 16 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (1)
try rw [show (9) + (1) + 1 + (6) = 17 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (1)
try rw [show (9) + (1) + 1 + (7) = 18 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (7)
try rw [show (9) + (7) + 1 + (2) = 19 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (8)
try rw [show (9) + (8) + 1 + (2) = 20 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (9)
try rw [show (9) + (9) + 1 + (2) = 21 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (10)
try rw [show (9) + (10) + 1 + (2) = 22 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (11)
try rw [show (9) + (11) + 1 + (2) = 23 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (12)
try rw [show (9) + (12) + 1 + (2) = 24 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (13)
try rw [show (9) + (13) + 1 + (2) = 25 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (w + 25)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (1)
try rw [show (9) + (1) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (0)
try rw [show (10) + (0) + 1 + (2) = 13 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (1)
try rw [show (10) + (1) + 1 + (2) = 14 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (1)
try rw [show (10) + (1) + 1 + (3) = 15 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (1)
try rw [show (10) + (1) + 1 + (4) = 16 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (1)
try rw [show (10) + (1) + 1 + (5) = 17 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (1)
try rw [show (10) + (1) + 1 + (6) = 18 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (1)
try rw [show (10) + (1) + 1 + (7) = 19 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (7)
try rw [show (10) + (7) + 1 + (2) = 20 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (8)
try rw [show (10) + (8) + 1 + (2) = 21 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (9)
try rw [show (10) + (9) + 1 + (2) = 22 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (10)
try rw [show (10) + (10) + 1 + (2) = 23 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (11)
try rw [show (10) + (11) + 1 + (2) = 24 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (12)
try rw [show (10) + (12) + 1 + (2) = 25 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (13)
try rw [show (10) + (13) + 1 + (2) = 26 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (w + 26)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (1)
try rw [show (10) + (1) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (0)
try rw [show (11) + (0) + 1 + (2) = 14 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (1)
try rw [show (11) + (1) + 1 + (2) = 15 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (1)
try rw [show (11) + (1) + 1 + (3) = 16 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (1)
try rw [show (11) + (1) + 1 + (4) = 17 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (1)
try rw [show (11) + (1) + 1 + (5) = 18 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (1)
try rw [show (11) + (1) + 1 + (6) = 19 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (1)
try rw [show (11) + (1) + 1 + (7) = 20 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (7)
try rw [show (11) + (7) + 1 + (2) = 21 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (8)
try rw [show (11) + (8) + 1 + (2) = 22 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (9)
try rw [show (11) + (9) + 1 + (2) = 23 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (10)
try rw [show (11) + (10) + 1 + (2) = 24 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (11)
try rw [show (11) + (11) + 1 + (2) = 25 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (12)
try rw [show (11) + (12) + 1 + (2) = 26 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (28))) (K.neg (K.mul (Zs K x (26)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (28))) (K.neg (K.mul (Zs K x (26)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (13)
try rw [show (11) + (13) + 1 + (2) = 27 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (w + 27)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (1)
try rw [show (11) + (1) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (0)
try rw [show (12) + (0) + 1 + (2) = 15 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (1)
try rw [show (12) + (1) + 1 + (2) = 16 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (1)
try rw [show (12) + (1) + 1 + (3) = 17 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (1)
try rw [show (12) + (1) + 1 + (4) = 18 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (1)
try rw [show (12) + (1) + 1 + (5) = 19 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (1)
try rw [show (12) + (1) + 1 + (6) = 20 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (1)
try rw [show (12) + (1) + 1 + (7) = 21 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (7)
try rw [show (12) + (7) + 1 + (2) = 22 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (8)
try rw [show (12) + (8) + 1 + (2) = 23 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (9)
try rw [show (12) + (9) + 1 + (2) = 24 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (10)
try rw [show (12) + (10) + 1 + (2) = 25 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (11)
try rw [show (12) + (11) + 1 + (2) = 26 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (12)
try rw [show (12) + (12) + 1 + (2) = 27 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (29))) (K.neg (K.mul (Zs K x (27)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (29))) (K.neg (K.mul (Zs K x (27)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (13)
try rw [show (12) + (13) + 1 + (2) = 28 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (w + 28)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (1)
try rw [show (12) + (1) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (2) (a + 13) (0)
try rw [show (a + 13) + (0) + 1 + (2) = a + 16 by lib_nat] at h
try rw [show (a + 13) + (0) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 13) + (2) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (2) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (2) = a + 17 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (2) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (3) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (3) = a + 18 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (3) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (4) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (4) = a + 19 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (4) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (5) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (5) = a + 20 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (5) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (6) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (6) = a + 21 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (6) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (7) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (7) = a + 22 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (7) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 22)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (8) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (8) = a + 23 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (8) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 23)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (9) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (9) = a + 24 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (9) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 24)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (10) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (10) = a + 25 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (10) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 25)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (11) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (11) = a + 26 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (11) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 26)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (12) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (12) = a + 27 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (12) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 27)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (13) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (13) = a + 28 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (13) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 28)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (14) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (14) = a + 29 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (14) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + w + 29)) (Zs K x (a + 16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (w + 15) = a + w + 30 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (w + 15) = a + w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S04.lean
/-
ym/GenA7S04 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg4 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (Zs K (pv5 K x)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (6))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (1)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (2)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (3)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (4)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (5)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (6)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (7)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (8)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 10)) (Zs K x (w + 12))) (Zs K x (w + 14))) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20)))) (K.neg (K.mul (Zs K x (w + 9)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul K.zero (Zs K x (6))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul K.zero (Zs K x (6))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul K.zero (Zs K x (6))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul K.zero (Zs K x (6))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul K.zero (Zs K x (6))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (1)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (0)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (2)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (7)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (8)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (9)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (w + 15))) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21)))) (K.neg (K.mul (Zs K x (w + 10)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 10))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul K.zero (K.add (Zs K x (5)) (Zs K x (7)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul K.zero (K.add (Zs K x (5)) (Zs K x (7)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul K.zero (K.add (Zs K x (5)) (Zs K x (7)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul K.zero (K.add (Zs K x (5)) (Zs K x (7)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (1)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (6))))) := A1.Dn K O x hD (0) (5) (0) (1) (2) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (2)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (6))))) := A1.Dn K O x hD (1) (4) (1) (2) (3) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (0)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (3)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))))) := A1.Dn K O x hD (2) (3) (2) (3) (4) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (4)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (3)) (hx (4))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (5)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (4)) (hx (4))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (6)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (7)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (8)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (9)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (10)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22)))) (K.neg (K.mul (Zs K x (w + 11)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 10))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul K.zero (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul K.zero (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul K.zero (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (1)) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (5))))) := A1.Dn K O x hD (0) (4) (0) (1) (2) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (7))))) := A1.Dn K O x hD (0) (6) (0) (1) (2) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (6))))) := A1.Dn K O x hD (1) (4) (1) (2) (3) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (2)) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (6))))) := A1.Dn K O x hD (0) (5) (0) (1) (2) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))))) := A1.Dn K O x hD (1) (3) (1) (2) (3) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (7))))) := A1.Dn K O x hD (1) (5) (1) (2) (3) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))))) := A1.Dn K O x hD (2) (3) (2) (3) (4) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (5))))) := A1.Dn K O x hD (2) (2) (2) (3) (4) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (1)) (hx (4))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (3)) (hx (4))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (5))))) := A1.Dn K O x hD (3) (1) (3) (4) (5) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (4)) (hx (4))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (3)) (hx (4))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (7)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (3)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (3)) (hx (9))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (3)) (hx (10))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23)))) (K.neg (K.mul (Zs K x (w + 12)) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 11))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 11))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul K.zero (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul K.zero (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (4))))) := A1.Dn K O x hD (0) (3) (0) (1) (2) (3) (4) (5) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (8))))) := A1.Dn K O x hD (0) (7) (0) (1) (2) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
have t3 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (6))))) := A1.Dn K O x hD (1) (4) (1) (2) (3) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (0)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
have t3 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))))) := A1.Dn K O x hD (2) (3) (2) (3) (4) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (2)) (hx (2))
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (7))))) := A1.Dn K O x hD (2) (4) (2) (3) (4) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (6))))) := A1.Dn K O x hD (3) (2) (3) (4) (5) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))))) := A1.Dn K O x hD (3) (4) (3) (4) (5) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (7))))) := A1.Dn K O x hD (4) (2) (4) (5) (6) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t5 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (2)) (hx (3))
have t6 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t7 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))))) := A1.Dn K O x hD (3) (3) (3) (4) (5) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (6))))) := A1.Dn K O x hD (4) (1) (4) (5) (6) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))))) := A1.Dn K O x hD (4) (3) (4) (5) (6) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
have t6 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (8)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (6)) (hx (10))
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (8)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (2)) (hx (11))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (4)) (hx (11))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (8)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24)))) (K.neg (K.mul (Zs K x (w + 13)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 12))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 12))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 12))
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul K.zero (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (3))))) := A1.Dn K O x hD (0) (2) (0) (1) (2) (2) (3) (4) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (7))))) := A1.Dn K O x hD (0) (6) (0) (1) (2) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (9))))) := A1.Dn K O x hD (0) (8) (0) (1) (2) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (8))))) := A1.Dn K O x hD (1) (6) (1) (2) (3) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
have t5 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (6))))) := A1.Dn K O x hD (0) (5) (0) (1) (2) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))))) := A1.Dn K O x hD (1) (3) (1) (2) (3) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (7))))) := A1.Dn K O x hD (1) (5) (1) (2) (3) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))))) := A1.Dn K O x hD (2) (3) (2) (3) (4) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (2))) := O.mul_nonneg _ _ (hx (1)) (hx (1))
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
have t7 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (2)) (hx (3))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))))) := A1.Dn K O x hD (3) (3) (3) (4) (5) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (3)) (hx (3))
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (3)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))))) := A1.Dn K O x hD (3) (4) (3) (4) (5) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (7))))) := A1.Dn K O x hD (4) (2) (4) (5) (6) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (9))))) := A1.Dn K O x hD (4) (4) (4) (5) (6) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (8))))) := A1.Dn K O x hD (5) (2) (5) (6) (7) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (1)) (hx (4))
have t5 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t6 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (3)) (hx (4))
have t7 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t8 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))))) := A1.Dn K O x hD (4) (3) (4) (5) (6) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))) := A1.Dn K O x hD (5) (1) (5) (6) (7) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))))) := A1.Dn K O x hD (5) (3) (5) (6) (7) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (8))))) := A1.Dn K O x hD (6) (1) (6) (7) (8) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t6 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
have t7 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t8 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (7)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (7)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (3)) (hx (8))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (3)) (hx (9))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
have t4 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (9)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (3)) (hx (10))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
have t4 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (9)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (3)) (hx (11))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (7)) (hx (11))
have t4 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (9)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (3)) (hx (12))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (7)) (hx (12))
have t4 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (9)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25)))) (K.neg (K.mul (Zs K x (w + 14)) (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (1)) (hx (w + 13))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 13))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 13))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 13))
have t4 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (9)) (hx (w + 13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (2))))) := A1.Dn K O x hD (0) (1) (0) (1) (2) (1) (2) (3) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (6))))) := A1.Dn K O x hD (0) (5) (0) (1) (2) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (10))))) := A1.Dn K O x hD (0) (9) (0) (1) (2) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (2))) := O.mul_nonneg _ _ (hx (1)) (hx (1))
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (7))))) := A1.Dn K O x hD (0) (6) (0) (1) (2) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (6))))) := A1.Dn K O x hD (1) (4) (1) (2) (3) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (8))))) := A1.Dn K O x hD (1) (6) (1) (2) (3) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (7))))) := A1.Dn K O x hD (2) (4) (2) (3) (4) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (2))) := O.mul_nonneg _ _ (hx (0)) (hx (1))
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t7 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
have t8 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (7))))) := A1.Dn K O x hD (1) (5) (1) (2) (3) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))))) := A1.Dn K O x hD (2) (3) (2) (3) (4) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (8))))) := A1.Dn K O x hD (2) (5) (2) (3) (4) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))))) := A1.Dn K O x hD (3) (3) (3) (4) (5) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (0)) (hx (2))
have t5 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (0)) (hx (6))
have t6 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (2)) (hx (2))
have t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t8 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
have t9 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))))) := A1.Dn K O x hD (3) (4) (3) (4) (5) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (0)) (hx (3))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (2)) (hx (3))
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (3)) (hx (4))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (3)) (hx (10))
have t6 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (0)) (hx (4))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (4)) (hx (4))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t4 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t5 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (0)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))))) := A1.Dn K O x hD (6) (3) (6) (7) (8) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (0)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t6 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (0)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
have t5 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (0)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (8)) (hx (8))
have t5 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (8)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (0)) (hx (9))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (9)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (0)) (hx (10))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (6)) (hx (10))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (8)) (hx (10))
have t5 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (10)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (0)) (hx (11))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (2)) (hx (11))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (4)) (hx (11))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (8)) (hx (11))
have t5 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (10)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (0)) (hx (12))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (2)) (hx (12))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (4)) (hx (12))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (6)) (hx (12))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (8)) (hx (12))
have t5 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (10)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (0)) (hx (13))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (2)) (hx (13))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (4)) (hx (13))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (6)) (hx (13))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (8)) (hx (13))
have t5 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (10)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26)))) (K.neg (K.mul (Zs K x (w + 15)) (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (0)) (hx (w + 14))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 14))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 14))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 14))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 14))
have t5 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (10)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (1)
try rw [show (0) + (1) + 1 + (2) = 4 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (1)
try rw [show (0) + (1) + 1 + (6) = 8 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (9)
try rw [show (0) + (9) + 1 + (2) = 12 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (3))))) := A1.Dn K O x hD (1) (1) (1) (2) (3) (2) (3) (4) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (7))))) := A1.Dn K O x hD (1) (5) (1) (2) (3) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (11))))) := A1.Dn K O x hD (1) (9) (1) (2) (3) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (4))) (K.neg (K.mul (Zs K x (2)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (0)
try rw [show (0) + (0) + 1 + (2) = 3 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (1)
try rw [show (0) + (1) + 1 + (3) = 5 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (1)
try rw [show (0) + (1) + 1 + (5) = 7 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (1)
try rw [show (0) + (1) + 1 + (7) = 9 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (8)
try rw [show (0) + (8) + 1 + (2) = 11 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (10)
try rw [show (0) + (10) + 1 + (2) = 13 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (2)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (0)
try rw [show (0) + (0) + 1 + (3) = 4 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (2)
try rw [show (0) + (2) + 1 + (3) = 6 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (2)
try rw [show (0) + (2) + 1 + (5) = 8 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (2)
try rw [show (0) + (2) + 1 + (7) = 10 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (8)
try rw [show (0) + (8) + 1 + (3) = 12 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (10)
try rw [show (0) + (10) + 1 + (3) = 14 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (2)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (0)
try rw [show (0) + (0) + 1 + (4) = 5 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (2)
try rw [show (0) + (2) + 1 + (4) = 7 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (3)
try rw [show (0) + (3) + 1 + (5) = 9 by lib_nat] at h
try rw [show (0) + (3) + 1 = 4 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (3)
try rw [show (0) + (3) + 1 + (7) = 11 by lib_nat] at h
try rw [show (0) + (3) + 1 = 4 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (8)
try rw [show (0) + (8) + 1 + (4) = 13 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (10)
try rw [show (0) + (10) + 1 + (4) = 15 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (2)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (0)
try rw [show (0) + (0) + 1 + (5) = 6 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (2)
try rw [show (0) + (2) + 1 + (5) = 8 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (4)
try rw [show (0) + (4) + 1 + (5) = 10 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (4)
try rw [show (0) + (4) + 1 + (7) = 12 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (8)
try rw [show (0) + (8) + 1 + (5) = 14 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (10)
try rw [show (0) + (10) + 1 + (5) = 16 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (2)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (0)
try rw [show (0) + (0) + 1 + (6) = 7 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (2)
try rw [show (0) + (2) + 1 + (6) = 9 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (4)
try rw [show (0) + (4) + 1 + (6) = 11 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (5)
try rw [show (0) + (5) + 1 + (7) = 13 by lib_nat] at h
try rw [show (0) + (5) + 1 = 6 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (8)
try rw [show (0) + (8) + 1 + (6) = 15 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (10)
try rw [show (0) + (10) + 1 + (6) = 17 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (2)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (0)
try rw [show (0) + (0) + 1 + (7) = 8 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (2)
try rw [show (0) + (2) + 1 + (7) = 10 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (4)
try rw [show (0) + (4) + 1 + (7) = 12 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (6)
try rw [show (0) + (6) + 1 + (7) = 14 by lib_nat] at h
try rw [show (0) + (6) + 1 = 7 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (8)
try rw [show (0) + (8) + 1 + (7) = 16 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (7)
try rw [show (0) + (7) + 1 + (1) = 9 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (7)
try rw [show (0) + (7) + 1 + (3) = 11 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (7)
try rw [show (0) + (7) + 1 + (5) = 13 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (7)
try rw [show (0) + (7) + 1 + (7) = 15 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (9)
try rw [show (0) + (9) + 1 + (7) = 17 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (1)
try rw [show (7) + (1) + 1 + (3) = 12 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (11))))) := A1.Dn K O x hD (8) (2) (8) (9) (10) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (8)
try rw [show (0) + (8) + 1 + (1) = 10 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (8)
try rw [show (0) + (8) + 1 + (3) = 12 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (8)
try rw [show (0) + (8) + 1 + (5) = 14 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (8)
try rw [show (0) + (8) + 1 + (7) = 16 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (0)
try rw [show (7) + (0) + 1 + (3) = 11 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (2)
try rw [show (7) + (2) + 1 + (3) = 13 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (11))))) := A1.Dn K O x hD (9) (1) (9) (10) (11) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (9)
try rw [show (0) + (9) + 1 + (1) = 11 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (9)
try rw [show (0) + (9) + 1 + (3) = 13 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (9)
try rw [show (0) + (9) + 1 + (5) = 15 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (9)
try rw [show (0) + (9) + 1 + (7) = 17 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (1)
try rw [show (7) + (1) + 1 + (3) = 12 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (2)
try rw [show (7) + (2) + 1 + (4) = 14 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (10)
try rw [show (0) + (10) + 1 + (1) = 12 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (10)
try rw [show (0) + (10) + 1 + (3) = 14 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (10)
try rw [show (0) + (10) + 1 + (5) = 16 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (14)
try rw [show (0) + (14) + 1 + (7) = 22 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (1)
try rw [show (7) + (1) + 1 + (4) = 13 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (3)
try rw [show (7) + (3) + 1 + (4) = 15 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (11)
try rw [show (0) + (11) + 1 + (1) = 13 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (11)
try rw [show (0) + (11) + 1 + (3) = 15 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (11)
try rw [show (0) + (11) + 1 + (5) = 17 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (15)
try rw [show (0) + (15) + 1 + (7) = 23 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (1)
try rw [show (7) + (1) + 1 + (5) = 14 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (3)
try rw [show (7) + (3) + 1 + (5) = 16 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (12)
try rw [show (0) + (12) + 1 + (1) = 14 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (12)
try rw [show (0) + (12) + 1 + (3) = 16 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (12)
try rw [show (0) + (12) + 1 + (5) = 18 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (14)
try rw [show (0) + (14) + 1 + (7) = 22 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (16)
try rw [show (0) + (16) + 1 + (7) = 24 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (1)
try rw [show (7) + (1) + 1 + (6) = 15 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (3)
try rw [show (7) + (3) + 1 + (6) = 17 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (13)
try rw [show (0) + (13) + 1 + (1) = 15 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (13)
try rw [show (0) + (13) + 1 + (3) = 17 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (13)
try rw [show (0) + (13) + 1 + (5) = 19 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (15)
try rw [show (0) + (15) + 1 + (7) = 23 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (17)
try rw [show (0) + (17) + 1 + (7) = 25 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (1)
try rw [show (7) + (1) + 1 + (7) = 16 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (3)
try rw [show (7) + (3) + 1 + (7) = 18 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27)))) (K.neg (K.mul (Zs K x (w + 16)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))) -- (+1 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (2)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (0)
try rw [show (0) + (0) + 1 + (w + 15) = w + 16 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (2)
try rw [show (0) + (2) + 1 + (w + 15) = w + 18 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (4)
try rw [show (0) + (4) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (6)
try rw [show (0) + (6) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (0) + (6) + 1 = 7 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (8)
try rw [show (0) + (8) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (10)
try rw [show (0) + (10) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (1)
try rw [show (1) + (1) + 1 + (2) = 5 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (1)
try rw [show (1) + (1) + 1 + (6) = 9 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (9)
try rw [show (1) + (9) + 1 + (2) = 13 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (4))))) := A1.Dn K O x hD (2) (1) (2) (3) (4) (3) (4) (5) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (8))))) := A1.Dn K O x hD (2) (5) (2) (3) (4) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (12))))) := A1.Dn K O x hD (2) (9) (2) (3) (4) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (0)
try rw [show (1) + (0) + 1 + (2) = 4 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (1)
try rw [show (1) + (1) + 1 + (3) = 6 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (1)
try rw [show (1) + (1) + 1 + (5) = 8 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (1)
try rw [show (1) + (1) + 1 + (7) = 10 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (8)
try rw [show (1) + (8) + 1 + (2) = 12 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (10)
try rw [show (1) + (10) + 1 + (2) = 14 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (0)
try rw [show (1) + (0) + 1 + (3) = 5 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (2)
try rw [show (1) + (2) + 1 + (3) = 7 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (2)
try rw [show (1) + (2) + 1 + (5) = 9 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (2)
try rw [show (1) + (2) + 1 + (7) = 11 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (8)
try rw [show (1) + (8) + 1 + (3) = 13 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (10)
try rw [show (1) + (10) + 1 + (3) = 15 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (0)
try rw [show (1) + (0) + 1 + (4) = 6 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (2)
try rw [show (1) + (2) + 1 + (4) = 8 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (3)
try rw [show (1) + (3) + 1 + (5) = 10 by lib_nat] at h
try rw [show (1) + (3) + 1 = 5 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (3)
try rw [show (1) + (3) + 1 + (7) = 12 by lib_nat] at h
try rw [show (1) + (3) + 1 = 5 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (8)
try rw [show (1) + (8) + 1 + (4) = 14 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (10)
try rw [show (1) + (10) + 1 + (4) = 16 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (0)
try rw [show (1) + (0) + 1 + (5) = 7 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (2)
try rw [show (1) + (2) + 1 + (5) = 9 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (4)
try rw [show (1) + (4) + 1 + (5) = 11 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (4)
try rw [show (1) + (4) + 1 + (7) = 13 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (8)
try rw [show (1) + (8) + 1 + (5) = 15 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (10)
try rw [show (1) + (10) + 1 + (5) = 17 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (3)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (0)
try rw [show (1) + (0) + 1 + (6) = 8 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (2)
try rw [show (1) + (2) + 1 + (6) = 10 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (4)
try rw [show (1) + (4) + 1 + (6) = 12 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (5)
try rw [show (1) + (5) + 1 + (7) = 14 by lib_nat] at h
try rw [show (1) + (5) + 1 = 7 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (8)
try rw [show (1) + (8) + 1 + (6) = 16 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (10)
try rw [show (1) + (10) + 1 + (6) = 18 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (0)
try rw [show (1) + (0) + 1 + (7) = 9 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (2)
try rw [show (1) + (2) + 1 + (7) = 11 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (4)
try rw [show (1) + (4) + 1 + (7) = 13 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (6)
try rw [show (1) + (6) + 1 + (7) = 15 by lib_nat] at h
try rw [show (1) + (6) + 1 = 8 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (8)
try rw [show (1) + (8) + 1 + (7) = 17 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (10)
try rw [show (1) + (10) + 1 + (7) = 19 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (7)
try rw [show (1) + (7) + 1 + (1) = 10 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (7)
try rw [show (1) + (7) + 1 + (3) = 12 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (7)
try rw [show (1) + (7) + 1 + (5) = 14 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (7)
try rw [show (1) + (7) + 1 + (7) = 16 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (9)
try rw [show (1) + (9) + 1 + (7) = 18 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (16)
try rw [show (1) + (16) + 1 + (2) = 20 by lib_nat] at h
try rw [show (1) + (16) + 1 = 18 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (7)
try rw [show (3) + (7) + 1 + (7) = 18 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (12))))) := A1.Dn K O x hD (9) (2) (9) (10) (11) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (8)
try rw [show (1) + (8) + 1 + (1) = 11 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (8)
try rw [show (1) + (8) + 1 + (3) = 13 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (8)
try rw [show (1) + (8) + 1 + (5) = 15 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (8)
try rw [show (1) + (8) + 1 + (7) = 17 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (12)
try rw [show (1) + (12) + 1 + (7) = 21 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (15)
try rw [show (1) + (15) + 1 + (2) = 19 by lib_nat] at h
try rw [show (1) + (15) + 1 = 17 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (6)
try rw [show (3) + (6) + 1 + (7) = 17 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (1)
try rw [show (8) + (1) + 1 + (4) = 14 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (9)
try rw [show (1) + (9) + 1 + (1) = 12 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (9)
try rw [show (1) + (9) + 1 + (3) = 14 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (9)
try rw [show (1) + (9) + 1 + (5) = 16 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (9)
try rw [show (1) + (9) + 1 + (7) = 18 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (13)
try rw [show (1) + (13) + 1 + (7) = 22 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (16)
try rw [show (1) + (16) + 1 + (2) = 20 by lib_nat] at h
try rw [show (1) + (16) + 1 = 18 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (7)
try rw [show (3) + (7) + 1 + (7) = 18 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (2)
try rw [show (8) + (2) + 1 + (4) = 15 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (10)
try rw [show (1) + (10) + 1 + (1) = 13 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (10)
try rw [show (1) + (10) + 1 + (3) = 15 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (10)
try rw [show (1) + (10) + 1 + (5) = 17 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (10)
try rw [show (1) + (10) + 1 + (7) = 19 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (14)
try rw [show (1) + (14) + 1 + (7) = 23 by lib_nat] at h
try rw [show (1) + (14) + 1 = 16 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (17)
try rw [show (1) + (17) + 1 + (2) = 21 by lib_nat] at h
try rw [show (1) + (17) + 1 = 19 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (8)
try rw [show (3) + (8) + 1 + (7) = 19 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (3)
try rw [show (8) + (3) + 1 + (4) = 16 by lib_nat] at h
try rw [show (8) + (3) + 1 = 12 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (11)
try rw [show (1) + (11) + 1 + (1) = 14 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (11)
try rw [show (1) + (11) + 1 + (3) = 16 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (11)
try rw [show (1) + (11) + 1 + (5) = 18 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (11)
try rw [show (1) + (11) + 1 + (7) = 20 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (15)
try rw [show (1) + (15) + 1 + (7) = 24 by lib_nat] at h
try rw [show (1) + (15) + 1 = 17 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (18)
try rw [show (1) + (18) + 1 + (2) = 22 by lib_nat] at h
try rw [show (1) + (18) + 1 = 20 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (9)
try rw [show (3) + (9) + 1 + (7) = 20 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (3)
try rw [show (8) + (3) + 1 + (5) = 17 by lib_nat] at h
try rw [show (8) + (3) + 1 = 12 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (12)
try rw [show (1) + (12) + 1 + (1) = 15 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (12)
try rw [show (1) + (12) + 1 + (3) = 17 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (12)
try rw [show (1) + (12) + 1 + (5) = 19 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (12)
try rw [show (1) + (12) + 1 + (7) = 21 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (16)
try rw [show (1) + (16) + 1 + (7) = 25 by lib_nat] at h
try rw [show (1) + (16) + 1 = 18 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (19)
try rw [show (1) + (19) + 1 + (2) = 23 by lib_nat] at h
try rw [show (1) + (19) + 1 = 21 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (3)
try rw [show (8) + (3) + 1 + (6) = 18 by lib_nat] at h
try rw [show (8) + (3) + 1 = 12 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (13)
try rw [show (1) + (13) + 1 + (1) = 16 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (13)
try rw [show (1) + (13) + 1 + (3) = 18 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (13)
try rw [show (1) + (13) + 1 + (5) = 20 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (13)
try rw [show (1) + (13) + 1 + (7) = 22 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (17)
try rw [show (1) + (17) + 1 + (7) = 26 by lib_nat] at h
try rw [show (1) + (17) + 1 = 19 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (20)
try rw [show (1) + (20) + 1 + (2) = 24 by lib_nat] at h
try rw [show (1) + (20) + 1 = 22 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (3)
try rw [show (8) + (3) + 1 + (7) = 19 by lib_nat] at h
try rw [show (8) + (3) + 1 = 12 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (w + 28)))) (K.neg (K.mul (Zs K x (w + 17)) (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) -- (+3 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (3)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (0)
try rw [show (1) + (0) + 1 + (w + 15) = w + 17 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (2)
try rw [show (1) + (2) + 1 + (w + 15) = w + 19 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (4)
try rw [show (1) + (4) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (6)
try rw [show (1) + (6) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (1) + (6) + 1 = 8 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (8)
try rw [show (1) + (8) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (10)
try rw [show (1) + (10) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (1)
try rw [show (2) + (1) + 1 + (2) = 6 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (1)
try rw [show (2) + (1) + 1 + (6) = 10 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (9)
try rw [show (2) + (9) + 1 + (2) = 14 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (5))))) := A1.Dn K O x hD (3) (1) (3) (4) (5) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (9))))) := A1.Dn K O x hD (3) (5) (3) (4) (5) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (13))))) := A1.Dn K O x hD (3) (9) (3) (4) (5) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (0)
try rw [show (2) + (0) + 1 + (2) = 5 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (1)
try rw [show (2) + (1) + 1 + (3) = 7 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (1)
try rw [show (2) + (1) + 1 + (5) = 9 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (1)
try rw [show (2) + (1) + 1 + (7) = 11 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (8)
try rw [show (2) + (8) + 1 + (2) = 13 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (10)
try rw [show (2) + (10) + 1 + (2) = 15 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (0)
try rw [show (2) + (0) + 1 + (3) = 6 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (2)
try rw [show (2) + (2) + 1 + (3) = 8 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (2)
try rw [show (2) + (2) + 1 + (5) = 10 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (2)
try rw [show (2) + (2) + 1 + (7) = 12 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (8)
try rw [show (2) + (8) + 1 + (3) = 14 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (10)
try rw [show (2) + (10) + 1 + (3) = 16 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (0)
try rw [show (2) + (0) + 1 + (4) = 7 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (2)
try rw [show (2) + (2) + 1 + (4) = 9 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (3)
try rw [show (2) + (3) + 1 + (5) = 11 by lib_nat] at h
try rw [show (2) + (3) + 1 = 6 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (3)
try rw [show (2) + (3) + 1 + (7) = 13 by lib_nat] at h
try rw [show (2) + (3) + 1 = 6 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (8)
try rw [show (2) + (8) + 1 + (4) = 15 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (10)
try rw [show (2) + (10) + 1 + (4) = 17 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (0)
try rw [show (2) + (0) + 1 + (5) = 8 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (2)
try rw [show (2) + (2) + 1 + (5) = 10 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (4)
try rw [show (2) + (4) + 1 + (5) = 12 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (4)
try rw [show (2) + (4) + 1 + (7) = 14 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (8)
try rw [show (2) + (8) + 1 + (5) = 16 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (10)
try rw [show (2) + (10) + 1 + (5) = 18 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (0)
try rw [show (2) + (0) + 1 + (6) = 9 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (2)
try rw [show (2) + (2) + 1 + (6) = 11 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (4)
try rw [show (2) + (4) + 1 + (6) = 13 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (5)
try rw [show (2) + (5) + 1 + (7) = 15 by lib_nat] at h
try rw [show (2) + (5) + 1 = 8 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (8)
try rw [show (2) + (8) + 1 + (6) = 17 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (10)
try rw [show (2) + (10) + 1 + (6) = 19 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (0)
try rw [show (2) + (0) + 1 + (7) = 10 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (2)
try rw [show (2) + (2) + 1 + (7) = 12 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (4)
try rw [show (2) + (4) + 1 + (7) = 14 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (6)
try rw [show (2) + (6) + 1 + (7) = 16 by lib_nat] at h
try rw [show (2) + (6) + 1 = 9 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (8)
try rw [show (2) + (8) + 1 + (7) = 18 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (7)
try rw [show (2) + (7) + 1 + (1) = 11 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (7)
try rw [show (2) + (7) + 1 + (3) = 13 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (7)
try rw [show (2) + (7) + 1 + (5) = 15 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (7)
try rw [show (2) + (7) + 1 + (7) = 17 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (9)
try rw [show (2) + (9) + 1 + (7) = 19 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (1)
try rw [show (9) + (1) + 1 + (3) = 14 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (13))))) := A1.Dn K O x hD (10) (2) (10) (11) (12) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (8)
try rw [show (2) + (8) + 1 + (1) = 12 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (8)
try rw [show (2) + (8) + 1 + (3) = 14 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (8)
try rw [show (2) + (8) + 1 + (5) = 16 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (8)
try rw [show (2) + (8) + 1 + (7) = 18 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (12)
try rw [show (2) + (12) + 1 + (7) = 22 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (1)
try rw [show (9) + (1) + 1 + (2) = 13 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (1)
try rw [show (9) + (1) + 1 + (4) = 15 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (9)
try rw [show (2) + (9) + 1 + (1) = 13 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (9)
try rw [show (2) + (9) + 1 + (3) = 15 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (9)
try rw [show (2) + (9) + 1 + (5) = 17 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (9)
try rw [show (2) + (9) + 1 + (7) = 19 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (13)
try rw [show (2) + (13) + 1 + (7) = 23 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (16)
try rw [show (2) + (16) + 1 + (2) = 21 by lib_nat] at h
try rw [show (2) + (16) + 1 = 19 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (7)
try rw [show (4) + (7) + 1 + (7) = 19 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (2)
try rw [show (9) + (2) + 1 + (4) = 16 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (10)
try rw [show (2) + (10) + 1 + (1) = 14 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (10)
try rw [show (2) + (10) + 1 + (3) = 16 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (10)
try rw [show (2) + (10) + 1 + (5) = 18 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (14)
try rw [show (2) + (14) + 1 + (7) = 24 by lib_nat] at h
try rw [show (2) + (14) + 1 = 17 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (17)
try rw [show (2) + (17) + 1 + (2) = 22 by lib_nat] at h
try rw [show (2) + (17) + 1 = 20 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (8)
try rw [show (4) + (8) + 1 + (7) = 20 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (3)
try rw [show (9) + (3) + 1 + (4) = 17 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (11)
try rw [show (2) + (11) + 1 + (1) = 15 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (11)
try rw [show (2) + (11) + 1 + (3) = 17 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (11)
try rw [show (2) + (11) + 1 + (5) = 19 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (15)
try rw [show (2) + (15) + 1 + (7) = 25 by lib_nat] at h
try rw [show (2) + (15) + 1 = 18 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (18)
try rw [show (2) + (18) + 1 + (2) = 23 by lib_nat] at h
try rw [show (2) + (18) + 1 = 21 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (9)
try rw [show (4) + (9) + 1 + (7) = 21 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (3)
try rw [show (9) + (3) + 1 + (5) = 18 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (12)
try rw [show (2) + (12) + 1 + (1) = 16 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (12)
try rw [show (2) + (12) + 1 + (3) = 18 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (12)
try rw [show (2) + (12) + 1 + (5) = 20 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (12)
try rw [show (2) + (12) + 1 + (7) = 22 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (16)
try rw [show (2) + (16) + 1 + (7) = 26 by lib_nat] at h
try rw [show (2) + (16) + 1 = 19 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (19)
try rw [show (2) + (19) + 1 + (2) = 24 by lib_nat] at h
try rw [show (2) + (19) + 1 = 22 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (3)
try rw [show (9) + (3) + 1 + (6) = 19 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)))) (K.neg (K.mul (Zs K x (17)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (13)
try rw [show (2) + (13) + 1 + (1) = 17 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (13)
try rw [show (2) + (13) + 1 + (3) = 19 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (13)
try rw [show (2) + (13) + 1 + (5) = 21 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (13)
try rw [show (2) + (13) + 1 + (7) = 23 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (17)
try rw [show (2) + (17) + 1 + (7) = 27 by lib_nat] at h
try rw [show (2) + (17) + 1 = 20 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (20)
try rw [show (2) + (20) + 1 + (2) = 25 by lib_nat] at h
try rw [show (2) + (20) + 1 = 23 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (3)
try rw [show (9) + (3) + 1 + (7) = 20 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27))) (Zs K x (w + 29)))) (K.neg (K.mul (Zs K x (w + 18)) (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14) -- (+6 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (0)
try rw [show (2) + (0) + 1 + (w + 15) = w + 18 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (2)
try rw [show (2) + (2) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (4)
try rw [show (2) + (4) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (6)
try rw [show (2) + (6) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (2) + (6) + 1 = 9 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (8)
try rw [show (2) + (8) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (10)
try rw [show (2) + (10) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (1)
try rw [show (3) + (1) + 1 + (2) = 7 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (1)
try rw [show (3) + (1) + 1 + (6) = 11 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (9)
try rw [show (3) + (9) + 1 + (2) = 15 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (6))))) := A1.Dn K O x hD (4) (1) (4) (5) (6) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))))) := A1.Dn K O x hD (4) (5) (4) (5) (6) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (14))))) := A1.Dn K O x hD (4) (9) (4) (5) (6) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (0)
try rw [show (3) + (0) + 1 + (2) = 6 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (1)
try rw [show (3) + (1) + 1 + (3) = 8 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (1)
try rw [show (3) + (1) + 1 + (5) = 10 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (1)
try rw [show (3) + (1) + 1 + (7) = 12 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (8)
try rw [show (3) + (8) + 1 + (2) = 14 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (10)
try rw [show (3) + (10) + 1 + (2) = 16 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (0)
try rw [show (3) + (0) + 1 + (3) = 7 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (2)
try rw [show (3) + (2) + 1 + (3) = 9 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (2)
try rw [show (3) + (2) + 1 + (5) = 11 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (2)
try rw [show (3) + (2) + 1 + (7) = 13 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (8)
try rw [show (3) + (8) + 1 + (3) = 15 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (10)
try rw [show (3) + (10) + 1 + (3) = 17 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (0)
try rw [show (3) + (0) + 1 + (4) = 8 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (2)
try rw [show (3) + (2) + 1 + (4) = 10 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (3)
try rw [show (3) + (3) + 1 + (5) = 12 by lib_nat] at h
try rw [show (3) + (3) + 1 = 7 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (3)
try rw [show (3) + (3) + 1 + (7) = 14 by lib_nat] at h
try rw [show (3) + (3) + 1 = 7 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (8)
try rw [show (3) + (8) + 1 + (4) = 16 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (10)
try rw [show (3) + (10) + 1 + (4) = 18 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (0)
try rw [show (3) + (0) + 1 + (5) = 9 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (2)
try rw [show (3) + (2) + 1 + (5) = 11 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (4)
try rw [show (3) + (4) + 1 + (5) = 13 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (4)
try rw [show (3) + (4) + 1 + (7) = 15 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (8)
try rw [show (3) + (8) + 1 + (5) = 17 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (10)
try rw [show (3) + (10) + 1 + (5) = 19 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (0)
try rw [show (3) + (0) + 1 + (6) = 10 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (2)
try rw [show (3) + (2) + 1 + (6) = 12 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (4)
try rw [show (3) + (4) + 1 + (6) = 14 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (5)
try rw [show (3) + (5) + 1 + (7) = 16 by lib_nat] at h
try rw [show (3) + (5) + 1 = 9 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (8)
try rw [show (3) + (8) + 1 + (6) = 18 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (10)
try rw [show (3) + (10) + 1 + (6) = 20 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (0)
try rw [show (3) + (0) + 1 + (7) = 11 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (2)
try rw [show (3) + (2) + 1 + (7) = 13 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (4)
try rw [show (3) + (4) + 1 + (7) = 15 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (6)
try rw [show (3) + (6) + 1 + (7) = 17 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (8)
try rw [show (3) + (8) + 1 + (7) = 19 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (7)
try rw [show (3) + (7) + 1 + (1) = 12 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (7)
try rw [show (3) + (7) + 1 + (3) = 14 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (7)
try rw [show (3) + (7) + 1 + (5) = 16 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (7)
try rw [show (3) + (7) + 1 + (7) = 18 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (9)
try rw [show (3) + (9) + 1 + (7) = 20 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (1)
try rw [show (10) + (1) + 1 + (3) = 15 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (14))))) := A1.Dn K O x hD (11) (2) (11) (12) (13) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (8)
try rw [show (3) + (8) + 1 + (1) = 13 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (8)
try rw [show (3) + (8) + 1 + (3) = 15 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (8)
try rw [show (3) + (8) + 1 + (5) = 17 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (8)
try rw [show (3) + (8) + 1 + (7) = 19 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (12)
try rw [show (3) + (12) + 1 + (7) = 23 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (1)
try rw [show (10) + (1) + 1 + (2) = 14 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (1)
try rw [show (10) + (1) + 1 + (4) = 16 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (9)
try rw [show (3) + (9) + 1 + (1) = 14 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (9)
try rw [show (3) + (9) + 1 + (3) = 16 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (9)
try rw [show (3) + (9) + 1 + (5) = 18 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (9)
try rw [show (3) + (9) + 1 + (7) = 20 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (13)
try rw [show (3) + (13) + 1 + (7) = 24 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (16)
try rw [show (3) + (16) + 1 + (2) = 22 by lib_nat] at h
try rw [show (3) + (16) + 1 = 20 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (2)
try rw [show (10) + (2) + 1 + (4) = 17 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (10)
try rw [show (3) + (10) + 1 + (1) = 15 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (10)
try rw [show (3) + (10) + 1 + (3) = 17 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (10)
try rw [show (3) + (10) + 1 + (5) = 19 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (14)
try rw [show (3) + (14) + 1 + (7) = 25 by lib_nat] at h
try rw [show (3) + (14) + 1 = 18 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (17)
try rw [show (3) + (17) + 1 + (2) = 23 by lib_nat] at h
try rw [show (3) + (17) + 1 = 21 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (3)
try rw [show (10) + (3) + 1 + (4) = 18 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (11)
try rw [show (3) + (11) + 1 + (1) = 16 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (11)
try rw [show (3) + (11) + 1 + (3) = 18 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (11)
try rw [show (3) + (11) + 1 + (5) = 20 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (15)
try rw [show (3) + (15) + 1 + (7) = 26 by lib_nat] at h
try rw [show (3) + (15) + 1 = 19 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (18)
try rw [show (3) + (18) + 1 + (2) = 24 by lib_nat] at h
try rw [show (3) + (18) + 1 = 22 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (3)
try rw [show (10) + (3) + 1 + (5) = 19 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)))) (K.neg (K.mul (Zs K x (17)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (12)
try rw [show (3) + (12) + 1 + (1) = 17 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (12)
try rw [show (3) + (12) + 1 + (3) = 19 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (12)
try rw [show (3) + (12) + 1 + (5) = 21 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (12)
try rw [show (3) + (12) + 1 + (7) = 23 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (16)
try rw [show (3) + (16) + 1 + (7) = 27 by lib_nat] at h
try rw [show (3) + (16) + 1 = 20 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (19)
try rw [show (3) + (19) + 1 + (2) = 25 by lib_nat] at h
try rw [show (3) + (19) + 1 = 23 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (3)
try rw [show (10) + (3) + 1 + (6) = 20 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (29)))) (K.neg (K.mul (Zs K x (18)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (13)
try rw [show (3) + (13) + 1 + (1) = 18 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (13)
try rw [show (3) + (13) + 1 + (3) = 20 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (13)
try rw [show (3) + (13) + 1 + (5) = 22 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (13)
try rw [show (3) + (13) + 1 + (7) = 24 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (17)
try rw [show (3) + (17) + 1 + (7) = 28 by lib_nat] at h
try rw [show (3) + (17) + 1 = 21 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (20)
try rw [show (3) + (20) + 1 + (2) = 26 by lib_nat] at h
try rw [show (3) + (20) + 1 = 24 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (3)
try rw [show (10) + (3) + 1 + (7) = 21 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (w + 28))) (Zs K x (w + 30)))) (K.neg (K.mul (Zs K x (w + 19)) (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (1 -- (+8 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (0)
try rw [show (3) + (0) + 1 + (w + 15) = w + 19 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (2)
try rw [show (3) + (2) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (4)
try rw [show (3) + (4) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (6)
try rw [show (3) + (6) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (8)
try rw [show (3) + (8) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (10)
try rw [show (3) + (10) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (1)
try rw [show (4) + (1) + 1 + (2) = 8 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (1)
try rw [show (4) + (1) + 1 + (6) = 12 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (9)
try rw [show (4) + (9) + 1 + (2) = 16 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))) := A1.Dn K O x hD (5) (1) (5) (6) (7) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (11))))) := A1.Dn K O x hD (5) (5) (5) (6) (7) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (15))))) := A1.Dn K O x hD (5) (9) (5) (6) (7) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (0)
try rw [show (4) + (0) + 1 + (2) = 7 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (1)
try rw [show (4) + (1) + 1 + (3) = 9 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (1)
try rw [show (4) + (1) + 1 + (5) = 11 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (1)
try rw [show (4) + (1) + 1 + (7) = 13 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (8)
try rw [show (4) + (8) + 1 + (2) = 15 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (10)
try rw [show (4) + (10) + 1 + (2) = 17 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (0)
try rw [show (4) + (0) + 1 + (3) = 8 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (2)
try rw [show (4) + (2) + 1 + (3) = 10 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (2)
try rw [show (4) + (2) + 1 + (5) = 12 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (2)
try rw [show (4) + (2) + 1 + (7) = 14 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (8)
try rw [show (4) + (8) + 1 + (3) = 16 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (0)
try rw [show (4) + (0) + 1 + (4) = 9 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (2)
try rw [show (4) + (2) + 1 + (4) = 11 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (3)
try rw [show (4) + (3) + 1 + (5) = 13 by lib_nat] at h
try rw [show (4) + (3) + 1 = 8 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (3)
try rw [show (4) + (3) + 1 + (7) = 15 by lib_nat] at h
try rw [show (4) + (3) + 1 = 8 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (8)
try rw [show (4) + (8) + 1 + (4) = 17 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (10)
try rw [show (4) + (10) + 1 + (4) = 19 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (0)
try rw [show (4) + (0) + 1 + (5) = 10 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (2)
try rw [show (4) + (2) + 1 + (5) = 12 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (4)
try rw [show (4) + (4) + 1 + (5) = 14 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (4)
try rw [show (4) + (4) + 1 + (7) = 16 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (8)
try rw [show (4) + (8) + 1 + (5) = 18 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (10)
try rw [show (4) + (10) + 1 + (5) = 20 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (0)
try rw [show (4) + (0) + 1 + (6) = 11 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (2)
try rw [show (4) + (2) + 1 + (6) = 13 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (4)
try rw [show (4) + (4) + 1 + (6) = 15 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (5)
try rw [show (4) + (5) + 1 + (7) = 17 by lib_nat] at h
try rw [show (4) + (5) + 1 = 10 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (8)
try rw [show (4) + (8) + 1 + (6) = 19 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (10)
try rw [show (4) + (10) + 1 + (6) = 21 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (0)
try rw [show (4) + (0) + 1 + (7) = 12 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (2)
try rw [show (4) + (2) + 1 + (7) = 14 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (4)
try rw [show (4) + (4) + 1 + (7) = 16 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (6)
try rw [show (4) + (6) + 1 + (7) = 18 by lib_nat] at h
try rw [show (4) + (6) + 1 = 11 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (8)
try rw [show (4) + (8) + 1 + (7) = 20 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (7)
try rw [show (4) + (7) + 1 + (1) = 13 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (7)
try rw [show (4) + (7) + 1 + (3) = 15 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (7)
try rw [show (4) + (7) + 1 + (5) = 17 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (7)
try rw [show (4) + (7) + 1 + (7) = 19 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (9)
try rw [show (4) + (9) + 1 + (7) = 21 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (1)
try rw [show (11) + (1) + 1 + (3) = 16 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (15))))) := A1.Dn K O x hD (12) (2) (12) (13) (14) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (8)
try rw [show (4) + (8) + 1 + (1) = 14 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (8)
try rw [show (4) + (8) + 1 + (3) = 16 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (8)
try rw [show (4) + (8) + 1 + (5) = 18 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (8)
try rw [show (4) + (8) + 1 + (7) = 20 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (12)
try rw [show (4) + (12) + 1 + (7) = 24 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (1)
try rw [show (11) + (1) + 1 + (2) = 15 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (1)
try rw [show (11) + (1) + 1 + (4) = 17 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (9)
try rw [show (4) + (9) + 1 + (1) = 15 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (9)
try rw [show (4) + (9) + 1 + (3) = 17 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (9)
try rw [show (4) + (9) + 1 + (5) = 19 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (9)
try rw [show (4) + (9) + 1 + (7) = 21 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (13)
try rw [show (4) + (13) + 1 + (7) = 25 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (16)
try rw [show (4) + (16) + 1 + (2) = 23 by lib_nat] at h
try rw [show (4) + (16) + 1 = 21 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (2)
try rw [show (11) + (2) + 1 + (4) = 18 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (10)
try rw [show (4) + (10) + 1 + (1) = 16 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (10)
try rw [show (4) + (10) + 1 + (5) = 20 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (14)
try rw [show (4) + (14) + 1 + (7) = 26 by lib_nat] at h
try rw [show (4) + (14) + 1 = 19 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (17)
try rw [show (4) + (17) + 1 + (2) = 24 by lib_nat] at h
try rw [show (4) + (17) + 1 = 22 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (3)
try rw [show (11) + (3) + 1 + (4) = 19 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)))) (K.neg (K.mul (Zs K x (17)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (11)
try rw [show (4) + (11) + 1 + (1) = 17 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (11)
try rw [show (4) + (11) + 1 + (3) = 19 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (11)
try rw [show (4) + (11) + 1 + (5) = 21 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (15)
try rw [show (4) + (15) + 1 + (7) = 27 by lib_nat] at h
try rw [show (4) + (15) + 1 = 20 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (18)
try rw [show (4) + (18) + 1 + (2) = 25 by lib_nat] at h
try rw [show (4) + (18) + 1 = 23 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (9)
try rw [show (6) + (9) + 1 + (7) = 23 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (3)
try rw [show (11) + (3) + 1 + (5) = 20 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (29)))) (K.neg (K.mul (Zs K x (18)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (12)
try rw [show (4) + (12) + 1 + (1) = 18 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (12)
try rw [show (4) + (12) + 1 + (3) = 20 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (12)
try rw [show (4) + (12) + 1 + (5) = 22 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (12)
try rw [show (4) + (12) + 1 + (7) = 24 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (16)
try rw [show (4) + (16) + 1 + (7) = 28 by lib_nat] at h
try rw [show (4) + (16) + 1 = 21 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (19)
try rw [show (4) + (19) + 1 + (2) = 26 by lib_nat] at h
try rw [show (4) + (19) + 1 = 24 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (10)
try rw [show (6) + (10) + 1 + (7) = 24 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (3)
try rw [show (11) + (3) + 1 + (6) = 21 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28))) (Zs K x (30)))) (K.neg (K.mul (Zs K x (19)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (13)
try rw [show (4) + (13) + 1 + (1) = 19 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (13)
try rw [show (4) + (13) + 1 + (3) = 21 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (13)
try rw [show (4) + (13) + 1 + (5) = 23 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (13)
try rw [show (4) + (13) + 1 + (7) = 25 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (17)
try rw [show (4) + (17) + 1 + (7) = 29 by lib_nat] at h
try rw [show (4) + (17) + 1 = 22 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (28))) (K.neg (K.mul (Zs K x (26)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (20)
try rw [show (4) + (20) + 1 + (2) = 27 by lib_nat] at h
try rw [show (4) + (20) + 1 = 25 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (11)
try rw [show (6) + (11) + 1 + (7) = 25 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (3)
try rw [show (11) + (3) + 1 + (7) = 22 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27))) (Zs K x (w + 29))) (Zs K x (w + 31)))) (K.neg (K.mul (Zs K x (w + 20)) (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x -- (+11 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (0)
try rw [show (4) + (0) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (2)
try rw [show (4) + (2) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (4)
try rw [show (4) + (4) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (6)
try rw [show (4) + (6) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (4) + (6) + 1 = 11 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (8)
try rw [show (4) + (8) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (10)
try rw [show (4) + (10) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (1)
try rw [show (5) + (1) + 1 + (2) = 9 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (1)
try rw [show (5) + (1) + 1 + (6) = 13 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (9)
try rw [show (5) + (9) + 1 + (2) = 17 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (8))))) := A1.Dn K O x hD (6) (1) (6) (7) (8) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (12))))) := A1.Dn K O x hD (6) (5) (6) (7) (8) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (16))))) := A1.Dn K O x hD (6) (9) (6) (7) (8) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (0)
try rw [show (5) + (0) + 1 + (2) = 8 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (1)
try rw [show (5) + (1) + 1 + (3) = 10 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (1)
try rw [show (5) + (1) + 1 + (5) = 12 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (1)
try rw [show (5) + (1) + 1 + (7) = 14 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (8)
try rw [show (5) + (8) + 1 + (2) = 16 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (10)
try rw [show (5) + (10) + 1 + (2) = 18 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (0)
try rw [show (5) + (0) + 1 + (3) = 9 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (2)
try rw [show (5) + (2) + 1 + (3) = 11 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (2)
try rw [show (5) + (2) + 1 + (5) = 13 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (2)
try rw [show (5) + (2) + 1 + (7) = 15 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (8)
try rw [show (5) + (8) + 1 + (3) = 17 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (10)
try rw [show (5) + (10) + 1 + (3) = 19 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (0)
try rw [show (5) + (0) + 1 + (4) = 10 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (2)
try rw [show (5) + (2) + 1 + (4) = 12 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (3)
try rw [show (5) + (3) + 1 + (5) = 14 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (3)
try rw [show (5) + (3) + 1 + (7) = 16 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (8)
try rw [show (5) + (8) + 1 + (4) = 18 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (10)
try rw [show (5) + (10) + 1 + (4) = 20 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (0)
try rw [show (5) + (0) + 1 + (5) = 11 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (2)
try rw [show (5) + (2) + 1 + (5) = 13 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (4)
try rw [show (5) + (4) + 1 + (5) = 15 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (4)
try rw [show (5) + (4) + 1 + (7) = 17 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (8)
try rw [show (5) + (8) + 1 + (5) = 19 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (10)
try rw [show (5) + (10) + 1 + (5) = 21 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (0)
try rw [show (5) + (0) + 1 + (6) = 12 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (2)
try rw [show (5) + (2) + 1 + (6) = 14 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (4)
try rw [show (5) + (4) + 1 + (6) = 16 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (5)
try rw [show (5) + (5) + 1 + (7) = 18 by lib_nat] at h
try rw [show (5) + (5) + 1 = 11 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (8)
try rw [show (5) + (8) + 1 + (6) = 20 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (10)
try rw [show (5) + (10) + 1 + (6) = 22 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (0)
try rw [show (5) + (0) + 1 + (7) = 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (2)
try rw [show (5) + (2) + 1 + (7) = 15 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (4)
try rw [show (5) + (4) + 1 + (7) = 17 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (6)
try rw [show (5) + (6) + 1 + (7) = 19 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (7)
try rw [show (5) + (7) + 1 + (1) = 14 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (7)
try rw [show (5) + (7) + 1 + (3) = 16 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (7)
try rw [show (5) + (7) + 1 + (5) = 18 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (1)
try rw [show (12) + (1) + 1 + (3) = 17 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (16))))) := A1.Dn K O x hD (13) (2) (13) (14) (15) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (8)
try rw [show (5) + (8) + 1 + (3) = 17 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (8)
try rw [show (5) + (8) + 1 + (5) = 19 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (12)
try rw [show (5) + (12) + 1 + (7) = 25 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (1)
try rw [show (12) + (1) + 1 + (2) = 16 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (1)
try rw [show (12) + (1) + 1 + (4) = 18 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (9)
try rw [show (5) + (9) + 1 + (1) = 16 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (9)
try rw [show (5) + (9) + 1 + (3) = 18 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (9)
try rw [show (5) + (9) + 1 + (5) = 20 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (13)
try rw [show (5) + (13) + 1 + (7) = 26 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (16)
try rw [show (5) + (16) + 1 + (2) = 24 by lib_nat] at h
try rw [show (5) + (16) + 1 = 22 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (2)
try rw [show (12) + (2) + 1 + (4) = 19 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)))) (K.neg (K.mul (Zs K x (17)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (10)
try rw [show (5) + (10) + 1 + (1) = 17 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (10)
try rw [show (5) + (10) + 1 + (3) = 19 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (10)
try rw [show (5) + (10) + 1 + (5) = 21 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (14)
try rw [show (5) + (14) + 1 + (7) = 27 by lib_nat] at h
try rw [show (5) + (14) + 1 = 20 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (17)
try rw [show (5) + (17) + 1 + (2) = 25 by lib_nat] at h
try rw [show (5) + (17) + 1 = 23 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (8)
try rw [show (7) + (8) + 1 + (7) = 23 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (3)
try rw [show (12) + (3) + 1 + (4) = 20 by lib_nat] at h
try rw [show (12) + (3) + 1 = 16 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (29)))) (K.neg (K.mul (Zs K x (18)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (11)
try rw [show (5) + (11) + 1 + (1) = 18 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (11)
try rw [show (5) + (11) + 1 + (3) = 20 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (11)
try rw [show (5) + (11) + 1 + (5) = 22 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (15)
try rw [show (5) + (15) + 1 + (7) = 28 by lib_nat] at h
try rw [show (5) + (15) + 1 = 21 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (18)
try rw [show (5) + (18) + 1 + (2) = 26 by lib_nat] at h
try rw [show (5) + (18) + 1 = 24 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (9)
try rw [show (7) + (9) + 1 + (7) = 24 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (3)
try rw [show (12) + (3) + 1 + (5) = 21 by lib_nat] at h
try rw [show (12) + (3) + 1 = 16 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28))) (Zs K x (30)))) (K.neg (K.mul (Zs K x (19)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (12)
try rw [show (5) + (12) + 1 + (1) = 19 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (12)
try rw [show (5) + (12) + 1 + (3) = 21 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (12)
try rw [show (5) + (12) + 1 + (5) = 23 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (12)
try rw [show (5) + (12) + 1 + (7) = 25 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (16)
try rw [show (5) + (16) + 1 + (7) = 29 by lib_nat] at h
try rw [show (5) + (16) + 1 = 22 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (28))) (K.neg (K.mul (Zs K x (26)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (19)
try rw [show (5) + (19) + 1 + (2) = 27 by lib_nat] at h
try rw [show (5) + (19) + 1 = 25 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (10)
try rw [show (7) + (10) + 1 + (7) = 25 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (3)
try rw [show (12) + (3) + 1 + (6) = 22 by lib_nat] at h
try rw [show (12) + (3) + 1 = 16 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (29))) (Zs K x (31)))) (K.neg (K.mul (Zs K x (20)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (13)
try rw [show (5) + (13) + 1 + (1) = 20 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (13)
try rw [show (5) + (13) + 1 + (3) = 22 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (13)
try rw [show (5) + (13) + 1 + (5) = 24 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (13)
try rw [show (5) + (13) + 1 + (7) = 26 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (31))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (17)
try rw [show (5) + (17) + 1 + (7) = 30 by lib_nat] at h
try rw [show (5) + (17) + 1 = 23 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (29))) (K.neg (K.mul (Zs K x (27)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (20)
try rw [show (5) + (20) + 1 + (2) = 28 by lib_nat] at h
try rw [show (5) + (20) + 1 = 26 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (11)
try rw [show (7) + (11) + 1 + (7) = 26 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (3)
try rw [show (12) + (3) + 1 + (7) = 23 by lib_nat] at h
try rw [show (12) + (3) + 1 = 16 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (w + 28))) (Zs K x (w + 30))) (Zs K x (w + 32)))) (K.neg (K.mul (Zs K x (w + 21)) (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K -- (+13 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (0)
try rw [show (5) + (0) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (2)
try rw [show (5) + (2) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (4)
try rw [show (5) + (4) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (6)
try rw [show (5) + (6) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (8)
try rw [show (5) + (8) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (10)
try rw [show (5) + (10) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 19)))) (K.neg (K.mul (Zs K x (a + 8)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x -- (+14 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 11))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (2) (a + 6) (1)
try rw [show (a + 6) + (1) + 1 + (2) = a + 10 by lib_nat] at h
try rw [show (a + 6) + (1) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 6) + (2) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (6) (a + 6) (1)
try rw [show (a + 6) + (1) + 1 + (6) = a + 14 by lib_nat] at h
try rw [show (a + 6) + (1) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 6) + (6) = a + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (2) (a + 6) (9)
try rw [show (a + 6) + (9) + 1 + (2) = a + 18 by lib_nat] at h
try rw [show (a + 6) + (9) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 6) + (2) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 9))))) := A1.Dn K O x hD (a + 7) (1) (a + 7) (a + 8) (a + 9) (a + 8) (a + 9) (a + 10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 7) (5) (a + 7) (a + 8) (a + 9) (a + 12) (a + 13) (a + 14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 7) (9) (a + 7) (a + 8) (a + 9) (a + 16) (a + 17) (a + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 20)))) (K.neg (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K -- (+17 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 10))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (2) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (2) = a + 9 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (2) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 12))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 10)))))) := by
have h := A2.mk K O x hT (3) (a + 6) (1)
try rw [show (a + 6) + (1) + 1 + (3) = a + 11 by lib_nat] at h
try rw [show (a + 6) + (1) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 6) + (3) = a + 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 14))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (5) (a + 6) (1)
try rw [show (a + 6) + (1) + 1 + (5) = a + 13 by lib_nat] at h
try rw [show (a + 6) + (1) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 6) + (5) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (1)
try rw [show (a + 6) + (1) + 1 + (7) = a + 15 by lib_nat] at h
try rw [show (a + 6) + (1) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (1)
try rw [show (a + 6) + (1) + 1 + (9) = a + 17 by lib_nat] at h
try rw [show (a + 6) + (1) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (2) (a + 6) (10)
try rw [show (a + 6) + (10) + 1 + (2) = a + 19 by lib_nat] at h
try rw [show (a + 6) + (10) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 6) + (2) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 21)))) (K.neg (K.mul (Zs K x (a + 10)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Z -- (+20 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 11))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 10)))))) := by
have h := A2.mk K O x hT (3) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (3) = a + 10 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (3) = a + 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 13))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 10)))))) := by
have h := A2.mk K O x hT (3) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (3) = a + 12 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (3) = a + 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (5) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (5) = a + 14 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (5) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (7) = a + 16 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (9) = a + 18 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (11) = a + 20 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22)))) (K.neg (K.mul (Zs K x (a + 11)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) -- (+22 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 12))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 11)))))) := by
have h := A2.mk K O x hT (4) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (4) = a + 11 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (4) = a + 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 14))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 11)))))) := by
have h := A2.mk K O x hT (4) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (4) = a + 13 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (4) = a + 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (5) (a + 6) (3)
try rw [show (a + 6) + (3) + 1 + (5) = a + 15 by lib_nat] at h
try rw [show (a + 6) + (3) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 6) + (5) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (3)
try rw [show (a + 6) + (3) + 1 + (7) = a + 17 by lib_nat] at h
try rw [show (a + 6) + (3) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (3)
try rw [show (a + 6) + (3) + 1 + (9) = a + 19 by lib_nat] at h
try rw [show (a + 6) + (3) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (3)
try rw [show (a + 6) + (3) + 1 + (11) = a + 21 by lib_nat] at h
try rw [show (a + 6) + (3) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23)))) (K.neg (K.mul (Zs K x (a + 12)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)) -- (+24 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 13))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (5) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (5) = a + 12 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (5) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (5) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (5) = a + 14 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (5) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (5) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (5) = a + 16 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (5) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (7) = a + 18 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (9) = a + 20 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (11) = a + 22 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24)))) (K.neg (K.mul (Zs K x (a + 13)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16 -- (+26 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 14))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (6) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (6) = a + 13 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (6) = a + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (6) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (6) = a + 15 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (6) = a + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (6) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (6) = a + 17 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (6) = a + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (5)
try rw [show (a + 6) + (5) + 1 + (7) = a + 19 by lib_nat] at h
try rw [show (a + 6) + (5) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (5)
try rw [show (a + 6) + (5) + 1 + (9) = a + 21 by lib_nat] at h
try rw [show (a + 6) + (5) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (5)
try rw [show (a + 6) + (5) + 1 + (11) = a + 23 by lib_nat] at h
try rw [show (a + 6) + (5) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25)))) (K.neg (K.mul (Zs K x (a + 14)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + -- (+28 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (7) = a + 14 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (7) = a + 16 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (7) = a + 18 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (7) = a + 20 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (9) = a + 22 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (11) = a + 24 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26)))) (K.neg (K.mul (Zs K x (a + 15)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a -- (+30 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (8) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (8) = a + 15 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (8) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (8) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (8) = a + 17 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (8) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (8) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (8) = a + 19 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (8) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (8) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (8) = a + 21 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (8) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (7)
try rw [show (a + 6) + (7) + 1 + (9) = a + 23 by lib_nat] at h
try rw [show (a + 6) + (7) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (7)
try rw [show (a + 6) + (7) + 1 + (11) = a + 25 by lib_nat] at h
try rw [show (a + 6) + (7) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27)))) (K.neg (K.mul (Zs K x (a + 16)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x ( -- (+32 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (9) = a + 16 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (9) = a + 18 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (9) = a + 20 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (9) = a + 22 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (9) = a + 24 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (11) = a + 26 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 28)))) (K.neg (K.mul (Zs K x (a + 17)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x -- (+34 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (10) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (10) = a + 17 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (10) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (10) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (10) = a + 19 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (10) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (10) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (10) = a + 21 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (10) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (10) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (10) = a + 23 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (10) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (10) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (10) = a + 25 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (10) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (9)
try rw [show (a + 6) + (9) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 6) + (9) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 29)))) (K.neg (K.mul (Zs K x (a + 18)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K -- (+36 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (11) = a + 18 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (11) = a + 20 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (11) = a + 22 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (11) = a + 24 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (11) = a + 26 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (10)
try rw [show (a + 6) + (10) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 6) + (10) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 28))) (Zs K x (a + 30)))) (K.neg (K.mul (Zs K x (a + 19)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs -- (+38 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (12) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (12) = a + 19 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (12) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (12) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (12) = a + 21 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (12) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (12) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (12) = a + 23 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (12) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (12) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (12) = a + 25 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (12) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (12) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (12) = a + 27 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (12) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (12) (a + 6) (10)
try rw [show (a + 6) + (10) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 6) + (10) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 6) + (12) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 29))) (Zs K x (a + 31)))) (K.neg (K.mul (Zs K x (a + 20)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) ( -- (+40 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (13) = a + 20 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (13) = a + 22 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (13) = a + 24 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (13) = a + 26 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (13) = a + 28 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (10)
try rw [show (a + 6) + (10) + 1 + (13) = a + 30 by lib_nat] at h
try rw [show (a + 6) + (10) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 28))) (Zs K x (a + 30))) (Zs K x (a + 32)))) (K.neg (K.mul (Zs K x (a + 21)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + 14))) -- (+42 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (14) = a + 21 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (14) = a + 23 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (14) = a + 25 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (14) = a + 27 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (14) = a + 29 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (10)
try rw [show (a + 6) + (10) + 1 + (14) = a + 31 by lib_nat] at h
try rw [show (a + 6) + (10) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + w + 27))) (Zs K x (a + w + 29))) (Zs K x (a + w + 31))) (Zs K x (a + w + 33)))) (K.neg (K.mul (Zs K x (a + w + 22)) (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x ( -- (+70 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 23))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (w + 15) = a + w + 22 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (w + 15) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 25))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (w + 15) = a + w + 24 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (w + 15) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 27))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (w + 15) = a + w + 26 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (w + 15) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 29))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (w + 15) = a + w + 28 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (w + 15) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (w + 15) = a + w + 30 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (w + 15) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 33))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 6) (10)
try rw [show (a + 6) + (10) + 1 + (w + 15) = a + w + 32 by lib_nat] at h
try rw [show (a + 6) + (10) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 6) + (w + 15) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S05.lean
/-
ym/GenA7S05 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg5 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x))))))) (pv6 K x) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul K.zero (Zs K x (7))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul K.zero (Zs K x (7))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul K.zero (Zs K x (7))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul K.zero (Zs K x (7))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul K.zero (Zs K x (7))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul K.zero (Zs K x (7))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (1)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (0)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (2)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (8)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 10)) (Zs K x (w + 12))) (Zs K x (w + 14))) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22)))) (K.neg (K.mul (Zs K x (w + 9)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 9))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul K.zero (K.add (Zs K x (6)) (Zs K x (8)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul K.zero (K.add (Zs K x (6)) (Zs K x (8)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul K.zero (K.add (Zs K x (6)) (Zs K x (8)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul K.zero (K.add (Zs K x (6)) (Zs K x (8)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul K.zero (K.add (Zs K x (6)) (Zs K x (8)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (1)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (7))))) := A1.Dn K O x hD (0) (6) (0) (1) (2) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (2)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (7))))) := A1.Dn K O x hD (1) (5) (1) (2) (3) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (0)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (3)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (7))))) := A1.Dn K O x hD (2) (4) (2) (3) (4) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (4)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))))) := A1.Dn K O x hD (3) (3) (3) (4) (5) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (5)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (6)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (7)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (8)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (7)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (9)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (w + 15))) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23)))) (K.neg (K.mul (Zs K x (w + 10)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 10))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 9))
have t1 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 10))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul K.zero (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul K.zero (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul K.zero (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul K.zero (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (1)) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (6))))) := A1.Dn K O x hD (0) (5) (0) (1) (2) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (8))))) := A1.Dn K O x hD (0) (7) (0) (1) (2) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (7))))) := A1.Dn K O x hD (1) (5) (1) (2) (3) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (2)) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (7))))) := A1.Dn K O x hD (0) (6) (0) (1) (2) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (6))))) := A1.Dn K O x hD (1) (4) (1) (2) (3) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (8))))) := A1.Dn K O x hD (1) (6) (1) (2) (3) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (7))))) := A1.Dn K O x hD (2) (4) (2) (3) (4) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))))) := A1.Dn K O x hD (2) (3) (2) (3) (4) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (6))))) := A1.Dn K O x hD (3) (2) (3) (4) (5) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (3)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (6))))) := A1.Dn K O x hD (4) (1) (4) (5) (6) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
have t2 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (8)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
have t2 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24)))) (K.neg (K.mul (Zs K x (w + 11)) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 10))
have t1 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 10))
have t2 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul K.zero (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul K.zero (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul K.zero (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (5))))) := A1.Dn K O x hD (0) (4) (0) (1) (2) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (9))))) := A1.Dn K O x hD (0) (8) (0) (1) (2) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (1)) (hx (4))
have t3 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (7))))) := A1.Dn K O x hD (1) (5) (1) (2) (3) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (0)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
have t3 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (7))))) := A1.Dn K O x hD (2) (4) (2) (3) (4) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (2)) (hx (3))
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))))) := A1.Dn K O x hD (3) (3) (3) (4) (5) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (3)) (hx (3))
have t3 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (3)) (hx (9))
have t4 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))))) := A1.Dn K O x hD (3) (4) (3) (4) (5) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (7))))) := A1.Dn K O x hD (4) (2) (4) (5) (6) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (9))))) := A1.Dn K O x hD (4) (4) (4) (5) (6) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (8))))) := A1.Dn K O x hD (5) (2) (5) (6) (7) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (3)) (hx (4))
have t6 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t7 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))))) := A1.Dn K O x hD (4) (3) (4) (5) (6) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))) := A1.Dn K O x hD (5) (1) (5) (6) (7) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))))) := A1.Dn K O x hD (5) (3) (5) (6) (7) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (8))))) := A1.Dn K O x hD (6) (1) (6) (7) (8) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
have t6 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t7 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (7)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (7)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (3)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (3)) (hx (9))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (9)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (3)) (hx (10))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
have t3 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (9)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25)))) (K.neg (K.mul (Zs K x (w + 12)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 11))
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 11))
have t2 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 11))
have t3 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (9)) (hx (w + 11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul K.zero (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul K.zero (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (4))))) := A1.Dn K O x hD (0) (3) (0) (1) (2) (3) (4) (5) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (8))))) := A1.Dn K O x hD (0) (7) (0) (1) (2) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (10))))) := A1.Dn K O x hD (0) (9) (0) (1) (2) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (9))))) := A1.Dn K O x hD (1) (7) (1) (2) (3) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
have t5 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (1)) (hx (4))
have t2 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (8))))) := A1.Dn K O x hD (2) (5) (2) (3) (4) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (2)) (hx (2))
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))))) := A1.Dn K O x hD (3) (4) (3) (4) (5) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (2)) (hx (3))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (3)) (hx (4))
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (3)) (hx (10))
have t5 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))))) := A1.Dn K O x hD (4) (3) (4) (5) (6) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (4)) (hx (4))
have t4 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (8))))) := A1.Dn K O x hD (5) (2) (5) (6) (7) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t5 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (8))))) := A1.Dn K O x hD (6) (1) (6) (7) (8) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (6)) (hx (10))
have t5 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (7)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (8)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (8)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
have t4 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (9)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (6)) (hx (10))
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (8)) (hx (10))
have t4 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (10)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (2)) (hx (11))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (4)) (hx (11))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (8)) (hx (11))
have t4 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (10)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26)))) (K.neg (K.mul (Zs K x (w + 13)) (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 12))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 12))
have t2 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 12))
have t3 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 12))
have t4 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (10)) (hx (w + 12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (3))))) := A1.Dn K O x hD (0) (2) (0) (1) (2) (2) (3) (4) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (7))))) := A1.Dn K O x hD (0) (6) (0) (1) (2) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (11))))) := A1.Dn K O x hD (0) (10) (0) (1) (2) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (2))) := O.mul_nonneg _ _ (hx (1)) (hx (1))
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
have t2 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (9))))) := A1.Dn K O x hD (2) (6) (2) (3) (4) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
have t2 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (2)) (hx (3))
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t5 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (2)) (hx (11))
have t6 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (3)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (9))))) := A1.Dn K O x hD (3) (5) (3) (4) (5) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (3)) (hx (3))
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (3)) (hx (11))
have t6 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (9))))) := A1.Dn K O x hD (4) (4) (4) (5) (6) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (1)) (hx (4))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (3)) (hx (4))
have t3 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (3)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t5 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (4)) (hx (11))
have t6 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))))) := A1.Dn K O x hD (5) (3) (5) (6) (7) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))))) := A1.Dn K O x hD (6) (4) (6) (7) (8) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t5 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t6 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (7)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (7)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (3)) (hx (8))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (8)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (3)) (hx (9))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
have t4 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (9)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (9)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (3)) (hx (10))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
have t4 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (9)) (hx (10))
have t5 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (10)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (3)) (hx (11))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (7)) (hx (11))
have t4 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (9)) (hx (11))
have t5 : O.le K.zero (K.mul (Zs K x (12)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (11)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (3)) (hx (12))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (7)) (hx (12))
have t4 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (9)) (hx (12))
have t5 : O.le K.zero (K.mul (Zs K x (12)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (11)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27)))) (K.neg (K.mul (Zs K x (w + 14)) (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) ( -- (+17 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (1)) (hx (w + 13))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 13))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 13))
have t3 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 13))
have t4 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (9)) (hx (w + 13))
have t5 : O.le K.zero (K.mul (Zs K x (12)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (11)) (hx (w + 13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (2))))) := A1.Dn K O x hD (0) (1) (0) (1) (2) (1) (2) (3) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (6))))) := A1.Dn K O x hD (0) (5) (0) (1) (2) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (10))))) := A1.Dn K O x hD (0) (9) (0) (1) (2) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (12))))) := A1.Dn K O x hD (0) (11) (0) (1) (2) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (11))))) := A1.Dn K O x hD (1) (9) (1) (2) (3) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (2))) := O.mul_nonneg _ _ (hx (1)) (hx (1))
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t7 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (3))))) := A1.Dn K O x hD (0) (2) (0) (1) (2) (2) (3) (4) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (7))))) := A1.Dn K O x hD (0) (6) (0) (1) (2) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (4))))) := A1.Dn K O x hD (1) (2) (1) (2) (3) (3) (4) (5) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (6))))) := A1.Dn K O x hD (1) (4) (1) (2) (3) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (8))))) := A1.Dn K O x hD (1) (6) (1) (2) (3) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (5))))) := A1.Dn K O x hD (2) (2) (2) (3) (4) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t6 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
have t7 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
have t8 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
have t9 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t10 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (3)) (hx (4))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (0)) (hx (2))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (2)) (hx (2))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t5 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
have t6 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (2)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (10))))) := A1.Dn K O x hD (3) (6) (3) (4) (5) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (0)) (hx (3))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (2)) (hx (3))
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
have t4 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (3)) (hx (4))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t6 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (3)) (hx (12))
have t7 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (9))))) := A1.Dn K O x hD (3) (5) (3) (4) (5) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))))) := A1.Dn K O x hD (4) (3) (4) (5) (6) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))))) := A1.Dn K O x hD (4) (5) (4) (5) (6) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))))) := A1.Dn K O x hD (5) (3) (5) (6) (7) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (0)) (hx (4))
have t5 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
have t6 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t7 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (4)) (hx (4))
have t8 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t9 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (4)) (hx (12))
have t10 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (10))))) := A1.Dn K O x hD (5) (4) (5) (6) (7) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (0)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t4 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
have t6 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
have t7 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))))) := A1.Dn K O x hD (6) (3) (6) (7) (8) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (0)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t4 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
have t6 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (6)) (hx (12))
have t7 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (0)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
have t4 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
have t5 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
have t6 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (7)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (0)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (8)) (hx (8))
have t5 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (8)) (hx (10))
have t6 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (8)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (0)) (hx (9))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
have t5 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (9)) (hx (10))
have t6 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (9)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))))) -- (+2 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (0)) (hx (10))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (6)) (hx (10))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (8)) (hx (10))
have t5 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (10)) (hx (10))
have t6 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (10)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) -- (+4 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (0)) (hx (11))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (2)) (hx (11))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (4)) (hx (11))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (8)) (hx (11))
have t5 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (10)) (hx (11))
have t6 : O.le K.zero (K.mul (Zs K x (12)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (11)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13) -- (+6 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (0)) (hx (12))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (2)) (hx (12))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (4)) (hx (12))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (6)) (hx (12))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (8)) (hx (12))
have t5 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (10)) (hx (12))
have t6 : O.le K.zero (K.mul (Zs K x (13)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (12)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (1 -- (+8 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (0)) (hx (13))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (2)) (hx (13))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (4)) (hx (13))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (6)) (hx (13))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (8)) (hx (13))
have t5 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (10)) (hx (13))
have t6 : O.le K.zero (K.mul (Zs K x (13)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (12)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (w + 28)))) (K.neg (K.mul (Zs K x (w + 15)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (Zs K x -- (+40 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (0)) (hx (w + 14))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 14))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 14))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 14))
have t4 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 14))
have t5 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (10)) (hx (w + 14))
have t6 : O.le K.zero (K.mul (Zs K x (13)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (12)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (1)
try rw [show (0) + (1) + 1 + (2) = 4 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (1)
try rw [show (0) + (1) + 1 + (6) = 8 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (8)
try rw [show (0) + (8) + 1 + (1) = 10 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (11)
try rw [show (0) + (11) + 1 + (2) = 14 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (3))))) := A1.Dn K O x hD (1) (1) (1) (2) (3) (2) (3) (4) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (7))))) := A1.Dn K O x hD (1) (5) (1) (2) (3) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (13))))) := A1.Dn K O x hD (1) (11) (1) (2) (3) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (4))) (K.neg (K.mul (Zs K x (2)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (0)
try rw [show (0) + (0) + 1 + (2) = 3 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (1)
try rw [show (0) + (1) + 1 + (3) = 5 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (1)
try rw [show (0) + (1) + 1 + (5) = 7 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (1)
try rw [show (0) + (1) + 1 + (7) = 9 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (8)
try rw [show (0) + (8) + 1 + (2) = 11 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (10)
try rw [show (0) + (10) + 1 + (2) = 13 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (12)
try rw [show (0) + (12) + 1 + (2) = 15 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (2)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (0)
try rw [show (0) + (0) + 1 + (3) = 4 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (2)
try rw [show (0) + (2) + 1 + (3) = 6 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (2)
try rw [show (0) + (2) + 1 + (5) = 8 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (2)
try rw [show (0) + (2) + 1 + (7) = 10 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (8)
try rw [show (0) + (8) + 1 + (3) = 12 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (10)
try rw [show (0) + (10) + 1 + (3) = 14 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (12)
try rw [show (0) + (12) + 1 + (3) = 16 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (2)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (0)
try rw [show (0) + (0) + 1 + (4) = 5 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (2)
try rw [show (0) + (2) + 1 + (4) = 7 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (3)
try rw [show (0) + (3) + 1 + (5) = 9 by lib_nat] at h
try rw [show (0) + (3) + 1 = 4 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (3)
try rw [show (0) + (3) + 1 + (7) = 11 by lib_nat] at h
try rw [show (0) + (3) + 1 = 4 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (8)
try rw [show (0) + (8) + 1 + (4) = 13 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (10)
try rw [show (0) + (10) + 1 + (4) = 15 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (12)
try rw [show (0) + (12) + 1 + (4) = 17 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (2)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (0)
try rw [show (0) + (0) + 1 + (5) = 6 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (2)
try rw [show (0) + (2) + 1 + (5) = 8 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (4)
try rw [show (0) + (4) + 1 + (5) = 10 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (4)
try rw [show (0) + (4) + 1 + (7) = 12 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (8)
try rw [show (0) + (8) + 1 + (5) = 14 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (10)
try rw [show (0) + (10) + 1 + (5) = 16 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (12)
try rw [show (0) + (12) + 1 + (5) = 18 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (2)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (0)
try rw [show (0) + (0) + 1 + (6) = 7 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (2)
try rw [show (0) + (2) + 1 + (6) = 9 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (4)
try rw [show (0) + (4) + 1 + (6) = 11 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (5)
try rw [show (0) + (5) + 1 + (7) = 13 by lib_nat] at h
try rw [show (0) + (5) + 1 = 6 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (8)
try rw [show (0) + (8) + 1 + (6) = 15 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (10)
try rw [show (0) + (10) + 1 + (6) = 17 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (12)
try rw [show (0) + (12) + 1 + (6) = 19 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))) -- (+1 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (2)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (0)
try rw [show (0) + (0) + 1 + (7) = 8 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (2)
try rw [show (0) + (2) + 1 + (7) = 10 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (4)
try rw [show (0) + (4) + 1 + (7) = 12 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (6)
try rw [show (0) + (6) + 1 + (7) = 14 by lib_nat] at h
try rw [show (0) + (6) + 1 = 7 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (8)
try rw [show (0) + (8) + 1 + (7) = 16 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) -- (+4 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (7)
try rw [show (0) + (7) + 1 + (1) = 9 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (7)
try rw [show (0) + (7) + 1 + (3) = 11 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (7)
try rw [show (0) + (7) + 1 + (5) = 13 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (7)
try rw [show (0) + (7) + 1 + (7) = 15 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (9)
try rw [show (0) + (9) + 1 + (7) = 17 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (2)
try rw [show (7) + (2) + 1 + (4) = 14 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (11))))) := A1.Dn K O x hD (8) (2) (8) (9) (10) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (13))))) := A1.Dn K O x hD (8) (4) (8) (9) (10) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (12))))) := A1.Dn K O x hD (9) (2) (9) (10) (11) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14 -- (+7 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (8)
try rw [show (0) + (8) + 1 + (1) = 10 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (8)
try rw [show (0) + (8) + 1 + (3) = 12 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (8)
try rw [show (0) + (8) + 1 + (5) = 14 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (8)
try rw [show (0) + (8) + 1 + (7) = 16 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (14)
try rw [show (0) + (14) + 1 + (7) = 22 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (2)
try rw [show (7) + (2) + 1 + (3) = 13 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (2)
try rw [show (7) + (2) + 1 + (5) = 15 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))))) := A1.Dn K O x hD (8) (3) (8) (9) (10) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (11))))) := A1.Dn K O x hD (9) (1) (9) (10) (11) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))))) := A1.Dn K O x hD (9) (3) (9) (10) (11) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) t11) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x ( -- (+9 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (9)
try rw [show (0) + (9) + 1 + (1) = 11 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (9)
try rw [show (0) + (9) + 1 + (3) = 13 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (9)
try rw [show (0) + (9) + 1 + (5) = 15 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (9)
try rw [show (0) + (9) + 1 + (7) = 17 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (15)
try rw [show (0) + (15) + 1 + (7) = 23 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (1)
try rw [show (7) + (1) + 1 + (3) = 12 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (1)
try rw [show (7) + (1) + 1 + (5) = 14 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (3)
try rw [show (7) + (3) + 1 + (5) = 16 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (13))))) := A1.Dn K O x hD (10) (2) (10) (11) (12) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x -- (+11 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (10)
try rw [show (0) + (10) + 1 + (1) = 12 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (10)
try rw [show (0) + (10) + 1 + (3) = 14 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (10)
try rw [show (0) + (10) + 1 + (5) = 16 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (14)
try rw [show (0) + (14) + 1 + (7) = 22 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (16)
try rw [show (0) + (16) + 1 + (7) = 24 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (1)
try rw [show (7) + (1) + 1 + (4) = 13 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (2)
try rw [show (7) + (2) + 1 + (5) = 15 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (4)
try rw [show (7) + (4) + 1 + (5) = 17 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (13))))) := A1.Dn K O x hD (11) (1) (11) (12) (13) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K -- (+13 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (11)
try rw [show (0) + (11) + 1 + (1) = 13 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (11)
try rw [show (0) + (11) + 1 + (3) = 15 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (11)
try rw [show (0) + (11) + 1 + (5) = 17 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (15)
try rw [show (0) + (15) + 1 + (7) = 23 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (17)
try rw [show (0) + (17) + 1 + (7) = 25 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (1)
try rw [show (7) + (1) + 1 + (5) = 14 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (3)
try rw [show (7) + (3) + 1 + (5) = 16 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (4)
try rw [show (7) + (4) + 1 + (6) = 18 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs -- (+15 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (12)
try rw [show (0) + (12) + 1 + (1) = 14 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (12)
try rw [show (0) + (12) + 1 + (3) = 16 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (12)
try rw [show (0) + (12) + 1 + (5) = 18 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (14)
try rw [show (0) + (14) + 1 + (7) = 22 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (16)
try rw [show (0) + (16) + 1 + (7) = 24 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (18)
try rw [show (0) + (18) + 1 + (7) = 26 by lib_nat] at h
try rw [show (0) + (18) + 1 = 19 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (1)
try rw [show (7) + (1) + 1 + (6) = 15 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (3)
try rw [show (7) + (3) + 1 + (6) = 17 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (5)
try rw [show (7) + (5) + 1 + (6) = 19 by lib_nat] at h
try rw [show (7) + (5) + 1 = 13 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) ( -- (+17 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (13)
try rw [show (0) + (13) + 1 + (1) = 15 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (13)
try rw [show (0) + (13) + 1 + (3) = 17 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (13)
try rw [show (0) + (13) + 1 + (5) = 19 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (15)
try rw [show (0) + (15) + 1 + (7) = 23 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (17)
try rw [show (0) + (17) + 1 + (7) = 25 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (19)
try rw [show (0) + (19) + 1 + (7) = 27 by lib_nat] at h
try rw [show (0) + (19) + 1 = 20 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (1)
try rw [show (7) + (1) + 1 + (7) = 16 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (3)
try rw [show (7) + (3) + 1 + (7) = 18 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (5)
try rw [show (7) + (5) + 1 + (7) = 20 by lib_nat] at h
try rw [show (7) + (5) + 1 = 13 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27))) (Zs K x (w + 29)))) (K.neg (K.mul (Zs K x (w + 16)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) -- (+49 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (2)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (0)
try rw [show (0) + (0) + 1 + (w + 15) = w + 16 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (2)
try rw [show (0) + (2) + 1 + (w + 15) = w + 18 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (4)
try rw [show (0) + (4) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (6)
try rw [show (0) + (6) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (0) + (6) + 1 = 7 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (8)
try rw [show (0) + (8) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (10)
try rw [show (0) + (10) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (12)
try rw [show (0) + (12) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (1)
try rw [show (1) + (1) + 1 + (2) = 5 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (1)
try rw [show (1) + (1) + 1 + (6) = 9 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (8)
try rw [show (1) + (8) + 1 + (1) = 11 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (11)
try rw [show (1) + (11) + 1 + (2) = 15 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (4))))) := A1.Dn K O x hD (2) (1) (2) (3) (4) (3) (4) (5) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (8))))) := A1.Dn K O x hD (2) (5) (2) (3) (4) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (14))))) := A1.Dn K O x hD (2) (11) (2) (3) (4) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (0)
try rw [show (1) + (0) + 1 + (2) = 4 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (1)
try rw [show (1) + (1) + 1 + (3) = 6 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (1)
try rw [show (1) + (1) + 1 + (5) = 8 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (1)
try rw [show (1) + (1) + 1 + (7) = 10 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (8)
try rw [show (1) + (8) + 1 + (2) = 12 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (10)
try rw [show (1) + (10) + 1 + (2) = 14 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (12)
try rw [show (1) + (12) + 1 + (2) = 16 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (0)
try rw [show (1) + (0) + 1 + (3) = 5 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (2)
try rw [show (1) + (2) + 1 + (3) = 7 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (2)
try rw [show (1) + (2) + 1 + (5) = 9 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (2)
try rw [show (1) + (2) + 1 + (7) = 11 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (8)
try rw [show (1) + (8) + 1 + (3) = 13 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (10)
try rw [show (1) + (10) + 1 + (3) = 15 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (12)
try rw [show (1) + (12) + 1 + (3) = 17 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (0)
try rw [show (1) + (0) + 1 + (4) = 6 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (2)
try rw [show (1) + (2) + 1 + (4) = 8 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (3)
try rw [show (1) + (3) + 1 + (5) = 10 by lib_nat] at h
try rw [show (1) + (3) + 1 = 5 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (3)
try rw [show (1) + (3) + 1 + (7) = 12 by lib_nat] at h
try rw [show (1) + (3) + 1 = 5 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (8)
try rw [show (1) + (8) + 1 + (4) = 14 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (10)
try rw [show (1) + (10) + 1 + (4) = 16 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (12)
try rw [show (1) + (12) + 1 + (4) = 18 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (0)
try rw [show (1) + (0) + 1 + (5) = 7 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (2)
try rw [show (1) + (2) + 1 + (5) = 9 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (4)
try rw [show (1) + (4) + 1 + (5) = 11 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (4)
try rw [show (1) + (4) + 1 + (7) = 13 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (8)
try rw [show (1) + (8) + 1 + (5) = 15 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (10)
try rw [show (1) + (10) + 1 + (5) = 17 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (12)
try rw [show (1) + (12) + 1 + (5) = 19 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))) -- (+1 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (3)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (0)
try rw [show (1) + (0) + 1 + (6) = 8 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (2)
try rw [show (1) + (2) + 1 + (6) = 10 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (4)
try rw [show (1) + (4) + 1 + (6) = 12 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (5)
try rw [show (1) + (5) + 1 + (7) = 14 by lib_nat] at h
try rw [show (1) + (5) + 1 = 7 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (8)
try rw [show (1) + (8) + 1 + (6) = 16 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (10)
try rw [show (1) + (10) + 1 + (6) = 18 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (12)
try rw [show (1) + (12) + 1 + (6) = 20 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) -- (+4 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (0)
try rw [show (1) + (0) + 1 + (7) = 9 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (2)
try rw [show (1) + (2) + 1 + (7) = 11 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (4)
try rw [show (1) + (4) + 1 + (7) = 13 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (6)
try rw [show (1) + (6) + 1 + (7) = 15 by lib_nat] at h
try rw [show (1) + (6) + 1 = 8 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (8)
try rw [show (1) + (8) + 1 + (7) = 17 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (10)
try rw [show (1) + (10) + 1 + (7) = 19 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (12)
try rw [show (1) + (12) + 1 + (7) = 21 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15 -- (+7 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (7)
try rw [show (1) + (7) + 1 + (1) = 10 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (7)
try rw [show (1) + (7) + 1 + (3) = 12 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (7)
try rw [show (1) + (7) + 1 + (5) = 14 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (7)
try rw [show (1) + (7) + 1 + (7) = 16 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (9)
try rw [show (1) + (9) + 1 + (7) = 18 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (11)
try rw [show (1) + (11) + 1 + (7) = 20 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (13)
try rw [show (1) + (13) + 1 + (7) = 22 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (2)
try rw [show (8) + (2) + 1 + (4) = 15 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (12))))) := A1.Dn K O x hD (9) (2) (9) (10) (11) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (14))))) := A1.Dn K O x hD (9) (4) (9) (10) (11) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (13))))) := A1.Dn K O x hD (10) (2) (10) (11) (12) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x ( -- (+9 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (8)
try rw [show (1) + (8) + 1 + (1) = 11 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (8)
try rw [show (1) + (8) + 1 + (3) = 13 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (8)
try rw [show (1) + (8) + 1 + (5) = 15 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (8)
try rw [show (1) + (8) + 1 + (7) = 17 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (10)
try rw [show (1) + (10) + 1 + (7) = 19 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (12)
try rw [show (1) + (12) + 1 + (7) = 21 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (14)
try rw [show (1) + (14) + 1 + (7) = 23 by lib_nat] at h
try rw [show (1) + (14) + 1 = 16 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (0)
try rw [show (8) + (0) + 1 + (5) = 14 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (1)
try rw [show (8) + (1) + 1 + (2) = 12 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (2)
try rw [show (8) + (2) + 1 + (5) = 16 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))))) := A1.Dn K O x hD (10) (3) (10) (11) (12) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x -- (+11 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (9)
try rw [show (1) + (9) + 1 + (1) = 12 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (9)
try rw [show (1) + (9) + 1 + (3) = 14 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (9)
try rw [show (1) + (9) + 1 + (5) = 16 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (9)
try rw [show (1) + (9) + 1 + (7) = 18 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (13)
try rw [show (1) + (13) + 1 + (7) = 22 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (16)
try rw [show (1) + (16) + 1 + (2) = 20 by lib_nat] at h
try rw [show (1) + (16) + 1 = 18 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (25))) (K.neg (K.mul (Zs K x (21)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (18)
try rw [show (1) + (18) + 1 + (4) = 24 by lib_nat] at h
try rw [show (1) + (18) + 1 = 20 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (7)
try rw [show (3) + (7) + 1 + (7) = 18 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (1)
try rw [show (8) + (1) + 1 + (5) = 15 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (14))))) := A1.Dn K O x hD (11) (2) (11) (12) (13) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K -- (+13 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (10)
try rw [show (1) + (10) + 1 + (1) = 13 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (10)
try rw [show (1) + (10) + 1 + (3) = 15 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (10)
try rw [show (1) + (10) + 1 + (5) = 17 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (10)
try rw [show (1) + (10) + 1 + (7) = 19 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (14)
try rw [show (1) + (14) + 1 + (7) = 23 by lib_nat] at h
try rw [show (1) + (14) + 1 = 16 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (17)
try rw [show (1) + (17) + 1 + (2) = 21 by lib_nat] at h
try rw [show (1) + (17) + 1 = 19 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (18)
try rw [show (1) + (18) + 1 + (5) = 25 by lib_nat] at h
try rw [show (1) + (18) + 1 = 20 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (8)
try rw [show (3) + (8) + 1 + (7) = 19 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (6)
try rw [show (6) + (6) + 1 + (7) = 20 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (2)
try rw [show (8) + (2) + 1 + (5) = 16 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (14))))) := A1.Dn K O x hD (12) (1) (12) (13) (14) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs -- (+15 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (11)
try rw [show (1) + (11) + 1 + (1) = 14 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (11)
try rw [show (1) + (11) + 1 + (3) = 16 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (11)
try rw [show (1) + (11) + 1 + (5) = 18 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (11)
try rw [show (1) + (11) + 1 + (7) = 20 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (15)
try rw [show (1) + (15) + 1 + (7) = 24 by lib_nat] at h
try rw [show (1) + (15) + 1 = 17 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (18)
try rw [show (1) + (18) + 1 + (2) = 22 by lib_nat] at h
try rw [show (1) + (18) + 1 = 20 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (19)
try rw [show (1) + (19) + 1 + (5) = 26 by lib_nat] at h
try rw [show (1) + (19) + 1 = 21 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (9)
try rw [show (3) + (9) + 1 + (7) = 20 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (3)
try rw [show (8) + (3) + 1 + (5) = 17 by lib_nat] at h
try rw [show (8) + (3) + 1 = 12 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) ( -- (+17 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (12)
try rw [show (1) + (12) + 1 + (1) = 15 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (12)
try rw [show (1) + (12) + 1 + (3) = 17 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (12)
try rw [show (1) + (12) + 1 + (5) = 19 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (12)
try rw [show (1) + (12) + 1 + (7) = 21 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (16)
try rw [show (1) + (16) + 1 + (7) = 25 by lib_nat] at h
try rw [show (1) + (16) + 1 = 18 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (19)
try rw [show (1) + (19) + 1 + (2) = 23 by lib_nat] at h
try rw [show (1) + (19) + 1 = 21 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (28))) (K.neg (K.mul (Zs K x (22)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (19)
try rw [show (1) + (19) + 1 + (6) = 27 by lib_nat] at h
try rw [show (1) + (19) + 1 = 21 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (6)
try rw [show (7) + (6) + 1 + (7) = 21 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (3)
try rw [show (8) + (3) + 1 + (6) = 18 by lib_nat] at h
try rw [show (8) + (3) + 1 = 12 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (29)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) -- (+19 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (13)
try rw [show (1) + (13) + 1 + (1) = 16 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (13)
try rw [show (1) + (13) + 1 + (3) = 18 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (13)
try rw [show (1) + (13) + 1 + (5) = 20 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (13)
try rw [show (1) + (13) + 1 + (7) = 22 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (17)
try rw [show (1) + (17) + 1 + (7) = 26 by lib_nat] at h
try rw [show (1) + (17) + 1 = 19 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (20)
try rw [show (1) + (20) + 1 + (2) = 24 by lib_nat] at h
try rw [show (1) + (20) + 1 = 22 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (29))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (20)
try rw [show (1) + (20) + 1 + (6) = 28 by lib_nat] at h
try rw [show (1) + (20) + 1 = 22 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (3)
try rw [show (8) + (3) + 1 + (7) = 19 by lib_nat] at h
try rw [show (8) + (3) + 1 = 12 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (w + 28))) (Zs K x (w + 30)))) (K.neg (K.mul (Zs K x (w + 17)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9) -- (+51 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (3)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (0)
try rw [show (1) + (0) + 1 + (w + 15) = w + 17 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (2)
try rw [show (1) + (2) + 1 + (w + 15) = w + 19 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (4)
try rw [show (1) + (4) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (6)
try rw [show (1) + (6) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (1) + (6) + 1 = 8 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (8)
try rw [show (1) + (8) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (10)
try rw [show (1) + (10) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (12)
try rw [show (1) + (12) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (1)
try rw [show (2) + (1) + 1 + (2) = 6 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (1)
try rw [show (2) + (1) + 1 + (6) = 10 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (8)
try rw [show (2) + (8) + 1 + (1) = 12 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (11)
try rw [show (2) + (11) + 1 + (2) = 16 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (5))))) := A1.Dn K O x hD (3) (1) (3) (4) (5) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (9))))) := A1.Dn K O x hD (3) (5) (3) (4) (5) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (15))))) := A1.Dn K O x hD (3) (11) (3) (4) (5) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (0)
try rw [show (2) + (0) + 1 + (2) = 5 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (1)
try rw [show (2) + (1) + 1 + (3) = 7 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (1)
try rw [show (2) + (1) + 1 + (5) = 9 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (1)
try rw [show (2) + (1) + 1 + (7) = 11 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (8)
try rw [show (2) + (8) + 1 + (2) = 13 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (10)
try rw [show (2) + (10) + 1 + (2) = 15 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (12)
try rw [show (2) + (12) + 1 + (2) = 17 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (0)
try rw [show (2) + (0) + 1 + (3) = 6 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (2)
try rw [show (2) + (2) + 1 + (3) = 8 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (2)
try rw [show (2) + (2) + 1 + (5) = 10 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (2)
try rw [show (2) + (2) + 1 + (7) = 12 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (8)
try rw [show (2) + (8) + 1 + (3) = 14 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (10)
try rw [show (2) + (10) + 1 + (3) = 16 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (12)
try rw [show (2) + (12) + 1 + (3) = 18 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (0)
try rw [show (2) + (0) + 1 + (4) = 7 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (2)
try rw [show (2) + (2) + 1 + (4) = 9 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (3)
try rw [show (2) + (3) + 1 + (5) = 11 by lib_nat] at h
try rw [show (2) + (3) + 1 = 6 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (3)
try rw [show (2) + (3) + 1 + (7) = 13 by lib_nat] at h
try rw [show (2) + (3) + 1 = 6 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (8)
try rw [show (2) + (8) + 1 + (4) = 15 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (10)
try rw [show (2) + (10) + 1 + (4) = 17 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (12)
try rw [show (2) + (12) + 1 + (4) = 19 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))))) -- (+2 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (0)
try rw [show (2) + (0) + 1 + (5) = 8 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (2)
try rw [show (2) + (2) + 1 + (5) = 10 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (4)
try rw [show (2) + (4) + 1 + (5) = 12 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (4)
try rw [show (2) + (4) + 1 + (7) = 14 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (8)
try rw [show (2) + (8) + 1 + (5) = 16 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (10)
try rw [show (2) + (10) + 1 + (5) = 18 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (12)
try rw [show (2) + (12) + 1 + (5) = 20 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)) -- (+5 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (0)
try rw [show (2) + (0) + 1 + (6) = 9 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (2)
try rw [show (2) + (2) + 1 + (6) = 11 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (4)
try rw [show (2) + (4) + 1 + (6) = 13 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (5)
try rw [show (2) + (5) + 1 + (7) = 15 by lib_nat] at h
try rw [show (2) + (5) + 1 = 8 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (8)
try rw [show (2) + (8) + 1 + (6) = 17 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (10)
try rw [show (2) + (10) + 1 + (6) = 19 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (12)
try rw [show (2) + (12) + 1 + (6) = 21 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (1 -- (+8 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (0)
try rw [show (2) + (0) + 1 + (7) = 10 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (2)
try rw [show (2) + (2) + 1 + (7) = 12 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (4)
try rw [show (2) + (4) + 1 + (7) = 14 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (6)
try rw [show (2) + (6) + 1 + (7) = 16 by lib_nat] at h
try rw [show (2) + (6) + 1 = 9 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (8)
try rw [show (2) + (8) + 1 + (7) = 18 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (12)
try rw [show (2) + (12) + 1 + (7) = 22 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x -- (+10 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (7)
try rw [show (2) + (7) + 1 + (1) = 11 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (7)
try rw [show (2) + (7) + 1 + (3) = 13 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (7)
try rw [show (2) + (7) + 1 + (5) = 15 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (7)
try rw [show (2) + (7) + 1 + (7) = 17 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (9)
try rw [show (2) + (9) + 1 + (7) = 19 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (13)
try rw [show (2) + (13) + 1 + (7) = 23 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (2)
try rw [show (9) + (2) + 1 + (4) = 16 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (13))))) := A1.Dn K O x hD (10) (2) (10) (11) (12) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (15))))) := A1.Dn K O x hD (10) (4) (10) (11) (12) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (14))))) := A1.Dn K O x hD (11) (2) (11) (12) (13) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K -- (+12 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (8)
try rw [show (2) + (8) + 1 + (1) = 12 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (8)
try rw [show (2) + (8) + 1 + (3) = 14 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (8)
try rw [show (2) + (8) + 1 + (5) = 16 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (8)
try rw [show (2) + (8) + 1 + (7) = 18 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (12)
try rw [show (2) + (12) + 1 + (7) = 22 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (14)
try rw [show (2) + (14) + 1 + (7) = 24 by lib_nat] at h
try rw [show (2) + (14) + 1 = 17 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (0)
try rw [show (9) + (0) + 1 + (5) = 15 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (1)
try rw [show (9) + (1) + 1 + (2) = 13 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (2)
try rw [show (9) + (2) + 1 + (5) = 17 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))))) := A1.Dn K O x hD (11) (3) (11) (12) (13) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs -- (+14 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (9)
try rw [show (2) + (9) + 1 + (1) = 13 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (9)
try rw [show (2) + (9) + 1 + (3) = 15 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (9)
try rw [show (2) + (9) + 1 + (5) = 17 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (9)
try rw [show (2) + (9) + 1 + (7) = 19 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (13)
try rw [show (2) + (13) + 1 + (7) = 23 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (15)
try rw [show (2) + (15) + 1 + (7) = 25 by lib_nat] at h
try rw [show (2) + (15) + 1 = 18 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (16)
try rw [show (2) + (16) + 1 + (2) = 21 by lib_nat] at h
try rw [show (2) + (16) + 1 = 19 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (7)
try rw [show (4) + (7) + 1 + (7) = 19 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (1)
try rw [show (9) + (1) + 1 + (5) = 16 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (3)
try rw [show (9) + (3) + 1 + (5) = 18 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (15))))) := A1.Dn K O x hD (12) (2) (12) (13) (14) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Z -- (+16 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (10)
try rw [show (2) + (10) + 1 + (1) = 14 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (10)
try rw [show (2) + (10) + 1 + (3) = 16 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (10)
try rw [show (2) + (10) + 1 + (5) = 18 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (14)
try rw [show (2) + (14) + 1 + (7) = 24 by lib_nat] at h
try rw [show (2) + (14) + 1 = 17 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (16)
try rw [show (2) + (16) + 1 + (7) = 26 by lib_nat] at h
try rw [show (2) + (16) + 1 = 19 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (17)
try rw [show (2) + (17) + 1 + (2) = 22 by lib_nat] at h
try rw [show (2) + (17) + 1 = 20 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (8)
try rw [show (4) + (8) + 1 + (7) = 20 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (2)
try rw [show (9) + (2) + 1 + (5) = 17 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (4)
try rw [show (9) + (4) + 1 + (5) = 19 by lib_nat] at h
try rw [show (9) + (4) + 1 = 14 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (15))))) := A1.Dn K O x hD (13) (1) (13) (14) (15) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) -- (+18 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (11)
try rw [show (2) + (11) + 1 + (1) = 15 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (11)
try rw [show (2) + (11) + 1 + (3) = 17 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (11)
try rw [show (2) + (11) + 1 + (5) = 19 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (15)
try rw [show (2) + (15) + 1 + (7) = 25 by lib_nat] at h
try rw [show (2) + (15) + 1 = 18 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (18)
try rw [show (2) + (18) + 1 + (2) = 23 by lib_nat] at h
try rw [show (2) + (18) + 1 = 21 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (19)
try rw [show (2) + (19) + 1 + (5) = 27 by lib_nat] at h
try rw [show (2) + (19) + 1 = 22 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (9)
try rw [show (4) + (9) + 1 + (7) = 21 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (3)
try rw [show (9) + (3) + 1 + (5) = 18 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (29)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)) -- (+20 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (12)
try rw [show (2) + (12) + 1 + (1) = 16 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (12)
try rw [show (2) + (12) + 1 + (3) = 18 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (12)
try rw [show (2) + (12) + 1 + (5) = 20 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (12)
try rw [show (2) + (12) + 1 + (7) = 22 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (16)
try rw [show (2) + (16) + 1 + (7) = 26 by lib_nat] at h
try rw [show (2) + (16) + 1 = 19 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (19)
try rw [show (2) + (19) + 1 + (2) = 24 by lib_nat] at h
try rw [show (2) + (19) + 1 = 22 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (29))) (K.neg (K.mul (Zs K x (23)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (19)
try rw [show (2) + (19) + 1 + (6) = 28 by lib_nat] at h
try rw [show (2) + (19) + 1 = 22 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (6)
try rw [show (8) + (6) + 1 + (7) = 22 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (3)
try rw [show (9) + (3) + 1 + (6) = 19 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28))) (Zs K x (30)))) (K.neg (K.mul (Zs K x (17)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14 -- (+22 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (13)
try rw [show (2) + (13) + 1 + (1) = 17 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (13)
try rw [show (2) + (13) + 1 + (3) = 19 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (13)
try rw [show (2) + (13) + 1 + (5) = 21 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (13)
try rw [show (2) + (13) + 1 + (7) = 23 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (17)
try rw [show (2) + (17) + 1 + (7) = 27 by lib_nat] at h
try rw [show (2) + (17) + 1 = 20 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (20)
try rw [show (2) + (20) + 1 + (2) = 25 by lib_nat] at h
try rw [show (2) + (20) + 1 = 23 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (30))) (K.neg (K.mul (Zs K x (24)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (20)
try rw [show (2) + (20) + 1 + (6) = 29 by lib_nat] at h
try rw [show (2) + (20) + 1 = 23 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (3)
try rw [show (9) + (3) + 1 + (7) = 20 by lib_nat] at h
try rw [show (9) + (3) + 1 = 13 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27))) (Zs K x (w + 29))) (Zs K x (w + 31)))) (K.neg (K.mul (Zs K x (w + 18)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x ( -- (+54 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (0)
try rw [show (2) + (0) + 1 + (w + 15) = w + 18 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (2)
try rw [show (2) + (2) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (4)
try rw [show (2) + (4) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (6)
try rw [show (2) + (6) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (2) + (6) + 1 = 9 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (8)
try rw [show (2) + (8) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (10)
try rw [show (2) + (10) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (12)
try rw [show (2) + (12) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (1)
try rw [show (3) + (1) + 1 + (2) = 7 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (1)
try rw [show (3) + (1) + 1 + (6) = 11 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (8)
try rw [show (3) + (8) + 1 + (1) = 13 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (11)
try rw [show (3) + (11) + 1 + (2) = 17 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (6))))) := A1.Dn K O x hD (4) (1) (4) (5) (6) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))))) := A1.Dn K O x hD (4) (5) (4) (5) (6) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (16))))) := A1.Dn K O x hD (4) (11) (4) (5) (6) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (0)
try rw [show (3) + (0) + 1 + (2) = 6 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (1)
try rw [show (3) + (1) + 1 + (3) = 8 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (1)
try rw [show (3) + (1) + 1 + (5) = 10 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (1)
try rw [show (3) + (1) + 1 + (7) = 12 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (8)
try rw [show (3) + (8) + 1 + (2) = 14 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (10)
try rw [show (3) + (10) + 1 + (2) = 16 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (12)
try rw [show (3) + (12) + 1 + (2) = 18 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (0)
try rw [show (3) + (0) + 1 + (3) = 7 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (2)
try rw [show (3) + (2) + 1 + (3) = 9 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (2)
try rw [show (3) + (2) + 1 + (5) = 11 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (2)
try rw [show (3) + (2) + 1 + (7) = 13 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (8)
try rw [show (3) + (8) + 1 + (3) = 15 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (10)
try rw [show (3) + (10) + 1 + (3) = 17 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (12)
try rw [show (3) + (12) + 1 + (3) = 19 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))))) -- (+2 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (0)
try rw [show (3) + (0) + 1 + (4) = 8 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (2)
try rw [show (3) + (2) + 1 + (4) = 10 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (3)
try rw [show (3) + (3) + 1 + (5) = 12 by lib_nat] at h
try rw [show (3) + (3) + 1 = 7 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (3)
try rw [show (3) + (3) + 1 + (7) = 14 by lib_nat] at h
try rw [show (3) + (3) + 1 = 7 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (8)
try rw [show (3) + (8) + 1 + (4) = 16 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (10)
try rw [show (3) + (10) + 1 + (4) = 18 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (12)
try rw [show (3) + (12) + 1 + (4) = 20 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)) -- (+5 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (0)
try rw [show (3) + (0) + 1 + (5) = 9 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (2)
try rw [show (3) + (2) + 1 + (5) = 11 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (4)
try rw [show (3) + (4) + 1 + (5) = 13 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (4)
try rw [show (3) + (4) + 1 + (7) = 15 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (8)
try rw [show (3) + (8) + 1 + (5) = 17 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (10)
try rw [show (3) + (10) + 1 + (5) = 19 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (12)
try rw [show (3) + (12) + 1 + (5) = 21 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (1 -- (+8 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (0)
try rw [show (3) + (0) + 1 + (6) = 10 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (2)
try rw [show (3) + (2) + 1 + (6) = 12 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (4)
try rw [show (3) + (4) + 1 + (6) = 14 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (5)
try rw [show (3) + (5) + 1 + (7) = 16 by lib_nat] at h
try rw [show (3) + (5) + 1 = 9 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (8)
try rw [show (3) + (8) + 1 + (6) = 18 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (10)
try rw [show (3) + (10) + 1 + (6) = 20 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (12)
try rw [show (3) + (12) + 1 + (6) = 22 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x -- (+10 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (0)
try rw [show (3) + (0) + 1 + (7) = 11 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (2)
try rw [show (3) + (2) + 1 + (7) = 13 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (4)
try rw [show (3) + (4) + 1 + (7) = 15 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (6)
try rw [show (3) + (6) + 1 + (7) = 17 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (8)
try rw [show (3) + (8) + 1 + (7) = 19 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (12)
try rw [show (3) + (12) + 1 + (7) = 23 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K -- (+12 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (7)
try rw [show (3) + (7) + 1 + (1) = 12 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (7)
try rw [show (3) + (7) + 1 + (3) = 14 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (7)
try rw [show (3) + (7) + 1 + (5) = 16 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (7)
try rw [show (3) + (7) + 1 + (7) = 18 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (9)
try rw [show (3) + (9) + 1 + (7) = 20 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (13)
try rw [show (3) + (13) + 1 + (7) = 24 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (2)
try rw [show (10) + (2) + 1 + (4) = 17 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (14))))) := A1.Dn K O x hD (11) (2) (11) (12) (13) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (16))))) := A1.Dn K O x hD (11) (4) (11) (12) (13) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (15))))) := A1.Dn K O x hD (12) (2) (12) (13) (14) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs -- (+14 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (8)
try rw [show (3) + (8) + 1 + (1) = 13 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (8)
try rw [show (3) + (8) + 1 + (3) = 15 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (8)
try rw [show (3) + (8) + 1 + (5) = 17 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (8)
try rw [show (3) + (8) + 1 + (7) = 19 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (12)
try rw [show (3) + (12) + 1 + (7) = 23 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (14)
try rw [show (3) + (14) + 1 + (7) = 25 by lib_nat] at h
try rw [show (3) + (14) + 1 = 18 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (0)
try rw [show (10) + (0) + 1 + (5) = 16 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (1)
try rw [show (10) + (1) + 1 + (2) = 14 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (2)
try rw [show (10) + (2) + 1 + (5) = 18 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))))) := A1.Dn K O x hD (12) (3) (12) (13) (14) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Z -- (+16 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (9)
try rw [show (3) + (9) + 1 + (1) = 14 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (9)
try rw [show (3) + (9) + 1 + (3) = 16 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (9)
try rw [show (3) + (9) + 1 + (5) = 18 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (9)
try rw [show (3) + (9) + 1 + (7) = 20 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (13)
try rw [show (3) + (13) + 1 + (7) = 24 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (15)
try rw [show (3) + (15) + 1 + (7) = 26 by lib_nat] at h
try rw [show (3) + (15) + 1 = 19 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (16)
try rw [show (3) + (16) + 1 + (2) = 22 by lib_nat] at h
try rw [show (3) + (16) + 1 = 20 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (1)
try rw [show (10) + (1) + 1 + (5) = 17 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (3)
try rw [show (10) + (3) + 1 + (5) = 19 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (16))))) := A1.Dn K O x hD (13) (2) (13) (14) (15) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) -- (+18 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (10)
try rw [show (3) + (10) + 1 + (1) = 15 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (10)
try rw [show (3) + (10) + 1 + (3) = 17 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (10)
try rw [show (3) + (10) + 1 + (5) = 19 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (14)
try rw [show (3) + (14) + 1 + (7) = 25 by lib_nat] at h
try rw [show (3) + (14) + 1 = 18 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (16)
try rw [show (3) + (16) + 1 + (7) = 27 by lib_nat] at h
try rw [show (3) + (16) + 1 = 20 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (17)
try rw [show (3) + (17) + 1 + (2) = 23 by lib_nat] at h
try rw [show (3) + (17) + 1 = 21 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (2)
try rw [show (10) + (2) + 1 + (5) = 18 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (4)
try rw [show (10) + (4) + 1 + (5) = 20 by lib_nat] at h
try rw [show (10) + (4) + 1 = 15 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (16))))) := A1.Dn K O x hD (14) (1) (14) (15) (16) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (29)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)) -- (+20 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (11)
try rw [show (3) + (11) + 1 + (1) = 16 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (11)
try rw [show (3) + (11) + 1 + (3) = 18 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (11)
try rw [show (3) + (11) + 1 + (5) = 20 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (15)
try rw [show (3) + (15) + 1 + (7) = 26 by lib_nat] at h
try rw [show (3) + (15) + 1 = 19 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (18)
try rw [show (3) + (18) + 1 + (2) = 24 by lib_nat] at h
try rw [show (3) + (18) + 1 = 22 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (19)
try rw [show (3) + (19) + 1 + (5) = 28 by lib_nat] at h
try rw [show (3) + (19) + 1 = 23 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (3)
try rw [show (10) + (3) + 1 + (5) = 19 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28))) (Zs K x (30)))) (K.neg (K.mul (Zs K x (17)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15 -- (+22 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (12)
try rw [show (3) + (12) + 1 + (1) = 17 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (12)
try rw [show (3) + (12) + 1 + (3) = 19 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (12)
try rw [show (3) + (12) + 1 + (5) = 21 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (12)
try rw [show (3) + (12) + 1 + (7) = 23 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (16)
try rw [show (3) + (16) + 1 + (7) = 27 by lib_nat] at h
try rw [show (3) + (16) + 1 = 20 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (19)
try rw [show (3) + (19) + 1 + (2) = 25 by lib_nat] at h
try rw [show (3) + (19) + 1 = 23 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (30))) (K.neg (K.mul (Zs K x (24)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (19)
try rw [show (3) + (19) + 1 + (6) = 29 by lib_nat] at h
try rw [show (3) + (19) + 1 = 23 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (6)
try rw [show (9) + (6) + 1 + (7) = 23 by lib_nat] at h
try rw [show (9) + (6) + 1 = 16 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (3)
try rw [show (10) + (3) + 1 + (6) = 20 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (29))) (Zs K x (31)))) (K.neg (K.mul (Zs K x (18)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x ( -- (+24 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (13)
try rw [show (3) + (13) + 1 + (1) = 18 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (13)
try rw [show (3) + (13) + 1 + (3) = 20 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (13)
try rw [show (3) + (13) + 1 + (5) = 22 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (13)
try rw [show (3) + (13) + 1 + (7) = 24 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (17)
try rw [show (3) + (17) + 1 + (7) = 28 by lib_nat] at h
try rw [show (3) + (17) + 1 = 21 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (20)
try rw [show (3) + (20) + 1 + (2) = 26 by lib_nat] at h
try rw [show (3) + (20) + 1 = 24 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (31))) (K.neg (K.mul (Zs K x (25)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (20)
try rw [show (3) + (20) + 1 + (6) = 30 by lib_nat] at h
try rw [show (3) + (20) + 1 = 24 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (7)
try rw [show (9) + (7) + 1 + (7) = 24 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (3)
try rw [show (10) + (3) + 1 + (7) = 21 by lib_nat] at h
try rw [show (10) + (3) + 1 = 14 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (w + 28))) (Zs K x (w + 30))) (Zs K x (w + 32)))) (K.neg (K.mul (Zs K x (w + 19)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x -- (+56 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (0)
try rw [show (3) + (0) + 1 + (w + 15) = w + 19 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (2)
try rw [show (3) + (2) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (4)
try rw [show (3) + (4) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (6)
try rw [show (3) + (6) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (8)
try rw [show (3) + (8) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (10)
try rw [show (3) + (10) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (12)
try rw [show (3) + (12) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (1)
try rw [show (4) + (1) + 1 + (2) = 8 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (1)
try rw [show (4) + (1) + 1 + (6) = 12 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (8)
try rw [show (4) + (8) + 1 + (1) = 14 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (11)
try rw [show (4) + (11) + 1 + (2) = 18 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))) := A1.Dn K O x hD (5) (1) (5) (6) (7) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (11))))) := A1.Dn K O x hD (5) (5) (5) (6) (7) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (17))))) := A1.Dn K O x hD (5) (11) (5) (6) (7) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))))) -- (+1 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (0)
try rw [show (4) + (0) + 1 + (2) = 7 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (1)
try rw [show (4) + (1) + 1 + (3) = 9 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (1)
try rw [show (4) + (1) + 1 + (5) = 11 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (1)
try rw [show (4) + (1) + 1 + (7) = 13 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (8)
try rw [show (4) + (8) + 1 + (2) = 15 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (10)
try rw [show (4) + (10) + 1 + (2) = 17 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (12)
try rw [show (4) + (12) + 1 + (2) = 19 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) -- (+3 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (0)
try rw [show (4) + (0) + 1 + (3) = 8 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (2)
try rw [show (4) + (2) + 1 + (3) = 10 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (2)
try rw [show (4) + (2) + 1 + (5) = 12 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (2)
try rw [show (4) + (2) + 1 + (7) = 14 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (8)
try rw [show (4) + (8) + 1 + (3) = 16 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (12)
try rw [show (4) + (12) + 1 + (3) = 20 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18) -- (+6 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (0)
try rw [show (4) + (0) + 1 + (4) = 9 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (2)
try rw [show (4) + (2) + 1 + (4) = 11 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (3)
try rw [show (4) + (3) + 1 + (5) = 13 by lib_nat] at h
try rw [show (4) + (3) + 1 = 8 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (3)
try rw [show (4) + (3) + 1 + (7) = 15 by lib_nat] at h
try rw [show (4) + (3) + 1 = 8 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (8)
try rw [show (4) + (8) + 1 + (4) = 17 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (10)
try rw [show (4) + (10) + 1 + (4) = 19 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (12)
try rw [show (4) + (12) + 1 + (4) = 21 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x ( -- (+9 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (0)
try rw [show (4) + (0) + 1 + (5) = 10 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (2)
try rw [show (4) + (2) + 1 + (5) = 12 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (4)
try rw [show (4) + (4) + 1 + (5) = 14 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (4)
try rw [show (4) + (4) + 1 + (7) = 16 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (8)
try rw [show (4) + (8) + 1 + (5) = 18 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (10)
try rw [show (4) + (10) + 1 + (5) = 20 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (12)
try rw [show (4) + (12) + 1 + (5) = 22 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x -- (+11 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (0)
try rw [show (4) + (0) + 1 + (6) = 11 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (2)
try rw [show (4) + (2) + 1 + (6) = 13 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (4)
try rw [show (4) + (4) + 1 + (6) = 15 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (5)
try rw [show (4) + (5) + 1 + (7) = 17 by lib_nat] at h
try rw [show (4) + (5) + 1 = 10 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (8)
try rw [show (4) + (8) + 1 + (6) = 19 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (10)
try rw [show (4) + (10) + 1 + (6) = 21 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (12)
try rw [show (4) + (12) + 1 + (6) = 23 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K -- (+13 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (0)
try rw [show (4) + (0) + 1 + (7) = 12 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (2)
try rw [show (4) + (2) + 1 + (7) = 14 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (4)
try rw [show (4) + (4) + 1 + (7) = 16 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (6)
try rw [show (4) + (6) + 1 + (7) = 18 by lib_nat] at h
try rw [show (4) + (6) + 1 = 11 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (8)
try rw [show (4) + (8) + 1 + (7) = 20 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (12)
try rw [show (4) + (12) + 1 + (7) = 24 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs -- (+15 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (7)
try rw [show (4) + (7) + 1 + (1) = 13 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (7)
try rw [show (4) + (7) + 1 + (3) = 15 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (7)
try rw [show (4) + (7) + 1 + (5) = 17 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (7)
try rw [show (4) + (7) + 1 + (7) = 19 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (9)
try rw [show (4) + (9) + 1 + (7) = 21 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (13)
try rw [show (4) + (13) + 1 + (7) = 25 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (2)
try rw [show (11) + (2) + 1 + (4) = 18 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (15))))) := A1.Dn K O x hD (12) (2) (12) (13) (14) (14) (15) (16) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (17))))) := A1.Dn K O x hD (12) (4) (12) (13) (14) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (16))))) := A1.Dn K O x hD (13) (2) (13) (14) (15) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) ( -- (+17 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (8)
try rw [show (4) + (8) + 1 + (1) = 14 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (8)
try rw [show (4) + (8) + 1 + (3) = 16 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (8)
try rw [show (4) + (8) + 1 + (5) = 18 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (8)
try rw [show (4) + (8) + 1 + (7) = 20 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (12)
try rw [show (4) + (12) + 1 + (7) = 24 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (14)
try rw [show (4) + (14) + 1 + (7) = 26 by lib_nat] at h
try rw [show (4) + (14) + 1 = 19 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (0)
try rw [show (11) + (0) + 1 + (5) = 17 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (1)
try rw [show (11) + (1) + 1 + (2) = 15 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (2)
try rw [show (11) + (2) + 1 + (5) = 19 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))))) := A1.Dn K O x hD (13) (3) (13) (14) (15) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) -- (+19 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (9)
try rw [show (4) + (9) + 1 + (1) = 15 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (9)
try rw [show (4) + (9) + 1 + (3) = 17 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (9)
try rw [show (4) + (9) + 1 + (5) = 19 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (9)
try rw [show (4) + (9) + 1 + (7) = 21 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (13)
try rw [show (4) + (13) + 1 + (7) = 25 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (15)
try rw [show (4) + (15) + 1 + (7) = 27 by lib_nat] at h
try rw [show (4) + (15) + 1 = 20 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (16)
try rw [show (4) + (16) + 1 + (2) = 23 by lib_nat] at h
try rw [show (4) + (16) + 1 = 21 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (1)
try rw [show (11) + (1) + 1 + (5) = 18 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (3)
try rw [show (11) + (3) + 1 + (5) = 20 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (17))))) := A1.Dn K O x hD (14) (2) (14) (15) (16) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (29)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16) -- (+21 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (10)
try rw [show (4) + (10) + 1 + (1) = 16 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (10)
try rw [show (4) + (10) + 1 + (5) = 20 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (14)
try rw [show (4) + (14) + 1 + (7) = 26 by lib_nat] at h
try rw [show (4) + (14) + 1 = 19 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (16)
try rw [show (4) + (16) + 1 + (7) = 28 by lib_nat] at h
try rw [show (4) + (16) + 1 = 21 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (17)
try rw [show (4) + (17) + 1 + (2) = 24 by lib_nat] at h
try rw [show (4) + (17) + 1 = 22 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (2)
try rw [show (11) + (2) + 1 + (5) = 19 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (4)
try rw [show (11) + (4) + 1 + (5) = 21 by lib_nat] at h
try rw [show (11) + (4) + 1 = 16 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (17))))) := A1.Dn K O x hD (15) (1) (15) (16) (17) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28))) (Zs K x (30)))) (K.neg (K.mul (Zs K x (17)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (1 -- (+23 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (11)
try rw [show (4) + (11) + 1 + (1) = 17 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (11)
try rw [show (4) + (11) + 1 + (3) = 19 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (11)
try rw [show (4) + (11) + 1 + (5) = 21 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (15)
try rw [show (4) + (15) + 1 + (7) = 27 by lib_nat] at h
try rw [show (4) + (15) + 1 = 20 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (18)
try rw [show (4) + (18) + 1 + (2) = 25 by lib_nat] at h
try rw [show (4) + (18) + 1 = 23 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (19)
try rw [show (4) + (19) + 1 + (5) = 29 by lib_nat] at h
try rw [show (4) + (19) + 1 = 24 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (9)
try rw [show (6) + (9) + 1 + (7) = 23 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (7)
try rw [show (9) + (7) + 1 + (7) = 24 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (3)
try rw [show (11) + (3) + 1 + (5) = 20 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (29))) (Zs K x (31)))) (K.neg (K.mul (Zs K x (18)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x -- (+25 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (12)
try rw [show (4) + (12) + 1 + (1) = 18 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (12)
try rw [show (4) + (12) + 1 + (3) = 20 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (12)
try rw [show (4) + (12) + 1 + (5) = 22 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (12)
try rw [show (4) + (12) + 1 + (7) = 24 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (16)
try rw [show (4) + (16) + 1 + (7) = 28 by lib_nat] at h
try rw [show (4) + (16) + 1 = 21 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (19)
try rw [show (4) + (19) + 1 + (2) = 26 by lib_nat] at h
try rw [show (4) + (19) + 1 = 24 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (31))) (K.neg (K.mul (Zs K x (25)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (19)
try rw [show (4) + (19) + 1 + (6) = 30 by lib_nat] at h
try rw [show (4) + (19) + 1 = 24 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (10)
try rw [show (6) + (10) + 1 + (7) = 24 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (6)
try rw [show (10) + (6) + 1 + (7) = 24 by lib_nat] at h
try rw [show (10) + (6) + 1 = 17 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (3)
try rw [show (11) + (3) + 1 + (6) = 21 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28))) (Zs K x (30))) (Zs K x (32)))) (K.neg (K.mul (Zs K x (19)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K -- (+27 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (13)
try rw [show (4) + (13) + 1 + (1) = 19 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (13)
try rw [show (4) + (13) + 1 + (3) = 21 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (13)
try rw [show (4) + (13) + 1 + (5) = 23 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (13)
try rw [show (4) + (13) + 1 + (7) = 25 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (17)
try rw [show (4) + (17) + 1 + (7) = 29 by lib_nat] at h
try rw [show (4) + (17) + 1 = 22 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (28))) (K.neg (K.mul (Zs K x (26)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (20)
try rw [show (4) + (20) + 1 + (2) = 27 by lib_nat] at h
try rw [show (4) + (20) + 1 = 25 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (32))) (K.neg (K.mul (Zs K x (26)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (20)
try rw [show (4) + (20) + 1 + (6) = 31 by lib_nat] at h
try rw [show (4) + (20) + 1 = 25 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (11)
try rw [show (6) + (11) + 1 + (7) = 25 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (7)
try rw [show (10) + (7) + 1 + (7) = 25 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (3)
try rw [show (11) + (3) + 1 + (7) = 22 by lib_nat] at h
try rw [show (11) + (3) + 1 = 15 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27))) (Zs K x (w + 29))) (Zs K x (w + 31))) (Zs K x (w + 33)))) (K.neg (K.mul (Zs K x (w + 20)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs -- (+59 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (0)
try rw [show (4) + (0) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (2)
try rw [show (4) + (2) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (4)
try rw [show (4) + (4) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (6)
try rw [show (4) + (6) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (4) + (6) + 1 = 11 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (8)
try rw [show (4) + (8) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (10)
try rw [show (4) + (10) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (12)
try rw [show (4) + (12) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))))) -- (+1 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (1)
try rw [show (5) + (1) + 1 + (2) = 9 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (1)
try rw [show (5) + (1) + 1 + (6) = 13 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (11)
try rw [show (5) + (11) + 1 + (2) = 19 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (8))))) := A1.Dn K O x hD (6) (1) (6) (7) (8) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (12))))) := A1.Dn K O x hD (6) (5) (6) (7) (8) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (18))))) := A1.Dn K O x hD (6) (11) (6) (7) (8) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) -- (+3 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (0)
try rw [show (5) + (0) + 1 + (2) = 8 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (1)
try rw [show (5) + (1) + 1 + (3) = 10 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (1)
try rw [show (5) + (1) + 1 + (5) = 12 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (1)
try rw [show (5) + (1) + 1 + (7) = 14 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (8)
try rw [show (5) + (8) + 1 + (2) = 16 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (10)
try rw [show (5) + (10) + 1 + (2) = 18 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (12)
try rw [show (5) + (12) + 1 + (2) = 20 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19) -- (+6 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (0)
try rw [show (5) + (0) + 1 + (3) = 9 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (2)
try rw [show (5) + (2) + 1 + (3) = 11 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (2)
try rw [show (5) + (2) + 1 + (5) = 13 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (2)
try rw [show (5) + (2) + 1 + (7) = 15 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (8)
try rw [show (5) + (8) + 1 + (3) = 17 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (10)
try rw [show (5) + (10) + 1 + (3) = 19 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (12)
try rw [show (5) + (12) + 1 + (3) = 21 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x ( -- (+9 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (0)
try rw [show (5) + (0) + 1 + (4) = 10 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (2)
try rw [show (5) + (2) + 1 + (4) = 12 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (3)
try rw [show (5) + (3) + 1 + (5) = 14 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (3)
try rw [show (5) + (3) + 1 + (7) = 16 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (8)
try rw [show (5) + (8) + 1 + (4) = 18 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (10)
try rw [show (5) + (10) + 1 + (4) = 20 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (12)
try rw [show (5) + (12) + 1 + (4) = 22 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K x -- (+11 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (0)
try rw [show (5) + (0) + 1 + (5) = 11 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (2)
try rw [show (5) + (2) + 1 + (5) = 13 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (4)
try rw [show (5) + (4) + 1 + (5) = 15 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (4)
try rw [show (5) + (4) + 1 + (7) = 17 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (8)
try rw [show (5) + (8) + 1 + (5) = 19 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (10)
try rw [show (5) + (10) + 1 + (5) = 21 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (12)
try rw [show (5) + (12) + 1 + (5) = 23 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs K -- (+13 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (0)
try rw [show (5) + (0) + 1 + (6) = 12 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (2)
try rw [show (5) + (2) + 1 + (6) = 14 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (4)
try rw [show (5) + (4) + 1 + (6) = 16 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (5)
try rw [show (5) + (5) + 1 + (7) = 18 by lib_nat] at h
try rw [show (5) + (5) + 1 = 11 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (8)
try rw [show (5) + (8) + 1 + (6) = 20 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (10)
try rw [show (5) + (10) + 1 + (6) = 22 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (12)
try rw [show (5) + (12) + 1 + (6) = 24 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (Zs -- (+15 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (0)
try rw [show (5) + (0) + 1 + (7) = 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (2)
try rw [show (5) + (2) + 1 + (7) = 15 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (4)
try rw [show (5) + (4) + 1 + (7) = 17 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (6)
try rw [show (5) + (6) + 1 + (7) = 19 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (12)
try rw [show (5) + (12) + 1 + (7) = 25 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) ( -- (+17 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (7)
try rw [show (5) + (7) + 1 + (1) = 14 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (7)
try rw [show (5) + (7) + 1 + (3) = 16 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (7)
try rw [show (5) + (7) + 1 + (5) = 18 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (13)
try rw [show (5) + (13) + 1 + (7) = 26 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (2)
try rw [show (12) + (2) + 1 + (4) = 19 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (16))))) := A1.Dn K O x hD (13) (2) (13) (14) (15) (15) (16) (17) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (18))))) := A1.Dn K O x hD (13) (4) (13) (14) (15) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (17))))) := A1.Dn K O x hD (14) (2) (14) (15) (16) (16) (17) (18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) -- (+19 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (8)
try rw [show (5) + (8) + 1 + (3) = 17 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (8)
try rw [show (5) + (8) + 1 + (5) = 19 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (12)
try rw [show (5) + (12) + 1 + (7) = 25 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (14)
try rw [show (5) + (14) + 1 + (7) = 27 by lib_nat] at h
try rw [show (5) + (14) + 1 = 20 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (0)
try rw [show (12) + (0) + 1 + (5) = 18 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (1)
try rw [show (12) + (1) + 1 + (2) = 16 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (2)
try rw [show (12) + (2) + 1 + (5) = 20 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))))) := A1.Dn K O x hD (14) (3) (14) (15) (16) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (29)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (17) -- (+21 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (9)
try rw [show (5) + (9) + 1 + (1) = 16 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (9)
try rw [show (5) + (9) + 1 + (3) = 18 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (9)
try rw [show (5) + (9) + 1 + (5) = 20 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (13)
try rw [show (5) + (13) + 1 + (7) = 26 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (15)
try rw [show (5) + (15) + 1 + (7) = 28 by lib_nat] at h
try rw [show (5) + (15) + 1 = 21 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (16)
try rw [show (5) + (16) + 1 + (2) = 24 by lib_nat] at h
try rw [show (5) + (16) + 1 = 22 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (1)
try rw [show (12) + (1) + 1 + (5) = 19 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (3)
try rw [show (12) + (3) + 1 + (5) = 21 by lib_nat] at h
try rw [show (12) + (3) + 1 = 16 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (18))))) := A1.Dn K O x hD (15) (2) (15) (16) (17) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28))) (Zs K x (30)))) (K.neg (K.mul (Zs K x (17)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x (1 -- (+23 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (10)
try rw [show (5) + (10) + 1 + (1) = 17 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (10)
try rw [show (5) + (10) + 1 + (3) = 19 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (10)
try rw [show (5) + (10) + 1 + (5) = 21 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (14)
try rw [show (5) + (14) + 1 + (7) = 27 by lib_nat] at h
try rw [show (5) + (14) + 1 = 20 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (16)
try rw [show (5) + (16) + 1 + (7) = 29 by lib_nat] at h
try rw [show (5) + (16) + 1 = 22 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (17)
try rw [show (5) + (17) + 1 + (2) = 25 by lib_nat] at h
try rw [show (5) + (17) + 1 = 23 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (8)
try rw [show (7) + (8) + 1 + (7) = 23 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (2)
try rw [show (12) + (2) + 1 + (5) = 20 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (4)
try rw [show (12) + (4) + 1 + (5) = 22 by lib_nat] at h
try rw [show (12) + (4) + 1 = 17 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (18))))) := A1.Dn K O x hD (16) (1) (16) (17) (18) (17) (18) (19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) t10) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (29))) (Zs K x (31)))) (K.neg (K.mul (Zs K x (18)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K x -- (+25 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (11)
try rw [show (5) + (11) + 1 + (1) = 18 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (11)
try rw [show (5) + (11) + 1 + (3) = 20 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (11)
try rw [show (5) + (11) + 1 + (5) = 22 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (15)
try rw [show (5) + (15) + 1 + (7) = 28 by lib_nat] at h
try rw [show (5) + (15) + 1 = 21 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (18)
try rw [show (5) + (18) + 1 + (2) = 26 by lib_nat] at h
try rw [show (5) + (18) + 1 = 24 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (19)
try rw [show (5) + (19) + 1 + (5) = 30 by lib_nat] at h
try rw [show (5) + (19) + 1 = 25 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (9)
try rw [show (7) + (9) + 1 + (7) = 24 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (7)
try rw [show (10) + (7) + 1 + (7) = 25 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (3)
try rw [show (12) + (3) + 1 + (5) = 21 by lib_nat] at h
try rw [show (12) + (3) + 1 = 16 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26))) (Zs K x (28))) (Zs K x (30))) (Zs K x (32)))) (K.neg (K.mul (Zs K x (19)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs K -- (+27 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (12)
try rw [show (5) + (12) + 1 + (1) = 19 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (12)
try rw [show (5) + (12) + 1 + (3) = 21 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (12)
try rw [show (5) + (12) + 1 + (5) = 23 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (12)
try rw [show (5) + (12) + 1 + (7) = 25 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (30))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (16)
try rw [show (5) + (16) + 1 + (7) = 29 by lib_nat] at h
try rw [show (5) + (16) + 1 = 22 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (28))) (K.neg (K.mul (Zs K x (26)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (19)
try rw [show (5) + (19) + 1 + (2) = 27 by lib_nat] at h
try rw [show (5) + (19) + 1 = 25 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (32))) (K.neg (K.mul (Zs K x (26)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (19)
try rw [show (5) + (19) + 1 + (6) = 31 by lib_nat] at h
try rw [show (5) + (19) + 1 = 25 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (10)
try rw [show (7) + (10) + 1 + (7) = 25 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (6)
try rw [show (11) + (6) + 1 + (7) = 25 by lib_nat] at h
try rw [show (11) + (6) + 1 = 18 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (3)
try rw [show (12) + (3) + 1 + (6) = 22 by lib_nat] at h
try rw [show (12) + (3) + 1 = 16 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (25))) (Zs K x (27))) (Zs K x (29))) (Zs K x (31))) (Zs K x (33)))) (K.neg (K.mul (Zs K x (20)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (Zs -- (+29 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (13)
try rw [show (5) + (13) + 1 + (1) = 20 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (13)
try rw [show (5) + (13) + 1 + (3) = 22 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (13)
try rw [show (5) + (13) + 1 + (5) = 24 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (13)
try rw [show (5) + (13) + 1 + (7) = 26 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (31))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (17)
try rw [show (5) + (17) + 1 + (7) = 30 by lib_nat] at h
try rw [show (5) + (17) + 1 = 23 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (29))) (K.neg (K.mul (Zs K x (27)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (20)
try rw [show (5) + (20) + 1 + (2) = 28 by lib_nat] at h
try rw [show (5) + (20) + 1 = 26 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (33))) (K.neg (K.mul (Zs K x (27)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (20)
try rw [show (5) + (20) + 1 + (6) = 32 by lib_nat] at h
try rw [show (5) + (20) + 1 = 26 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (11)
try rw [show (7) + (11) + 1 + (7) = 26 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (7)
try rw [show (11) + (7) + 1 + (7) = 26 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (3)
try rw [show (12) + (3) + 1 + (7) = 23 by lib_nat] at h
try rw [show (12) + (3) + 1 = 16 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) t8) t9) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (w + 28))) (Zs K x (w + 30))) (Zs K x (w + 32))) (Zs K x (w + 34)))) (K.neg (K.mul (Zs K x (w + 21)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Z -- (+61 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (0)
try rw [show (5) + (0) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (2)
try rw [show (5) + (2) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (4)
try rw [show (5) + (4) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (6)
try rw [show (5) + (6) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (8)
try rw [show (5) + (8) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (10)
try rw [show (5) + (10) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (12)
try rw [show (5) + (12) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 21)))) (K.neg (K.mul (Zs K x (a + 8)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a + -- (+66 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 11))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (2) (a + 6) (1)
try rw [show (a + 6) + (1) + 1 + (2) = a + 10 by lib_nat] at h
try rw [show (a + 6) + (1) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 6) + (2) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (6) (a + 6) (1)
try rw [show (a + 6) + (1) + 1 + (6) = a + 14 by lib_nat] at h
try rw [show (a + 6) + (1) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 6) + (6) = a + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (2) (a + 6) (9)
try rw [show (a + 6) + (9) + 1 + (2) = a + 18 by lib_nat] at h
try rw [show (a + 6) + (9) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 6) + (2) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 8)))))) := by
have h := A2.mk K O x hT (1) (a + 6) (12)
try rw [show (a + 6) + (12) + 1 + (1) = a + 20 by lib_nat] at h
try rw [show (a + 6) + (12) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 6) + (1) = a + 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 9))))) := A1.Dn K O x hD (a + 7) (1) (a + 7) (a + 8) (a + 9) (a + 8) (a + 9) (a + 10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 7) (5) (a + 7) (a + 8) (a + 9) (a + 12) (a + 13) (a + 14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 7) (9) (a + 7) (a + 8) (a + 9) (a + 16) (a + 17) (a + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22)))) (K.neg (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a -- (+69 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 10))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (2) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (2) = a + 9 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (2) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 12))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 10)))))) := by
have h := A2.mk K O x hT (3) (a + 6) (1)
try rw [show (a + 6) + (1) + 1 + (3) = a + 11 by lib_nat] at h
try rw [show (a + 6) + (1) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 6) + (3) = a + 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 14))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (5) (a + 6) (1)
try rw [show (a + 6) + (1) + 1 + (5) = a + 13 by lib_nat] at h
try rw [show (a + 6) + (1) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 6) + (5) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (1)
try rw [show (a + 6) + (1) + 1 + (7) = a + 15 by lib_nat] at h
try rw [show (a + 6) + (1) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (1)
try rw [show (a + 6) + (1) + 1 + (9) = a + 17 by lib_nat] at h
try rw [show (a + 6) + (1) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (2) (a + 6) (10)
try rw [show (a + 6) + (10) + 1 + (2) = a + 19 by lib_nat] at h
try rw [show (a + 6) + (10) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 6) + (2) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (2) (a + 6) (12)
try rw [show (a + 6) + (12) + 1 + (2) = a + 21 by lib_nat] at h
try rw [show (a + 6) + (12) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 6) + (2) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23)))) (K.neg (K.mul (Zs K x (a + 10)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x -- (+72 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 11))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 10)))))) := by
have h := A2.mk K O x hT (3) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (3) = a + 10 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (3) = a + 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 13))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 10)))))) := by
have h := A2.mk K O x hT (3) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (3) = a + 12 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (3) = a + 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (5) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (5) = a + 14 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (5) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (7) = a + 16 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (9) = a + 18 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (11) = a + 20 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 10)))))) := by
have h := A2.mk K O x hT (3) (a + 6) (12)
try rw [show (a + 6) + (12) + 1 + (3) = a + 22 by lib_nat] at h
try rw [show (a + 6) + (12) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 6) + (3) = a + 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24)))) (K.neg (K.mul (Zs K x (a + 11)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K -- (+74 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 12))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 11)))))) := by
have h := A2.mk K O x hT (4) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (4) = a + 11 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (4) = a + 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 14))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 11)))))) := by
have h := A2.mk K O x hT (4) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (4) = a + 13 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (4) = a + 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (5) (a + 6) (3)
try rw [show (a + 6) + (3) + 1 + (5) = a + 15 by lib_nat] at h
try rw [show (a + 6) + (3) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 6) + (5) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (3)
try rw [show (a + 6) + (3) + 1 + (7) = a + 17 by lib_nat] at h
try rw [show (a + 6) + (3) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (3)
try rw [show (a + 6) + (3) + 1 + (9) = a + 19 by lib_nat] at h
try rw [show (a + 6) + (3) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (3)
try rw [show (a + 6) + (3) + 1 + (11) = a + 21 by lib_nat] at h
try rw [show (a + 6) + (3) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 11)))))) := by
have h := A2.mk K O x hT (4) (a + 6) (12)
try rw [show (a + 6) + (12) + 1 + (4) = a + 23 by lib_nat] at h
try rw [show (a + 6) + (12) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 6) + (4) = a + 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25)))) (K.neg (K.mul (Zs K x (a + 12)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs -- (+76 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 13))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (5) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (5) = a + 12 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (5) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (5) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (5) = a + 14 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (5) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (5) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (5) = a + 16 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (5) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (7) = a + 18 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (9) = a + 20 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (11) = a + 22 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (13) = a + 24 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26)))) (K.neg (K.mul (Zs K x (a + 13)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) ( -- (+78 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 14))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (6) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (6) = a + 13 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (6) = a + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (6) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (6) = a + 15 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (6) = a + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (6) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (6) = a + 17 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (6) = a + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (5)
try rw [show (a + 6) + (5) + 1 + (7) = a + 19 by lib_nat] at h
try rw [show (a + 6) + (5) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (5)
try rw [show (a + 6) + (5) + 1 + (9) = a + 21 by lib_nat] at h
try rw [show (a + 6) + (5) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (5)
try rw [show (a + 6) + (5) + 1 + (11) = a + 23 by lib_nat] at h
try rw [show (a + 6) + (5) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (5)
try rw [show (a + 6) + (5) + 1 + (13) = a + 25 by lib_nat] at h
try rw [show (a + 6) + (5) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27)))) (K.neg (K.mul (Zs K x (a + 14)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) -- (+80 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (7) = a + 14 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (7) = a + 16 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (7) = a + 18 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (7) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (7) = a + 20 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (7) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (9) = a + 22 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (11) = a + 24 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (13) = a + 26 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 28)))) (K.neg (K.mul (Zs K x (a + 15)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12) -- (+82 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (8) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (8) = a + 15 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (8) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (8) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (8) = a + 17 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (8) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (8) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (8) = a + 19 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (8) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (8) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (8) = a + 21 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (8) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (7)
try rw [show (a + 6) + (7) + 1 + (9) = a + 23 by lib_nat] at h
try rw [show (a + 6) + (7) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (7)
try rw [show (a + 6) + (7) + 1 + (11) = a + 25 by lib_nat] at h
try rw [show (a + 6) + (7) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (7)
try rw [show (a + 6) + (7) + 1 + (13) = a + 27 by lib_nat] at h
try rw [show (a + 6) + (7) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 29)))) (K.neg (K.mul (Zs K x (a + 16)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 1 -- (+84 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (9) = a + 16 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (9) = a + 18 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (9) = a + 20 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (9) = a + 22 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (9) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (9) = a + 24 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (9) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (11) = a + 26 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (13) = a + 28 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 28))) (Zs K x (a + 30)))) (K.neg (K.mul (Zs K x (a + 17)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + -- (+86 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (10) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (10) = a + 17 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (10) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (10) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (10) = a + 19 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (10) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (10) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (10) = a + 21 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (10) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (10) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (10) = a + 23 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (10) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (10) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (10) = a + 25 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (10) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (9)
try rw [show (a + 6) + (9) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 6) + (9) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (9)
try rw [show (a + 6) + (9) + 1 + (13) = a + 29 by lib_nat] at h
try rw [show (a + 6) + (9) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 29))) (Zs K x (a + 31)))) (K.neg (K.mul (Zs K x (a + 18)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a -- (+88 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (11) = a + 18 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (11) = a + 20 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (11) = a + 22 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (11) = a + 24 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (11) = a + 26 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (11) (a + 6) (10)
try rw [show (a + 6) + (10) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 6) + (10) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 6) + (11) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (10)
try rw [show (a + 6) + (10) + 1 + (13) = a + 30 by lib_nat] at h
try rw [show (a + 6) + (10) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 28))) (Zs K x (a + 30))) (Zs K x (a + 32)))) (K.neg (K.mul (Zs K x (a + 19)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x -- (+90 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (12) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (12) = a + 19 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (12) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (12) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (12) = a + 21 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (12) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (12) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (12) = a + 23 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (12) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (12) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (12) = a + 25 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (12) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (12) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (12) = a + 27 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (12) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (12) (a + 6) (10)
try rw [show (a + 6) + (10) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 6) + (10) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 6) + (12) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (11)
try rw [show (a + 6) + (11) + 1 + (13) = a + 31 by lib_nat] at h
try rw [show (a + 6) + (11) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 29))) (Zs K x (a + 31))) (Zs K x (a + 33)))) (K.neg (K.mul (Zs K x (a + 20)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K -- (+92 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (13) = a + 20 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (13) = a + 22 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (13) = a + 24 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (13) = a + 26 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (13) = a + 28 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (10)
try rw [show (a + 6) + (10) + 1 + (13) = a + 30 by lib_nat] at h
try rw [show (a + 6) + (10) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (13) (a + 6) (12)
try rw [show (a + 6) + (12) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 6) + (12) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 6) + (13) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 28))) (Zs K x (a + 30))) (Zs K x (a + 32))) (Zs K x (a + 34)))) (K.neg (K.mul (Zs K x (a + 21)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs -- (+94 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (14) = a + 21 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (14) = a + 23 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (14) = a + 25 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (14) = a + 27 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (14) = a + 29 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (10)
try rw [show (a + 6) + (10) + 1 + (14) = a + 31 by lib_nat] at h
try rw [show (a + 6) + (10) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (14) (a + 6) (12)
try rw [show (a + 6) + (12) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 6) + (12) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 6) + (14) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x (a + w + 23)) (Zs K x (a + w + 25))) (Zs K x (a + w + 27))) (Zs K x (a + w + 29))) (Zs K x (a + w + 31))) (Zs K x (a + w + 33))) (Zs K x (a + w + 35)))) (K.neg (K.mul (Zs K x (a + w + 22)) (K.add (K.add (K.add (K.add (K.add (K.add (Zs K x -- (+126 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 23))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 6) (0)
try rw [show (a + 6) + (0) + 1 + (w + 15) = a + w + 22 by lib_nat] at h
try rw [show (a + 6) + (0) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 6) + (w + 15) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 25))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 6) (2)
try rw [show (a + 6) + (2) + 1 + (w + 15) = a + w + 24 by lib_nat] at h
try rw [show (a + 6) + (2) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 6) + (w + 15) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 27))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 6) (4)
try rw [show (a + 6) + (4) + 1 + (w + 15) = a + w + 26 by lib_nat] at h
try rw [show (a + 6) + (4) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 6) + (w + 15) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 29))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 6) (6)
try rw [show (a + 6) + (6) + 1 + (w + 15) = a + w + 28 by lib_nat] at h
try rw [show (a + 6) + (6) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 6) + (w + 15) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 6) (8)
try rw [show (a + 6) + (8) + 1 + (w + 15) = a + w + 30 by lib_nat] at h
try rw [show (a + 6) + (8) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 6) + (w + 15) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 33))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 6) (10)
try rw [show (a + 6) + (10) + 1 + (w + 15) = a + w + 32 by lib_nat] at h
try rw [show (a + 6) + (10) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 6) + (w + 15) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 7)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 6) (12)
try rw [show (a + 6) + (12) + 1 + (w + 15) = a + w + 34 by lib_nat] at h
try rw [show (a + 6) + (12) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 6) + (w + 15) = a + w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S06.lean
/-
ym/GenA7S06 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg6 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (fun i => x (i + 5)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (7))) (K.neg (K.mul K.zero (Zs K x (6))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (8))) (K.neg (K.mul K.zero (Zs K x (6))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (K.neg (K.mul K.zero (Zs K x (6))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul K.zero (Zs K x (6))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul K.zero (Zs K x (6))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul (Zs K x (1)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (0)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul (Zs K x (2)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (w + 10)) (Zs K x (6))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 10))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (8))) (K.neg (K.mul K.zero (Zs K x (7))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (K.neg (K.mul K.zero (Zs K x (7))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul K.zero (Zs K x (7))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul K.zero (Zs K x (7))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul (Zs K x (1)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (0)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul (Zs K x (2)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (w + 11)) (Zs K x (7))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (K.neg (K.mul K.zero (Zs K x (8))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul K.zero (Zs K x (8))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul K.zero (Zs K x (8))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul (Zs K x (1)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (0)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul (Zs K x (2)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (Zs K x (3)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (7)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (w + 12)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul K.zero (Zs K x (9))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul K.zero (Zs K x (9))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul (Zs K x (1)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (0)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul (Zs K x (2)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (Zs K x (3)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (3)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (8)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (8)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (8)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (w + 13)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul K.zero (Zs K x (10))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul (Zs K x (1)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (0)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul (Zs K x (2)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (Zs K x (3)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (4)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (3)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (9)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (9)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (9)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (24))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (9)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (w + 14)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (9)) (hx (w + 13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul (Zs K x (1)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (0)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul (Zs K x (2)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (Zs K x (3)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (4)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (3)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (6)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (8)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (9)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (10)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (10)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (24))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (10)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (25))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (10)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (w + 15)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (10)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (2)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (10)
try rw [show (0) + (10) + 1 + (1) = 12 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (3)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (10)
try rw [show (0) + (10) + 1 + (2) = 13 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (4)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (10)
try rw [show (0) + (10) + 1 + (3) = 14 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (10)
try rw [show (0) + (10) + 1 + (4) = 15 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (10)
try rw [show (0) + (10) + 1 + (5) = 16 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (10)
try rw [show (0) + (10) + 1 + (6) = 17 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (0)
try rw [show (7) + (0) + 1 + (4) = 12 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (1)
try rw [show (7) + (1) + 1 + (4) = 13 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (2)
try rw [show (7) + (2) + 1 + (4) = 14 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (14)
try rw [show (0) + (14) + 1 + (7) = 22 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (3)
try rw [show (7) + (3) + 1 + (4) = 15 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (15)
try rw [show (0) + (15) + 1 + (7) = 23 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (3)
try rw [show (7) + (3) + 1 + (5) = 16 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (25))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (16)
try rw [show (0) + (16) + 1 + (7) = 24 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (3)
try rw [show (7) + (3) + 1 + (6) = 17 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (26))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (17)
try rw [show (0) + (17) + 1 + (7) = 25 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (3)
try rw [show (7) + (3) + 1 + (7) = 18 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (w + 16)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (10)
try rw [show (0) + (10) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (3)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (10)
try rw [show (1) + (10) + 1 + (1) = 13 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (4)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (10)
try rw [show (1) + (10) + 1 + (2) = 14 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (10)
try rw [show (1) + (10) + 1 + (3) = 15 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (10)
try rw [show (1) + (10) + 1 + (4) = 16 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (10)
try rw [show (1) + (10) + 1 + (5) = 17 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (10)
try rw [show (1) + (10) + 1 + (6) = 18 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (10)
try rw [show (1) + (10) + 1 + (7) = 19 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (17)
try rw [show (1) + (17) + 1 + (1) = 20 by lib_nat] at h
try rw [show (1) + (17) + 1 = 19 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (9)
try rw [show (2) + (9) + 1 + (7) = 19 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (17)
try rw [show (1) + (17) + 1 + (2) = 21 by lib_nat] at h
try rw [show (1) + (17) + 1 = 19 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (8)
try rw [show (3) + (8) + 1 + (7) = 19 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (17)
try rw [show (1) + (17) + 1 + (3) = 22 by lib_nat] at h
try rw [show (1) + (17) + 1 = 19 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (7)
try rw [show (4) + (7) + 1 + (7) = 19 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (24))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (24))) (K.neg (K.mul (Zs K x (20)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (17)
try rw [show (1) + (17) + 1 + (4) = 23 by lib_nat] at h
try rw [show (1) + (17) + 1 = 19 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (6)
try rw [show (5) + (6) + 1 + (7) = 19 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (25))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (25))) (K.neg (K.mul (Zs K x (21)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (18)
try rw [show (1) + (18) + 1 + (4) = 24 by lib_nat] at h
try rw [show (1) + (18) + 1 = 20 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (26))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (26))) (K.neg (K.mul (Zs K x (22)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (19)
try rw [show (1) + (19) + 1 + (4) = 25 by lib_nat] at h
try rw [show (1) + (19) + 1 = 21 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (27))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (27))) (K.neg (K.mul (Zs K x (23)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (20)
try rw [show (1) + (20) + 1 + (4) = 26 by lib_nat] at h
try rw [show (1) + (20) + 1 = 22 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (w + 17)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (10)
try rw [show (1) + (10) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (4)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (10)
try rw [show (2) + (10) + 1 + (1) = 14 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (10)
try rw [show (2) + (10) + 1 + (2) = 15 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (10)
try rw [show (2) + (10) + 1 + (3) = 16 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (10)
try rw [show (2) + (10) + 1 + (4) = 17 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (10)
try rw [show (2) + (10) + 1 + (5) = 18 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (10)
try rw [show (2) + (10) + 1 + (6) = 19 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (17)
try rw [show (2) + (17) + 1 + (1) = 21 by lib_nat] at h
try rw [show (2) + (17) + 1 = 20 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (9)
try rw [show (3) + (9) + 1 + (7) = 20 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (21)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (17)
try rw [show (2) + (17) + 1 + (2) = 22 by lib_nat] at h
try rw [show (2) + (17) + 1 = 20 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (8)
try rw [show (4) + (8) + 1 + (7) = 20 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (17)
try rw [show (2) + (17) + 1 + (3) = 23 by lib_nat] at h
try rw [show (2) + (17) + 1 = 20 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (25))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (25))) (K.neg (K.mul (Zs K x (21)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (17)
try rw [show (2) + (17) + 1 + (4) = 24 by lib_nat] at h
try rw [show (2) + (17) + 1 = 20 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (6)
try rw [show (6) + (6) + 1 + (7) = 20 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (26))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (26))) (K.neg (K.mul (Zs K x (22)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (18)
try rw [show (2) + (18) + 1 + (4) = 25 by lib_nat] at h
try rw [show (2) + (18) + 1 = 21 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (27))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (27))) (K.neg (K.mul (Zs K x (23)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (19)
try rw [show (2) + (19) + 1 + (4) = 26 by lib_nat] at h
try rw [show (2) + (19) + 1 = 22 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (28))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (28))) (K.neg (K.mul (Zs K x (24)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (20)
try rw [show (2) + (20) + 1 + (4) = 27 by lib_nat] at h
try rw [show (2) + (20) + 1 = 23 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (9)
try rw [show (6) + (9) + 1 + (7) = 23 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (w + 18)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (10)
try rw [show (2) + (10) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (10)
try rw [show (3) + (10) + 1 + (1) = 15 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (10)
try rw [show (3) + (10) + 1 + (2) = 16 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (10)
try rw [show (3) + (10) + 1 + (3) = 17 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (10)
try rw [show (3) + (10) + 1 + (4) = 18 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (10)
try rw [show (3) + (10) + 1 + (5) = 19 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (10)
try rw [show (3) + (10) + 1 + (6) = 20 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (17)
try rw [show (3) + (17) + 1 + (1) = 22 by lib_nat] at h
try rw [show (3) + (17) + 1 = 21 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (9)
try rw [show (4) + (9) + 1 + (7) = 21 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (17)
try rw [show (3) + (17) + 1 + (2) = 23 by lib_nat] at h
try rw [show (3) + (17) + 1 = 21 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (17)
try rw [show (3) + (17) + 1 + (3) = 24 by lib_nat] at h
try rw [show (3) + (17) + 1 = 21 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (26))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (26))) (K.neg (K.mul (Zs K x (22)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (17)
try rw [show (3) + (17) + 1 + (4) = 25 by lib_nat] at h
try rw [show (3) + (17) + 1 = 21 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (6)
try rw [show (7) + (6) + 1 + (7) = 21 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (27))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (27))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (18)
try rw [show (3) + (18) + 1 + (4) = 26 by lib_nat] at h
try rw [show (3) + (18) + 1 = 22 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (28))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (28))) (K.neg (K.mul (Zs K x (24)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (19)
try rw [show (3) + (19) + 1 + (4) = 27 by lib_nat] at h
try rw [show (3) + (19) + 1 = 23 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (8)
try rw [show (7) + (8) + 1 + (7) = 23 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (29))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (29))) (K.neg (K.mul (Zs K x (25)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (20)
try rw [show (3) + (20) + 1 + (4) = 28 by lib_nat] at h
try rw [show (3) + (20) + 1 = 24 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (9)
try rw [show (7) + (9) + 1 + (7) = 24 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (w + 19)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (10)
try rw [show (3) + (10) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (10)
try rw [show (4) + (10) + 1 + (1) = 16 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (10)
try rw [show (4) + (10) + 1 + (2) = 17 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (10)
try rw [show (4) + (10) + 1 + (4) = 19 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (10)
try rw [show (4) + (10) + 1 + (5) = 20 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (10)
try rw [show (4) + (10) + 1 + (6) = 21 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (17)
try rw [show (4) + (17) + 1 + (1) = 23 by lib_nat] at h
try rw [show (4) + (17) + 1 = 22 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (17)
try rw [show (4) + (17) + 1 + (2) = 24 by lib_nat] at h
try rw [show (4) + (17) + 1 = 22 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (17)
try rw [show (4) + (17) + 1 + (3) = 25 by lib_nat] at h
try rw [show (4) + (17) + 1 = 22 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (27))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (27))) (K.neg (K.mul (Zs K x (23)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (17)
try rw [show (4) + (17) + 1 + (4) = 26 by lib_nat] at h
try rw [show (4) + (17) + 1 = 22 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (6)
try rw [show (8) + (6) + 1 + (7) = 22 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (28))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (28))) (K.neg (K.mul (Zs K x (24)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (18)
try rw [show (4) + (18) + 1 + (4) = 27 by lib_nat] at h
try rw [show (4) + (18) + 1 = 23 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (29))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (29))) (K.neg (K.mul (Zs K x (25)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (19)
try rw [show (4) + (19) + 1 + (4) = 28 by lib_nat] at h
try rw [show (4) + (19) + 1 = 24 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (8)
try rw [show (8) + (8) + 1 + (7) = 24 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (30))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (30))) (K.neg (K.mul (Zs K x (26)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (20)
try rw [show (4) + (20) + 1 + (4) = 29 by lib_nat] at h
try rw [show (4) + (20) + 1 = 25 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (9)
try rw [show (8) + (9) + 1 + (7) = 25 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (w + 20)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (10)
try rw [show (4) + (10) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (10)
try rw [show (5) + (10) + 1 + (1) = 17 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (10)
try rw [show (5) + (10) + 1 + (2) = 18 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (10)
try rw [show (5) + (10) + 1 + (3) = 19 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (10)
try rw [show (5) + (10) + 1 + (4) = 20 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (10)
try rw [show (5) + (10) + 1 + (5) = 21 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (10)
try rw [show (5) + (10) + 1 + (6) = 22 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (17)
try rw [show (5) + (17) + 1 + (1) = 24 by lib_nat] at h
try rw [show (5) + (17) + 1 = 23 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (9)
try rw [show (6) + (9) + 1 + (7) = 23 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (17)
try rw [show (5) + (17) + 1 + (2) = 25 by lib_nat] at h
try rw [show (5) + (17) + 1 = 23 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (8)
try rw [show (7) + (8) + 1 + (7) = 23 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (17)
try rw [show (5) + (17) + 1 + (3) = 26 by lib_nat] at h
try rw [show (5) + (17) + 1 = 23 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (28))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (28))) (K.neg (K.mul (Zs K x (24)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (17)
try rw [show (5) + (17) + 1 + (4) = 27 by lib_nat] at h
try rw [show (5) + (17) + 1 = 23 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (6)
try rw [show (9) + (6) + 1 + (7) = 23 by lib_nat] at h
try rw [show (9) + (6) + 1 = 16 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (29))) (K.neg (K.mul (Zs K x (18)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (29))) (K.neg (K.mul (Zs K x (25)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (18)
try rw [show (5) + (18) + 1 + (4) = 28 by lib_nat] at h
try rw [show (5) + (18) + 1 = 24 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (7)
try rw [show (9) + (7) + 1 + (7) = 24 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (30))) (K.neg (K.mul (Zs K x (19)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (30))) (K.neg (K.mul (Zs K x (26)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (19)
try rw [show (5) + (19) + 1 + (4) = 29 by lib_nat] at h
try rw [show (5) + (19) + 1 = 25 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (8)
try rw [show (9) + (8) + 1 + (7) = 25 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (31))) (K.neg (K.mul (Zs K x (20)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (31))) (K.neg (K.mul (Zs K x (27)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (20)
try rw [show (5) + (20) + 1 + (4) = 30 by lib_nat] at h
try rw [show (5) + (20) + 1 = 26 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (9)
try rw [show (9) + (9) + 1 + (7) = 26 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (w + 21)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (10)
try rw [show (5) + (10) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (10)
try rw [show (6) + (10) + 1 + (1) = 18 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (10)
try rw [show (6) + (10) + 1 + (2) = 19 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (10)
try rw [show (6) + (10) + 1 + (3) = 20 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (10)
try rw [show (6) + (10) + 1 + (4) = 21 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (10)
try rw [show (6) + (10) + 1 + (5) = 22 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (13)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (10)
try rw [show (6) + (10) + 1 + (6) = 23 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (10)
try rw [show (6) + (10) + 1 + (7) = 24 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (17)
try rw [show (6) + (17) + 1 + (1) = 25 by lib_nat] at h
try rw [show (6) + (17) + 1 = 24 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (9)
try rw [show (7) + (9) + 1 + (7) = 24 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (27))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (17)
try rw [show (6) + (17) + 1 + (2) = 26 by lib_nat] at h
try rw [show (6) + (17) + 1 = 24 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (8)
try rw [show (8) + (8) + 1 + (7) = 24 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (28))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (17)
try rw [show (6) + (17) + 1 + (3) = 27 by lib_nat] at h
try rw [show (6) + (17) + 1 = 24 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (7)
try rw [show (9) + (7) + 1 + (7) = 24 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (29))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (29))) (K.neg (K.mul (Zs K x (25)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (17)
try rw [show (6) + (17) + 1 + (4) = 28 by lib_nat] at h
try rw [show (6) + (17) + 1 = 24 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (6)
try rw [show (10) + (6) + 1 + (7) = 24 by lib_nat] at h
try rw [show (10) + (6) + 1 = 17 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (30))) (K.neg (K.mul (Zs K x (19)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (30))) (K.neg (K.mul (Zs K x (26)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (18)
try rw [show (6) + (18) + 1 + (4) = 29 by lib_nat] at h
try rw [show (6) + (18) + 1 = 25 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (7)
try rw [show (10) + (7) + 1 + (7) = 25 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (31))) (K.neg (K.mul (Zs K x (20)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (31))) (K.neg (K.mul (Zs K x (27)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (19)
try rw [show (6) + (19) + 1 + (4) = 30 by lib_nat] at h
try rw [show (6) + (19) + 1 = 26 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (8)
try rw [show (10) + (8) + 1 + (7) = 26 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (32))) (K.neg (K.mul (Zs K x (21)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (32))) (K.neg (K.mul (Zs K x (28)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (20)
try rw [show (6) + (20) + 1 + (4) = 31 by lib_nat] at h
try rw [show (6) + (20) + 1 = 27 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (9)
try rw [show (10) + (9) + 1 + (7) = 27 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (w + 22)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (10)
try rw [show (6) + (10) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (1) (a + 7) (10)
try rw [show (a + 7) + (10) + 1 + (1) = a + 19 by lib_nat] at h
try rw [show (a + 7) + (10) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 7) + (1) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 10)))))) := by
have h := A2.mk K O x hT (2) (a + 7) (10)
try rw [show (a + 7) + (10) + 1 + (2) = a + 20 by lib_nat] at h
try rw [show (a + 7) + (10) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 7) + (2) = a + 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (11) (a + 7) (2)
try rw [show (a + 7) + (2) + 1 + (11) = a + 21 by lib_nat] at h
try rw [show (a + 7) + (2) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 7) + (11) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (11) (a + 7) (3)
try rw [show (a + 7) + (3) + 1 + (11) = a + 22 by lib_nat] at h
try rw [show (a + 7) + (3) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 7) + (11) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (11) (a + 7) (4)
try rw [show (a + 7) + (4) + 1 + (11) = a + 23 by lib_nat] at h
try rw [show (a + 7) + (4) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 7) + (11) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (11) (a + 7) (5)
try rw [show (a + 7) + (5) + 1 + (11) = a + 24 by lib_nat] at h
try rw [show (a + 7) + (5) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 7) + (11) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (11) (a + 7) (6)
try rw [show (a + 7) + (6) + 1 + (11) = a + 25 by lib_nat] at h
try rw [show (a + 7) + (6) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 7) + (11) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (11) (a + 7) (7)
try rw [show (a + 7) + (7) + 1 + (11) = a + 26 by lib_nat] at h
try rw [show (a + 7) + (7) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 7) + (11) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (11) (a + 7) (8)
try rw [show (a + 7) + (8) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 7) + (8) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 7) + (11) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (11) (a + 7) (9)
try rw [show (a + 7) + (9) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 7) + (9) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 7) + (11) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (11) (a + 7) (10)
try rw [show (a + 7) + (10) + 1 + (11) = a + 29 by lib_nat] at h
try rw [show (a + 7) + (10) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 7) + (11) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (12) (a + 7) (10)
try rw [show (a + 7) + (10) + 1 + (12) = a + 30 by lib_nat] at h
try rw [show (a + 7) + (10) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 7) + (12) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (13) (a + 7) (10)
try rw [show (a + 7) + (10) + 1 + (13) = a + 31 by lib_nat] at h
try rw [show (a + 7) + (10) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 7) + (13) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 22)) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (14) (a + 7) (10)
try rw [show (a + 7) + (10) + 1 + (14) = a + 32 by lib_nat] at h
try rw [show (a + 7) + (10) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 7) + (14) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + w + 34))) (K.neg (K.mul (Zs K x (a + w + 23)) (Zs K x (a + 19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + w + 34))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 7) (10)
try rw [show (a + 7) + (10) + 1 + (w + 15) = a + w + 33 by lib_nat] at h
try rw [show (a + 7) + (10) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 7) + (w + 15) = a + w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S07.lean
/-
ym/GenA7S07 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg7 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (fun i => x (i + 2)) (fun i => x (i + 3)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (0)
try rw [show (2) + (0) + 1 + (1) = 4 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (0)
try rw [show (2) + (0) + 1 + (2) = 5 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (0)
try rw [show (2) + (0) + 1 + (3) = 6 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (0)
try rw [show (2) + (0) + 1 + (4) = 7 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (0)
try rw [show (2) + (0) + 1 + (5) = 8 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (0)
try rw [show (2) + (0) + 1 + (6) = 9 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (0)
try rw [show (2) + (0) + 1 + (7) = 10 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (7)
try rw [show (2) + (7) + 1 + (1) = 11 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (8)
try rw [show (2) + (8) + 1 + (1) = 12 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (9)
try rw [show (2) + (9) + 1 + (1) = 13 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (10)
try rw [show (2) + (10) + 1 + (1) = 14 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (11)
try rw [show (2) + (11) + 1 + (1) = 15 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (12)
try rw [show (2) + (12) + 1 + (1) = 16 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (13)
try rw [show (2) + (13) + 1 + (1) = 17 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (w + 18)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (0)
try rw [show (2) + (0) + 1 + (w + 15) = w + 18 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (0)
try rw [show (3) + (0) + 1 + (1) = 5 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (0)
try rw [show (3) + (0) + 1 + (2) = 6 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (0)
try rw [show (3) + (0) + 1 + (3) = 7 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (0)
try rw [show (3) + (0) + 1 + (4) = 8 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (0)
try rw [show (3) + (0) + 1 + (5) = 9 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (0)
try rw [show (3) + (0) + 1 + (6) = 10 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (0)
try rw [show (3) + (0) + 1 + (7) = 11 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (7)
try rw [show (3) + (7) + 1 + (1) = 12 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (8)
try rw [show (3) + (8) + 1 + (1) = 13 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (9)
try rw [show (3) + (9) + 1 + (1) = 14 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (10)
try rw [show (3) + (10) + 1 + (1) = 15 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (11)
try rw [show (3) + (11) + 1 + (1) = 16 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (12)
try rw [show (3) + (12) + 1 + (1) = 17 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (13)
try rw [show (3) + (13) + 1 + (1) = 18 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (w + 19)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (0)
try rw [show (3) + (0) + 1 + (w + 15) = w + 19 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (0)
try rw [show (4) + (0) + 1 + (1) = 6 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (0)
try rw [show (4) + (0) + 1 + (2) = 7 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (0)
try rw [show (4) + (0) + 1 + (3) = 8 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (0)
try rw [show (4) + (0) + 1 + (4) = 9 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (0)
try rw [show (4) + (0) + 1 + (5) = 10 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (0)
try rw [show (4) + (0) + 1 + (6) = 11 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (0)
try rw [show (4) + (0) + 1 + (7) = 12 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (7)
try rw [show (4) + (7) + 1 + (1) = 13 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (8)
try rw [show (4) + (8) + 1 + (1) = 14 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (9)
try rw [show (4) + (9) + 1 + (1) = 15 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (10)
try rw [show (4) + (10) + 1 + (1) = 16 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (11)
try rw [show (4) + (11) + 1 + (1) = 17 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (12)
try rw [show (4) + (12) + 1 + (1) = 18 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (13)
try rw [show (4) + (13) + 1 + (1) = 19 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (w + 20)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (0)
try rw [show (4) + (0) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (0)
try rw [show (5) + (0) + 1 + (1) = 7 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (0)
try rw [show (5) + (0) + 1 + (2) = 8 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (0)
try rw [show (5) + (0) + 1 + (3) = 9 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (0)
try rw [show (5) + (0) + 1 + (4) = 10 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (0)
try rw [show (5) + (0) + 1 + (5) = 11 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (0)
try rw [show (5) + (0) + 1 + (6) = 12 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (0)
try rw [show (5) + (0) + 1 + (7) = 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (7)
try rw [show (5) + (7) + 1 + (1) = 14 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (9)
try rw [show (5) + (9) + 1 + (1) = 16 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (10)
try rw [show (5) + (10) + 1 + (1) = 17 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (11)
try rw [show (5) + (11) + 1 + (1) = 18 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (12)
try rw [show (5) + (12) + 1 + (1) = 19 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (13)
try rw [show (5) + (13) + 1 + (1) = 20 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (w + 21)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (0)
try rw [show (5) + (0) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (0)
try rw [show (6) + (0) + 1 + (1) = 8 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (0)
try rw [show (6) + (0) + 1 + (2) = 9 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (0)
try rw [show (6) + (0) + 1 + (3) = 10 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (0)
try rw [show (6) + (0) + 1 + (4) = 11 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (0)
try rw [show (6) + (0) + 1 + (5) = 12 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (0)
try rw [show (6) + (0) + 1 + (6) = 13 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (0)
try rw [show (6) + (0) + 1 + (7) = 14 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (7)
try rw [show (6) + (7) + 1 + (1) = 15 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (8)
try rw [show (6) + (8) + 1 + (1) = 16 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (9)
try rw [show (6) + (9) + 1 + (1) = 17 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (10)
try rw [show (6) + (10) + 1 + (1) = 18 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (11)
try rw [show (6) + (11) + 1 + (1) = 19 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (12)
try rw [show (6) + (12) + 1 + (1) = 20 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (13)
try rw [show (6) + (13) + 1 + (1) = 21 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (w + 22)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (0)
try rw [show (6) + (0) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (0)
try rw [show (7) + (0) + 1 + (1) = 9 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (0)
try rw [show (7) + (0) + 1 + (2) = 10 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (0)
try rw [show (7) + (0) + 1 + (3) = 11 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (0)
try rw [show (7) + (0) + 1 + (4) = 12 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (0)
try rw [show (7) + (0) + 1 + (5) = 13 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (0)
try rw [show (7) + (0) + 1 + (6) = 14 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (0)
try rw [show (7) + (0) + 1 + (7) = 15 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (7)
try rw [show (7) + (7) + 1 + (1) = 16 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (8)
try rw [show (7) + (8) + 1 + (1) = 17 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (9)
try rw [show (7) + (9) + 1 + (1) = 18 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (10)
try rw [show (7) + (10) + 1 + (1) = 19 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (11)
try rw [show (7) + (11) + 1 + (1) = 20 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (12)
try rw [show (7) + (12) + 1 + (1) = 21 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (13)
try rw [show (7) + (13) + 1 + (1) = 22 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (w + 23)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (0)
try rw [show (7) + (0) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (0)
try rw [show (8) + (0) + 1 + (1) = 10 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (0)
try rw [show (8) + (0) + 1 + (2) = 11 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (0)
try rw [show (8) + (0) + 1 + (3) = 12 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (0)
try rw [show (8) + (0) + 1 + (4) = 13 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (0)
try rw [show (8) + (0) + 1 + (5) = 14 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (0)
try rw [show (8) + (0) + 1 + (6) = 15 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (0)
try rw [show (8) + (0) + 1 + (7) = 16 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (7)
try rw [show (8) + (7) + 1 + (1) = 17 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (8)
try rw [show (8) + (8) + 1 + (1) = 18 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (9)
try rw [show (8) + (9) + 1 + (1) = 19 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (10)
try rw [show (8) + (10) + 1 + (1) = 20 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (11)
try rw [show (8) + (11) + 1 + (1) = 21 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (12)
try rw [show (8) + (12) + 1 + (1) = 22 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (13)
try rw [show (8) + (13) + 1 + (1) = 23 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (w + 24)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (0)
try rw [show (8) + (0) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (0)
try rw [show (9) + (0) + 1 + (1) = 11 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (0)
try rw [show (9) + (0) + 1 + (2) = 12 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (0)
try rw [show (9) + (0) + 1 + (3) = 13 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (0)
try rw [show (9) + (0) + 1 + (4) = 14 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (0)
try rw [show (9) + (0) + 1 + (5) = 15 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (0)
try rw [show (9) + (0) + 1 + (6) = 16 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (0)
try rw [show (9) + (0) + 1 + (7) = 17 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (7)
try rw [show (9) + (7) + 1 + (1) = 18 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (8)
try rw [show (9) + (8) + 1 + (1) = 19 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (9)
try rw [show (9) + (9) + 1 + (1) = 20 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (10)
try rw [show (9) + (10) + 1 + (1) = 21 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (11)
try rw [show (9) + (11) + 1 + (1) = 22 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (12)
try rw [show (9) + (12) + 1 + (1) = 23 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (13)
try rw [show (9) + (13) + 1 + (1) = 24 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (w + 25)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (0)
try rw [show (9) + (0) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (0)
try rw [show (10) + (0) + 1 + (1) = 12 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (0)
try rw [show (10) + (0) + 1 + (2) = 13 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (0)
try rw [show (10) + (0) + 1 + (3) = 14 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (0)
try rw [show (10) + (0) + 1 + (4) = 15 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (0)
try rw [show (10) + (0) + 1 + (5) = 16 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (0)
try rw [show (10) + (0) + 1 + (6) = 17 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (0)
try rw [show (10) + (0) + 1 + (7) = 18 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (7)
try rw [show (10) + (7) + 1 + (1) = 19 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (8)
try rw [show (10) + (8) + 1 + (1) = 20 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (9)
try rw [show (10) + (9) + 1 + (1) = 21 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (10)
try rw [show (10) + (10) + 1 + (1) = 22 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (11)
try rw [show (10) + (11) + 1 + (1) = 23 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (12)
try rw [show (10) + (12) + 1 + (1) = 24 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (13)
try rw [show (10) + (13) + 1 + (1) = 25 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (w + 26)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (0)
try rw [show (10) + (0) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (0)
try rw [show (11) + (0) + 1 + (1) = 13 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (0)
try rw [show (11) + (0) + 1 + (2) = 14 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (0)
try rw [show (11) + (0) + 1 + (3) = 15 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (0)
try rw [show (11) + (0) + 1 + (4) = 16 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (0)
try rw [show (11) + (0) + 1 + (5) = 17 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (0)
try rw [show (11) + (0) + 1 + (6) = 18 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (0)
try rw [show (11) + (0) + 1 + (7) = 19 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (7)
try rw [show (11) + (7) + 1 + (1) = 20 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (8)
try rw [show (11) + (8) + 1 + (1) = 21 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (9)
try rw [show (11) + (9) + 1 + (1) = 22 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (10)
try rw [show (11) + (10) + 1 + (1) = 23 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (11)
try rw [show (11) + (11) + 1 + (1) = 24 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (12)
try rw [show (11) + (12) + 1 + (1) = 25 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (13)
try rw [show (11) + (13) + 1 + (1) = 26 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (w + 27)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (0)
try rw [show (11) + (0) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (0)
try rw [show (12) + (0) + 1 + (1) = 14 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (0)
try rw [show (12) + (0) + 1 + (2) = 15 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (0)
try rw [show (12) + (0) + 1 + (3) = 16 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (0)
try rw [show (12) + (0) + 1 + (4) = 17 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (0)
try rw [show (12) + (0) + 1 + (5) = 18 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (0)
try rw [show (12) + (0) + 1 + (6) = 19 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (0)
try rw [show (12) + (0) + 1 + (7) = 20 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (7)
try rw [show (12) + (7) + 1 + (1) = 21 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (8)
try rw [show (12) + (8) + 1 + (1) = 22 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (9)
try rw [show (12) + (9) + 1 + (1) = 23 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (10)
try rw [show (12) + (10) + 1 + (1) = 24 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (11)
try rw [show (12) + (11) + 1 + (1) = 25 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (12)
try rw [show (12) + (12) + 1 + (1) = 26 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (13)
try rw [show (12) + (13) + 1 + (1) = 27 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (w + 28)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (0)
try rw [show (12) + (0) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (0)
try rw [show (13) + (0) + 1 + (1) = 15 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (0)
try rw [show (13) + (0) + 1 + (2) = 16 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (0)
try rw [show (13) + (0) + 1 + (3) = 17 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (0)
try rw [show (13) + (0) + 1 + (4) = 18 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (0)
try rw [show (13) + (0) + 1 + (5) = 19 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (5) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (6) (13) (0)
try rw [show (13) + (0) + 1 + (6) = 20 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (6) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (7) (13) (0)
try rw [show (13) + (0) + 1 + (7) = 21 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (7) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (7)
try rw [show (13) + (7) + 1 + (1) = 22 by lib_nat] at h
try rw [show (13) + (7) + 1 = 21 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (8)
try rw [show (13) + (8) + 1 + (1) = 23 by lib_nat] at h
try rw [show (13) + (8) + 1 = 22 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (9)
try rw [show (13) + (9) + 1 + (1) = 24 by lib_nat] at h
try rw [show (13) + (9) + 1 = 23 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (10)
try rw [show (13) + (10) + 1 + (1) = 25 by lib_nat] at h
try rw [show (13) + (10) + 1 = 24 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (11)
try rw [show (13) + (11) + 1 + (1) = 26 by lib_nat] at h
try rw [show (13) + (11) + 1 = 25 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (12)
try rw [show (13) + (12) + 1 + (1) = 27 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (13)
try rw [show (13) + (13) + 1 + (1) = 28 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (w + 29)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (0)
try rw [show (13) + (0) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (0)
try rw [show (14) + (0) + 1 + (1) = 16 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (2) (14) (0)
try rw [show (14) + (0) + 1 + (2) = 17 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (2) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (0)
try rw [show (14) + (0) + 1 + (3) = 18 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (3) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (4) (14) (0)
try rw [show (14) + (0) + 1 + (4) = 19 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (4) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (5) (14) (0)
try rw [show (14) + (0) + 1 + (5) = 20 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (5) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (6) (14) (0)
try rw [show (14) + (0) + 1 + (6) = 21 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (6) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (7) (14) (0)
try rw [show (14) + (0) + 1 + (7) = 22 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (7) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (7)
try rw [show (14) + (7) + 1 + (1) = 23 by lib_nat] at h
try rw [show (14) + (7) + 1 = 22 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (8)
try rw [show (14) + (8) + 1 + (1) = 24 by lib_nat] at h
try rw [show (14) + (8) + 1 = 23 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (9)
try rw [show (14) + (9) + 1 + (1) = 25 by lib_nat] at h
try rw [show (14) + (9) + 1 = 24 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (10)
try rw [show (14) + (10) + 1 + (1) = 26 by lib_nat] at h
try rw [show (14) + (10) + 1 = 25 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (11)
try rw [show (14) + (11) + 1 + (1) = 27 by lib_nat] at h
try rw [show (14) + (11) + 1 = 26 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (12)
try rw [show (14) + (12) + 1 + (1) = 28 by lib_nat] at h
try rw [show (14) + (12) + 1 = 27 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (13)
try rw [show (14) + (13) + 1 + (1) = 29 by lib_nat] at h
try rw [show (14) + (13) + 1 = 28 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (w + 30)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (14) (0)
try rw [show (14) + (0) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (w + 15) = w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (1) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (1) = a + 17 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (1) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (2) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (2) = a + 18 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (2) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (3) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (3) = a + 19 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (3) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (4) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (4) = a + 20 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (4) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (5) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (5) = a + 21 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (5) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 22)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (6) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (6) = a + 22 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (6) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 23)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (7) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (7) = a + 23 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (7) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 24)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (8) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (8) = a + 24 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (8) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 25)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (9) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (9) = a + 25 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (9) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 26)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (10) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (10) = a + 26 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (10) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 27)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (11) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (11) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 28)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (12) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (12) = a + 28 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (12) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 29)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (13) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (13) = a + 29 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (13) = a + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 30)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 30)))))) := by
have h := A2.mk K O x hT (14) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (14) = a + 30 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (14) = a + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + w + 32))) (K.neg (K.mul (Zs K x (a + w + 31)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 16)) (Zs K x (a + w + 32))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 31)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 15) (0)
try rw [show (a + 15) + (0) + 1 + (w + 15) = a + w + 31 by lib_nat] at h
try rw [show (a + 15) + (0) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 15) + (w + 15) = a + w + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S08.lean
/-
ym/GenA7S08 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg8 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (Zs K (Zs K (Zs K (Zs K (Zs K x)))))) (fun i => x (i + 7)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (K.neg (K.mul K.zero (Zs K x (8))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul K.zero (Zs K x (8))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul K.zero (Zs K x (8))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul K.zero (Zs K x (8))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul K.zero (Zs K x (8))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (Zs K x (1)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (0)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (2)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (3)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (7)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (w + 10)) (Zs K x (8))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (w + 10))) := O.mul_nonneg _ _ (hx (7)) (hx (w + 9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul K.zero (Zs K x (9))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul K.zero (Zs K x (9))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul K.zero (Zs K x (9))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul K.zero (Zs K x (9))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (Zs K x (1)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (0)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (2)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (3)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (3)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (7)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (8)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (w + 11)) (Zs K x (9))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (8)) (hx (w + 10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul K.zero (Zs K x (10))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul K.zero (Zs K x (10))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul K.zero (Zs K x (10))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (Zs K x (1)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (0)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (2)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (3)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (4)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (3)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (7)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (8)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (9)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (9)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (w + 12)) (Zs K x (10))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (9)) (hx (w + 11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul K.zero (Zs K x (11))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul K.zero (Zs K x (11))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (Zs K x (1)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (0)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (2)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (3)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (4)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (3)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (5)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (6)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (7)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (8)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (9)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (10)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (10)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (w + 13)) (Zs K x (11))))))
have t0 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (10)) (hx (w + 12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul K.zero (Zs K x (12))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (Zs K x (1)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (0)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (2)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (3)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (2)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (4)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (3)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (5)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (4)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (6)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (7)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (8)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (9)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (10)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (12)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (11)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (12)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (11)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (w + 14)) (Zs K x (12))))))
have t0 : O.le K.zero (K.mul (Zs K x (12)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (11)) (hx (w + 13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (Zs K x (1)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (0)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (2)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (16))) (K.neg (K.mul (Zs K x (3)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (2)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (17))) (K.neg (K.mul (Zs K x (4)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (3)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (18))) (K.neg (K.mul (Zs K x (5)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (4)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (19))) (K.neg (K.mul (Zs K x (6)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (6)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (8)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (7)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (9)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (8)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (10)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (9)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (11)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (10)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (12)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (11)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (13)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (12)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (13)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (12)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (w + 15)) (Zs K x (13))))))
have t0 : O.le K.zero (K.mul (Zs K x (13)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (12)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (2)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (12)
try rw [show (0) + (12) + 1 + (1) = 14 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (3)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (12)
try rw [show (0) + (12) + 1 + (2) = 15 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (4)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (12)
try rw [show (0) + (12) + 1 + (3) = 16 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (5)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (12)
try rw [show (0) + (12) + 1 + (4) = 17 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (6)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (12)
try rw [show (0) + (12) + 1 + (5) = 18 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (12)
try rw [show (0) + (12) + 1 + (6) = 19 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (0)
try rw [show (7) + (0) + 1 + (6) = 14 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (14)
try rw [show (0) + (14) + 1 + (7) = 22 by lib_nat] at h
try rw [show (0) + (14) + 1 = 15 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (1)
try rw [show (7) + (1) + 1 + (6) = 15 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (15)
try rw [show (0) + (15) + 1 + (7) = 23 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (2)
try rw [show (7) + (2) + 1 + (6) = 16 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (16)
try rw [show (0) + (16) + 1 + (7) = 24 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (3)
try rw [show (7) + (3) + 1 + (6) = 17 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (17)
try rw [show (0) + (17) + 1 + (7) = 25 by lib_nat] at h
try rw [show (0) + (17) + 1 = 18 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (4)
try rw [show (7) + (4) + 1 + (6) = 18 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (18)
try rw [show (0) + (18) + 1 + (7) = 26 by lib_nat] at h
try rw [show (0) + (18) + 1 = 19 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (5)
try rw [show (7) + (5) + 1 + (6) = 19 by lib_nat] at h
try rw [show (7) + (5) + 1 = 13 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (19)
try rw [show (0) + (19) + 1 + (7) = 27 by lib_nat] at h
try rw [show (0) + (19) + 1 = 20 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (5)
try rw [show (7) + (5) + 1 + (7) = 20 by lib_nat] at h
try rw [show (7) + (5) + 1 = 13 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (w + 16)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (12)
try rw [show (0) + (12) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (3)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (12)
try rw [show (1) + (12) + 1 + (1) = 15 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (4)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (12)
try rw [show (1) + (12) + 1 + (2) = 16 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (5)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (12)
try rw [show (1) + (12) + 1 + (3) = 17 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (6)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (12)
try rw [show (1) + (12) + 1 + (4) = 18 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (12)
try rw [show (1) + (12) + 1 + (5) = 19 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (12)
try rw [show (1) + (12) + 1 + (6) = 20 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (12)
try rw [show (1) + (12) + 1 + (7) = 21 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (19)
try rw [show (1) + (19) + 1 + (1) = 22 by lib_nat] at h
try rw [show (1) + (19) + 1 = 21 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (24))) (K.neg (K.mul (Zs K x (22)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (19)
try rw [show (1) + (19) + 1 + (2) = 23 by lib_nat] at h
try rw [show (1) + (19) + 1 = 21 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (19)
try rw [show (1) + (19) + 1 + (3) = 24 by lib_nat] at h
try rw [show (1) + (19) + 1 = 21 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (9)
try rw [show (4) + (9) + 1 + (7) = 21 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (26))) (K.neg (K.mul (Zs K x (22)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (19)
try rw [show (1) + (19) + 1 + (4) = 25 by lib_nat] at h
try rw [show (1) + (19) + 1 = 21 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (19)
try rw [show (1) + (19) + 1 + (5) = 26 by lib_nat] at h
try rw [show (1) + (19) + 1 = 21 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (28))) (K.neg (K.mul (Zs K x (22)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (19)
try rw [show (1) + (19) + 1 + (6) = 27 by lib_nat] at h
try rw [show (1) + (19) + 1 = 21 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (6)
try rw [show (7) + (6) + 1 + (7) = 21 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (29))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (20)
try rw [show (1) + (20) + 1 + (6) = 28 by lib_nat] at h
try rw [show (1) + (20) + 1 = 22 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (w + 17)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (12)
try rw [show (1) + (12) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (4)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (12)
try rw [show (2) + (12) + 1 + (1) = 16 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (5)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (12)
try rw [show (2) + (12) + 1 + (2) = 17 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (6)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (12)
try rw [show (2) + (12) + 1 + (3) = 18 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (12)
try rw [show (2) + (12) + 1 + (4) = 19 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (12)
try rw [show (2) + (12) + 1 + (5) = 20 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (12)
try rw [show (2) + (12) + 1 + (6) = 21 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (12)
try rw [show (2) + (12) + 1 + (7) = 22 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (19)
try rw [show (2) + (19) + 1 + (1) = 23 by lib_nat] at h
try rw [show (2) + (19) + 1 = 22 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (25))) (K.neg (K.mul (Zs K x (23)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (19)
try rw [show (2) + (19) + 1 + (2) = 24 by lib_nat] at h
try rw [show (2) + (19) + 1 = 22 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (19)
try rw [show (2) + (19) + 1 + (3) = 25 by lib_nat] at h
try rw [show (2) + (19) + 1 = 22 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (27))) (K.neg (K.mul (Zs K x (23)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (19)
try rw [show (2) + (19) + 1 + (4) = 26 by lib_nat] at h
try rw [show (2) + (19) + 1 = 22 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (28))) (K.neg (K.mul (Zs K x (23)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (19)
try rw [show (2) + (19) + 1 + (5) = 27 by lib_nat] at h
try rw [show (2) + (19) + 1 = 22 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (29))) (K.neg (K.mul (Zs K x (23)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (19)
try rw [show (2) + (19) + 1 + (6) = 28 by lib_nat] at h
try rw [show (2) + (19) + 1 = 22 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (6)
try rw [show (8) + (6) + 1 + (7) = 22 by lib_nat] at h
try rw [show (8) + (6) + 1 = 15 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (30))) (K.neg (K.mul (Zs K x (24)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (20)
try rw [show (2) + (20) + 1 + (6) = 29 by lib_nat] at h
try rw [show (2) + (20) + 1 = 23 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (w + 18)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (12)
try rw [show (2) + (12) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (5)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (12)
try rw [show (3) + (12) + 1 + (1) = 17 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (6)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (12)
try rw [show (3) + (12) + 1 + (2) = 18 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (12)
try rw [show (3) + (12) + 1 + (3) = 19 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (12)
try rw [show (3) + (12) + 1 + (4) = 20 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (12)
try rw [show (3) + (12) + 1 + (5) = 21 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (12)
try rw [show (3) + (12) + 1 + (6) = 22 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (12)
try rw [show (3) + (12) + 1 + (7) = 23 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (19)
try rw [show (3) + (19) + 1 + (1) = 24 by lib_nat] at h
try rw [show (3) + (19) + 1 = 23 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (26))) (K.neg (K.mul (Zs K x (24)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (19)
try rw [show (3) + (19) + 1 + (2) = 25 by lib_nat] at h
try rw [show (3) + (19) + 1 = 23 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (19)
try rw [show (3) + (19) + 1 + (3) = 26 by lib_nat] at h
try rw [show (3) + (19) + 1 = 23 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (9)
try rw [show (6) + (9) + 1 + (7) = 23 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (28))) (K.neg (K.mul (Zs K x (24)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (19)
try rw [show (3) + (19) + 1 + (4) = 27 by lib_nat] at h
try rw [show (3) + (19) + 1 = 23 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (8)
try rw [show (7) + (8) + 1 + (7) = 23 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (29))) (K.neg (K.mul (Zs K x (24)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (19)
try rw [show (3) + (19) + 1 + (5) = 28 by lib_nat] at h
try rw [show (3) + (19) + 1 = 23 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (7)
try rw [show (8) + (7) + 1 + (7) = 23 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (30))) (K.neg (K.mul (Zs K x (24)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (19)
try rw [show (3) + (19) + 1 + (6) = 29 by lib_nat] at h
try rw [show (3) + (19) + 1 = 23 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (6)
try rw [show (9) + (6) + 1 + (7) = 23 by lib_nat] at h
try rw [show (9) + (6) + 1 = 16 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (31))) (K.neg (K.mul (Zs K x (18)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (31))) (K.neg (K.mul (Zs K x (25)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (20)
try rw [show (3) + (20) + 1 + (6) = 30 by lib_nat] at h
try rw [show (3) + (20) + 1 = 24 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (7)
try rw [show (9) + (7) + 1 + (7) = 24 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (w + 19)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (12)
try rw [show (3) + (12) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (6)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (12)
try rw [show (4) + (12) + 1 + (1) = 18 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (12)
try rw [show (4) + (12) + 1 + (2) = 19 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (12)
try rw [show (4) + (12) + 1 + (3) = 20 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (12)
try rw [show (4) + (12) + 1 + (4) = 21 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (12)
try rw [show (4) + (12) + 1 + (5) = 22 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (12)
try rw [show (4) + (12) + 1 + (6) = 23 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (12)
try rw [show (4) + (12) + 1 + (7) = 24 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (19)
try rw [show (4) + (19) + 1 + (1) = 25 by lib_nat] at h
try rw [show (4) + (19) + 1 = 24 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (27))) (K.neg (K.mul (Zs K x (25)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (19)
try rw [show (4) + (19) + 1 + (2) = 26 by lib_nat] at h
try rw [show (4) + (19) + 1 = 24 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (10)
try rw [show (6) + (10) + 1 + (7) = 24 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (19)
try rw [show (4) + (19) + 1 + (3) = 27 by lib_nat] at h
try rw [show (4) + (19) + 1 = 24 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (9)
try rw [show (7) + (9) + 1 + (7) = 24 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (29))) (K.neg (K.mul (Zs K x (25)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (19)
try rw [show (4) + (19) + 1 + (4) = 28 by lib_nat] at h
try rw [show (4) + (19) + 1 = 24 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (8)
try rw [show (8) + (8) + 1 + (7) = 24 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (30))) (K.neg (K.mul (Zs K x (25)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (19)
try rw [show (4) + (19) + 1 + (5) = 29 by lib_nat] at h
try rw [show (4) + (19) + 1 = 24 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (7)
try rw [show (9) + (7) + 1 + (7) = 24 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (31))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (31))) (K.neg (K.mul (Zs K x (25)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (19)
try rw [show (4) + (19) + 1 + (6) = 30 by lib_nat] at h
try rw [show (4) + (19) + 1 = 24 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (6)
try rw [show (10) + (6) + 1 + (7) = 24 by lib_nat] at h
try rw [show (10) + (6) + 1 = 17 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (32))) (K.neg (K.mul (Zs K x (19)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (32))) (K.neg (K.mul (Zs K x (26)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (20)
try rw [show (4) + (20) + 1 + (6) = 31 by lib_nat] at h
try rw [show (4) + (20) + 1 = 25 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (7)
try rw [show (10) + (7) + 1 + (7) = 25 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (w + 20)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (12)
try rw [show (4) + (12) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (7)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (12)
try rw [show (5) + (12) + 1 + (1) = 19 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (12)
try rw [show (5) + (12) + 1 + (2) = 20 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (12)
try rw [show (5) + (12) + 1 + (3) = 21 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (12)
try rw [show (5) + (12) + 1 + (4) = 22 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (12)
try rw [show (5) + (12) + 1 + (5) = 23 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (12)
try rw [show (5) + (12) + 1 + (6) = 24 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (12)
try rw [show (5) + (12) + 1 + (7) = 25 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (19)
try rw [show (5) + (19) + 1 + (1) = 26 by lib_nat] at h
try rw [show (5) + (19) + 1 = 25 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (11)
try rw [show (6) + (11) + 1 + (7) = 25 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (28))) (K.neg (K.mul (Zs K x (26)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (19)
try rw [show (5) + (19) + 1 + (2) = 27 by lib_nat] at h
try rw [show (5) + (19) + 1 = 25 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (10)
try rw [show (7) + (10) + 1 + (7) = 25 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (19)
try rw [show (5) + (19) + 1 + (3) = 28 by lib_nat] at h
try rw [show (5) + (19) + 1 = 25 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (9)
try rw [show (8) + (9) + 1 + (7) = 25 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (30))) (K.neg (K.mul (Zs K x (26)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (19)
try rw [show (5) + (19) + 1 + (4) = 29 by lib_nat] at h
try rw [show (5) + (19) + 1 = 25 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (8)
try rw [show (9) + (8) + 1 + (7) = 25 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (31))) (K.neg (K.mul (Zs K x (18)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (31))) (K.neg (K.mul (Zs K x (26)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (19)
try rw [show (5) + (19) + 1 + (5) = 30 by lib_nat] at h
try rw [show (5) + (19) + 1 = 25 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (7)
try rw [show (10) + (7) + 1 + (7) = 25 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (32))) (K.neg (K.mul (Zs K x (19)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (32))) (K.neg (K.mul (Zs K x (26)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (19)
try rw [show (5) + (19) + 1 + (6) = 31 by lib_nat] at h
try rw [show (5) + (19) + 1 = 25 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (6)
try rw [show (11) + (6) + 1 + (7) = 25 by lib_nat] at h
try rw [show (11) + (6) + 1 = 18 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (33))) (K.neg (K.mul (Zs K x (20)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (33))) (K.neg (K.mul (Zs K x (27)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (20)
try rw [show (5) + (20) + 1 + (6) = 32 by lib_nat] at h
try rw [show (5) + (20) + 1 = 26 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (7)
try rw [show (11) + (7) + 1 + (7) = 26 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (w + 21)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (12)
try rw [show (5) + (12) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (8)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (12)
try rw [show (6) + (12) + 1 + (1) = 20 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (9)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (12)
try rw [show (6) + (12) + 1 + (2) = 21 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (10)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (12)
try rw [show (6) + (12) + 1 + (3) = 22 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (11)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (12)
try rw [show (6) + (12) + 1 + (4) = 23 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (12)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (12)
try rw [show (6) + (12) + 1 + (5) = 24 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (13)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (12)
try rw [show (6) + (12) + 1 + (6) = 25 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (27))) (K.neg (K.mul (Zs K x (14)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (12)
try rw [show (6) + (12) + 1 + (7) = 26 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (28))) (K.neg (K.mul (Zs K x (15)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (19)
try rw [show (6) + (19) + 1 + (1) = 27 by lib_nat] at h
try rw [show (6) + (19) + 1 = 26 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (11)
try rw [show (7) + (11) + 1 + (7) = 26 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (29))) (K.neg (K.mul (Zs K x (16)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (29))) (K.neg (K.mul (Zs K x (27)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (19)
try rw [show (6) + (19) + 1 + (2) = 28 by lib_nat] at h
try rw [show (6) + (19) + 1 = 26 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (10)
try rw [show (8) + (10) + 1 + (7) = 26 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (30))) (K.neg (K.mul (Zs K x (17)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (19)
try rw [show (6) + (19) + 1 + (3) = 29 by lib_nat] at h
try rw [show (6) + (19) + 1 = 26 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (9)
try rw [show (9) + (9) + 1 + (7) = 26 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (31))) (K.neg (K.mul (Zs K x (18)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (31))) (K.neg (K.mul (Zs K x (27)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (19)
try rw [show (6) + (19) + 1 + (4) = 30 by lib_nat] at h
try rw [show (6) + (19) + 1 = 26 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (8)
try rw [show (10) + (8) + 1 + (7) = 26 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (32))) (K.neg (K.mul (Zs K x (19)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (32))) (K.neg (K.mul (Zs K x (27)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (19)
try rw [show (6) + (19) + 1 + (5) = 31 by lib_nat] at h
try rw [show (6) + (19) + 1 = 26 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (7)
try rw [show (11) + (7) + 1 + (7) = 26 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (33))) (K.neg (K.mul (Zs K x (20)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (33))) (K.neg (K.mul (Zs K x (27)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (19)
try rw [show (6) + (19) + 1 + (6) = 32 by lib_nat] at h
try rw [show (6) + (19) + 1 = 26 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (6)
try rw [show (12) + (6) + 1 + (7) = 26 by lib_nat] at h
try rw [show (12) + (6) + 1 = 19 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (34))) (K.neg (K.mul (Zs K x (21)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (34))) (K.neg (K.mul (Zs K x (28)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (20)
try rw [show (6) + (20) + 1 + (6) = 33 by lib_nat] at h
try rw [show (6) + (20) + 1 = 27 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (7)
try rw [show (12) + (7) + 1 + (7) = 27 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 35))) (K.neg (K.mul (Zs K x (w + 22)) (Zs K x (20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 35))) (K.neg (K.mul (Zs K x (20)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (12)
try rw [show (6) + (12) + 1 + (w + 15) = w + 34 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 9)))))) := by
have h := A2.mk K O x hT (1) (a + 7) (12)
try rw [show (a + 7) + (12) + 1 + (1) = a + 21 by lib_nat] at h
try rw [show (a + 7) + (12) + 1 = a + 20 by lib_nat] at h
try rw [show (a + 7) + (1) = a + 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 10)))))) := by
have h := A2.mk K O x hT (2) (a + 7) (12)
try rw [show (a + 7) + (12) + 1 + (2) = a + 22 by lib_nat] at h
try rw [show (a + 7) + (12) + 1 = a + 20 by lib_nat] at h
try rw [show (a + 7) + (2) = a + 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 11)))))) := by
have h := A2.mk K O x hT (3) (a + 7) (12)
try rw [show (a + 7) + (12) + 1 + (3) = a + 23 by lib_nat] at h
try rw [show (a + 7) + (12) + 1 = a + 20 by lib_nat] at h
try rw [show (a + 7) + (3) = a + 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (4) (a + 7) (12)
try rw [show (a + 7) + (12) + 1 + (4) = a + 24 by lib_nat] at h
try rw [show (a + 7) + (12) + 1 = a + 20 by lib_nat] at h
try rw [show (a + 7) + (4) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (13) (a + 7) (4)
try rw [show (a + 7) + (4) + 1 + (13) = a + 25 by lib_nat] at h
try rw [show (a + 7) + (4) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 7) + (13) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (13) (a + 7) (5)
try rw [show (a + 7) + (5) + 1 + (13) = a + 26 by lib_nat] at h
try rw [show (a + 7) + (5) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 7) + (13) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (13) (a + 7) (6)
try rw [show (a + 7) + (6) + 1 + (13) = a + 27 by lib_nat] at h
try rw [show (a + 7) + (6) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 7) + (13) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (13) (a + 7) (7)
try rw [show (a + 7) + (7) + 1 + (13) = a + 28 by lib_nat] at h
try rw [show (a + 7) + (7) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 7) + (13) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (13) (a + 7) (8)
try rw [show (a + 7) + (8) + 1 + (13) = a + 29 by lib_nat] at h
try rw [show (a + 7) + (8) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 7) + (13) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (13) (a + 7) (9)
try rw [show (a + 7) + (9) + 1 + (13) = a + 30 by lib_nat] at h
try rw [show (a + 7) + (9) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 7) + (13) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (13) (a + 7) (10)
try rw [show (a + 7) + (10) + 1 + (13) = a + 31 by lib_nat] at h
try rw [show (a + 7) + (10) + 1 = a + 18 by lib_nat] at h
try rw [show (a + 7) + (13) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (13) (a + 7) (11)
try rw [show (a + 7) + (11) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 7) + (11) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 7) + (13) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (13) (a + 7) (12)
try rw [show (a + 7) + (12) + 1 + (13) = a + 33 by lib_nat] at h
try rw [show (a + 7) + (12) + 1 = a + 20 by lib_nat] at h
try rw [show (a + 7) + (13) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 35))) (K.neg (K.mul (Zs K x (a + 22)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 35))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (14) (a + 7) (12)
try rw [show (a + 7) + (12) + 1 + (14) = a + 34 by lib_nat] at h
try rw [show (a + 7) + (12) + 1 = a + 20 by lib_nat] at h
try rw [show (a + 7) + (14) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + w + 36))) (K.neg (K.mul (Zs K x (a + w + 23)) (Zs K x (a + 21))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + w + 36))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 7) (12)
try rw [show (a + 7) + (12) + 1 + (w + 15) = a + w + 35 by lib_nat] at h
try rw [show (a + 7) + (12) + 1 = a + 20 by lib_nat] at h
try rw [show (a + 7) + (w + 15) = a + w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S09.lean
/-
ym/GenA7S09 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg9 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K x (fun i => x (i + 3)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (2)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (2)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (0)
try rw [show (0) + (0) + 1 + (3) = 4 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (1)
try rw [show (0) + (1) + 1 + (3) = 5 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (2)
try rw [show (0) + (2) + 1 + (3) = 6 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (2)
try rw [show (0) + (2) + 1 + (4) = 7 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (2)
try rw [show (0) + (2) + 1 + (5) = 8 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (2)
try rw [show (0) + (2) + 1 + (6) = 9 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (2)
try rw [show (0) + (2) + 1 + (7) = 10 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (7)
try rw [show (0) + (7) + 1 + (3) = 11 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (8)
try rw [show (0) + (8) + 1 + (3) = 12 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (9)
try rw [show (0) + (9) + 1 + (3) = 13 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (10)
try rw [show (0) + (10) + 1 + (3) = 14 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (11)
try rw [show (0) + (11) + 1 + (3) = 15 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (12)
try rw [show (0) + (12) + 1 + (3) = 16 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (13)
try rw [show (0) + (13) + 1 + (3) = 17 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (w + 16)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (2)
try rw [show (0) + (2) + 1 + (w + 15) = w + 18 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (0)
try rw [show (1) + (0) + 1 + (3) = 5 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (1)
try rw [show (1) + (1) + 1 + (3) = 6 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (2)
try rw [show (1) + (2) + 1 + (3) = 7 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (2)
try rw [show (1) + (2) + 1 + (4) = 8 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (2)
try rw [show (1) + (2) + 1 + (5) = 9 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (2)
try rw [show (1) + (2) + 1 + (6) = 10 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (2)
try rw [show (1) + (2) + 1 + (7) = 11 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (7)
try rw [show (1) + (7) + 1 + (3) = 12 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (8)
try rw [show (1) + (8) + 1 + (3) = 13 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (9)
try rw [show (1) + (9) + 1 + (3) = 14 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (10)
try rw [show (1) + (10) + 1 + (3) = 15 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (11)
try rw [show (1) + (11) + 1 + (3) = 16 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (12)
try rw [show (1) + (12) + 1 + (3) = 17 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (13)
try rw [show (1) + (13) + 1 + (3) = 18 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (w + 17)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (2)
try rw [show (1) + (2) + 1 + (w + 15) = w + 19 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (0)
try rw [show (2) + (0) + 1 + (3) = 6 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (1)
try rw [show (2) + (1) + 1 + (3) = 7 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (2)
try rw [show (2) + (2) + 1 + (3) = 8 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (2)
try rw [show (2) + (2) + 1 + (4) = 9 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (2)
try rw [show (2) + (2) + 1 + (5) = 10 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (2)
try rw [show (2) + (2) + 1 + (6) = 11 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (2)
try rw [show (2) + (2) + 1 + (7) = 12 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (7)
try rw [show (2) + (7) + 1 + (3) = 13 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (8)
try rw [show (2) + (8) + 1 + (3) = 14 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (9)
try rw [show (2) + (9) + 1 + (3) = 15 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (10)
try rw [show (2) + (10) + 1 + (3) = 16 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (11)
try rw [show (2) + (11) + 1 + (3) = 17 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (12)
try rw [show (2) + (12) + 1 + (3) = 18 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (13)
try rw [show (2) + (13) + 1 + (3) = 19 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (w + 18)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (2)
try rw [show (2) + (2) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (0)
try rw [show (3) + (0) + 1 + (3) = 7 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (1)
try rw [show (3) + (1) + 1 + (3) = 8 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (2)
try rw [show (3) + (2) + 1 + (3) = 9 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (2)
try rw [show (3) + (2) + 1 + (4) = 10 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (2)
try rw [show (3) + (2) + 1 + (5) = 11 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (2)
try rw [show (3) + (2) + 1 + (6) = 12 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (2)
try rw [show (3) + (2) + 1 + (7) = 13 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (7)
try rw [show (3) + (7) + 1 + (3) = 14 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (8)
try rw [show (3) + (8) + 1 + (3) = 15 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (9)
try rw [show (3) + (9) + 1 + (3) = 16 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (10)
try rw [show (3) + (10) + 1 + (3) = 17 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (11)
try rw [show (3) + (11) + 1 + (3) = 18 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (12)
try rw [show (3) + (12) + 1 + (3) = 19 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (13)
try rw [show (3) + (13) + 1 + (3) = 20 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (w + 19)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (2)
try rw [show (3) + (2) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (0)
try rw [show (4) + (0) + 1 + (3) = 8 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (1)
try rw [show (4) + (1) + 1 + (3) = 9 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (2)
try rw [show (4) + (2) + 1 + (3) = 10 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (2)
try rw [show (4) + (2) + 1 + (4) = 11 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (2)
try rw [show (4) + (2) + 1 + (5) = 12 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (2)
try rw [show (4) + (2) + 1 + (6) = 13 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (2)
try rw [show (4) + (2) + 1 + (7) = 14 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (7)
try rw [show (4) + (7) + 1 + (3) = 15 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (8)
try rw [show (4) + (8) + 1 + (3) = 16 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (9)
try rw [show (4) + (9) + 1 + (3) = 17 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (11)
try rw [show (4) + (11) + 1 + (3) = 19 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (12)
try rw [show (4) + (12) + 1 + (3) = 20 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (13)
try rw [show (4) + (13) + 1 + (3) = 21 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (w + 20)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (2)
try rw [show (4) + (2) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (0)
try rw [show (5) + (0) + 1 + (3) = 9 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (1)
try rw [show (5) + (1) + 1 + (3) = 10 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (2)
try rw [show (5) + (2) + 1 + (3) = 11 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (2)
try rw [show (5) + (2) + 1 + (4) = 12 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (2)
try rw [show (5) + (2) + 1 + (5) = 13 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (2)
try rw [show (5) + (2) + 1 + (6) = 14 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (2)
try rw [show (5) + (2) + 1 + (7) = 15 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (7)
try rw [show (5) + (7) + 1 + (3) = 16 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (8)
try rw [show (5) + (8) + 1 + (3) = 17 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (9)
try rw [show (5) + (9) + 1 + (3) = 18 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (10)
try rw [show (5) + (10) + 1 + (3) = 19 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (11)
try rw [show (5) + (11) + 1 + (3) = 20 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (12)
try rw [show (5) + (12) + 1 + (3) = 21 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (13)
try rw [show (5) + (13) + 1 + (3) = 22 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (w + 21)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (2)
try rw [show (5) + (2) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (0)
try rw [show (6) + (0) + 1 + (3) = 10 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (1)
try rw [show (6) + (1) + 1 + (3) = 11 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (2)
try rw [show (6) + (2) + 1 + (3) = 12 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (2)
try rw [show (6) + (2) + 1 + (4) = 13 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (2)
try rw [show (6) + (2) + 1 + (5) = 14 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (2)
try rw [show (6) + (2) + 1 + (6) = 15 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (2)
try rw [show (6) + (2) + 1 + (7) = 16 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (7)
try rw [show (6) + (7) + 1 + (3) = 17 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (8)
try rw [show (6) + (8) + 1 + (3) = 18 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (9)
try rw [show (6) + (9) + 1 + (3) = 19 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (10)
try rw [show (6) + (10) + 1 + (3) = 20 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (11)
try rw [show (6) + (11) + 1 + (3) = 21 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (12)
try rw [show (6) + (12) + 1 + (3) = 22 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (13)
try rw [show (6) + (13) + 1 + (3) = 23 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (w + 22)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (2)
try rw [show (6) + (2) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (0)
try rw [show (7) + (0) + 1 + (3) = 11 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (1)
try rw [show (7) + (1) + 1 + (3) = 12 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (2)
try rw [show (7) + (2) + 1 + (3) = 13 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (2)
try rw [show (7) + (2) + 1 + (4) = 14 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (2)
try rw [show (7) + (2) + 1 + (5) = 15 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (2)
try rw [show (7) + (2) + 1 + (6) = 16 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (2)
try rw [show (7) + (2) + 1 + (7) = 17 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (7)
try rw [show (7) + (7) + 1 + (3) = 18 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (8)
try rw [show (7) + (8) + 1 + (3) = 19 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (9)
try rw [show (7) + (9) + 1 + (3) = 20 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (10)
try rw [show (7) + (10) + 1 + (3) = 21 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (11)
try rw [show (7) + (11) + 1 + (3) = 22 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (12)
try rw [show (7) + (12) + 1 + (3) = 23 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (13)
try rw [show (7) + (13) + 1 + (3) = 24 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (w + 23)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (2)
try rw [show (7) + (2) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (0)
try rw [show (8) + (0) + 1 + (3) = 12 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (1)
try rw [show (8) + (1) + 1 + (3) = 13 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (2)
try rw [show (8) + (2) + 1 + (3) = 14 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (2)
try rw [show (8) + (2) + 1 + (4) = 15 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (2)
try rw [show (8) + (2) + 1 + (5) = 16 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (2)
try rw [show (8) + (2) + 1 + (6) = 17 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (2)
try rw [show (8) + (2) + 1 + (7) = 18 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (7)
try rw [show (8) + (7) + 1 + (3) = 19 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (8)
try rw [show (8) + (8) + 1 + (3) = 20 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (9)
try rw [show (8) + (9) + 1 + (3) = 21 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (10)
try rw [show (8) + (10) + 1 + (3) = 22 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (11)
try rw [show (8) + (11) + 1 + (3) = 23 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (12)
try rw [show (8) + (12) + 1 + (3) = 24 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (13)
try rw [show (8) + (13) + 1 + (3) = 25 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (w + 24)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (2)
try rw [show (8) + (2) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (0)
try rw [show (9) + (0) + 1 + (3) = 13 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (1)
try rw [show (9) + (1) + 1 + (3) = 14 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (2)
try rw [show (9) + (2) + 1 + (3) = 15 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (2)
try rw [show (9) + (2) + 1 + (4) = 16 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (2)
try rw [show (9) + (2) + 1 + (5) = 17 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (2)
try rw [show (9) + (2) + 1 + (6) = 18 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (2)
try rw [show (9) + (2) + 1 + (7) = 19 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (7)
try rw [show (9) + (7) + 1 + (3) = 20 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (8)
try rw [show (9) + (8) + 1 + (3) = 21 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (9)
try rw [show (9) + (9) + 1 + (3) = 22 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (10)
try rw [show (9) + (10) + 1 + (3) = 23 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (11)
try rw [show (9) + (11) + 1 + (3) = 24 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (12)
try rw [show (9) + (12) + 1 + (3) = 25 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (13)
try rw [show (9) + (13) + 1 + (3) = 26 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (w + 25)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (2)
try rw [show (9) + (2) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (0)
try rw [show (10) + (0) + 1 + (3) = 14 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (1)
try rw [show (10) + (1) + 1 + (3) = 15 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (2)
try rw [show (10) + (2) + 1 + (3) = 16 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (2)
try rw [show (10) + (2) + 1 + (4) = 17 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (2)
try rw [show (10) + (2) + 1 + (5) = 18 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (2)
try rw [show (10) + (2) + 1 + (6) = 19 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (2)
try rw [show (10) + (2) + 1 + (7) = 20 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (7)
try rw [show (10) + (7) + 1 + (3) = 21 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (8)
try rw [show (10) + (8) + 1 + (3) = 22 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (9)
try rw [show (10) + (9) + 1 + (3) = 23 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (10)
try rw [show (10) + (10) + 1 + (3) = 24 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (11)
try rw [show (10) + (11) + 1 + (3) = 25 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (12)
try rw [show (10) + (12) + 1 + (3) = 26 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (13)
try rw [show (10) + (13) + 1 + (3) = 27 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (w + 26)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (2)
try rw [show (10) + (2) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (10) + (2) + 1 = 13 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (0)
try rw [show (11) + (0) + 1 + (3) = 15 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (1)
try rw [show (11) + (1) + 1 + (3) = 16 by lib_nat] at h
try rw [show (11) + (1) + 1 = 13 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (2)
try rw [show (11) + (2) + 1 + (3) = 17 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (2)
try rw [show (11) + (2) + 1 + (4) = 18 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (2)
try rw [show (11) + (2) + 1 + (5) = 19 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (2)
try rw [show (11) + (2) + 1 + (6) = 20 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (2)
try rw [show (11) + (2) + 1 + (7) = 21 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (7)
try rw [show (11) + (7) + 1 + (3) = 22 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (8)
try rw [show (11) + (8) + 1 + (3) = 23 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (9)
try rw [show (11) + (9) + 1 + (3) = 24 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (10)
try rw [show (11) + (10) + 1 + (3) = 25 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (11)
try rw [show (11) + (11) + 1 + (3) = 26 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (12)
try rw [show (11) + (12) + 1 + (3) = 27 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (13)
try rw [show (11) + (13) + 1 + (3) = 28 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (w + 27)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (2)
try rw [show (11) + (2) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (11) + (2) + 1 = 14 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (0)
try rw [show (12) + (0) + 1 + (3) = 16 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (1)
try rw [show (12) + (1) + 1 + (3) = 17 by lib_nat] at h
try rw [show (12) + (1) + 1 = 14 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (2)
try rw [show (12) + (2) + 1 + (3) = 18 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (2)
try rw [show (12) + (2) + 1 + (4) = 19 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (2)
try rw [show (12) + (2) + 1 + (5) = 20 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (2)
try rw [show (12) + (2) + 1 + (6) = 21 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (2)
try rw [show (12) + (2) + 1 + (7) = 22 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (7)
try rw [show (12) + (7) + 1 + (3) = 23 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (8)
try rw [show (12) + (8) + 1 + (3) = 24 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (9)
try rw [show (12) + (9) + 1 + (3) = 25 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (10)
try rw [show (12) + (10) + 1 + (3) = 26 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (11)
try rw [show (12) + (11) + 1 + (3) = 27 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (29))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (12)
try rw [show (12) + (12) + 1 + (3) = 28 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (30))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (13)
try rw [show (12) + (13) + 1 + (3) = 29 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (w + 28)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (2)
try rw [show (12) + (2) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (12) + (2) + 1 = 15 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (3) (a + 13) (0)
try rw [show (a + 13) + (0) + 1 + (3) = a + 17 by lib_nat] at h
try rw [show (a + 13) + (0) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 13) + (3) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (3) (a + 13) (1)
try rw [show (a + 13) + (1) + 1 + (3) = a + 18 by lib_nat] at h
try rw [show (a + 13) + (1) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 13) + (3) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (3) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (3) = a + 19 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (3) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (4) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (4) = a + 20 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (4) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (5) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (5) = a + 21 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (5) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (6) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (6) = a + 22 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (6) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (7) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (7) = a + 23 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (7) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 22)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (8) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (8) = a + 24 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (8) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 23)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (9) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (9) = a + 25 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (9) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 24)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (10) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (10) = a + 26 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (10) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 25)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (11) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (11) = a + 27 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (11) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 26)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (12) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (12) = a + 28 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (12) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 27)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (13) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (13) = a + 29 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (13) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 28)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (14) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (14) = a + 30 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (14) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + w + 32))) (K.neg (K.mul (Zs K x (a + w + 29)) (Zs K x (a + 17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 14)) (Zs K x (a + w + 32))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 13) (2)
try rw [show (a + 13) + (2) + 1 + (w + 15) = a + w + 31 by lib_nat] at h
try rw [show (a + 13) + (2) + 1 = a + 16 by lib_nat] at h
try rw [show (a + 13) + (w + 15) = a + w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S10.lean
/-
ym/GenA7S10 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg10 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (Zs K (Zs K (Zs K (Zs K x))))) (Zs K (pv3 K x)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (4))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (3)) (Zs K x (5)))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul (Zs K x (1)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (Zs K x (2)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (Zs K x (3)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (Zs K x (4)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (5)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (6)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (7)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (8)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (9)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (10)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (w + 16))) (Zs K x (w + 18)))) (K.neg (K.mul (Zs K x (w + 11)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (3)) (Zs K x (5)))) (K.neg (K.mul K.zero (Zs K x (4))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))) (K.neg (K.mul K.zero (Zs K x (4))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))) (K.neg (K.mul K.zero (Zs K x (4))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul (Zs K x (1)) (Zs K x (4))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (0)) (hx (3))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (Zs K x (2)) (Zs K x (4))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (2)) (hx (3))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (3)) (hx (3))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (5)) (Zs K x (4))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (3)) (hx (4))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (6)) (Zs K x (4))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (7)) (Zs K x (4))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (8)) (Zs K x (4))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (9)) (Zs K x (4))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (3)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (3)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (3)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (w + 17))) (Zs K x (w + 19)))) (K.neg (K.mul (Zs K x (w + 12)) (Zs K x (4))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))) (K.neg (K.mul K.zero (K.add (Zs K x (3)) (Zs K x (5)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))) (K.neg (K.mul K.zero (K.add (Zs K x (3)) (Zs K x (5)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul (Zs K x (1)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (4))))) := A1.Dn K O x hD (0) (3) (0) (1) (2) (3) (4) (5) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (Zs K x (2)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (1)) (hx (4))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (Zs K x (3)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (2)) (hx (2))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (Zs K x (4)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (2)) (hx (3))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (3)) (hx (4))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (5)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (4)) (hx (4))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (6)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (7)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (8)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (9)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (10)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (11)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (12)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (2)) (hx (11))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (4)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (w + 18))) (Zs K x (w + 20)))) (K.neg (K.mul (Zs K x (w + 13)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 12))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))) (K.neg (K.mul K.zero (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul (Zs K x (1)) (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (3))))) := A1.Dn K O x hD (0) (2) (0) (1) (2) (2) (3) (4) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (5))))) := A1.Dn K O x hD (0) (4) (0) (1) (2) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (4))))) := A1.Dn K O x hD (1) (2) (1) (2) (3) (3) (4) (5) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (2)) (hx (3))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (Zs K x (2)) (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (4))))) := A1.Dn K O x hD (0) (3) (0) (1) (2) (3) (4) (5) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (3))))) := A1.Dn K O x hD (1) (1) (1) (2) (3) (2) (3) (4) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))))) := A1.Dn K O x hD (1) (3) (1) (2) (3) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (4))))) := A1.Dn K O x hD (2) (1) (2) (3) (4) (3) (4) (5) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t4 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
have t5 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (3)) (hx (3))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (2)) (hx (3))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (3)) (hx (3))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (1)) (hx (4))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (3)) (hx (4))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (5)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (3)) (hx (7))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (5)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (3)) (hx (8))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (5)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (3)) (hx (9))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (5)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (3)) (hx (10))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (5)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (3)) (hx (11))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (5)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (3)) (hx (12))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (5)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (w + 19))) (Zs K x (w + 21)))) (K.neg (K.mul (Zs K x (w + 14)) (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (1)) (hx (w + 13))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 13))
have t2 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (5)) (hx (w + 13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (2))))) := A1.Dn K O x hD (0) (1) (0) (1) (2) (1) (2) (3) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (6))))) := A1.Dn K O x hD (0) (5) (0) (1) (2) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (2))) := O.mul_nonneg _ _ (hx (1)) (hx (1))
have t3 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (5))))) := A1.Dn K O x hD (0) (4) (0) (1) (2) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (4))))) := A1.Dn K O x hD (1) (2) (1) (2) (3) (3) (4) (5) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (6))))) := A1.Dn K O x hD (1) (4) (1) (2) (3) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (2))) := O.mul_nonneg _ _ (hx (0)) (hx (1))
have t4 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (2)) (hx (3))
have t5 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (0)) (hx (2))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (2)) (hx (2))
have t2 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (0)) (hx (3))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (2)) (hx (3))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (3)) (hx (4))
have t3 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (3)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (0)) (hx (4))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (4)) (hx (4))
have t3 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (0)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (4)) (hx (5))
have t3 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (5)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (0)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (4)) (hx (6))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (6)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (0)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (4)) (hx (7))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (6)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (0)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (4)) (hx (8))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (6)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (0)) (hx (9))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (4)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (6)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (0)) (hx (10))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (6)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (0)) (hx (11))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (2)) (hx (11))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (4)) (hx (11))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (6)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (0)) (hx (12))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (2)) (hx (12))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (4)) (hx (12))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (6)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (0)) (hx (13))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (2)) (hx (13))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (4)) (hx (13))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (6)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (w + 20))) (Zs K x (w + 22)))) (K.neg (K.mul (Zs K x (w + 15)) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (0)) (hx (w + 14))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 14))
have t2 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 14))
have t3 : O.le K.zero (K.mul (Zs K x (7)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (6)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (1)
try rw [show (0) + (1) + 1 + (2) = 4 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (1)
try rw [show (0) + (1) + 1 + (6) = 8 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (3))))) := A1.Dn K O x hD (1) (1) (1) (2) (3) (2) (3) (4) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (7))))) := A1.Dn K O x hD (1) (5) (1) (2) (3) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (4))) (K.neg (K.mul (Zs K x (2)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (0)
try rw [show (0) + (0) + 1 + (2) = 3 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (1)
try rw [show (0) + (1) + 1 + (3) = 5 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (1)
try rw [show (0) + (1) + 1 + (5) = 7 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (1)
try rw [show (0) + (1) + 1 + (7) = 9 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (2)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (0)
try rw [show (0) + (0) + 1 + (3) = 4 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (2)
try rw [show (0) + (2) + 1 + (3) = 6 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (2)
try rw [show (0) + (2) + 1 + (5) = 8 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (2)
try rw [show (0) + (2) + 1 + (7) = 10 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (2)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (0)
try rw [show (0) + (0) + 1 + (4) = 5 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (2)
try rw [show (0) + (2) + 1 + (4) = 7 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (3)
try rw [show (0) + (3) + 1 + (5) = 9 by lib_nat] at h
try rw [show (0) + (3) + 1 = 4 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (3)
try rw [show (0) + (3) + 1 + (7) = 11 by lib_nat] at h
try rw [show (0) + (3) + 1 = 4 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (2)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (0)
try rw [show (0) + (0) + 1 + (5) = 6 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (2)
try rw [show (0) + (2) + 1 + (5) = 8 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (4)
try rw [show (0) + (4) + 1 + (5) = 10 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (4)
try rw [show (0) + (4) + 1 + (7) = 12 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (2)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (0)
try rw [show (0) + (0) + 1 + (6) = 7 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (2)
try rw [show (0) + (2) + 1 + (6) = 9 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (4)
try rw [show (0) + (4) + 1 + (6) = 11 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (5)
try rw [show (0) + (5) + 1 + (7) = 13 by lib_nat] at h
try rw [show (0) + (5) + 1 = 6 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (2)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (0)
try rw [show (0) + (0) + 1 + (7) = 8 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (2)
try rw [show (0) + (2) + 1 + (7) = 10 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (4)
try rw [show (0) + (4) + 1 + (7) = 12 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (6)
try rw [show (0) + (6) + 1 + (7) = 14 by lib_nat] at h
try rw [show (0) + (6) + 1 = 7 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (7)
try rw [show (0) + (7) + 1 + (1) = 9 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (7)
try rw [show (0) + (7) + 1 + (3) = 11 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (7)
try rw [show (0) + (7) + 1 + (5) = 13 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (7)
try rw [show (0) + (7) + 1 + (7) = 15 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (8)
try rw [show (0) + (8) + 1 + (1) = 10 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (8)
try rw [show (0) + (8) + 1 + (3) = 12 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (8)
try rw [show (0) + (8) + 1 + (5) = 14 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (8)
try rw [show (0) + (8) + 1 + (7) = 16 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (9)
try rw [show (0) + (9) + 1 + (1) = 11 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (9)
try rw [show (0) + (9) + 1 + (3) = 13 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (9)
try rw [show (0) + (9) + 1 + (5) = 15 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (9)
try rw [show (0) + (9) + 1 + (7) = 17 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (10)
try rw [show (0) + (10) + 1 + (1) = 12 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (10)
try rw [show (0) + (10) + 1 + (3) = 14 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (10)
try rw [show (0) + (10) + 1 + (5) = 16 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (10)
try rw [show (0) + (10) + 1 + (7) = 18 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (11)
try rw [show (0) + (11) + 1 + (1) = 13 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (11)
try rw [show (0) + (11) + 1 + (3) = 15 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (11)
try rw [show (0) + (11) + 1 + (5) = 17 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (11)
try rw [show (0) + (11) + 1 + (7) = 19 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (12)
try rw [show (0) + (12) + 1 + (1) = 14 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (12)
try rw [show (0) + (12) + 1 + (3) = 16 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (12)
try rw [show (0) + (12) + 1 + (5) = 18 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (12)
try rw [show (0) + (12) + 1 + (7) = 20 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (13)
try rw [show (0) + (13) + 1 + (1) = 15 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (13)
try rw [show (0) + (13) + 1 + (3) = 17 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (13)
try rw [show (0) + (13) + 1 + (5) = 19 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (13)
try rw [show (0) + (13) + 1 + (7) = 21 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (K.add (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (w + 21))) (Zs K x (w + 23)))) (K.neg (K.mul (Zs K x (w + 16)) (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (2)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (0)
try rw [show (0) + (0) + 1 + (w + 15) = w + 16 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (2)
try rw [show (0) + (2) + 1 + (w + 15) = w + 18 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (4)
try rw [show (0) + (4) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (0) + (4) + 1 = 5 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (6)
try rw [show (0) + (6) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (0) + (6) + 1 = 7 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (1)
try rw [show (1) + (1) + 1 + (2) = 5 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (1)
try rw [show (1) + (1) + 1 + (6) = 9 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (4))))) := A1.Dn K O x hD (2) (1) (2) (3) (4) (3) (4) (5) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (8))))) := A1.Dn K O x hD (2) (5) (2) (3) (4) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (0)
try rw [show (1) + (0) + 1 + (2) = 4 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (1)
try rw [show (1) + (1) + 1 + (3) = 6 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (1)
try rw [show (1) + (1) + 1 + (5) = 8 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (1)
try rw [show (1) + (1) + 1 + (7) = 10 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (0)
try rw [show (1) + (0) + 1 + (3) = 5 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (2)
try rw [show (1) + (2) + 1 + (3) = 7 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (2)
try rw [show (1) + (2) + 1 + (5) = 9 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (2)
try rw [show (1) + (2) + 1 + (7) = 11 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (0)
try rw [show (1) + (0) + 1 + (4) = 6 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (2)
try rw [show (1) + (2) + 1 + (4) = 8 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (3)
try rw [show (1) + (3) + 1 + (5) = 10 by lib_nat] at h
try rw [show (1) + (3) + 1 = 5 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (3)
try rw [show (1) + (3) + 1 + (7) = 12 by lib_nat] at h
try rw [show (1) + (3) + 1 = 5 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (0)
try rw [show (1) + (0) + 1 + (5) = 7 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (2)
try rw [show (1) + (2) + 1 + (5) = 9 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (4)
try rw [show (1) + (4) + 1 + (5) = 11 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (4)
try rw [show (1) + (4) + 1 + (7) = 13 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (3)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (0)
try rw [show (1) + (0) + 1 + (6) = 8 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (2)
try rw [show (1) + (2) + 1 + (6) = 10 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (4)
try rw [show (1) + (4) + 1 + (6) = 12 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (5)
try rw [show (1) + (5) + 1 + (7) = 14 by lib_nat] at h
try rw [show (1) + (5) + 1 = 7 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (0)
try rw [show (1) + (0) + 1 + (7) = 9 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (2)
try rw [show (1) + (2) + 1 + (7) = 11 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (4)
try rw [show (1) + (4) + 1 + (7) = 13 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (6)
try rw [show (1) + (6) + 1 + (7) = 15 by lib_nat] at h
try rw [show (1) + (6) + 1 = 8 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (7)
try rw [show (1) + (7) + 1 + (1) = 10 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (7)
try rw [show (1) + (7) + 1 + (3) = 12 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (7)
try rw [show (1) + (7) + 1 + (5) = 14 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (7)
try rw [show (1) + (7) + 1 + (7) = 16 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (8)
try rw [show (1) + (8) + 1 + (1) = 11 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (8)
try rw [show (1) + (8) + 1 + (3) = 13 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (8)
try rw [show (1) + (8) + 1 + (5) = 15 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (8)
try rw [show (1) + (8) + 1 + (7) = 17 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (9)
try rw [show (1) + (9) + 1 + (1) = 12 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (9)
try rw [show (1) + (9) + 1 + (3) = 14 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (9)
try rw [show (1) + (9) + 1 + (5) = 16 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (9)
try rw [show (1) + (9) + 1 + (7) = 18 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (10)
try rw [show (1) + (10) + 1 + (1) = 13 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (10)
try rw [show (1) + (10) + 1 + (3) = 15 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (10)
try rw [show (1) + (10) + 1 + (5) = 17 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (10)
try rw [show (1) + (10) + 1 + (7) = 19 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (11)
try rw [show (1) + (11) + 1 + (1) = 14 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (11)
try rw [show (1) + (11) + 1 + (3) = 16 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (11)
try rw [show (1) + (11) + 1 + (5) = 18 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (11)
try rw [show (1) + (11) + 1 + (7) = 20 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (12)
try rw [show (1) + (12) + 1 + (1) = 15 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (12)
try rw [show (1) + (12) + 1 + (3) = 17 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (12)
try rw [show (1) + (12) + 1 + (5) = 19 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (12)
try rw [show (1) + (12) + 1 + (7) = 21 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (13)
try rw [show (1) + (13) + 1 + (1) = 16 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (13)
try rw [show (1) + (13) + 1 + (3) = 18 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (13)
try rw [show (1) + (13) + 1 + (5) = 20 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (13)
try rw [show (1) + (13) + 1 + (7) = 22 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (K.add (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (w + 22))) (Zs K x (w + 24)))) (K.neg (K.mul (Zs K x (w + 17)) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (3)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (0)
try rw [show (1) + (0) + 1 + (w + 15) = w + 17 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (2)
try rw [show (1) + (2) + 1 + (w + 15) = w + 19 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (4)
try rw [show (1) + (4) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (1) + (4) + 1 = 6 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (6)
try rw [show (1) + (6) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (1) + (6) + 1 = 8 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (1)
try rw [show (2) + (1) + 1 + (2) = 6 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (1)
try rw [show (2) + (1) + 1 + (6) = 10 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (5))))) := A1.Dn K O x hD (3) (1) (3) (4) (5) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (9))))) := A1.Dn K O x hD (3) (5) (3) (4) (5) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (0)
try rw [show (2) + (0) + 1 + (2) = 5 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (1)
try rw [show (2) + (1) + 1 + (3) = 7 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (1)
try rw [show (2) + (1) + 1 + (5) = 9 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (1)
try rw [show (2) + (1) + 1 + (7) = 11 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (0)
try rw [show (2) + (0) + 1 + (3) = 6 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (2)
try rw [show (2) + (2) + 1 + (3) = 8 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (2)
try rw [show (2) + (2) + 1 + (5) = 10 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (2)
try rw [show (2) + (2) + 1 + (7) = 12 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (0)
try rw [show (2) + (0) + 1 + (4) = 7 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (2)
try rw [show (2) + (2) + 1 + (4) = 9 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (3)
try rw [show (2) + (3) + 1 + (5) = 11 by lib_nat] at h
try rw [show (2) + (3) + 1 = 6 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (3)
try rw [show (2) + (3) + 1 + (7) = 13 by lib_nat] at h
try rw [show (2) + (3) + 1 = 6 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (0)
try rw [show (2) + (0) + 1 + (5) = 8 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (2)
try rw [show (2) + (2) + 1 + (5) = 10 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (4)
try rw [show (2) + (4) + 1 + (5) = 12 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (4)
try rw [show (2) + (4) + 1 + (7) = 14 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (0)
try rw [show (2) + (0) + 1 + (6) = 9 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (2)
try rw [show (2) + (2) + 1 + (6) = 11 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (4)
try rw [show (2) + (4) + 1 + (6) = 13 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (5)
try rw [show (2) + (5) + 1 + (7) = 15 by lib_nat] at h
try rw [show (2) + (5) + 1 = 8 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (0)
try rw [show (2) + (0) + 1 + (7) = 10 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (2)
try rw [show (2) + (2) + 1 + (7) = 12 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (4)
try rw [show (2) + (4) + 1 + (7) = 14 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (6)
try rw [show (2) + (6) + 1 + (7) = 16 by lib_nat] at h
try rw [show (2) + (6) + 1 = 9 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (7)
try rw [show (2) + (7) + 1 + (1) = 11 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (7)
try rw [show (2) + (7) + 1 + (3) = 13 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (7)
try rw [show (2) + (7) + 1 + (5) = 15 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (7)
try rw [show (2) + (7) + 1 + (7) = 17 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (8)
try rw [show (2) + (8) + 1 + (1) = 12 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (8)
try rw [show (2) + (8) + 1 + (3) = 14 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (8)
try rw [show (2) + (8) + 1 + (5) = 16 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (8)
try rw [show (2) + (8) + 1 + (7) = 18 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (9)
try rw [show (2) + (9) + 1 + (1) = 13 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (9)
try rw [show (2) + (9) + 1 + (3) = 15 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (9)
try rw [show (2) + (9) + 1 + (5) = 17 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (9)
try rw [show (2) + (9) + 1 + (7) = 19 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (10)
try rw [show (2) + (10) + 1 + (1) = 14 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (10)
try rw [show (2) + (10) + 1 + (3) = 16 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (10)
try rw [show (2) + (10) + 1 + (5) = 18 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (10)
try rw [show (2) + (10) + 1 + (7) = 20 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (11)
try rw [show (2) + (11) + 1 + (1) = 15 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (11)
try rw [show (2) + (11) + 1 + (3) = 17 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (11)
try rw [show (2) + (11) + 1 + (5) = 19 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (11)
try rw [show (2) + (11) + 1 + (7) = 21 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (12)
try rw [show (2) + (12) + 1 + (1) = 16 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (12)
try rw [show (2) + (12) + 1 + (3) = 18 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (12)
try rw [show (2) + (12) + 1 + (5) = 20 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (12)
try rw [show (2) + (12) + 1 + (7) = 22 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (17)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (13)
try rw [show (2) + (13) + 1 + (1) = 17 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (13)
try rw [show (2) + (13) + 1 + (3) = 19 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (13)
try rw [show (2) + (13) + 1 + (5) = 21 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (13)
try rw [show (2) + (13) + 1 + (7) = 23 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (K.add (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (w + 23))) (Zs K x (w + 25)))) (K.neg (K.mul (Zs K x (w + 18)) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (0)
try rw [show (2) + (0) + 1 + (w + 15) = w + 18 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (2)
try rw [show (2) + (2) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (4)
try rw [show (2) + (4) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (2) + (4) + 1 = 7 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (6)
try rw [show (2) + (6) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (2) + (6) + 1 = 9 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (1)
try rw [show (3) + (1) + 1 + (2) = 7 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (1)
try rw [show (3) + (1) + 1 + (6) = 11 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (6))))) := A1.Dn K O x hD (4) (1) (4) (5) (6) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))))) := A1.Dn K O x hD (4) (5) (4) (5) (6) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (0)
try rw [show (3) + (0) + 1 + (2) = 6 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (1)
try rw [show (3) + (1) + 1 + (3) = 8 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (1)
try rw [show (3) + (1) + 1 + (5) = 10 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (1)
try rw [show (3) + (1) + 1 + (7) = 12 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (0)
try rw [show (3) + (0) + 1 + (3) = 7 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (2)
try rw [show (3) + (2) + 1 + (3) = 9 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (2)
try rw [show (3) + (2) + 1 + (5) = 11 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (2)
try rw [show (3) + (2) + 1 + (7) = 13 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (0)
try rw [show (3) + (0) + 1 + (4) = 8 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (2)
try rw [show (3) + (2) + 1 + (4) = 10 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (3)
try rw [show (3) + (3) + 1 + (5) = 12 by lib_nat] at h
try rw [show (3) + (3) + 1 = 7 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (3)
try rw [show (3) + (3) + 1 + (7) = 14 by lib_nat] at h
try rw [show (3) + (3) + 1 = 7 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (0)
try rw [show (3) + (0) + 1 + (5) = 9 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (2)
try rw [show (3) + (2) + 1 + (5) = 11 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (4)
try rw [show (3) + (4) + 1 + (5) = 13 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (4)
try rw [show (3) + (4) + 1 + (7) = 15 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (0)
try rw [show (3) + (0) + 1 + (6) = 10 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (2)
try rw [show (3) + (2) + 1 + (6) = 12 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (4)
try rw [show (3) + (4) + 1 + (6) = 14 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (5)
try rw [show (3) + (5) + 1 + (7) = 16 by lib_nat] at h
try rw [show (3) + (5) + 1 = 9 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (0)
try rw [show (3) + (0) + 1 + (7) = 11 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (2)
try rw [show (3) + (2) + 1 + (7) = 13 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (4)
try rw [show (3) + (4) + 1 + (7) = 15 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (6)
try rw [show (3) + (6) + 1 + (7) = 17 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (7)
try rw [show (3) + (7) + 1 + (1) = 12 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (7)
try rw [show (3) + (7) + 1 + (3) = 14 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (7)
try rw [show (3) + (7) + 1 + (5) = 16 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (7)
try rw [show (3) + (7) + 1 + (7) = 18 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (8)
try rw [show (3) + (8) + 1 + (1) = 13 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (8)
try rw [show (3) + (8) + 1 + (3) = 15 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (8)
try rw [show (3) + (8) + 1 + (5) = 17 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (8)
try rw [show (3) + (8) + 1 + (7) = 19 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (9)
try rw [show (3) + (9) + 1 + (1) = 14 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (9)
try rw [show (3) + (9) + 1 + (3) = 16 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (9)
try rw [show (3) + (9) + 1 + (5) = 18 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (9)
try rw [show (3) + (9) + 1 + (7) = 20 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (10)
try rw [show (3) + (10) + 1 + (1) = 15 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (10)
try rw [show (3) + (10) + 1 + (3) = 17 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (10)
try rw [show (3) + (10) + 1 + (5) = 19 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (10)
try rw [show (3) + (10) + 1 + (7) = 21 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (11)
try rw [show (3) + (11) + 1 + (1) = 16 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (11)
try rw [show (3) + (11) + 1 + (3) = 18 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (11)
try rw [show (3) + (11) + 1 + (5) = 20 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (11)
try rw [show (3) + (11) + 1 + (7) = 22 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (17)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (12)
try rw [show (3) + (12) + 1 + (1) = 17 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (12)
try rw [show (3) + (12) + 1 + (3) = 19 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (12)
try rw [show (3) + (12) + 1 + (5) = 21 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (12)
try rw [show (3) + (12) + 1 + (7) = 23 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (18)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (13)
try rw [show (3) + (13) + 1 + (1) = 18 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (13)
try rw [show (3) + (13) + 1 + (3) = 20 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (13)
try rw [show (3) + (13) + 1 + (5) = 22 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (13)
try rw [show (3) + (13) + 1 + (7) = 24 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (w + 24))) (Zs K x (w + 26)))) (K.neg (K.mul (Zs K x (w + 19)) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (0)
try rw [show (3) + (0) + 1 + (w + 15) = w + 19 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (2)
try rw [show (3) + (2) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (4)
try rw [show (3) + (4) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (6)
try rw [show (3) + (6) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (1)
try rw [show (4) + (1) + 1 + (2) = 8 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (1)
try rw [show (4) + (1) + 1 + (6) = 12 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))) := A1.Dn K O x hD (5) (1) (5) (6) (7) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (11))))) := A1.Dn K O x hD (5) (5) (5) (6) (7) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (0)
try rw [show (4) + (0) + 1 + (2) = 7 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (1)
try rw [show (4) + (1) + 1 + (3) = 9 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (1)
try rw [show (4) + (1) + 1 + (5) = 11 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (1)
try rw [show (4) + (1) + 1 + (7) = 13 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (0)
try rw [show (4) + (0) + 1 + (3) = 8 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (2)
try rw [show (4) + (2) + 1 + (3) = 10 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (2)
try rw [show (4) + (2) + 1 + (5) = 12 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (2)
try rw [show (4) + (2) + 1 + (7) = 14 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (0)
try rw [show (4) + (0) + 1 + (4) = 9 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (2)
try rw [show (4) + (2) + 1 + (4) = 11 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (3)
try rw [show (4) + (3) + 1 + (5) = 13 by lib_nat] at h
try rw [show (4) + (3) + 1 = 8 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (3)
try rw [show (4) + (3) + 1 + (7) = 15 by lib_nat] at h
try rw [show (4) + (3) + 1 = 8 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (0)
try rw [show (4) + (0) + 1 + (5) = 10 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (2)
try rw [show (4) + (2) + 1 + (5) = 12 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (4)
try rw [show (4) + (4) + 1 + (5) = 14 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (4)
try rw [show (4) + (4) + 1 + (7) = 16 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (0)
try rw [show (4) + (0) + 1 + (6) = 11 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (2)
try rw [show (4) + (2) + 1 + (6) = 13 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (4)
try rw [show (4) + (4) + 1 + (6) = 15 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (5)
try rw [show (4) + (5) + 1 + (7) = 17 by lib_nat] at h
try rw [show (4) + (5) + 1 = 10 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (0)
try rw [show (4) + (0) + 1 + (7) = 12 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (2)
try rw [show (4) + (2) + 1 + (7) = 14 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (4)
try rw [show (4) + (4) + 1 + (7) = 16 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (6)
try rw [show (4) + (6) + 1 + (7) = 18 by lib_nat] at h
try rw [show (4) + (6) + 1 = 11 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (7)
try rw [show (4) + (7) + 1 + (1) = 13 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (7)
try rw [show (4) + (7) + 1 + (3) = 15 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (7)
try rw [show (4) + (7) + 1 + (5) = 17 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (7)
try rw [show (4) + (7) + 1 + (7) = 19 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (8)
try rw [show (4) + (8) + 1 + (1) = 14 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (8)
try rw [show (4) + (8) + 1 + (3) = 16 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (8)
try rw [show (4) + (8) + 1 + (5) = 18 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (8)
try rw [show (4) + (8) + 1 + (7) = 20 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (9)
try rw [show (4) + (9) + 1 + (1) = 15 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (9)
try rw [show (4) + (9) + 1 + (3) = 17 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (9)
try rw [show (4) + (9) + 1 + (5) = 19 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (9)
try rw [show (4) + (9) + 1 + (7) = 21 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (10)
try rw [show (4) + (10) + 1 + (1) = 16 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (10)
try rw [show (4) + (10) + 1 + (5) = 20 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (10)
try rw [show (4) + (10) + 1 + (7) = 22 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (17)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (11)
try rw [show (4) + (11) + 1 + (1) = 17 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (11)
try rw [show (4) + (11) + 1 + (3) = 19 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (11)
try rw [show (4) + (11) + 1 + (5) = 21 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (11)
try rw [show (4) + (11) + 1 + (7) = 23 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (18)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (12)
try rw [show (4) + (12) + 1 + (1) = 18 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (12)
try rw [show (4) + (12) + 1 + (3) = 20 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (12)
try rw [show (4) + (12) + 1 + (5) = 22 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (12)
try rw [show (4) + (12) + 1 + (7) = 24 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (19)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (13)
try rw [show (4) + (13) + 1 + (1) = 19 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (13)
try rw [show (4) + (13) + 1 + (3) = 21 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (13)
try rw [show (4) + (13) + 1 + (5) = 23 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (13)
try rw [show (4) + (13) + 1 + (7) = 25 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (K.add (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (w + 25))) (Zs K x (w + 27)))) (K.neg (K.mul (Zs K x (w + 20)) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (0)
try rw [show (4) + (0) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (2)
try rw [show (4) + (2) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (4)
try rw [show (4) + (4) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (4) + (4) + 1 = 9 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (6)
try rw [show (4) + (6) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (4) + (6) + 1 = 11 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (1)
try rw [show (5) + (1) + 1 + (2) = 9 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (1)
try rw [show (5) + (1) + 1 + (6) = 13 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (8))))) := A1.Dn K O x hD (6) (1) (6) (7) (8) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (12))))) := A1.Dn K O x hD (6) (5) (6) (7) (8) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (0)
try rw [show (5) + (0) + 1 + (2) = 8 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (1)
try rw [show (5) + (1) + 1 + (3) = 10 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (1)
try rw [show (5) + (1) + 1 + (5) = 12 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (1)
try rw [show (5) + (1) + 1 + (7) = 14 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (0)
try rw [show (5) + (0) + 1 + (3) = 9 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (2)
try rw [show (5) + (2) + 1 + (3) = 11 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (2)
try rw [show (5) + (2) + 1 + (5) = 13 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (2)
try rw [show (5) + (2) + 1 + (7) = 15 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (0)
try rw [show (5) + (0) + 1 + (4) = 10 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (2)
try rw [show (5) + (2) + 1 + (4) = 12 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (3)
try rw [show (5) + (3) + 1 + (5) = 14 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (3)
try rw [show (5) + (3) + 1 + (7) = 16 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (0)
try rw [show (5) + (0) + 1 + (5) = 11 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (2)
try rw [show (5) + (2) + 1 + (5) = 13 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (4)
try rw [show (5) + (4) + 1 + (5) = 15 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (4)
try rw [show (5) + (4) + 1 + (7) = 17 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (0)
try rw [show (5) + (0) + 1 + (6) = 12 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (2)
try rw [show (5) + (2) + 1 + (6) = 14 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (4)
try rw [show (5) + (4) + 1 + (6) = 16 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (5)
try rw [show (5) + (5) + 1 + (7) = 18 by lib_nat] at h
try rw [show (5) + (5) + 1 = 11 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (0)
try rw [show (5) + (0) + 1 + (7) = 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (2)
try rw [show (5) + (2) + 1 + (7) = 15 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (4)
try rw [show (5) + (4) + 1 + (7) = 17 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (6)
try rw [show (5) + (6) + 1 + (7) = 19 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (7)
try rw [show (5) + (7) + 1 + (1) = 14 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (7)
try rw [show (5) + (7) + 1 + (3) = 16 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (7)
try rw [show (5) + (7) + 1 + (5) = 18 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (7)
try rw [show (5) + (7) + 1 + (7) = 20 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (8)
try rw [show (5) + (8) + 1 + (3) = 17 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (8)
try rw [show (5) + (8) + 1 + (5) = 19 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (8)
try rw [show (5) + (8) + 1 + (7) = 21 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (9)
try rw [show (5) + (9) + 1 + (1) = 16 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (9)
try rw [show (5) + (9) + 1 + (3) = 18 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (9)
try rw [show (5) + (9) + 1 + (5) = 20 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (9)
try rw [show (5) + (9) + 1 + (7) = 22 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (17)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (10)
try rw [show (5) + (10) + 1 + (1) = 17 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (10)
try rw [show (5) + (10) + 1 + (3) = 19 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (10)
try rw [show (5) + (10) + 1 + (5) = 21 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (10)
try rw [show (5) + (10) + 1 + (7) = 23 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (18)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (11)
try rw [show (5) + (11) + 1 + (1) = 18 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (11)
try rw [show (5) + (11) + 1 + (3) = 20 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (11)
try rw [show (5) + (11) + 1 + (5) = 22 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (11)
try rw [show (5) + (11) + 1 + (7) = 24 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (19)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (12)
try rw [show (5) + (12) + 1 + (1) = 19 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (12)
try rw [show (5) + (12) + 1 + (3) = 21 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (12)
try rw [show (5) + (12) + 1 + (5) = 23 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (12)
try rw [show (5) + (12) + 1 + (7) = 25 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (Zs K x (20)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (13)
try rw [show (5) + (13) + 1 + (1) = 20 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (13)
try rw [show (5) + (13) + 1 + (3) = 22 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (13)
try rw [show (5) + (13) + 1 + (5) = 24 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (13)
try rw [show (5) + (13) + 1 + (7) = 26 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (K.add (K.add (Zs K x (w + 22)) (Zs K x (w + 24))) (Zs K x (w + 26))) (Zs K x (w + 28)))) (K.neg (K.mul (Zs K x (w + 21)) (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (0)
try rw [show (5) + (0) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (2)
try rw [show (5) + (2) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (4)
try rw [show (5) + (4) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (5) + (4) + 1 = 10 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (6)
try rw [show (5) + (6) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (5) + (6) + 1 = 12 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (1)
try rw [show (6) + (1) + 1 + (2) = 10 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (1)
try rw [show (6) + (1) + 1 + (6) = 14 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (9))))) := A1.Dn K O x hD (7) (1) (7) (8) (9) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (13))))) := A1.Dn K O x hD (7) (5) (7) (8) (9) (12) (13) (14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (0)
try rw [show (6) + (0) + 1 + (2) = 9 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (1)
try rw [show (6) + (1) + 1 + (3) = 11 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (1)
try rw [show (6) + (1) + 1 + (5) = 13 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (1)
try rw [show (6) + (1) + 1 + (7) = 15 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (0)
try rw [show (6) + (0) + 1 + (3) = 10 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (2)
try rw [show (6) + (2) + 1 + (3) = 12 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (2)
try rw [show (6) + (2) + 1 + (5) = 14 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (2)
try rw [show (6) + (2) + 1 + (7) = 16 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (0)
try rw [show (6) + (0) + 1 + (4) = 11 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (2)
try rw [show (6) + (2) + 1 + (4) = 13 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (3)
try rw [show (6) + (3) + 1 + (5) = 15 by lib_nat] at h
try rw [show (6) + (3) + 1 = 10 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (3)
try rw [show (6) + (3) + 1 + (7) = 17 by lib_nat] at h
try rw [show (6) + (3) + 1 = 10 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (0)
try rw [show (6) + (0) + 1 + (5) = 12 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (2)
try rw [show (6) + (2) + 1 + (5) = 14 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (4)
try rw [show (6) + (4) + 1 + (5) = 16 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (4)
try rw [show (6) + (4) + 1 + (7) = 18 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (0)
try rw [show (6) + (0) + 1 + (6) = 13 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (2)
try rw [show (6) + (2) + 1 + (6) = 15 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (4)
try rw [show (6) + (4) + 1 + (6) = 17 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (5)
try rw [show (6) + (5) + 1 + (7) = 19 by lib_nat] at h
try rw [show (6) + (5) + 1 = 12 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (0)
try rw [show (6) + (0) + 1 + (7) = 14 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (2)
try rw [show (6) + (2) + 1 + (7) = 16 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (4)
try rw [show (6) + (4) + 1 + (7) = 18 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (6)
try rw [show (6) + (6) + 1 + (7) = 20 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (7)
try rw [show (6) + (7) + 1 + (1) = 15 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (7)
try rw [show (6) + (7) + 1 + (3) = 17 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (7)
try rw [show (6) + (7) + 1 + (5) = 19 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (7)
try rw [show (6) + (7) + 1 + (7) = 21 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (8)
try rw [show (6) + (8) + 1 + (1) = 16 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (8)
try rw [show (6) + (8) + 1 + (3) = 18 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (8)
try rw [show (6) + (8) + 1 + (5) = 20 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (8)
try rw [show (6) + (8) + 1 + (7) = 22 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (17)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (9)
try rw [show (6) + (9) + 1 + (1) = 17 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (9)
try rw [show (6) + (9) + 1 + (3) = 19 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (9)
try rw [show (6) + (9) + 1 + (5) = 21 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (9)
try rw [show (6) + (9) + 1 + (7) = 23 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (18)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (10)
try rw [show (6) + (10) + 1 + (1) = 18 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (10)
try rw [show (6) + (10) + 1 + (3) = 20 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (10)
try rw [show (6) + (10) + 1 + (5) = 22 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (10)
try rw [show (6) + (10) + 1 + (7) = 24 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (19)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (11)
try rw [show (6) + (11) + 1 + (1) = 19 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (11)
try rw [show (6) + (11) + 1 + (3) = 21 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (11)
try rw [show (6) + (11) + 1 + (5) = 23 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (11)
try rw [show (6) + (11) + 1 + (7) = 25 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (Zs K x (20)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (12)
try rw [show (6) + (12) + 1 + (1) = 20 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (12)
try rw [show (6) + (12) + 1 + (3) = 22 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (12)
try rw [show (6) + (12) + 1 + (5) = 24 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (12)
try rw [show (6) + (12) + 1 + (7) = 26 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)))) (K.neg (K.mul (Zs K x (21)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (13)
try rw [show (6) + (13) + 1 + (1) = 21 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (13)
try rw [show (6) + (13) + 1 + (3) = 23 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (13)
try rw [show (6) + (13) + 1 + (5) = 25 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (13)
try rw [show (6) + (13) + 1 + (7) = 27 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (K.add (K.add (Zs K x (w + 23)) (Zs K x (w + 25))) (Zs K x (w + 27))) (Zs K x (w + 29)))) (K.neg (K.mul (Zs K x (w + 22)) (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (0)
try rw [show (6) + (0) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (2)
try rw [show (6) + (2) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (4)
try rw [show (6) + (4) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (6) + (4) + 1 = 11 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (6)
try rw [show (6) + (6) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (6) + (6) + 1 = 13 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (Zs K x (9)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (1)
try rw [show (7) + (1) + 1 + (2) = 11 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (1)
try rw [show (7) + (1) + 1 + (6) = 15 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (10))))) := A1.Dn K O x hD (8) (1) (8) (9) (10) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (14))))) := A1.Dn K O x hD (8) (5) (8) (9) (10) (13) (14) (15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (Zs K x (10)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (0)
try rw [show (7) + (0) + 1 + (2) = 10 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (1)
try rw [show (7) + (1) + 1 + (3) = 12 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (1)
try rw [show (7) + (1) + 1 + (5) = 14 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (1)
try rw [show (7) + (1) + 1 + (7) = 16 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (Zs K x (11)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (0)
try rw [show (7) + (0) + 1 + (3) = 11 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (2)
try rw [show (7) + (2) + 1 + (3) = 13 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (2)
try rw [show (7) + (2) + 1 + (5) = 15 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (2)
try rw [show (7) + (2) + 1 + (7) = 17 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (Zs K x (12)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (0)
try rw [show (7) + (0) + 1 + (4) = 12 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (2)
try rw [show (7) + (2) + 1 + (4) = 14 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (3)
try rw [show (7) + (3) + 1 + (5) = 16 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (3)
try rw [show (7) + (3) + 1 + (7) = 18 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (Zs K x (13)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (0)
try rw [show (7) + (0) + 1 + (5) = 13 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (2)
try rw [show (7) + (2) + 1 + (5) = 15 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (4)
try rw [show (7) + (4) + 1 + (5) = 17 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (4)
try rw [show (7) + (4) + 1 + (7) = 19 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21)))) (K.neg (K.mul (Zs K x (14)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (0)
try rw [show (7) + (0) + 1 + (6) = 14 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (2)
try rw [show (7) + (2) + 1 + (6) = 16 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (4)
try rw [show (7) + (4) + 1 + (6) = 18 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (5)
try rw [show (7) + (5) + 1 + (7) = 20 by lib_nat] at h
try rw [show (7) + (5) + 1 = 13 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20))) (Zs K x (22)))) (K.neg (K.mul (Zs K x (15)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (0)
try rw [show (7) + (0) + 1 + (7) = 15 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (2)
try rw [show (7) + (2) + 1 + (7) = 17 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (4)
try rw [show (7) + (4) + 1 + (7) = 19 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (6)
try rw [show (7) + (6) + 1 + (7) = 21 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (21))) (Zs K x (23)))) (K.neg (K.mul (Zs K x (16)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (7)
try rw [show (7) + (7) + 1 + (1) = 16 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (7)
try rw [show (7) + (7) + 1 + (3) = 18 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (7)
try rw [show (7) + (7) + 1 + (5) = 20 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (7)
try rw [show (7) + (7) + 1 + (7) = 22 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (22))) (Zs K x (24)))) (K.neg (K.mul (Zs K x (17)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (8)
try rw [show (7) + (8) + 1 + (1) = 17 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (8)
try rw [show (7) + (8) + 1 + (3) = 19 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (8)
try rw [show (7) + (8) + 1 + (5) = 21 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (8)
try rw [show (7) + (8) + 1 + (7) = 23 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (23))) (Zs K x (25)))) (K.neg (K.mul (Zs K x (18)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (9)
try rw [show (7) + (9) + 1 + (1) = 18 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (9)
try rw [show (7) + (9) + 1 + (3) = 20 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (9)
try rw [show (7) + (9) + 1 + (5) = 22 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (9)
try rw [show (7) + (9) + 1 + (7) = 24 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (24))) (Zs K x (26)))) (K.neg (K.mul (Zs K x (19)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (10)
try rw [show (7) + (10) + 1 + (1) = 19 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (10)
try rw [show (7) + (10) + 1 + (3) = 21 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (10)
try rw [show (7) + (10) + 1 + (5) = 23 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (10)
try rw [show (7) + (10) + 1 + (7) = 25 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (21)) (Zs K x (23))) (Zs K x (25))) (Zs K x (27)))) (K.neg (K.mul (Zs K x (20)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (11)
try rw [show (7) + (11) + 1 + (1) = 20 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (11)
try rw [show (7) + (11) + 1 + (3) = 22 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (11)
try rw [show (7) + (11) + 1 + (5) = 24 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (11)
try rw [show (7) + (11) + 1 + (7) = 26 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (22)) (Zs K x (24))) (Zs K x (26))) (Zs K x (28)))) (K.neg (K.mul (Zs K x (21)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (12)
try rw [show (7) + (12) + 1 + (1) = 21 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (12)
try rw [show (7) + (12) + 1 + (3) = 23 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (26))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (12)
try rw [show (7) + (12) + 1 + (5) = 25 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (28))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (12)
try rw [show (7) + (12) + 1 + (7) = 27 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (23)) (Zs K x (25))) (Zs K x (27))) (Zs K x (29)))) (K.neg (K.mul (Zs K x (22)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (13)
try rw [show (7) + (13) + 1 + (1) = 22 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (13)
try rw [show (7) + (13) + 1 + (3) = 24 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (27))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (13)
try rw [show (7) + (13) + 1 + (5) = 26 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (29))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (13)
try rw [show (7) + (13) + 1 + (7) = 28 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (K.add (K.add (Zs K x (w + 24)) (Zs K x (w + 26))) (Zs K x (w + 28))) (Zs K x (w + 30)))) (K.neg (K.mul (Zs K x (w + 23)) (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (0)
try rw [show (7) + (0) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (2)
try rw [show (7) + (2) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (4)
try rw [show (7) + (4) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (7) + (4) + 1 = 12 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (6)
try rw [show (7) + (6) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (7) + (6) + 1 = 14 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (Zs K x (a + 17)))) (K.neg (K.mul (Zs K x (a + 10)) (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (5) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (5) = a + 14 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (5) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (7) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (7) = a + 16 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (7) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 13))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 11)))))) := by
have h := A2.mk K O x hT (2) (a + 8) (1)
try rw [show (a + 8) + (1) + 1 + (2) = a + 12 by lib_nat] at h
try rw [show (a + 8) + (1) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 8) + (2) = a + 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 10))) (K.neg (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 9) (1) (a + 9) (a + 10) (a + 11) (a + 10) (a + 11) (a + 12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 16))) (Zs K x (a + 18)))) (K.neg (K.mul (Zs K x (a + 11)) (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 12))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 11)))))) := by
have h := A2.mk K O x hT (2) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (2) = a + 11 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (2) = a + 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 14))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (3) (a + 8) (1)
try rw [show (a + 8) + (1) + 1 + (3) = a + 13 by lib_nat] at h
try rw [show (a + 8) + (1) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 8) + (3) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (5) (a + 8) (1)
try rw [show (a + 8) + (1) + 1 + (5) = a + 15 by lib_nat] at h
try rw [show (a + 8) + (1) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 8) + (5) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (7) (a + 8) (1)
try rw [show (a + 8) + (1) + 1 + (7) = a + 17 by lib_nat] at h
try rw [show (a + 8) + (1) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 8) + (7) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 17))) (Zs K x (a + 19)))) (K.neg (K.mul (Zs K x (a + 12)) (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 13))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (3) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (3) = a + 12 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (3) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (3) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (3) = a + 14 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (3) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (5) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (5) = a + 16 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (5) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (7) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (7) = a + 18 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (7) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18))) (Zs K x (a + 20)))) (K.neg (K.mul (Zs K x (a + 13)) (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 14))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (4) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (4) = a + 13 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (4) = a + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (4) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (4) = a + 15 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (4) = a + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (5) (a + 8) (3)
try rw [show (a + 8) + (3) + 1 + (5) = a + 17 by lib_nat] at h
try rw [show (a + 8) + (3) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 8) + (5) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (7) (a + 8) (3)
try rw [show (a + 8) + (3) + 1 + (7) = a + 19 by lib_nat] at h
try rw [show (a + 8) + (3) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 8) + (7) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19))) (Zs K x (a + 21)))) (K.neg (K.mul (Zs K x (a + 14)) (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (5) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (5) = a + 14 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (5) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (5) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (5) = a + 16 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (5) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (5) (a + 8) (4)
try rw [show (a + 8) + (4) + 1 + (5) = a + 18 by lib_nat] at h
try rw [show (a + 8) + (4) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 8) + (5) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (7) (a + 8) (4)
try rw [show (a + 8) + (4) + 1 + (7) = a + 20 by lib_nat] at h
try rw [show (a + 8) + (4) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 8) + (7) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20))) (Zs K x (a + 22)))) (K.neg (K.mul (Zs K x (a + 15)) (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (6) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (6) = a + 15 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (6) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (6) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (6) = a + 17 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (6) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (6) (a + 8) (4)
try rw [show (a + 8) + (4) + 1 + (6) = a + 19 by lib_nat] at h
try rw [show (a + 8) + (4) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 8) + (6) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (7) (a + 8) (5)
try rw [show (a + 8) + (5) + 1 + (7) = a + 21 by lib_nat] at h
try rw [show (a + 8) + (5) + 1 = a + 14 by lib_nat] at h
try rw [show (a + 8) + (7) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 21))) (Zs K x (a + 23)))) (K.neg (K.mul (Zs K x (a + 16)) (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (7) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (7) = a + 16 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (7) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (7) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (7) = a + 18 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (7) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (7) (a + 8) (4)
try rw [show (a + 8) + (4) + 1 + (7) = a + 20 by lib_nat] at h
try rw [show (a + 8) + (4) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 8) + (7) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (7) (a + 8) (6)
try rw [show (a + 8) + (6) + 1 + (7) = a + 22 by lib_nat] at h
try rw [show (a + 8) + (6) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 8) + (7) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 22))) (Zs K x (a + 24)))) (K.neg (K.mul (Zs K x (a + 17)) (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (8) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (8) = a + 17 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (8) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (8) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (8) = a + 19 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (8) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (8) (a + 8) (4)
try rw [show (a + 8) + (4) + 1 + (8) = a + 21 by lib_nat] at h
try rw [show (a + 8) + (4) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 8) + (8) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (8) (a + 8) (6)
try rw [show (a + 8) + (6) + 1 + (8) = a + 23 by lib_nat] at h
try rw [show (a + 8) + (6) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 8) + (8) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 23))) (Zs K x (a + 25)))) (K.neg (K.mul (Zs K x (a + 18)) (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (9) = a + 18 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (9) = a + 20 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (4)
try rw [show (a + 8) + (4) + 1 + (9) = a + 22 by lib_nat] at h
try rw [show (a + 8) + (4) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (9) (a + 8) (6)
try rw [show (a + 8) + (6) + 1 + (9) = a + 24 by lib_nat] at h
try rw [show (a + 8) + (6) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 8) + (9) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 24))) (Zs K x (a + 26)))) (K.neg (K.mul (Zs K x (a + 19)) (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (10) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (10) = a + 19 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (10) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (10) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (10) = a + 21 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (10) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (10) (a + 8) (4)
try rw [show (a + 8) + (4) + 1 + (10) = a + 23 by lib_nat] at h
try rw [show (a + 8) + (4) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 8) + (10) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (10) (a + 8) (6)
try rw [show (a + 8) + (6) + 1 + (10) = a + 25 by lib_nat] at h
try rw [show (a + 8) + (6) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 8) + (10) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 25))) (Zs K x (a + 27)))) (K.neg (K.mul (Zs K x (a + 20)) (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (11) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (11) = a + 20 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (11) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (11) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (11) = a + 22 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (11) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (11) (a + 8) (4)
try rw [show (a + 8) + (4) + 1 + (11) = a + 24 by lib_nat] at h
try rw [show (a + 8) + (4) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 8) + (11) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (11) (a + 8) (6)
try rw [show (a + 8) + (6) + 1 + (11) = a + 26 by lib_nat] at h
try rw [show (a + 8) + (6) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 8) + (11) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (Zs K x (a + 22)) (Zs K x (a + 24))) (Zs K x (a + 26))) (Zs K x (a + 28)))) (K.neg (K.mul (Zs K x (a + 21)) (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (12) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (12) = a + 21 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (12) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (12) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (12) = a + 23 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (12) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (12) (a + 8) (4)
try rw [show (a + 8) + (4) + 1 + (12) = a + 25 by lib_nat] at h
try rw [show (a + 8) + (4) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 8) + (12) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (12) (a + 8) (6)
try rw [show (a + 8) + (6) + 1 + (12) = a + 27 by lib_nat] at h
try rw [show (a + 8) + (6) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 8) + (12) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (Zs K x (a + 23)) (Zs K x (a + 25))) (Zs K x (a + 27))) (Zs K x (a + 29)))) (K.neg (K.mul (Zs K x (a + 22)) (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (13) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (13) = a + 22 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (13) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (13) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (13) = a + 24 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (13) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (13) (a + 8) (4)
try rw [show (a + 8) + (4) + 1 + (13) = a + 26 by lib_nat] at h
try rw [show (a + 8) + (4) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 8) + (13) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (13) (a + 8) (6)
try rw [show (a + 8) + (6) + 1 + (13) = a + 28 by lib_nat] at h
try rw [show (a + 8) + (6) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 8) + (13) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (Zs K x (a + 24)) (Zs K x (a + 26))) (Zs K x (a + 28))) (Zs K x (a + 30)))) (K.neg (K.mul (Zs K x (a + 23)) (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (14) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (14) = a + 23 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (14) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (14) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (14) = a + 25 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (14) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (14) (a + 8) (4)
try rw [show (a + 8) + (4) + 1 + (14) = a + 27 by lib_nat] at h
try rw [show (a + 8) + (4) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 8) + (14) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (14) (a + 8) (6)
try rw [show (a + 8) + (6) + 1 + (14) = a + 29 by lib_nat] at h
try rw [show (a + 8) + (6) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 8) + (14) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (K.add (K.add (K.add (Zs K x (a + w + 25)) (Zs K x (a + w + 27))) (Zs K x (a + w + 29))) (Zs K x (a + w + 31)))) (K.neg (K.mul (Zs K x (a + w + 24)) (K.add (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (Zs K x (a + 16)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + w + 25))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 8) (0)
try rw [show (a + 8) + (0) + 1 + (w + 15) = a + w + 24 by lib_nat] at h
try rw [show (a + 8) + (0) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 8) + (w + 15) = a + w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + w + 27))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 8) (2)
try rw [show (a + 8) + (2) + 1 + (w + 15) = a + w + 26 by lib_nat] at h
try rw [show (a + 8) + (2) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 8) + (w + 15) = a + w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t2 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + w + 29))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 8) (4)
try rw [show (a + 8) + (4) + 1 + (w + 15) = a + w + 28 by lib_nat] at h
try rw [show (a + 8) + (4) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 8) + (w + 15) = a + w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t3 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + w + 31))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 8) (6)
try rw [show (a + 8) + (6) + 1 + (w + 15) = a + w + 30 by lib_nat] at h
try rw [show (a + 8) + (6) + 1 = a + 15 by lib_nat] at h
try rw [show (a + 8) + (w + 15) = a + w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S11.lean
/-
ym/GenA7S11 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg11 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (fun i => x (i + 3)) (fun i => x (i + 4)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (0)
try rw [show (3) + (0) + 1 + (1) = 5 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (0)
try rw [show (3) + (0) + 1 + (2) = 6 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (0)
try rw [show (3) + (0) + 1 + (3) = 7 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (0)
try rw [show (3) + (0) + 1 + (4) = 8 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (0)
try rw [show (3) + (0) + 1 + (5) = 9 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (0)
try rw [show (3) + (0) + 1 + (6) = 10 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (0)
try rw [show (3) + (0) + 1 + (7) = 11 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (7)
try rw [show (3) + (7) + 1 + (1) = 12 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (8)
try rw [show (3) + (8) + 1 + (1) = 13 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (9)
try rw [show (3) + (9) + 1 + (1) = 14 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (10)
try rw [show (3) + (10) + 1 + (1) = 15 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (11)
try rw [show (3) + (11) + 1 + (1) = 16 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (12)
try rw [show (3) + (12) + 1 + (1) = 17 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (13)
try rw [show (3) + (13) + 1 + (1) = 18 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (w + 19)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (0)
try rw [show (3) + (0) + 1 + (w + 15) = w + 19 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (0)
try rw [show (4) + (0) + 1 + (1) = 6 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (0)
try rw [show (4) + (0) + 1 + (2) = 7 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (0)
try rw [show (4) + (0) + 1 + (3) = 8 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (0)
try rw [show (4) + (0) + 1 + (4) = 9 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (0)
try rw [show (4) + (0) + 1 + (5) = 10 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (0)
try rw [show (4) + (0) + 1 + (6) = 11 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (0)
try rw [show (4) + (0) + 1 + (7) = 12 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (7)
try rw [show (4) + (7) + 1 + (1) = 13 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (8)
try rw [show (4) + (8) + 1 + (1) = 14 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (9)
try rw [show (4) + (9) + 1 + (1) = 15 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (10)
try rw [show (4) + (10) + 1 + (1) = 16 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (11)
try rw [show (4) + (11) + 1 + (1) = 17 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (12)
try rw [show (4) + (12) + 1 + (1) = 18 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (13)
try rw [show (4) + (13) + 1 + (1) = 19 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (w + 20)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (0)
try rw [show (4) + (0) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (0)
try rw [show (5) + (0) + 1 + (1) = 7 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (0)
try rw [show (5) + (0) + 1 + (2) = 8 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (0)
try rw [show (5) + (0) + 1 + (3) = 9 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (0)
try rw [show (5) + (0) + 1 + (4) = 10 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (0)
try rw [show (5) + (0) + 1 + (5) = 11 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (0)
try rw [show (5) + (0) + 1 + (6) = 12 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (0)
try rw [show (5) + (0) + 1 + (7) = 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (7)
try rw [show (5) + (7) + 1 + (1) = 14 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (9)
try rw [show (5) + (9) + 1 + (1) = 16 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (10)
try rw [show (5) + (10) + 1 + (1) = 17 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (11)
try rw [show (5) + (11) + 1 + (1) = 18 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (12)
try rw [show (5) + (12) + 1 + (1) = 19 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (13)
try rw [show (5) + (13) + 1 + (1) = 20 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (w + 21)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (0)
try rw [show (5) + (0) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (0)
try rw [show (6) + (0) + 1 + (1) = 8 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (0)
try rw [show (6) + (0) + 1 + (2) = 9 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (0)
try rw [show (6) + (0) + 1 + (3) = 10 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (0)
try rw [show (6) + (0) + 1 + (4) = 11 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (0)
try rw [show (6) + (0) + 1 + (5) = 12 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (0)
try rw [show (6) + (0) + 1 + (6) = 13 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (0)
try rw [show (6) + (0) + 1 + (7) = 14 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (7)
try rw [show (6) + (7) + 1 + (1) = 15 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (8)
try rw [show (6) + (8) + 1 + (1) = 16 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (9)
try rw [show (6) + (9) + 1 + (1) = 17 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (10)
try rw [show (6) + (10) + 1 + (1) = 18 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (11)
try rw [show (6) + (11) + 1 + (1) = 19 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (12)
try rw [show (6) + (12) + 1 + (1) = 20 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (13)
try rw [show (6) + (13) + 1 + (1) = 21 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (w + 22)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (0)
try rw [show (6) + (0) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (0)
try rw [show (7) + (0) + 1 + (1) = 9 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (0)
try rw [show (7) + (0) + 1 + (2) = 10 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (0)
try rw [show (7) + (0) + 1 + (3) = 11 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (0)
try rw [show (7) + (0) + 1 + (4) = 12 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (0)
try rw [show (7) + (0) + 1 + (5) = 13 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (0)
try rw [show (7) + (0) + 1 + (6) = 14 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (0)
try rw [show (7) + (0) + 1 + (7) = 15 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (7)
try rw [show (7) + (7) + 1 + (1) = 16 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (8)
try rw [show (7) + (8) + 1 + (1) = 17 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (9)
try rw [show (7) + (9) + 1 + (1) = 18 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (10)
try rw [show (7) + (10) + 1 + (1) = 19 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (11)
try rw [show (7) + (11) + 1 + (1) = 20 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (12)
try rw [show (7) + (12) + 1 + (1) = 21 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (13)
try rw [show (7) + (13) + 1 + (1) = 22 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (w + 23)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (0)
try rw [show (7) + (0) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (0)
try rw [show (8) + (0) + 1 + (1) = 10 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (0)
try rw [show (8) + (0) + 1 + (2) = 11 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (0)
try rw [show (8) + (0) + 1 + (3) = 12 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (0)
try rw [show (8) + (0) + 1 + (4) = 13 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (0)
try rw [show (8) + (0) + 1 + (5) = 14 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (0)
try rw [show (8) + (0) + 1 + (6) = 15 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (0)
try rw [show (8) + (0) + 1 + (7) = 16 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (7)
try rw [show (8) + (7) + 1 + (1) = 17 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (8)
try rw [show (8) + (8) + 1 + (1) = 18 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (9)
try rw [show (8) + (9) + 1 + (1) = 19 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (10)
try rw [show (8) + (10) + 1 + (1) = 20 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (11)
try rw [show (8) + (11) + 1 + (1) = 21 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (12)
try rw [show (8) + (12) + 1 + (1) = 22 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (13)
try rw [show (8) + (13) + 1 + (1) = 23 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (w + 24)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (0)
try rw [show (8) + (0) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (0)
try rw [show (9) + (0) + 1 + (1) = 11 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (0)
try rw [show (9) + (0) + 1 + (2) = 12 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (0)
try rw [show (9) + (0) + 1 + (3) = 13 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (0)
try rw [show (9) + (0) + 1 + (4) = 14 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (0)
try rw [show (9) + (0) + 1 + (5) = 15 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (0)
try rw [show (9) + (0) + 1 + (6) = 16 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (0)
try rw [show (9) + (0) + 1 + (7) = 17 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (7)
try rw [show (9) + (7) + 1 + (1) = 18 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (8)
try rw [show (9) + (8) + 1 + (1) = 19 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (9)
try rw [show (9) + (9) + 1 + (1) = 20 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (10)
try rw [show (9) + (10) + 1 + (1) = 21 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (11)
try rw [show (9) + (11) + 1 + (1) = 22 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (12)
try rw [show (9) + (12) + 1 + (1) = 23 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (13)
try rw [show (9) + (13) + 1 + (1) = 24 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (w + 25)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (0)
try rw [show (9) + (0) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (0)
try rw [show (10) + (0) + 1 + (1) = 12 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (0)
try rw [show (10) + (0) + 1 + (2) = 13 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (0)
try rw [show (10) + (0) + 1 + (3) = 14 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (0)
try rw [show (10) + (0) + 1 + (4) = 15 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (0)
try rw [show (10) + (0) + 1 + (5) = 16 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (0)
try rw [show (10) + (0) + 1 + (6) = 17 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (0)
try rw [show (10) + (0) + 1 + (7) = 18 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (7)
try rw [show (10) + (7) + 1 + (1) = 19 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (8)
try rw [show (10) + (8) + 1 + (1) = 20 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (9)
try rw [show (10) + (9) + 1 + (1) = 21 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (10)
try rw [show (10) + (10) + 1 + (1) = 22 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (11)
try rw [show (10) + (11) + 1 + (1) = 23 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (12)
try rw [show (10) + (12) + 1 + (1) = 24 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (13)
try rw [show (10) + (13) + 1 + (1) = 25 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (w + 26)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (0)
try rw [show (10) + (0) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (0)
try rw [show (11) + (0) + 1 + (1) = 13 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (0)
try rw [show (11) + (0) + 1 + (2) = 14 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (0)
try rw [show (11) + (0) + 1 + (3) = 15 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (0)
try rw [show (11) + (0) + 1 + (4) = 16 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (0)
try rw [show (11) + (0) + 1 + (5) = 17 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (0)
try rw [show (11) + (0) + 1 + (6) = 18 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (0)
try rw [show (11) + (0) + 1 + (7) = 19 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (7)
try rw [show (11) + (7) + 1 + (1) = 20 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (8)
try rw [show (11) + (8) + 1 + (1) = 21 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (9)
try rw [show (11) + (9) + 1 + (1) = 22 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (10)
try rw [show (11) + (10) + 1 + (1) = 23 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (11)
try rw [show (11) + (11) + 1 + (1) = 24 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (12)
try rw [show (11) + (12) + 1 + (1) = 25 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (13)
try rw [show (11) + (13) + 1 + (1) = 26 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (w + 27)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (0)
try rw [show (11) + (0) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (0)
try rw [show (12) + (0) + 1 + (1) = 14 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (0)
try rw [show (12) + (0) + 1 + (2) = 15 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (0)
try rw [show (12) + (0) + 1 + (3) = 16 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (0)
try rw [show (12) + (0) + 1 + (4) = 17 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (0)
try rw [show (12) + (0) + 1 + (5) = 18 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (0)
try rw [show (12) + (0) + 1 + (6) = 19 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (0)
try rw [show (12) + (0) + 1 + (7) = 20 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (7)
try rw [show (12) + (7) + 1 + (1) = 21 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (8)
try rw [show (12) + (8) + 1 + (1) = 22 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (9)
try rw [show (12) + (9) + 1 + (1) = 23 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (10)
try rw [show (12) + (10) + 1 + (1) = 24 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (11)
try rw [show (12) + (11) + 1 + (1) = 25 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (12)
try rw [show (12) + (12) + 1 + (1) = 26 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (13)
try rw [show (12) + (13) + 1 + (1) = 27 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (w + 28)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (0)
try rw [show (12) + (0) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (0)
try rw [show (13) + (0) + 1 + (1) = 15 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (0)
try rw [show (13) + (0) + 1 + (2) = 16 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (0)
try rw [show (13) + (0) + 1 + (3) = 17 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (0)
try rw [show (13) + (0) + 1 + (4) = 18 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (0)
try rw [show (13) + (0) + 1 + (5) = 19 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (5) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (6) (13) (0)
try rw [show (13) + (0) + 1 + (6) = 20 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (6) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (7) (13) (0)
try rw [show (13) + (0) + 1 + (7) = 21 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (7) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (7)
try rw [show (13) + (7) + 1 + (1) = 22 by lib_nat] at h
try rw [show (13) + (7) + 1 = 21 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (8)
try rw [show (13) + (8) + 1 + (1) = 23 by lib_nat] at h
try rw [show (13) + (8) + 1 = 22 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (9)
try rw [show (13) + (9) + 1 + (1) = 24 by lib_nat] at h
try rw [show (13) + (9) + 1 = 23 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (10)
try rw [show (13) + (10) + 1 + (1) = 25 by lib_nat] at h
try rw [show (13) + (10) + 1 = 24 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (11)
try rw [show (13) + (11) + 1 + (1) = 26 by lib_nat] at h
try rw [show (13) + (11) + 1 = 25 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (12)
try rw [show (13) + (12) + 1 + (1) = 27 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (13)
try rw [show (13) + (13) + 1 + (1) = 28 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (w + 29)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (0)
try rw [show (13) + (0) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (0)
try rw [show (14) + (0) + 1 + (1) = 16 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (2) (14) (0)
try rw [show (14) + (0) + 1 + (2) = 17 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (2) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (0)
try rw [show (14) + (0) + 1 + (3) = 18 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (3) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (4) (14) (0)
try rw [show (14) + (0) + 1 + (4) = 19 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (4) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (5) (14) (0)
try rw [show (14) + (0) + 1 + (5) = 20 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (5) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (6) (14) (0)
try rw [show (14) + (0) + 1 + (6) = 21 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (6) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (7) (14) (0)
try rw [show (14) + (0) + 1 + (7) = 22 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (7) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (7)
try rw [show (14) + (7) + 1 + (1) = 23 by lib_nat] at h
try rw [show (14) + (7) + 1 = 22 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (8)
try rw [show (14) + (8) + 1 + (1) = 24 by lib_nat] at h
try rw [show (14) + (8) + 1 = 23 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (9)
try rw [show (14) + (9) + 1 + (1) = 25 by lib_nat] at h
try rw [show (14) + (9) + 1 = 24 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (10)
try rw [show (14) + (10) + 1 + (1) = 26 by lib_nat] at h
try rw [show (14) + (10) + 1 = 25 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (11)
try rw [show (14) + (11) + 1 + (1) = 27 by lib_nat] at h
try rw [show (14) + (11) + 1 = 26 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (12)
try rw [show (14) + (12) + 1 + (1) = 28 by lib_nat] at h
try rw [show (14) + (12) + 1 = 27 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (13)
try rw [show (14) + (13) + 1 + (1) = 29 by lib_nat] at h
try rw [show (14) + (13) + 1 = 28 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (w + 30)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (14) (0)
try rw [show (14) + (0) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (w + 15) = w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (0)
try rw [show (15) + (0) + 1 + (1) = 17 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (2) (15) (0)
try rw [show (15) + (0) + 1 + (2) = 18 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (2) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (0)
try rw [show (15) + (0) + 1 + (3) = 19 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (3) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (4) (15) (0)
try rw [show (15) + (0) + 1 + (4) = 20 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (4) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (5) (15) (0)
try rw [show (15) + (0) + 1 + (5) = 21 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (5) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (6) (15) (0)
try rw [show (15) + (0) + 1 + (6) = 22 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (6) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (7) (15) (0)
try rw [show (15) + (0) + 1 + (7) = 23 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (7) = 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (7)
try rw [show (15) + (7) + 1 + (1) = 24 by lib_nat] at h
try rw [show (15) + (7) + 1 = 23 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (8)
try rw [show (15) + (8) + 1 + (1) = 25 by lib_nat] at h
try rw [show (15) + (8) + 1 = 24 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (9)
try rw [show (15) + (9) + 1 + (1) = 26 by lib_nat] at h
try rw [show (15) + (9) + 1 = 25 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (10)
try rw [show (15) + (10) + 1 + (1) = 27 by lib_nat] at h
try rw [show (15) + (10) + 1 = 26 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (11)
try rw [show (15) + (11) + 1 + (1) = 28 by lib_nat] at h
try rw [show (15) + (11) + 1 = 27 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (12)
try rw [show (15) + (12) + 1 + (1) = 29 by lib_nat] at h
try rw [show (15) + (12) + 1 = 28 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (13)
try rw [show (15) + (13) + 1 + (1) = 30 by lib_nat] at h
try rw [show (15) + (13) + 1 = 29 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (w + 31)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 31)))))) := by
have h := A2.mk K O x hT (w + 15) (15) (0)
try rw [show (15) + (0) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (w + 15) = w + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (1) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (1) = a + 18 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (1) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (2) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (2) = a + 19 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (2) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (3) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (3) = a + 20 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (3) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (4) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (4) = a + 21 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (4) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 22)) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (5) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (5) = a + 22 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (5) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 23)) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (6) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (6) = a + 23 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (6) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 24)) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (7) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (7) = a + 24 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (7) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 25)) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (8) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (8) = a + 25 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (8) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 26)) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (9) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (9) = a + 26 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (9) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 27)) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (10) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (10) = a + 27 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (10) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 28)) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (11) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (11) = a + 28 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (11) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 29)) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (12) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (12) = a + 29 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (12) = a + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 30)) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 30)))))) := by
have h := A2.mk K O x hT (13) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (13) = a + 30 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (13) = a + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 31)) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 31)))))) := by
have h := A2.mk K O x hT (14) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (14) = a + 31 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (14) = a + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 33))) (K.neg (K.mul (Zs K x (a + w + 32)) (Zs K x (a + 18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 17)) (Zs K x (a + w + 33))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + w + 32)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 16) (0)
try rw [show (a + 16) + (0) + 1 + (w + 15) = a + w + 32 by lib_nat] at h
try rw [show (a + 16) + (0) + 1 = a + 17 by lib_nat] at h
try rw [show (a + 16) + (w + 15) = a + w + 31 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S12.lean
/-
ym/GenA7S12 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg12 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (Zs K (Zs K x))) (Zs K (c1v K x)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add K.zero (Zs K x (2)))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (1)) (Zs K x (3)))) (K.neg (K.mul K.zero K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (2)) (Zs K x (4)))) (K.neg (K.mul (Zs K x (1)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (3)) (Zs K x (5)))) (K.neg (K.mul (Zs K x (2)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (4)) (Zs K x (6)))) (K.neg (K.mul (Zs K x (3)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul (Zs K x (4)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (Zs K x (5)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (6)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (7)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (8)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (9)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (10)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (11)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (12)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (w + 14)) (Zs K x (w + 16)))) (K.neg (K.mul (Zs K x (w + 13)) K.zero))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (1)) (Zs K x (3)))) (K.neg (K.mul K.zero (K.add K.zero (Zs K x (2)))))))
exact A1.nn_of_eq K O _ _ (O.le_refl K.zero) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (2)) (Zs K x (4)))) (K.neg (K.mul (Zs K x (1)) (K.add K.zero (Zs K x (2)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (2))) := O.mul_nonneg _ _ (hx (0)) (hx (1))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (3)) (Zs K x (5)))) (K.neg (K.mul (Zs K x (2)) (K.add K.zero (Zs K x (2)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (2))) := O.mul_nonneg _ _ (hx (1)) (hx (1))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (4)) (Zs K x (6)))) (K.neg (K.mul (Zs K x (3)) (K.add K.zero (Zs K x (2)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul (Zs K x (4)) (K.add K.zero (Zs K x (2)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (Zs K x (5)) (K.add K.zero (Zs K x (2)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (1)) (hx (4))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (6)) (K.add K.zero (Zs K x (2)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (7)) (K.add K.zero (Zs K x (2)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (8)) (K.add K.zero (Zs K x (2)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (9)) (K.add K.zero (Zs K x (2)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (10)) (K.add K.zero (Zs K x (2)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (11)) (K.add K.zero (Zs K x (2)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (12)) (K.add K.zero (Zs K x (2)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (1)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (13)) (K.add K.zero (Zs K x (2)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (1)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (w + 15)) (Zs K x (w + 17)))) (K.neg (K.mul (Zs K x (w + 14)) (K.add K.zero (Zs K x (2)))))))
have t0 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (1)) (hx (w + 13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (2)) (Zs K x (4)))) (K.neg (K.mul (Zs K x (1)) (K.add (Zs K x (1)) (Zs K x (3)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (2))))) := A1.Dn K O x hD (0) (1) (0) (1) (2) (1) (2) (3) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (2))) := O.mul_nonneg _ _ (hx (1)) (hx (1))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (3)) (Zs K x (5)))) (K.neg (K.mul (Zs K x (2)) (K.add (Zs K x (1)) (Zs K x (3)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (2))) := O.mul_nonneg _ _ (hx (0)) (hx (1))
have t1 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (1)) (hx (2))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (4)) (Zs K x (6)))) (K.neg (K.mul (Zs K x (3)) (K.add (Zs K x (1)) (Zs K x (3)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (0)) (hx (2))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (2)) (hx (2))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul (Zs K x (4)) (K.add (Zs K x (1)) (Zs K x (3)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (0)) (hx (3))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (2)) (hx (3))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (Zs K x (5)) (K.add (Zs K x (1)) (Zs K x (3)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (0)) (hx (4))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (2)) (hx (4))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (6)) (K.add (Zs K x (1)) (Zs K x (3)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (0)) (hx (5))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (7)) (K.add (Zs K x (1)) (Zs K x (3)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (0)) (hx (6))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (2)) (hx (6))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (8)) (K.add (Zs K x (1)) (Zs K x (3)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (0)) (hx (7))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (9)) (K.add (Zs K x (1)) (Zs K x (3)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (0)) (hx (8))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (10)) (K.add (Zs K x (1)) (Zs K x (3)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (0)) (hx (9))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (11)) (K.add (Zs K x (1)) (Zs K x (3)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (0)) (hx (10))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (12)) (K.add (Zs K x (1)) (Zs K x (3)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (0)) (hx (11))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (2)) (hx (11))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (13)) (K.add (Zs K x (1)) (Zs K x (3)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (0)) (hx (12))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (2)) (hx (12))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (14)) (K.add (Zs K x (1)) (Zs K x (3)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (0)) (hx (13))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (2)) (hx (13))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (w + 16)) (Zs K x (w + 18)))) (K.neg (K.mul (Zs K x (w + 15)) (K.add (Zs K x (1)) (Zs K x (3)))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (0)) (hx (w + 14))
have t1 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (3)) (Zs K x (5)))) (K.neg (K.mul (Zs K x (2)) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (1)
try rw [show (0) + (1) + 1 + (2) = 4 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (3))))) := A1.Dn K O x hD (1) (1) (1) (2) (3) (2) (3) (4) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (4)) (Zs K x (6)))) (K.neg (K.mul (Zs K x (3)) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (4))) (K.neg (K.mul (Zs K x (2)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (0)
try rw [show (0) + (0) + 1 + (2) = 3 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (1)
try rw [show (0) + (1) + 1 + (3) = 5 by lib_nat] at h
try rw [show (0) + (1) + 1 = 2 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul (Zs K x (4)) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (2)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (0)
try rw [show (0) + (0) + 1 + (3) = 4 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (2)
try rw [show (0) + (2) + 1 + (3) = 6 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (Zs K x (5)) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (2)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (0)
try rw [show (0) + (0) + 1 + (4) = 5 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (2)
try rw [show (0) + (2) + 1 + (4) = 7 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (6)) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (2)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (0)
try rw [show (0) + (0) + 1 + (5) = 6 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (2)
try rw [show (0) + (2) + 1 + (5) = 8 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (7)) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (2)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (0)
try rw [show (0) + (0) + 1 + (6) = 7 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (2)
try rw [show (0) + (2) + 1 + (6) = 9 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (8)) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (2)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (0)
try rw [show (0) + (0) + 1 + (7) = 8 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (2)
try rw [show (0) + (2) + 1 + (7) = 10 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (9)) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (7)
try rw [show (0) + (7) + 1 + (1) = 9 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (7)
try rw [show (0) + (7) + 1 + (3) = 11 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (10)) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (8)
try rw [show (0) + (8) + 1 + (1) = 10 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (8)
try rw [show (0) + (8) + 1 + (3) = 12 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (11)) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (9)
try rw [show (0) + (9) + 1 + (1) = 11 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (9)
try rw [show (0) + (9) + 1 + (3) = 13 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (12)) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (10)
try rw [show (0) + (10) + 1 + (1) = 12 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (10)
try rw [show (0) + (10) + 1 + (3) = 14 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (13)) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (11)
try rw [show (0) + (11) + 1 + (1) = 13 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (11)
try rw [show (0) + (11) + 1 + (3) = 15 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (14)) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (12)
try rw [show (0) + (12) + 1 + (1) = 14 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (12)
try rw [show (0) + (12) + 1 + (3) = 16 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (15)) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (13)
try rw [show (0) + (13) + 1 + (1) = 15 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (13)
try rw [show (0) + (13) + 1 + (3) = 17 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (K.add (Zs K x (w + 17)) (Zs K x (w + 19)))) (K.neg (K.mul (Zs K x (w + 16)) (K.add (Zs K x (2)) (Zs K x (4)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (2)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (0)
try rw [show (0) + (0) + 1 + (w + 15) = w + 16 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (2)
try rw [show (0) + (2) + 1 + (w + 15) = w + 18 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (4)) (Zs K x (6)))) (K.neg (K.mul (Zs K x (3)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (1)
try rw [show (1) + (1) + 1 + (2) = 5 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (4))))) := A1.Dn K O x hD (2) (1) (2) (3) (4) (3) (4) (5) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul (Zs K x (4)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (0)
try rw [show (1) + (0) + 1 + (2) = 4 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (1)
try rw [show (1) + (1) + 1 + (3) = 6 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (Zs K x (5)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (0)
try rw [show (1) + (0) + 1 + (3) = 5 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (2)
try rw [show (1) + (2) + 1 + (3) = 7 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (6)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (0)
try rw [show (1) + (0) + 1 + (4) = 6 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (2)
try rw [show (1) + (2) + 1 + (4) = 8 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (7)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (0)
try rw [show (1) + (0) + 1 + (5) = 7 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (2)
try rw [show (1) + (2) + 1 + (5) = 9 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (8)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (3)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (0)
try rw [show (1) + (0) + 1 + (6) = 8 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (2)
try rw [show (1) + (2) + 1 + (6) = 10 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (9)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (0)
try rw [show (1) + (0) + 1 + (7) = 9 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (2)
try rw [show (1) + (2) + 1 + (7) = 11 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (10)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (7)
try rw [show (1) + (7) + 1 + (1) = 10 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (7)
try rw [show (1) + (7) + 1 + (3) = 12 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (11)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (8)
try rw [show (1) + (8) + 1 + (1) = 11 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (8)
try rw [show (1) + (8) + 1 + (3) = 13 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (12)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (9)
try rw [show (1) + (9) + 1 + (1) = 12 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (9)
try rw [show (1) + (9) + 1 + (3) = 14 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (13)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (10)
try rw [show (1) + (10) + 1 + (1) = 13 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (10)
try rw [show (1) + (10) + 1 + (3) = 15 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (14)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (11)
try rw [show (1) + (11) + 1 + (1) = 14 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (11)
try rw [show (1) + (11) + 1 + (3) = 16 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (15)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (12)
try rw [show (1) + (12) + 1 + (1) = 15 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (12)
try rw [show (1) + (12) + 1 + (3) = 17 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (Zs K x (16)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (13)
try rw [show (1) + (13) + 1 + (1) = 16 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (13)
try rw [show (1) + (13) + 1 + (3) = 18 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (K.add (Zs K x (w + 18)) (Zs K x (w + 20)))) (K.neg (K.mul (Zs K x (w + 17)) (K.add (Zs K x (3)) (Zs K x (5)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (3)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (0)
try rw [show (1) + (0) + 1 + (w + 15) = w + 17 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (2)
try rw [show (1) + (2) + 1 + (w + 15) = w + 19 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (5)) (Zs K x (7)))) (K.neg (K.mul (Zs K x (4)) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (1)
try rw [show (2) + (1) + 1 + (2) = 6 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (5))))) := A1.Dn K O x hD (3) (1) (3) (4) (5) (4) (5) (6) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (Zs K x (5)) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (0)
try rw [show (2) + (0) + 1 + (2) = 5 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (1)
try rw [show (2) + (1) + 1 + (3) = 7 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (6)) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (0)
try rw [show (2) + (0) + 1 + (3) = 6 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (2)
try rw [show (2) + (2) + 1 + (3) = 8 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (7)) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (0)
try rw [show (2) + (0) + 1 + (4) = 7 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (2)
try rw [show (2) + (2) + 1 + (4) = 9 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (8)) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (0)
try rw [show (2) + (0) + 1 + (5) = 8 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (2)
try rw [show (2) + (2) + 1 + (5) = 10 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (9)) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (0)
try rw [show (2) + (0) + 1 + (6) = 9 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (2)
try rw [show (2) + (2) + 1 + (6) = 11 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (10)) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (0)
try rw [show (2) + (0) + 1 + (7) = 10 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (2)
try rw [show (2) + (2) + 1 + (7) = 12 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (11)) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (7)
try rw [show (2) + (7) + 1 + (1) = 11 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (7)
try rw [show (2) + (7) + 1 + (3) = 13 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (12)) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (8)
try rw [show (2) + (8) + 1 + (1) = 12 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (8)
try rw [show (2) + (8) + 1 + (3) = 14 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (13)) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (9)
try rw [show (2) + (9) + 1 + (1) = 13 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (9)
try rw [show (2) + (9) + 1 + (3) = 15 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (14)) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (10)
try rw [show (2) + (10) + 1 + (1) = 14 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (10)
try rw [show (2) + (10) + 1 + (3) = 16 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (15)) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (11)
try rw [show (2) + (11) + 1 + (1) = 15 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (11)
try rw [show (2) + (11) + 1 + (3) = 17 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (Zs K x (16)) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (12)
try rw [show (2) + (12) + 1 + (1) = 16 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (12)
try rw [show (2) + (12) + 1 + (3) = 18 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (Zs K x (17)) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (13)
try rw [show (2) + (13) + 1 + (1) = 17 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (13)
try rw [show (2) + (13) + 1 + (3) = 19 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (w + 19)) (Zs K x (w + 21)))) (K.neg (K.mul (Zs K x (w + 18)) (K.add (Zs K x (4)) (Zs K x (6)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (0)
try rw [show (2) + (0) + 1 + (w + 15) = w + 18 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (2)
try rw [show (2) + (2) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (6)) (Zs K x (8)))) (K.neg (K.mul (Zs K x (5)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (1)
try rw [show (3) + (1) + 1 + (2) = 7 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (6))))) := A1.Dn K O x hD (4) (1) (4) (5) (6) (5) (6) (7) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (6)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (0)
try rw [show (3) + (0) + 1 + (2) = 6 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (1)
try rw [show (3) + (1) + 1 + (3) = 8 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (7)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (0)
try rw [show (3) + (0) + 1 + (3) = 7 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (2)
try rw [show (3) + (2) + 1 + (3) = 9 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (8)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (0)
try rw [show (3) + (0) + 1 + (4) = 8 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (2)
try rw [show (3) + (2) + 1 + (4) = 10 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (9)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (0)
try rw [show (3) + (0) + 1 + (5) = 9 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (2)
try rw [show (3) + (2) + 1 + (5) = 11 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (10)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (0)
try rw [show (3) + (0) + 1 + (6) = 10 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (2)
try rw [show (3) + (2) + 1 + (6) = 12 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (11)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (0)
try rw [show (3) + (0) + 1 + (7) = 11 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (2)
try rw [show (3) + (2) + 1 + (7) = 13 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (12)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (7)
try rw [show (3) + (7) + 1 + (1) = 12 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (7)
try rw [show (3) + (7) + 1 + (3) = 14 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (13)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (8)
try rw [show (3) + (8) + 1 + (1) = 13 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (8)
try rw [show (3) + (8) + 1 + (3) = 15 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (14)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (9)
try rw [show (3) + (9) + 1 + (1) = 14 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (9)
try rw [show (3) + (9) + 1 + (3) = 16 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (15)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (10)
try rw [show (3) + (10) + 1 + (1) = 15 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (10)
try rw [show (3) + (10) + 1 + (3) = 17 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (Zs K x (16)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (11)
try rw [show (3) + (11) + 1 + (1) = 16 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (11)
try rw [show (3) + (11) + 1 + (3) = 18 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (Zs K x (17)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (12)
try rw [show (3) + (12) + 1 + (1) = 17 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (12)
try rw [show (3) + (12) + 1 + (3) = 19 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (19)) (Zs K x (21)))) (K.neg (K.mul (Zs K x (18)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (13)
try rw [show (3) + (13) + 1 + (1) = 18 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (13)
try rw [show (3) + (13) + 1 + (3) = 20 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (Zs K x (w + 20)) (Zs K x (w + 22)))) (K.neg (K.mul (Zs K x (w + 19)) (K.add (Zs K x (5)) (Zs K x (7)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (0)
try rw [show (3) + (0) + 1 + (w + 15) = w + 19 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (2)
try rw [show (3) + (2) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (7)) (Zs K x (9)))) (K.neg (K.mul (Zs K x (6)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (1)
try rw [show (4) + (1) + 1 + (2) = 8 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))) := A1.Dn K O x hD (5) (1) (5) (6) (7) (6) (7) (8) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (7)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (0)
try rw [show (4) + (0) + 1 + (2) = 7 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (1)
try rw [show (4) + (1) + 1 + (3) = 9 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (8)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (0)
try rw [show (4) + (0) + 1 + (3) = 8 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (2)
try rw [show (4) + (2) + 1 + (3) = 10 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (9)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (0)
try rw [show (4) + (0) + 1 + (4) = 9 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (2)
try rw [show (4) + (2) + 1 + (4) = 11 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (10)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (0)
try rw [show (4) + (0) + 1 + (5) = 10 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (2)
try rw [show (4) + (2) + 1 + (5) = 12 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (11)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (0)
try rw [show (4) + (0) + 1 + (6) = 11 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (2)
try rw [show (4) + (2) + 1 + (6) = 13 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (12)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (0)
try rw [show (4) + (0) + 1 + (7) = 12 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (2)
try rw [show (4) + (2) + 1 + (7) = 14 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (13)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (7)
try rw [show (4) + (7) + 1 + (1) = 13 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (7)
try rw [show (4) + (7) + 1 + (3) = 15 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (14)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (8)
try rw [show (4) + (8) + 1 + (1) = 14 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (8)
try rw [show (4) + (8) + 1 + (3) = 16 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (15)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (9)
try rw [show (4) + (9) + 1 + (1) = 15 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (9)
try rw [show (4) + (9) + 1 + (3) = 17 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (Zs K x (16)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (10)
try rw [show (4) + (10) + 1 + (1) = 16 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (10)
try rw [show (4) + (10) + 1 + (3) = 18 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (Zs K x (17)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (11)
try rw [show (4) + (11) + 1 + (1) = 17 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (11)
try rw [show (4) + (11) + 1 + (3) = 19 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (19)) (Zs K x (21)))) (K.neg (K.mul (Zs K x (18)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (12)
try rw [show (4) + (12) + 1 + (1) = 18 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (12)
try rw [show (4) + (12) + 1 + (3) = 20 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (20)) (Zs K x (22)))) (K.neg (K.mul (Zs K x (19)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (13)
try rw [show (4) + (13) + 1 + (1) = 19 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (13)
try rw [show (4) + (13) + 1 + (3) = 21 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (K.add (Zs K x (w + 21)) (Zs K x (w + 23)))) (K.neg (K.mul (Zs K x (w + 20)) (K.add (Zs K x (6)) (Zs K x (8)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (0)
try rw [show (4) + (0) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (2)
try rw [show (4) + (2) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (8)) (Zs K x (10)))) (K.neg (K.mul (Zs K x (7)) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (1)
try rw [show (5) + (1) + 1 + (2) = 9 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (8))))) := A1.Dn K O x hD (6) (1) (6) (7) (8) (7) (8) (9) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (8)) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (0)
try rw [show (5) + (0) + 1 + (2) = 8 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (1)
try rw [show (5) + (1) + 1 + (3) = 10 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (9)) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (0)
try rw [show (5) + (0) + 1 + (3) = 9 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (2)
try rw [show (5) + (2) + 1 + (3) = 11 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (10)) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (0)
try rw [show (5) + (0) + 1 + (4) = 10 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (2)
try rw [show (5) + (2) + 1 + (4) = 12 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (11)) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (0)
try rw [show (5) + (0) + 1 + (5) = 11 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (2)
try rw [show (5) + (2) + 1 + (5) = 13 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (12)) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (0)
try rw [show (5) + (0) + 1 + (6) = 12 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (2)
try rw [show (5) + (2) + 1 + (6) = 14 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (13)) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (0)
try rw [show (5) + (0) + 1 + (7) = 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (2)
try rw [show (5) + (2) + 1 + (7) = 15 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (14)) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (7)
try rw [show (5) + (7) + 1 + (1) = 14 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (7)
try rw [show (5) + (7) + 1 + (3) = 16 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (15)) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (8)
try rw [show (5) + (8) + 1 + (3) = 17 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (Zs K x (16)) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (9)
try rw [show (5) + (9) + 1 + (1) = 16 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (9)
try rw [show (5) + (9) + 1 + (3) = 18 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (Zs K x (17)) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (10)
try rw [show (5) + (10) + 1 + (1) = 17 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (10)
try rw [show (5) + (10) + 1 + (3) = 19 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (19)) (Zs K x (21)))) (K.neg (K.mul (Zs K x (18)) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (11)
try rw [show (5) + (11) + 1 + (1) = 18 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (11)
try rw [show (5) + (11) + 1 + (3) = 20 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (20)) (Zs K x (22)))) (K.neg (K.mul (Zs K x (19)) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (12)
try rw [show (5) + (12) + 1 + (1) = 19 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (12)
try rw [show (5) + (12) + 1 + (3) = 21 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (21)) (Zs K x (23)))) (K.neg (K.mul (Zs K x (20)) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (13)
try rw [show (5) + (13) + 1 + (1) = 20 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (13)
try rw [show (5) + (13) + 1 + (3) = 22 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (K.add (Zs K x (w + 22)) (Zs K x (w + 24)))) (K.neg (K.mul (Zs K x (w + 21)) (K.add (Zs K x (7)) (Zs K x (9)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (0)
try rw [show (5) + (0) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (2)
try rw [show (5) + (2) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (9)) (Zs K x (11)))) (K.neg (K.mul (Zs K x (8)) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (1)
try rw [show (6) + (1) + 1 + (2) = 10 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (9))))) := A1.Dn K O x hD (7) (1) (7) (8) (9) (8) (9) (10) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (9)) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (0)
try rw [show (6) + (0) + 1 + (2) = 9 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (1)
try rw [show (6) + (1) + 1 + (3) = 11 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (10)) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (0)
try rw [show (6) + (0) + 1 + (3) = 10 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (2)
try rw [show (6) + (2) + 1 + (3) = 12 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (11)) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (0)
try rw [show (6) + (0) + 1 + (4) = 11 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (2)
try rw [show (6) + (2) + 1 + (4) = 13 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (12)) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (0)
try rw [show (6) + (0) + 1 + (5) = 12 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (2)
try rw [show (6) + (2) + 1 + (5) = 14 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (13)) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (0)
try rw [show (6) + (0) + 1 + (6) = 13 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (2)
try rw [show (6) + (2) + 1 + (6) = 15 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (14)) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (0)
try rw [show (6) + (0) + 1 + (7) = 14 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (2)
try rw [show (6) + (2) + 1 + (7) = 16 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (15)) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (7)
try rw [show (6) + (7) + 1 + (1) = 15 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (7)
try rw [show (6) + (7) + 1 + (3) = 17 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (Zs K x (16)) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (8)
try rw [show (6) + (8) + 1 + (1) = 16 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (8)
try rw [show (6) + (8) + 1 + (3) = 18 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (Zs K x (17)) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (9)
try rw [show (6) + (9) + 1 + (1) = 17 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (9)
try rw [show (6) + (9) + 1 + (3) = 19 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (19)) (Zs K x (21)))) (K.neg (K.mul (Zs K x (18)) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (10)
try rw [show (6) + (10) + 1 + (1) = 18 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (10)
try rw [show (6) + (10) + 1 + (3) = 20 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (20)) (Zs K x (22)))) (K.neg (K.mul (Zs K x (19)) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (11)
try rw [show (6) + (11) + 1 + (1) = 19 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (11)
try rw [show (6) + (11) + 1 + (3) = 21 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (21)) (Zs K x (23)))) (K.neg (K.mul (Zs K x (20)) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (12)
try rw [show (6) + (12) + 1 + (1) = 20 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (12)
try rw [show (6) + (12) + 1 + (3) = 22 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (22)) (Zs K x (24)))) (K.neg (K.mul (Zs K x (21)) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (13)
try rw [show (6) + (13) + 1 + (1) = 21 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (13)
try rw [show (6) + (13) + 1 + (3) = 23 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (K.add (Zs K x (w + 23)) (Zs K x (w + 25)))) (K.neg (K.mul (Zs K x (w + 22)) (K.add (Zs K x (8)) (Zs K x (10)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (0)
try rw [show (6) + (0) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (2)
try rw [show (6) + (2) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (10)) (Zs K x (12)))) (K.neg (K.mul (Zs K x (9)) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (1)
try rw [show (7) + (1) + 1 + (2) = 11 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (10))))) := A1.Dn K O x hD (8) (1) (8) (9) (10) (9) (10) (11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (10)) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (0)
try rw [show (7) + (0) + 1 + (2) = 10 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (1)
try rw [show (7) + (1) + 1 + (3) = 12 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (11)) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (0)
try rw [show (7) + (0) + 1 + (3) = 11 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (2)
try rw [show (7) + (2) + 1 + (3) = 13 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (12)) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (0)
try rw [show (7) + (0) + 1 + (4) = 12 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (2)
try rw [show (7) + (2) + 1 + (4) = 14 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (13)) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (0)
try rw [show (7) + (0) + 1 + (5) = 13 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (2)
try rw [show (7) + (2) + 1 + (5) = 15 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (14)) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (0)
try rw [show (7) + (0) + 1 + (6) = 14 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (2)
try rw [show (7) + (2) + 1 + (6) = 16 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (15)) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (0)
try rw [show (7) + (0) + 1 + (7) = 15 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (2)
try rw [show (7) + (2) + 1 + (7) = 17 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (Zs K x (16)) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (7)
try rw [show (7) + (7) + 1 + (1) = 16 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (7)
try rw [show (7) + (7) + 1 + (3) = 18 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (Zs K x (17)) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (8)
try rw [show (7) + (8) + 1 + (1) = 17 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (8)
try rw [show (7) + (8) + 1 + (3) = 19 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (19)) (Zs K x (21)))) (K.neg (K.mul (Zs K x (18)) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (9)
try rw [show (7) + (9) + 1 + (1) = 18 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (9)
try rw [show (7) + (9) + 1 + (3) = 20 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (20)) (Zs K x (22)))) (K.neg (K.mul (Zs K x (19)) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (10)
try rw [show (7) + (10) + 1 + (1) = 19 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (10)
try rw [show (7) + (10) + 1 + (3) = 21 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (21)) (Zs K x (23)))) (K.neg (K.mul (Zs K x (20)) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (11)
try rw [show (7) + (11) + 1 + (1) = 20 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (11)
try rw [show (7) + (11) + 1 + (3) = 22 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (22)) (Zs K x (24)))) (K.neg (K.mul (Zs K x (21)) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (12)
try rw [show (7) + (12) + 1 + (1) = 21 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (12)
try rw [show (7) + (12) + 1 + (3) = 23 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (23)) (Zs K x (25)))) (K.neg (K.mul (Zs K x (22)) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (13)
try rw [show (7) + (13) + 1 + (1) = 22 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (13)
try rw [show (7) + (13) + 1 + (3) = 24 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (K.add (Zs K x (w + 24)) (Zs K x (w + 26)))) (K.neg (K.mul (Zs K x (w + 23)) (K.add (Zs K x (9)) (Zs K x (11)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (0)
try rw [show (7) + (0) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (2)
try rw [show (7) + (2) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (11)) (Zs K x (13)))) (K.neg (K.mul (Zs K x (10)) (K.add (Zs K x (10)) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (1)
try rw [show (8) + (1) + 1 + (2) = 12 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (11))))) := A1.Dn K O x hD (9) (1) (9) (10) (11) (10) (11) (12) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (11)) (K.add (Zs K x (10)) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (0)
try rw [show (8) + (0) + 1 + (2) = 11 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (1)
try rw [show (8) + (1) + 1 + (3) = 13 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (12)) (K.add (Zs K x (10)) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (0)
try rw [show (8) + (0) + 1 + (3) = 12 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (2)
try rw [show (8) + (2) + 1 + (3) = 14 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (13)) (K.add (Zs K x (10)) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (0)
try rw [show (8) + (0) + 1 + (4) = 13 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (2)
try rw [show (8) + (2) + 1 + (4) = 15 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (14)) (K.add (Zs K x (10)) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (0)
try rw [show (8) + (0) + 1 + (5) = 14 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (2)
try rw [show (8) + (2) + 1 + (5) = 16 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (15)) (K.add (Zs K x (10)) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (0)
try rw [show (8) + (0) + 1 + (6) = 15 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (2)
try rw [show (8) + (2) + 1 + (6) = 17 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (Zs K x (16)) (K.add (Zs K x (10)) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (0)
try rw [show (8) + (0) + 1 + (7) = 16 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (2)
try rw [show (8) + (2) + 1 + (7) = 18 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (Zs K x (17)) (K.add (Zs K x (10)) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (7)
try rw [show (8) + (7) + 1 + (1) = 17 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (7)
try rw [show (8) + (7) + 1 + (3) = 19 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (19)) (Zs K x (21)))) (K.neg (K.mul (Zs K x (18)) (K.add (Zs K x (10)) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (8)
try rw [show (8) + (8) + 1 + (1) = 18 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (8)
try rw [show (8) + (8) + 1 + (3) = 20 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (20)) (Zs K x (22)))) (K.neg (K.mul (Zs K x (19)) (K.add (Zs K x (10)) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (9)
try rw [show (8) + (9) + 1 + (1) = 19 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (9)
try rw [show (8) + (9) + 1 + (3) = 21 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (21)) (Zs K x (23)))) (K.neg (K.mul (Zs K x (20)) (K.add (Zs K x (10)) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (10)
try rw [show (8) + (10) + 1 + (1) = 20 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (10)
try rw [show (8) + (10) + 1 + (3) = 22 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (22)) (Zs K x (24)))) (K.neg (K.mul (Zs K x (21)) (K.add (Zs K x (10)) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (11)
try rw [show (8) + (11) + 1 + (1) = 21 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (11)
try rw [show (8) + (11) + 1 + (3) = 23 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (23)) (Zs K x (25)))) (K.neg (K.mul (Zs K x (22)) (K.add (Zs K x (10)) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (12)
try rw [show (8) + (12) + 1 + (1) = 22 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (12)
try rw [show (8) + (12) + 1 + (3) = 24 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (24)) (Zs K x (26)))) (K.neg (K.mul (Zs K x (23)) (K.add (Zs K x (10)) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (13)
try rw [show (8) + (13) + 1 + (1) = 23 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (13)
try rw [show (8) + (13) + 1 + (3) = 25 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (K.add (Zs K x (w + 25)) (Zs K x (w + 27)))) (K.neg (K.mul (Zs K x (w + 24)) (K.add (Zs K x (10)) (Zs K x (12)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (0)
try rw [show (8) + (0) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (2)
try rw [show (8) + (2) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (12)) (Zs K x (14)))) (K.neg (K.mul (Zs K x (11)) (K.add (Zs K x (11)) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (1)
try rw [show (9) + (1) + 1 + (2) = 13 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (12))))) := A1.Dn K O x hD (10) (1) (10) (11) (12) (11) (12) (13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (13)) (Zs K x (15)))) (K.neg (K.mul (Zs K x (12)) (K.add (Zs K x (11)) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (0)
try rw [show (9) + (0) + 1 + (2) = 12 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (1)
try rw [show (9) + (1) + 1 + (3) = 14 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (14)) (Zs K x (16)))) (K.neg (K.mul (Zs K x (13)) (K.add (Zs K x (11)) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (0)
try rw [show (9) + (0) + 1 + (3) = 13 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (2)
try rw [show (9) + (2) + 1 + (3) = 15 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (15)) (Zs K x (17)))) (K.neg (K.mul (Zs K x (14)) (K.add (Zs K x (11)) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (0)
try rw [show (9) + (0) + 1 + (4) = 14 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (2)
try rw [show (9) + (2) + 1 + (4) = 16 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (16)) (Zs K x (18)))) (K.neg (K.mul (Zs K x (15)) (K.add (Zs K x (11)) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (0)
try rw [show (9) + (0) + 1 + (5) = 15 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (2)
try rw [show (9) + (2) + 1 + (5) = 17 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (17)) (Zs K x (19)))) (K.neg (K.mul (Zs K x (16)) (K.add (Zs K x (11)) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (0)
try rw [show (9) + (0) + 1 + (6) = 16 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (2)
try rw [show (9) + (2) + 1 + (6) = 18 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (18)) (Zs K x (20)))) (K.neg (K.mul (Zs K x (17)) (K.add (Zs K x (11)) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (0)
try rw [show (9) + (0) + 1 + (7) = 17 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (2)
try rw [show (9) + (2) + 1 + (7) = 19 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (19)) (Zs K x (21)))) (K.neg (K.mul (Zs K x (18)) (K.add (Zs K x (11)) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (7)
try rw [show (9) + (7) + 1 + (1) = 18 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (7)
try rw [show (9) + (7) + 1 + (3) = 20 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (20)) (Zs K x (22)))) (K.neg (K.mul (Zs K x (19)) (K.add (Zs K x (11)) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (8)
try rw [show (9) + (8) + 1 + (1) = 19 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (8)
try rw [show (9) + (8) + 1 + (3) = 21 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (21)) (Zs K x (23)))) (K.neg (K.mul (Zs K x (20)) (K.add (Zs K x (11)) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (9)
try rw [show (9) + (9) + 1 + (1) = 20 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (9)
try rw [show (9) + (9) + 1 + (3) = 22 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (22)) (Zs K x (24)))) (K.neg (K.mul (Zs K x (21)) (K.add (Zs K x (11)) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (10)
try rw [show (9) + (10) + 1 + (1) = 21 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (10)
try rw [show (9) + (10) + 1 + (3) = 23 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (23)) (Zs K x (25)))) (K.neg (K.mul (Zs K x (22)) (K.add (Zs K x (11)) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (11)
try rw [show (9) + (11) + 1 + (1) = 22 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (11)
try rw [show (9) + (11) + 1 + (3) = 24 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (24)) (Zs K x (26)))) (K.neg (K.mul (Zs K x (23)) (K.add (Zs K x (11)) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (12)
try rw [show (9) + (12) + 1 + (1) = 23 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (26))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (12)
try rw [show (9) + (12) + 1 + (3) = 25 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (25)) (Zs K x (27)))) (K.neg (K.mul (Zs K x (24)) (K.add (Zs K x (11)) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (13)
try rw [show (9) + (13) + 1 + (1) = 24 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (27))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (13)
try rw [show (9) + (13) + 1 + (3) = 26 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (K.add (Zs K x (w + 26)) (Zs K x (w + 28)))) (K.neg (K.mul (Zs K x (w + 25)) (K.add (Zs K x (11)) (Zs K x (13)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (0)
try rw [show (9) + (0) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (2)
try rw [show (9) + (2) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (9) + (2) + 1 = 12 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 13)) (Zs K x (a + 15)))) (K.neg (K.mul (Zs K x (a + 12)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 13))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (1) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (1) = a + 12 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (1) = a + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (3) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (3) = a + 14 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (3) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 14)) (Zs K x (a + 16)))) (K.neg (K.mul (Zs K x (a + 13)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 14))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (2) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (2) = a + 13 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (2) = a + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (3) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (3) = a + 15 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 10) + (3) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 15)) (Zs K x (a + 17)))) (K.neg (K.mul (Zs K x (a + 14)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (3) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (3) = a + 14 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (3) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (3) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (3) = a + 16 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (3) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 16)) (Zs K x (a + 18)))) (K.neg (K.mul (Zs K x (a + 15)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (4) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (4) = a + 15 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (4) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (4) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (4) = a + 17 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (4) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 17)) (Zs K x (a + 19)))) (K.neg (K.mul (Zs K x (a + 16)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (5) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (5) = a + 16 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (5) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (5) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (5) = a + 18 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (5) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 18)) (Zs K x (a + 20)))) (K.neg (K.mul (Zs K x (a + 17)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (6) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (6) = a + 17 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (6) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (6) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (6) = a + 19 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (6) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 19)) (Zs K x (a + 21)))) (K.neg (K.mul (Zs K x (a + 18)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (7) = a + 18 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (7) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (7) = a + 20 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (7) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 20)) (Zs K x (a + 22)))) (K.neg (K.mul (Zs K x (a + 19)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (8) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (8) = a + 19 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (8) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (8) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (8) = a + 21 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (8) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 21)) (Zs K x (a + 23)))) (K.neg (K.mul (Zs K x (a + 20)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (9) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (9) = a + 20 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (9) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (9) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (9) = a + 22 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (9) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 22)) (Zs K x (a + 24)))) (K.neg (K.mul (Zs K x (a + 21)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (10) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (10) = a + 21 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (10) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (10) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (10) = a + 23 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (10) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 23)) (Zs K x (a + 25)))) (K.neg (K.mul (Zs K x (a + 22)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (11) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (11) = a + 22 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (11) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (11) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (11) = a + 24 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (11) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 24)) (Zs K x (a + 26)))) (K.neg (K.mul (Zs K x (a + 23)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (12) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (12) = a + 23 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (12) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (12) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (12) = a + 25 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (12) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 25)) (Zs K x (a + 27)))) (K.neg (K.mul (Zs K x (a + 24)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (13) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (13) = a + 24 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (13) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (13) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (13) = a + 26 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (13) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + 26)) (Zs K x (a + 28)))) (K.neg (K.mul (Zs K x (a + 25)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (14) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (14) = a + 25 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (14) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (14) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (14) = a + 27 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (14) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (K.add (Zs K x (a + w + 27)) (Zs K x (a + w + 29)))) (K.neg (K.mul (Zs K x (a + w + 26)) (K.add (Zs K x (a + 12)) (Zs K x (a + 14)))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + w + 27))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 10) (0)
try rw [show (a + 10) + (0) + 1 + (w + 15) = a + w + 26 by lib_nat] at h
try rw [show (a + 10) + (0) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 10) + (w + 15) = a + w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + w + 29))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 10) (2)
try rw [show (a + 10) + (2) + 1 + (w + 15) = a + w + 28 by lib_nat] at h
try rw [show (a + 10) + (2) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 10) + (w + 15) = a + w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S13.lean
/-
ym/GenA7S13 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg13 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (fun i => x (i + 5)) (fun i => x (i + 6)) i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (0)
try rw [show (5) + (0) + 1 + (1) = 7 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (0)
try rw [show (5) + (0) + 1 + (2) = 8 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (0)
try rw [show (5) + (0) + 1 + (3) = 9 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (0)
try rw [show (5) + (0) + 1 + (4) = 10 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (0)
try rw [show (5) + (0) + 1 + (5) = 11 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (0)
try rw [show (5) + (0) + 1 + (6) = 12 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (0)
try rw [show (5) + (0) + 1 + (7) = 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (7)
try rw [show (5) + (7) + 1 + (1) = 14 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (9)
try rw [show (5) + (9) + 1 + (1) = 16 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (10)
try rw [show (5) + (10) + 1 + (1) = 17 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (11)
try rw [show (5) + (11) + 1 + (1) = 18 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (12)
try rw [show (5) + (12) + 1 + (1) = 19 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (13)
try rw [show (5) + (13) + 1 + (1) = 20 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (w + 21)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (0)
try rw [show (5) + (0) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (0)
try rw [show (6) + (0) + 1 + (1) = 8 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (0)
try rw [show (6) + (0) + 1 + (2) = 9 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (0)
try rw [show (6) + (0) + 1 + (3) = 10 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (0)
try rw [show (6) + (0) + 1 + (4) = 11 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (0)
try rw [show (6) + (0) + 1 + (5) = 12 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (0)
try rw [show (6) + (0) + 1 + (6) = 13 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (0)
try rw [show (6) + (0) + 1 + (7) = 14 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (7)
try rw [show (6) + (7) + 1 + (1) = 15 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (8)
try rw [show (6) + (8) + 1 + (1) = 16 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (9)
try rw [show (6) + (9) + 1 + (1) = 17 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (10)
try rw [show (6) + (10) + 1 + (1) = 18 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (11)
try rw [show (6) + (11) + 1 + (1) = 19 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (12)
try rw [show (6) + (12) + 1 + (1) = 20 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (13)
try rw [show (6) + (13) + 1 + (1) = 21 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (w + 22)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (0)
try rw [show (6) + (0) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (0)
try rw [show (7) + (0) + 1 + (1) = 9 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (0)
try rw [show (7) + (0) + 1 + (2) = 10 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (0)
try rw [show (7) + (0) + 1 + (3) = 11 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (0)
try rw [show (7) + (0) + 1 + (4) = 12 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (0)
try rw [show (7) + (0) + 1 + (5) = 13 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (0)
try rw [show (7) + (0) + 1 + (6) = 14 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (0)
try rw [show (7) + (0) + 1 + (7) = 15 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (7)
try rw [show (7) + (7) + 1 + (1) = 16 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (8)
try rw [show (7) + (8) + 1 + (1) = 17 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (9)
try rw [show (7) + (9) + 1 + (1) = 18 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (10)
try rw [show (7) + (10) + 1 + (1) = 19 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (11)
try rw [show (7) + (11) + 1 + (1) = 20 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (12)
try rw [show (7) + (12) + 1 + (1) = 21 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (13)
try rw [show (7) + (13) + 1 + (1) = 22 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (w + 23)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (0)
try rw [show (7) + (0) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (0)
try rw [show (8) + (0) + 1 + (1) = 10 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (0)
try rw [show (8) + (0) + 1 + (2) = 11 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (0)
try rw [show (8) + (0) + 1 + (3) = 12 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (0)
try rw [show (8) + (0) + 1 + (4) = 13 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (0)
try rw [show (8) + (0) + 1 + (5) = 14 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (0)
try rw [show (8) + (0) + 1 + (6) = 15 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (0)
try rw [show (8) + (0) + 1 + (7) = 16 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (7)
try rw [show (8) + (7) + 1 + (1) = 17 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (8)
try rw [show (8) + (8) + 1 + (1) = 18 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (9)
try rw [show (8) + (9) + 1 + (1) = 19 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (10)
try rw [show (8) + (10) + 1 + (1) = 20 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (11)
try rw [show (8) + (11) + 1 + (1) = 21 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (12)
try rw [show (8) + (12) + 1 + (1) = 22 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (13)
try rw [show (8) + (13) + 1 + (1) = 23 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (w + 24)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (0)
try rw [show (8) + (0) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (0)
try rw [show (9) + (0) + 1 + (1) = 11 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (0)
try rw [show (9) + (0) + 1 + (2) = 12 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (0)
try rw [show (9) + (0) + 1 + (3) = 13 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (0)
try rw [show (9) + (0) + 1 + (4) = 14 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (0)
try rw [show (9) + (0) + 1 + (5) = 15 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (0)
try rw [show (9) + (0) + 1 + (6) = 16 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (0)
try rw [show (9) + (0) + 1 + (7) = 17 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (7)
try rw [show (9) + (7) + 1 + (1) = 18 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (8)
try rw [show (9) + (8) + 1 + (1) = 19 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (9)
try rw [show (9) + (9) + 1 + (1) = 20 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (10)
try rw [show (9) + (10) + 1 + (1) = 21 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (11)
try rw [show (9) + (11) + 1 + (1) = 22 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (12)
try rw [show (9) + (12) + 1 + (1) = 23 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (13)
try rw [show (9) + (13) + 1 + (1) = 24 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (w + 25)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (0)
try rw [show (9) + (0) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (0)
try rw [show (10) + (0) + 1 + (1) = 12 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (0)
try rw [show (10) + (0) + 1 + (2) = 13 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (0)
try rw [show (10) + (0) + 1 + (3) = 14 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (0)
try rw [show (10) + (0) + 1 + (4) = 15 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (0)
try rw [show (10) + (0) + 1 + (5) = 16 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (0)
try rw [show (10) + (0) + 1 + (6) = 17 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (0)
try rw [show (10) + (0) + 1 + (7) = 18 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (7)
try rw [show (10) + (7) + 1 + (1) = 19 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (8)
try rw [show (10) + (8) + 1 + (1) = 20 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (9)
try rw [show (10) + (9) + 1 + (1) = 21 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (10)
try rw [show (10) + (10) + 1 + (1) = 22 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (11)
try rw [show (10) + (11) + 1 + (1) = 23 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (12)
try rw [show (10) + (12) + 1 + (1) = 24 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (13)
try rw [show (10) + (13) + 1 + (1) = 25 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (w + 26)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (0)
try rw [show (10) + (0) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (0)
try rw [show (11) + (0) + 1 + (1) = 13 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (0)
try rw [show (11) + (0) + 1 + (2) = 14 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (0)
try rw [show (11) + (0) + 1 + (3) = 15 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (0)
try rw [show (11) + (0) + 1 + (4) = 16 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (0)
try rw [show (11) + (0) + 1 + (5) = 17 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (0)
try rw [show (11) + (0) + 1 + (6) = 18 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (0)
try rw [show (11) + (0) + 1 + (7) = 19 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (7)
try rw [show (11) + (7) + 1 + (1) = 20 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (8)
try rw [show (11) + (8) + 1 + (1) = 21 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (9)
try rw [show (11) + (9) + 1 + (1) = 22 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (10)
try rw [show (11) + (10) + 1 + (1) = 23 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (11)
try rw [show (11) + (11) + 1 + (1) = 24 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (12)
try rw [show (11) + (12) + 1 + (1) = 25 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (13)
try rw [show (11) + (13) + 1 + (1) = 26 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (w + 27)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (0)
try rw [show (11) + (0) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (0)
try rw [show (12) + (0) + 1 + (1) = 14 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (16))) (K.neg (K.mul (Zs K x (14)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (2) (12) (0)
try rw [show (12) + (0) + 1 + (2) = 15 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (2) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (17))) (K.neg (K.mul (Zs K x (14)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (3) (12) (0)
try rw [show (12) + (0) + 1 + (3) = 16 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (3) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (18))) (K.neg (K.mul (Zs K x (14)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (4) (12) (0)
try rw [show (12) + (0) + 1 + (4) = 17 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (4) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (19))) (K.neg (K.mul (Zs K x (14)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (5) (12) (0)
try rw [show (12) + (0) + 1 + (5) = 18 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (5) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (20))) (K.neg (K.mul (Zs K x (14)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (6) (12) (0)
try rw [show (12) + (0) + 1 + (6) = 19 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (6) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (21))) (K.neg (K.mul (Zs K x (14)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (7) (12) (0)
try rw [show (12) + (0) + 1 + (7) = 20 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (7) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (7)
try rw [show (12) + (7) + 1 + (1) = 21 by lib_nat] at h
try rw [show (12) + (7) + 1 = 20 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (8)
try rw [show (12) + (8) + 1 + (1) = 22 by lib_nat] at h
try rw [show (12) + (8) + 1 = 21 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (9)
try rw [show (12) + (9) + 1 + (1) = 23 by lib_nat] at h
try rw [show (12) + (9) + 1 = 22 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (10)
try rw [show (12) + (10) + 1 + (1) = 24 by lib_nat] at h
try rw [show (12) + (10) + 1 = 23 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (11)
try rw [show (12) + (11) + 1 + (1) = 25 by lib_nat] at h
try rw [show (12) + (11) + 1 = 24 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (12)
try rw [show (12) + (12) + 1 + (1) = 26 by lib_nat] at h
try rw [show (12) + (12) + 1 = 25 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (1) (12) (13)
try rw [show (12) + (13) + 1 + (1) = 27 by lib_nat] at h
try rw [show (12) + (13) + 1 = 26 by lib_nat] at h
try rw [show (12) + (1) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (w + 28)) (Zs K x (14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (13)) (Zs K x (w + 29))) (K.neg (K.mul (Zs K x (14)) (Zs K x (w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (12) (0)
try rw [show (12) + (0) + 1 + (w + 15) = w + 28 by lib_nat] at h
try rw [show (12) + (0) + 1 = 13 by lib_nat] at h
try rw [show (12) + (w + 15) = w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (0)
try rw [show (13) + (0) + 1 + (1) = 15 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (17))) (K.neg (K.mul (Zs K x (15)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (2) (13) (0)
try rw [show (13) + (0) + 1 + (2) = 16 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (2) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (18))) (K.neg (K.mul (Zs K x (15)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (3) (13) (0)
try rw [show (13) + (0) + 1 + (3) = 17 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (3) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (19))) (K.neg (K.mul (Zs K x (15)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (4) (13) (0)
try rw [show (13) + (0) + 1 + (4) = 18 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (4) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (20))) (K.neg (K.mul (Zs K x (15)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (5) (13) (0)
try rw [show (13) + (0) + 1 + (5) = 19 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (5) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (21))) (K.neg (K.mul (Zs K x (15)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (6) (13) (0)
try rw [show (13) + (0) + 1 + (6) = 20 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (6) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (22))) (K.neg (K.mul (Zs K x (15)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (7) (13) (0)
try rw [show (13) + (0) + 1 + (7) = 21 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (7) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (7)
try rw [show (13) + (7) + 1 + (1) = 22 by lib_nat] at h
try rw [show (13) + (7) + 1 = 21 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (8)
try rw [show (13) + (8) + 1 + (1) = 23 by lib_nat] at h
try rw [show (13) + (8) + 1 = 22 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (9)
try rw [show (13) + (9) + 1 + (1) = 24 by lib_nat] at h
try rw [show (13) + (9) + 1 = 23 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (10)
try rw [show (13) + (10) + 1 + (1) = 25 by lib_nat] at h
try rw [show (13) + (10) + 1 = 24 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (11)
try rw [show (13) + (11) + 1 + (1) = 26 by lib_nat] at h
try rw [show (13) + (11) + 1 = 25 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (12)
try rw [show (13) + (12) + 1 + (1) = 27 by lib_nat] at h
try rw [show (13) + (12) + 1 = 26 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (1) (13) (13)
try rw [show (13) + (13) + 1 + (1) = 28 by lib_nat] at h
try rw [show (13) + (13) + 1 = 27 by lib_nat] at h
try rw [show (13) + (1) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (w + 29)) (Zs K x (15))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (14)) (Zs K x (w + 30))) (K.neg (K.mul (Zs K x (15)) (Zs K x (w + 29)))))) := by
have h := A2.mk K O x hT (w + 15) (13) (0)
try rw [show (13) + (0) + 1 + (w + 15) = w + 29 by lib_nat] at h
try rw [show (13) + (0) + 1 = 14 by lib_nat] at h
try rw [show (13) + (w + 15) = w + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (0)
try rw [show (14) + (0) + 1 + (1) = 16 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (18))) (K.neg (K.mul (Zs K x (16)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (2) (14) (0)
try rw [show (14) + (0) + 1 + (2) = 17 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (2) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (19))) (K.neg (K.mul (Zs K x (16)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (3) (14) (0)
try rw [show (14) + (0) + 1 + (3) = 18 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (3) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (20))) (K.neg (K.mul (Zs K x (16)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (4) (14) (0)
try rw [show (14) + (0) + 1 + (4) = 19 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (4) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (21))) (K.neg (K.mul (Zs K x (16)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (5) (14) (0)
try rw [show (14) + (0) + 1 + (5) = 20 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (5) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (22))) (K.neg (K.mul (Zs K x (16)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (6) (14) (0)
try rw [show (14) + (0) + 1 + (6) = 21 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (6) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (23))) (K.neg (K.mul (Zs K x (16)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (7) (14) (0)
try rw [show (14) + (0) + 1 + (7) = 22 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (7) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (7)
try rw [show (14) + (7) + 1 + (1) = 23 by lib_nat] at h
try rw [show (14) + (7) + 1 = 22 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (8)
try rw [show (14) + (8) + 1 + (1) = 24 by lib_nat] at h
try rw [show (14) + (8) + 1 = 23 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (9)
try rw [show (14) + (9) + 1 + (1) = 25 by lib_nat] at h
try rw [show (14) + (9) + 1 = 24 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (10)
try rw [show (14) + (10) + 1 + (1) = 26 by lib_nat] at h
try rw [show (14) + (10) + 1 = 25 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (11)
try rw [show (14) + (11) + 1 + (1) = 27 by lib_nat] at h
try rw [show (14) + (11) + 1 = 26 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (12)
try rw [show (14) + (12) + 1 + (1) = 28 by lib_nat] at h
try rw [show (14) + (12) + 1 = 27 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (1) (14) (13)
try rw [show (14) + (13) + 1 + (1) = 29 by lib_nat] at h
try rw [show (14) + (13) + 1 = 28 by lib_nat] at h
try rw [show (14) + (1) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (w + 30)) (Zs K x (16))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (15)) (Zs K x (w + 31))) (K.neg (K.mul (Zs K x (16)) (Zs K x (w + 30)))))) := by
have h := A2.mk K O x hT (w + 15) (14) (0)
try rw [show (14) + (0) + 1 + (w + 15) = w + 30 by lib_nat] at h
try rw [show (14) + (0) + 1 = 15 by lib_nat] at h
try rw [show (14) + (w + 15) = w + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (0)
try rw [show (15) + (0) + 1 + (1) = 17 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (19))) (K.neg (K.mul (Zs K x (17)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (2) (15) (0)
try rw [show (15) + (0) + 1 + (2) = 18 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (2) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (20))) (K.neg (K.mul (Zs K x (17)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (3) (15) (0)
try rw [show (15) + (0) + 1 + (3) = 19 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (3) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (21))) (K.neg (K.mul (Zs K x (17)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (4) (15) (0)
try rw [show (15) + (0) + 1 + (4) = 20 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (4) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (22))) (K.neg (K.mul (Zs K x (17)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (5) (15) (0)
try rw [show (15) + (0) + 1 + (5) = 21 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (5) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (23))) (K.neg (K.mul (Zs K x (17)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (6) (15) (0)
try rw [show (15) + (0) + 1 + (6) = 22 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (6) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (24))) (K.neg (K.mul (Zs K x (17)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (7) (15) (0)
try rw [show (15) + (0) + 1 + (7) = 23 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (7) = 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (7)
try rw [show (15) + (7) + 1 + (1) = 24 by lib_nat] at h
try rw [show (15) + (7) + 1 = 23 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (8)
try rw [show (15) + (8) + 1 + (1) = 25 by lib_nat] at h
try rw [show (15) + (8) + 1 = 24 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (9)
try rw [show (15) + (9) + 1 + (1) = 26 by lib_nat] at h
try rw [show (15) + (9) + 1 = 25 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (10)
try rw [show (15) + (10) + 1 + (1) = 27 by lib_nat] at h
try rw [show (15) + (10) + 1 = 26 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (11)
try rw [show (15) + (11) + 1 + (1) = 28 by lib_nat] at h
try rw [show (15) + (11) + 1 = 27 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (12)
try rw [show (15) + (12) + 1 + (1) = 29 by lib_nat] at h
try rw [show (15) + (12) + 1 = 28 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (1) (15) (13)
try rw [show (15) + (13) + 1 + (1) = 30 by lib_nat] at h
try rw [show (15) + (13) + 1 = 29 by lib_nat] at h
try rw [show (15) + (1) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (w + 31)) (Zs K x (17))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (16)) (Zs K x (w + 32))) (K.neg (K.mul (Zs K x (17)) (Zs K x (w + 31)))))) := by
have h := A2.mk K O x hT (w + 15) (15) (0)
try rw [show (15) + (0) + 1 + (w + 15) = w + 31 by lib_nat] at h
try rw [show (15) + (0) + 1 = 16 by lib_nat] at h
try rw [show (15) + (w + 15) = w + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (0)
try rw [show (16) + (0) + 1 + (1) = 18 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (20))) (K.neg (K.mul (Zs K x (18)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (2) (16) (0)
try rw [show (16) + (0) + 1 + (2) = 19 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (2) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (21))) (K.neg (K.mul (Zs K x (18)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (3) (16) (0)
try rw [show (16) + (0) + 1 + (3) = 20 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (3) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (22))) (K.neg (K.mul (Zs K x (18)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (4) (16) (0)
try rw [show (16) + (0) + 1 + (4) = 21 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (4) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (23))) (K.neg (K.mul (Zs K x (18)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (5) (16) (0)
try rw [show (16) + (0) + 1 + (5) = 22 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (5) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (24))) (K.neg (K.mul (Zs K x (18)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (6) (16) (0)
try rw [show (16) + (0) + 1 + (6) = 23 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (6) = 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (25))) (K.neg (K.mul (Zs K x (18)) (Zs K x (24)))))) := by
have h := A2.mk K O x hT (7) (16) (0)
try rw [show (16) + (0) + 1 + (7) = 24 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (7) = 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (7)
try rw [show (16) + (7) + 1 + (1) = 25 by lib_nat] at h
try rw [show (16) + (7) + 1 = 24 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (8)
try rw [show (16) + (8) + 1 + (1) = 26 by lib_nat] at h
try rw [show (16) + (8) + 1 = 25 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (9)
try rw [show (16) + (9) + 1 + (1) = 27 by lib_nat] at h
try rw [show (16) + (9) + 1 = 26 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (10)
try rw [show (16) + (10) + 1 + (1) = 28 by lib_nat] at h
try rw [show (16) + (10) + 1 = 27 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (11)
try rw [show (16) + (11) + 1 + (1) = 29 by lib_nat] at h
try rw [show (16) + (11) + 1 = 28 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (12)
try rw [show (16) + (12) + 1 + (1) = 30 by lib_nat] at h
try rw [show (16) + (12) + 1 = 29 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (32))) (K.neg (K.mul (Zs K x (31)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (32))) (K.neg (K.mul (Zs K x (31)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (1) (16) (13)
try rw [show (16) + (13) + 1 + (1) = 31 by lib_nat] at h
try rw [show (16) + (13) + 1 = 30 by lib_nat] at h
try rw [show (16) + (1) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (w + 32)) (Zs K x (18))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (17)) (Zs K x (w + 33))) (K.neg (K.mul (Zs K x (18)) (Zs K x (w + 32)))))) := by
have h := A2.mk K O x hT (w + 15) (16) (0)
try rw [show (16) + (0) + 1 + (w + 15) = w + 32 by lib_nat] at h
try rw [show (16) + (0) + 1 = 17 by lib_nat] at h
try rw [show (16) + (w + 15) = w + 31 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (0)
try rw [show (17) + (0) + 1 + (1) = 19 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (21))) (K.neg (K.mul (Zs K x (19)) (Zs K x (20)))))) := by
have h := A2.mk K O x hT (2) (17) (0)
try rw [show (17) + (0) + 1 + (2) = 20 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (2) = 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (22))) (K.neg (K.mul (Zs K x (19)) (Zs K x (21)))))) := by
have h := A2.mk K O x hT (3) (17) (0)
try rw [show (17) + (0) + 1 + (3) = 21 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (3) = 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (23))) (K.neg (K.mul (Zs K x (19)) (Zs K x (22)))))) := by
have h := A2.mk K O x hT (4) (17) (0)
try rw [show (17) + (0) + 1 + (4) = 22 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (4) = 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (24))) (K.neg (K.mul (Zs K x (19)) (Zs K x (23)))))) := by
have h := A2.mk K O x hT (5) (17) (0)
try rw [show (17) + (0) + 1 + (5) = 23 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (5) = 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (25))) (K.neg (K.mul (Zs K x (19)) (Zs K x (24)))))) := by
have h := A2.mk K O x hT (6) (17) (0)
try rw [show (17) + (0) + 1 + (6) = 24 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (6) = 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (26))) (K.neg (K.mul (Zs K x (19)) (Zs K x (25)))))) := by
have h := A2.mk K O x hT (7) (17) (0)
try rw [show (17) + (0) + 1 + (7) = 25 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (7) = 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (7)
try rw [show (17) + (7) + 1 + (1) = 26 by lib_nat] at h
try rw [show (17) + (7) + 1 = 25 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (28))) (K.neg (K.mul (Zs K x (27)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (8)
try rw [show (17) + (8) + 1 + (1) = 27 by lib_nat] at h
try rw [show (17) + (8) + 1 = 26 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (29))) (K.neg (K.mul (Zs K x (28)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (9)
try rw [show (17) + (9) + 1 + (1) = 28 by lib_nat] at h
try rw [show (17) + (9) + 1 = 27 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (30))) (K.neg (K.mul (Zs K x (29)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (10)
try rw [show (17) + (10) + 1 + (1) = 29 by lib_nat] at h
try rw [show (17) + (10) + 1 = 28 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (31))) (K.neg (K.mul (Zs K x (30)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (11)
try rw [show (17) + (11) + 1 + (1) = 30 by lib_nat] at h
try rw [show (17) + (11) + 1 = 29 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (32))) (K.neg (K.mul (Zs K x (31)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (32))) (K.neg (K.mul (Zs K x (31)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (12)
try rw [show (17) + (12) + 1 + (1) = 31 by lib_nat] at h
try rw [show (17) + (12) + 1 = 30 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (33))) (K.neg (K.mul (Zs K x (32)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (33))) (K.neg (K.mul (Zs K x (32)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (1) (17) (13)
try rw [show (17) + (13) + 1 + (1) = 32 by lib_nat] at h
try rw [show (17) + (13) + 1 = 31 by lib_nat] at h
try rw [show (17) + (1) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (w + 33)) (Zs K x (19))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (18)) (Zs K x (w + 34))) (K.neg (K.mul (Zs K x (19)) (Zs K x (w + 33)))))) := by
have h := A2.mk K O x hT (w + 15) (17) (0)
try rw [show (17) + (0) + 1 + (w + 15) = w + 33 by lib_nat] at h
try rw [show (17) + (0) + 1 = 18 by lib_nat] at h
try rw [show (17) + (w + 15) = w + 32 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (1) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (1) = a + 20 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (1) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (2) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (2) = a + 21 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (2) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 22)) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (3) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (3) = a + 22 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (3) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 23)) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (4) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (4) = a + 23 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (4) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 24)) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (5) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (5) = a + 24 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (5) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 25)) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (6) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (6) = a + 25 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (6) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 26)) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (7) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (7) = a + 26 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (7) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 27)) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (8) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (8) = a + 27 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (8) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 28)) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 29))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 28)))))) := by
have h := A2.mk K O x hT (9) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (9) = a + 28 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (9) = a + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 29)) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 30))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 29)))))) := by
have h := A2.mk K O x hT (10) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (10) = a + 29 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (10) = a + 28 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 30)) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 31))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 30)))))) := by
have h := A2.mk K O x hT (11) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (11) = a + 30 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (11) = a + 29 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 31)) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 32))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 31)))))) := by
have h := A2.mk K O x hT (12) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (12) = a + 31 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (12) = a + 30 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 32)) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 33))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 32)))))) := by
have h := A2.mk K O x hT (13) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (13) = a + 32 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (13) = a + 31 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 33)) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + 34))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 33)))))) := by
have h := A2.mk K O x hT (14) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (14) = a + 33 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (14) = a + 32 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + w + 34)) (Zs K x (a + 20))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 19)) (Zs K x (a + w + 35))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + w + 34)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 18) (0)
try rw [show (a + 18) + (0) + 1 + (w + 15) = a + w + 34 by lib_nat] at h
try rw [show (a + 18) + (0) + 1 = a + 19 by lib_nat] at h
try rw [show (a + 18) + (w + 15) = a + w + 33 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
end signs
end GenA7
lean_all/ym/GenA7S14.lean
/-
ym/GenA7S14 — T45, G54: part of the generated proof of (A) (GenA7 split by cert/A/gen/split_gen.py).
Lean 4 core only, no axioms.
-/
import ym.GenA7B
set_option linter.unusedSectionVars false
set_option maxHeartbeats 0
namespace GenA7
open YMChain QBinom CgWindow A1Ip A2Ip MigdalCone HeatPair
variable {R : Type} (K : DetChain.CRing R)
section signs
variable (O : ORing K) (x : Nat → R) (hx : ∀ j, O.le K.zero (x j))
(hT : ∀ a w, O.le K.zero (K.add (K.mul (Zs K x (a + 1)) (Zs K x (a + w))) (K.neg (K.mul (Zs K x a) (Zs K x (a + w + 1))))))
(hD : ∀ a k, O.le K.zero (Window.Dl K (Zs K x) a (a + k))) (h1 : O.le K.zero K.one) (h10 : K.one ≠ K.zero)
include hx hT hD h1 h10 in
theorem sg14 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K x) x i (i + w + 1))) := by
unfold Lagrange.minor
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (2))) (K.neg (K.mul (Zs K x (1)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (1))) := O.mul_nonneg _ _ (hx (0)) (hx (0))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (3))) (K.neg (K.mul (Zs K x (2)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (2))) := O.mul_nonneg _ _ (hx (0)) (hx (1))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (3))) := O.mul_nonneg _ _ (hx (0)) (hx (2))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (0)) (hx (3))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (0)) (hx (4))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (0)) (hx (5))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (0)) (hx (6))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (0)) (hx (7))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (0)) (hx (8))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (0)) (hx (9))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (0)) (hx (10))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (0)) (hx (11))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (0)) (hx (12))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (0)) (hx (13))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (Zs K x (w + 16))) (K.neg (K.mul (Zs K x (w + 15)) (Zs K x (1))))))
have t0 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (0)) (hx (w + 14))
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (3))) (K.neg (K.mul (Zs K x (2)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (3))) (K.neg (K.mul (Zs K x (2)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (0)
try rw [show (0) + (0) + 1 + (1) = 2 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (4))) (K.neg (K.mul (Zs K x (2)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (2) (0) (0)
try rw [show (0) + (0) + 1 + (2) = 3 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (2) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (5))) (K.neg (K.mul (Zs K x (2)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (3) (0) (0)
try rw [show (0) + (0) + 1 + (3) = 4 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (3) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (6))) (K.neg (K.mul (Zs K x (2)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (4) (0) (0)
try rw [show (0) + (0) + 1 + (4) = 5 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (4) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (7))) (K.neg (K.mul (Zs K x (2)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (5) (0) (0)
try rw [show (0) + (0) + 1 + (5) = 6 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (5) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (8))) (K.neg (K.mul (Zs K x (2)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (6) (0) (0)
try rw [show (0) + (0) + 1 + (6) = 7 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (6) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (9))) (K.neg (K.mul (Zs K x (2)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (7) (0) (0)
try rw [show (0) + (0) + 1 + (7) = 8 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (7) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (7)
try rw [show (0) + (7) + 1 + (1) = 9 by lib_nat] at h
try rw [show (0) + (7) + 1 = 8 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (8)
try rw [show (0) + (8) + 1 + (1) = 10 by lib_nat] at h
try rw [show (0) + (8) + 1 = 9 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (9)
try rw [show (0) + (9) + 1 + (1) = 11 by lib_nat] at h
try rw [show (0) + (9) + 1 = 10 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (10)
try rw [show (0) + (10) + 1 + (1) = 12 by lib_nat] at h
try rw [show (0) + (10) + 1 = 11 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (11)
try rw [show (0) + (11) + 1 + (1) = 13 by lib_nat] at h
try rw [show (0) + (11) + 1 = 12 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (12)
try rw [show (0) + (12) + 1 + (1) = 14 by lib_nat] at h
try rw [show (0) + (12) + 1 = 13 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (13)
try rw [show (0) + (13) + 1 + (1) = 15 by lib_nat] at h
try rw [show (0) + (13) + 1 = 14 by lib_nat] at h
try rw [show (0) + (1) = 1 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (w + 16)) (Zs K x (2))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (1)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (2)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 15) (0) (0)
try rw [show (0) + (0) + 1 + (w + 15) = w + 16 by lib_nat] at h
try rw [show (0) + (0) + 1 = 1 by lib_nat] at h
try rw [show (0) + (w + 15) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (4))) (K.neg (K.mul (Zs K x (3)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (0)
try rw [show (1) + (0) + 1 + (1) = 3 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (5))) (K.neg (K.mul (Zs K x (3)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (2) (1) (0)
try rw [show (1) + (0) + 1 + (2) = 4 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (2) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (6))) (K.neg (K.mul (Zs K x (3)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (3) (1) (0)
try rw [show (1) + (0) + 1 + (3) = 5 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (3) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (7))) (K.neg (K.mul (Zs K x (3)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (0)
try rw [show (1) + (0) + 1 + (4) = 6 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (4) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (8))) (K.neg (K.mul (Zs K x (3)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (5) (1) (0)
try rw [show (1) + (0) + 1 + (5) = 7 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (5) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (9))) (K.neg (K.mul (Zs K x (3)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (6) (1) (0)
try rw [show (1) + (0) + 1 + (6) = 8 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (6) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (10))) (K.neg (K.mul (Zs K x (3)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (7) (1) (0)
try rw [show (1) + (0) + 1 + (7) = 9 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (7) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (7)
try rw [show (1) + (7) + 1 + (1) = 10 by lib_nat] at h
try rw [show (1) + (7) + 1 = 9 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (8)
try rw [show (1) + (8) + 1 + (1) = 11 by lib_nat] at h
try rw [show (1) + (8) + 1 = 10 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (9)
try rw [show (1) + (9) + 1 + (1) = 12 by lib_nat] at h
try rw [show (1) + (9) + 1 = 11 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (10)
try rw [show (1) + (10) + 1 + (1) = 13 by lib_nat] at h
try rw [show (1) + (10) + 1 = 12 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (11)
try rw [show (1) + (11) + 1 + (1) = 14 by lib_nat] at h
try rw [show (1) + (11) + 1 = 13 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (12)
try rw [show (1) + (12) + 1 + (1) = 15 by lib_nat] at h
try rw [show (1) + (12) + 1 = 14 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (3)))))) := by
have h := A2.mk K O x hT (1) (1) (13)
try rw [show (1) + (13) + 1 + (1) = 16 by lib_nat] at h
try rw [show (1) + (13) + 1 = 15 by lib_nat] at h
try rw [show (1) + (1) = 2 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (w + 17)) (Zs K x (3))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (3)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 15) (1) (0)
try rw [show (1) + (0) + 1 + (w + 15) = w + 17 by lib_nat] at h
try rw [show (1) + (0) + 1 = 2 by lib_nat] at h
try rw [show (1) + (w + 15) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (5))) (K.neg (K.mul (Zs K x (4)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (0)
try rw [show (2) + (0) + 1 + (1) = 4 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (2) (2) (0)
try rw [show (2) + (0) + 1 + (2) = 5 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (2) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (Zs K x (4)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (3) (2) (0)
try rw [show (2) + (0) + 1 + (3) = 6 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (3) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (8))) (K.neg (K.mul (Zs K x (4)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (0)
try rw [show (2) + (0) + 1 + (4) = 7 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (4) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (9))) (K.neg (K.mul (Zs K x (4)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (5) (2) (0)
try rw [show (2) + (0) + 1 + (5) = 8 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (5) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (10))) (K.neg (K.mul (Zs K x (4)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (0)
try rw [show (2) + (0) + 1 + (6) = 9 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (6) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (11))) (K.neg (K.mul (Zs K x (4)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (7) (2) (0)
try rw [show (2) + (0) + 1 + (7) = 10 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (7) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (7)
try rw [show (2) + (7) + 1 + (1) = 11 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (8)
try rw [show (2) + (8) + 1 + (1) = 12 by lib_nat] at h
try rw [show (2) + (8) + 1 = 11 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (9)
try rw [show (2) + (9) + 1 + (1) = 13 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (10)
try rw [show (2) + (10) + 1 + (1) = 14 by lib_nat] at h
try rw [show (2) + (10) + 1 = 13 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (11)
try rw [show (2) + (11) + 1 + (1) = 15 by lib_nat] at h
try rw [show (2) + (11) + 1 = 14 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (12)
try rw [show (2) + (12) + 1 + (1) = 16 by lib_nat] at h
try rw [show (2) + (12) + 1 = 15 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (4)))))) := by
have h := A2.mk K O x hT (1) (2) (13)
try rw [show (2) + (13) + 1 + (1) = 17 by lib_nat] at h
try rw [show (2) + (13) + 1 = 16 by lib_nat] at h
try rw [show (2) + (1) = 3 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (w + 18)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 15) (2) (0)
try rw [show (2) + (0) + 1 + (w + 15) = w + 18 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (w + 15) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (6))) (K.neg (K.mul (Zs K x (5)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (0)
try rw [show (3) + (0) + 1 + (1) = 5 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (Zs K x (5)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (2) (3) (0)
try rw [show (3) + (0) + 1 + (2) = 6 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (2) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (Zs K x (5)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (3) (3) (0)
try rw [show (3) + (0) + 1 + (3) = 7 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (3) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (Zs K x (5)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (0)
try rw [show (3) + (0) + 1 + (4) = 8 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (4) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (Zs K x (5)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (5) (3) (0)
try rw [show (3) + (0) + 1 + (5) = 9 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (5) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (Zs K x (5)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (0)
try rw [show (3) + (0) + 1 + (6) = 10 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (6) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (Zs K x (5)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (7) (3) (0)
try rw [show (3) + (0) + 1 + (7) = 11 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (7) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (7)
try rw [show (3) + (7) + 1 + (1) = 12 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (8)
try rw [show (3) + (8) + 1 + (1) = 13 by lib_nat] at h
try rw [show (3) + (8) + 1 = 12 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (9)
try rw [show (3) + (9) + 1 + (1) = 14 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (10)
try rw [show (3) + (10) + 1 + (1) = 15 by lib_nat] at h
try rw [show (3) + (10) + 1 = 14 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (11)
try rw [show (3) + (11) + 1 + (1) = 16 by lib_nat] at h
try rw [show (3) + (11) + 1 = 15 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (12)
try rw [show (3) + (12) + 1 + (1) = 17 by lib_nat] at h
try rw [show (3) + (12) + 1 = 16 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (5)))))) := by
have h := A2.mk K O x hT (1) (3) (13)
try rw [show (3) + (13) + 1 + (1) = 18 by lib_nat] at h
try rw [show (3) + (13) + 1 = 17 by lib_nat] at h
try rw [show (3) + (1) = 4 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (w + 19)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 15) (3) (0)
try rw [show (3) + (0) + 1 + (w + 15) = w + 19 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (w + 15) = w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (7))) (K.neg (K.mul (Zs K x (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (0)
try rw [show (4) + (0) + 1 + (1) = 6 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (8))) (K.neg (K.mul (Zs K x (6)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (2) (4) (0)
try rw [show (4) + (0) + 1 + (2) = 7 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (2) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (9))) (K.neg (K.mul (Zs K x (6)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (3) (4) (0)
try rw [show (4) + (0) + 1 + (3) = 8 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (3) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (10))) (K.neg (K.mul (Zs K x (6)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (0)
try rw [show (4) + (0) + 1 + (4) = 9 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (4) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (11))) (K.neg (K.mul (Zs K x (6)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (5) (4) (0)
try rw [show (4) + (0) + 1 + (5) = 10 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (5) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (12))) (K.neg (K.mul (Zs K x (6)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (0)
try rw [show (4) + (0) + 1 + (6) = 11 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (6) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (13))) (K.neg (K.mul (Zs K x (6)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (7) (4) (0)
try rw [show (4) + (0) + 1 + (7) = 12 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (7) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (7)
try rw [show (4) + (7) + 1 + (1) = 13 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (8)
try rw [show (4) + (8) + 1 + (1) = 14 by lib_nat] at h
try rw [show (4) + (8) + 1 = 13 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (9)
try rw [show (4) + (9) + 1 + (1) = 15 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (10)
try rw [show (4) + (10) + 1 + (1) = 16 by lib_nat] at h
try rw [show (4) + (10) + 1 = 15 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (11)
try rw [show (4) + (11) + 1 + (1) = 17 by lib_nat] at h
try rw [show (4) + (11) + 1 = 16 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (12)
try rw [show (4) + (12) + 1 + (1) = 18 by lib_nat] at h
try rw [show (4) + (12) + 1 = 17 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (1) (4) (13)
try rw [show (4) + (13) + 1 + (1) = 19 by lib_nat] at h
try rw [show (4) + (13) + 1 = 18 by lib_nat] at h
try rw [show (4) + (1) = 5 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (w + 20)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 15) (4) (0)
try rw [show (4) + (0) + 1 + (w + 15) = w + 20 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (w + 15) = w + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (8))) (K.neg (K.mul (Zs K x (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (0)
try rw [show (5) + (0) + 1 + (1) = 7 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (9))) (K.neg (K.mul (Zs K x (7)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (2) (5) (0)
try rw [show (5) + (0) + 1 + (2) = 8 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (2) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (10))) (K.neg (K.mul (Zs K x (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (3) (5) (0)
try rw [show (5) + (0) + 1 + (3) = 9 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (3) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (11))) (K.neg (K.mul (Zs K x (7)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (0)
try rw [show (5) + (0) + 1 + (4) = 10 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (4) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (12))) (K.neg (K.mul (Zs K x (7)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (5) (5) (0)
try rw [show (5) + (0) + 1 + (5) = 11 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (5) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (13))) (K.neg (K.mul (Zs K x (7)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (0)
try rw [show (5) + (0) + 1 + (6) = 12 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (6) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (7) (5) (0)
try rw [show (5) + (0) + 1 + (7) = 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (7) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (7)
try rw [show (5) + (7) + 1 + (1) = 14 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (8)
try rw [show (5) + (8) + 1 + (1) = 15 by lib_nat] at h
try rw [show (5) + (8) + 1 = 14 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (9)
try rw [show (5) + (9) + 1 + (1) = 16 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (10)
try rw [show (5) + (10) + 1 + (1) = 17 by lib_nat] at h
try rw [show (5) + (10) + 1 = 16 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (11)
try rw [show (5) + (11) + 1 + (1) = 18 by lib_nat] at h
try rw [show (5) + (11) + 1 = 17 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (12)
try rw [show (5) + (12) + 1 + (1) = 19 by lib_nat] at h
try rw [show (5) + (12) + 1 = 18 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (1) (5) (13)
try rw [show (5) + (13) + 1 + (1) = 20 by lib_nat] at h
try rw [show (5) + (13) + 1 = 19 by lib_nat] at h
try rw [show (5) + (1) = 6 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (w + 21)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 15) (5) (0)
try rw [show (5) + (0) + 1 + (w + 15) = w + 21 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 15) = w + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (9))) (K.neg (K.mul (Zs K x (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (0)
try rw [show (6) + (0) + 1 + (1) = 8 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (10))) (K.neg (K.mul (Zs K x (8)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (2) (6) (0)
try rw [show (6) + (0) + 1 + (2) = 9 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (2) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (11))) (K.neg (K.mul (Zs K x (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (3) (6) (0)
try rw [show (6) + (0) + 1 + (3) = 10 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (3) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (12))) (K.neg (K.mul (Zs K x (8)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (0)
try rw [show (6) + (0) + 1 + (4) = 11 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (4) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (13))) (K.neg (K.mul (Zs K x (8)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (5) (6) (0)
try rw [show (6) + (0) + 1 + (5) = 12 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (5) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (14))) (K.neg (K.mul (Zs K x (8)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (0)
try rw [show (6) + (0) + 1 + (6) = 13 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (6) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (15))) (K.neg (K.mul (Zs K x (8)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (7) (6) (0)
try rw [show (6) + (0) + 1 + (7) = 14 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (7) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (7)
try rw [show (6) + (7) + 1 + (1) = 15 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (8)
try rw [show (6) + (8) + 1 + (1) = 16 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (9)
try rw [show (6) + (9) + 1 + (1) = 17 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (10)
try rw [show (6) + (10) + 1 + (1) = 18 by lib_nat] at h
try rw [show (6) + (10) + 1 = 17 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (11)
try rw [show (6) + (11) + 1 + (1) = 19 by lib_nat] at h
try rw [show (6) + (11) + 1 = 18 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (12)
try rw [show (6) + (12) + 1 + (1) = 20 by lib_nat] at h
try rw [show (6) + (12) + 1 = 19 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (1) (6) (13)
try rw [show (6) + (13) + 1 + (1) = 21 by lib_nat] at h
try rw [show (6) + (13) + 1 = 20 by lib_nat] at h
try rw [show (6) + (1) = 7 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (w + 22)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 15) (6) (0)
try rw [show (6) + (0) + 1 + (w + 15) = w + 22 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 15) = w + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (10))) (K.neg (K.mul (Zs K x (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (0)
try rw [show (7) + (0) + 1 + (1) = 9 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (11))) (K.neg (K.mul (Zs K x (9)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (2) (7) (0)
try rw [show (7) + (0) + 1 + (2) = 10 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (2) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (12))) (K.neg (K.mul (Zs K x (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (3) (7) (0)
try rw [show (7) + (0) + 1 + (3) = 11 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (3) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (13))) (K.neg (K.mul (Zs K x (9)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (0)
try rw [show (7) + (0) + 1 + (4) = 12 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (4) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (14))) (K.neg (K.mul (Zs K x (9)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (5) (7) (0)
try rw [show (7) + (0) + 1 + (5) = 13 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (5) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (15))) (K.neg (K.mul (Zs K x (9)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (6) (7) (0)
try rw [show (7) + (0) + 1 + (6) = 14 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (6) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (7) (7) (0)
try rw [show (7) + (0) + 1 + (7) = 15 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (7) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (7)
try rw [show (7) + (7) + 1 + (1) = 16 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (8)
try rw [show (7) + (8) + 1 + (1) = 17 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (9)
try rw [show (7) + (9) + 1 + (1) = 18 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (10)
try rw [show (7) + (10) + 1 + (1) = 19 by lib_nat] at h
try rw [show (7) + (10) + 1 = 18 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (11)
try rw [show (7) + (11) + 1 + (1) = 20 by lib_nat] at h
try rw [show (7) + (11) + 1 = 19 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (12)
try rw [show (7) + (12) + 1 + (1) = 21 by lib_nat] at h
try rw [show (7) + (12) + 1 = 20 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (1) (7) (13)
try rw [show (7) + (13) + 1 + (1) = 22 by lib_nat] at h
try rw [show (7) + (13) + 1 = 21 by lib_nat] at h
try rw [show (7) + (1) = 8 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (w + 23)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (7) (0)
try rw [show (7) + (0) + 1 + (w + 15) = w + 23 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 15) = w + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (11))) (K.neg (K.mul (Zs K x (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (0)
try rw [show (8) + (0) + 1 + (1) = 10 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (12))) (K.neg (K.mul (Zs K x (10)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (2) (8) (0)
try rw [show (8) + (0) + 1 + (2) = 11 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (2) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (13))) (K.neg (K.mul (Zs K x (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (3) (8) (0)
try rw [show (8) + (0) + 1 + (3) = 12 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (3) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (14))) (K.neg (K.mul (Zs K x (10)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (0)
try rw [show (8) + (0) + 1 + (4) = 13 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (4) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (15))) (K.neg (K.mul (Zs K x (10)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (5) (8) (0)
try rw [show (8) + (0) + 1 + (5) = 14 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (5) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (16))) (K.neg (K.mul (Zs K x (10)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (6) (8) (0)
try rw [show (8) + (0) + 1 + (6) = 15 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (6) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (7) (8) (0)
try rw [show (8) + (0) + 1 + (7) = 16 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (7) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (7)
try rw [show (8) + (7) + 1 + (1) = 17 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (8)
try rw [show (8) + (8) + 1 + (1) = 18 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (9)
try rw [show (8) + (9) + 1 + (1) = 19 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (10)
try rw [show (8) + (10) + 1 + (1) = 20 by lib_nat] at h
try rw [show (8) + (10) + 1 = 19 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (11)
try rw [show (8) + (11) + 1 + (1) = 21 by lib_nat] at h
try rw [show (8) + (11) + 1 = 20 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (12)
try rw [show (8) + (12) + 1 + (1) = 22 by lib_nat] at h
try rw [show (8) + (12) + 1 = 21 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (1) (8) (13)
try rw [show (8) + (13) + 1 + (1) = 23 by lib_nat] at h
try rw [show (8) + (13) + 1 = 22 by lib_nat] at h
try rw [show (8) + (1) = 9 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (w + 24)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 25))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 24)))))) := by
have h := A2.mk K O x hT (w + 15) (8) (0)
try rw [show (8) + (0) + 1 + (w + 15) = w + 24 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 15) = w + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (12))) (K.neg (K.mul (Zs K x (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (0)
try rw [show (9) + (0) + 1 + (1) = 11 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (13))) (K.neg (K.mul (Zs K x (11)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (2) (9) (0)
try rw [show (9) + (0) + 1 + (2) = 12 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (2) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (14))) (K.neg (K.mul (Zs K x (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (3) (9) (0)
try rw [show (9) + (0) + 1 + (3) = 13 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (3) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (15))) (K.neg (K.mul (Zs K x (11)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (4) (9) (0)
try rw [show (9) + (0) + 1 + (4) = 14 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (4) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (16))) (K.neg (K.mul (Zs K x (11)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (5) (9) (0)
try rw [show (9) + (0) + 1 + (5) = 15 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (5) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (17))) (K.neg (K.mul (Zs K x (11)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (6) (9) (0)
try rw [show (9) + (0) + 1 + (6) = 16 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (6) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (7) (9) (0)
try rw [show (9) + (0) + 1 + (7) = 17 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (7) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (7)
try rw [show (9) + (7) + 1 + (1) = 18 by lib_nat] at h
try rw [show (9) + (7) + 1 = 17 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (8)
try rw [show (9) + (8) + 1 + (1) = 19 by lib_nat] at h
try rw [show (9) + (8) + 1 = 18 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (9)
try rw [show (9) + (9) + 1 + (1) = 20 by lib_nat] at h
try rw [show (9) + (9) + 1 = 19 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (10)
try rw [show (9) + (10) + 1 + (1) = 21 by lib_nat] at h
try rw [show (9) + (10) + 1 = 20 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (11)
try rw [show (9) + (11) + 1 + (1) = 22 by lib_nat] at h
try rw [show (9) + (11) + 1 = 21 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (12)
try rw [show (9) + (12) + 1 + (1) = 23 by lib_nat] at h
try rw [show (9) + (12) + 1 = 22 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (1) (9) (13)
try rw [show (9) + (13) + 1 + (1) = 24 by lib_nat] at h
try rw [show (9) + (13) + 1 = 23 by lib_nat] at h
try rw [show (9) + (1) = 10 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (w + 25)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 26))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 25)))))) := by
have h := A2.mk K O x hT (w + 15) (9) (0)
try rw [show (9) + (0) + 1 + (w + 15) = w + 25 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 15) = w + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (13))) (K.neg (K.mul (Zs K x (12)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (0)
try rw [show (10) + (0) + 1 + (1) = 12 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (14))) (K.neg (K.mul (Zs K x (12)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (2) (10) (0)
try rw [show (10) + (0) + 1 + (2) = 13 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (2) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (15))) (K.neg (K.mul (Zs K x (12)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (3) (10) (0)
try rw [show (10) + (0) + 1 + (3) = 14 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (3) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (16))) (K.neg (K.mul (Zs K x (12)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (4) (10) (0)
try rw [show (10) + (0) + 1 + (4) = 15 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (4) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (17))) (K.neg (K.mul (Zs K x (12)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (5) (10) (0)
try rw [show (10) + (0) + 1 + (5) = 16 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (5) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (18))) (K.neg (K.mul (Zs K x (12)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (6) (10) (0)
try rw [show (10) + (0) + 1 + (6) = 17 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (6) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (19))) (K.neg (K.mul (Zs K x (12)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (7) (10) (0)
try rw [show (10) + (0) + 1 + (7) = 18 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (7) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (7)
try rw [show (10) + (7) + 1 + (1) = 19 by lib_nat] at h
try rw [show (10) + (7) + 1 = 18 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (8)
try rw [show (10) + (8) + 1 + (1) = 20 by lib_nat] at h
try rw [show (10) + (8) + 1 = 19 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (9)
try rw [show (10) + (9) + 1 + (1) = 21 by lib_nat] at h
try rw [show (10) + (9) + 1 = 20 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (10)
try rw [show (10) + (10) + 1 + (1) = 22 by lib_nat] at h
try rw [show (10) + (10) + 1 = 21 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (11)
try rw [show (10) + (11) + 1 + (1) = 23 by lib_nat] at h
try rw [show (10) + (11) + 1 = 22 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (12)
try rw [show (10) + (12) + 1 + (1) = 24 by lib_nat] at h
try rw [show (10) + (12) + 1 = 23 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (1) (10) (13)
try rw [show (10) + (13) + 1 + (1) = 25 by lib_nat] at h
try rw [show (10) + (13) + 1 = 24 by lib_nat] at h
try rw [show (10) + (1) = 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (w + 26)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 27))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 26)))))) := by
have h := A2.mk K O x hT (w + 15) (10) (0)
try rw [show (10) + (0) + 1 + (w + 15) = w + 26 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 15) = w + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (14))) (K.neg (K.mul (Zs K x (13)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (0)
try rw [show (11) + (0) + 1 + (1) = 13 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (15))) (K.neg (K.mul (Zs K x (14)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (15))) (K.neg (K.mul (Zs K x (13)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (2) (11) (0)
try rw [show (11) + (0) + 1 + (2) = 14 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (2) = 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (15)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (16))) (K.neg (K.mul (Zs K x (13)) (Zs K x (15)))))) := by
have h := A2.mk K O x hT (3) (11) (0)
try rw [show (11) + (0) + 1 + (3) = 15 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (3) = 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (16)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (17))) (K.neg (K.mul (Zs K x (13)) (Zs K x (16)))))) := by
have h := A2.mk K O x hT (4) (11) (0)
try rw [show (11) + (0) + 1 + (4) = 16 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (4) = 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (18))) (K.neg (K.mul (Zs K x (13)) (Zs K x (17)))))) := by
have h := A2.mk K O x hT (5) (11) (0)
try rw [show (11) + (0) + 1 + (5) = 17 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (5) = 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (19))) (K.neg (K.mul (Zs K x (13)) (Zs K x (18)))))) := by
have h := A2.mk K O x hT (6) (11) (0)
try rw [show (11) + (0) + 1 + (6) = 18 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (6) = 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (19)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (20))) (K.neg (K.mul (Zs K x (13)) (Zs K x (19)))))) := by
have h := A2.mk K O x hT (7) (11) (0)
try rw [show (11) + (0) + 1 + (7) = 19 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (7) = 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (21))) (K.neg (K.mul (Zs K x (20)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (7)
try rw [show (11) + (7) + 1 + (1) = 20 by lib_nat] at h
try rw [show (11) + (7) + 1 = 19 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (22))) (K.neg (K.mul (Zs K x (21)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (8)
try rw [show (11) + (8) + 1 + (1) = 21 by lib_nat] at h
try rw [show (11) + (8) + 1 = 20 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (23))) (K.neg (K.mul (Zs K x (22)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (9)
try rw [show (11) + (9) + 1 + (1) = 22 by lib_nat] at h
try rw [show (11) + (9) + 1 = 21 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (24))) (K.neg (K.mul (Zs K x (23)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (10)
try rw [show (11) + (10) + 1 + (1) = 23 by lib_nat] at h
try rw [show (11) + (10) + 1 = 22 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (25))) (K.neg (K.mul (Zs K x (24)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (11)
try rw [show (11) + (11) + 1 + (1) = 24 by lib_nat] at h
try rw [show (11) + (11) + 1 = 23 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (26))) (K.neg (K.mul (Zs K x (25)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (12)
try rw [show (11) + (12) + 1 + (1) = 25 by lib_nat] at h
try rw [show (11) + (12) + 1 = 24 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (27))) (K.neg (K.mul (Zs K x (26)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (1) (11) (13)
try rw [show (11) + (13) + 1 + (1) = 26 by lib_nat] at h
try rw [show (11) + (13) + 1 = 25 by lib_nat] at h
try rw [show (11) + (1) = 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (w + 27)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (12)) (Zs K x (w + 28))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 27)))))) := by
have h := A2.mk K O x hT (w + 15) (11) (0)
try rw [show (11) + (0) + 1 + (w + 15) = w + 27 by lib_nat] at h
try rw [show (11) + (0) + 1 = 12 by lib_nat] at h
try rw [show (11) + (w + 15) = w + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (1) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (1) = a + 14 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (1) = a + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 15)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (2) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (2) = a + 15 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (2) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 16)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (3) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (3) = a + 16 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (3) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 17)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (4) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (4) = a + 17 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (4) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 18)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (5) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (5) = a + 18 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (5) = a + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (6) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (6) = a + 19 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (6) = a + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (7) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (7) = a + 20 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (7) = a + 19 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 21 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (8) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (8) = a + 21 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (8) = a + 20 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 22 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 22)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (9) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (9) = a + 22 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (9) = a + 21 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 23 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 23)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 23)))))) := by
have h := A2.mk K O x hT (10) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (10) = a + 23 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (10) = a + 22 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 24 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 24)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 25))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 24)))))) := by
have h := A2.mk K O x hT (11) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (11) = a + 24 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (11) = a + 23 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 25 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 25)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 26))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 25)))))) := by
have h := A2.mk K O x hT (12) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (12) = a + 25 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (12) = a + 24 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 26 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 26)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 27))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 26)))))) := by
have h := A2.mk K O x hT (13) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (13) = a + 26 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (13) = a + 25 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 27 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 27)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + 28))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 27)))))) := by
have h := A2.mk K O x hT (14) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (14) = a + 27 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (14) = a + 26 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 28 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 29))) (K.neg (K.mul (Zs K x (a + w + 28)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 29))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + w + 28)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 12) (0)
try rw [show (a + 12) + (0) + 1 + (w + 15) = a + w + 28 by lib_nat] at h
try rw [show (a + 12) + (0) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 12) + (w + 15) = a + w + 27 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
exact A1.nn_of_eq K O _ _ t0 (by lib_ring)
end signs
end GenA7