lean_all/ym/GenA5.lean
have t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ -- (+363 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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.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 (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))) (K.add (K.add (K.add (Zs K x (4 -- (+49 chars; full line in the Zenodo source)
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 (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (19))))) := A1.Dn K O x hD (3) (15) (3) (4) (5) (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 (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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O -- (+365 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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.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 (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))) (K.add (K.add (K.add (Zs K x -- (+51 chars; full line in the Zenodo source)
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 (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (20))))) := A1.Dn K O x hD (3) (16) (3) (4) (5) (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 (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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K -- (+367 chars; full line in the Zenodo source)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 (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.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 (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 + -- (+87 chars; full line in the Zenodo source)
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 (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 t1 : 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 t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 21))))) := A1.Dn K O x hD (3) (w + 17) (3) (4) (5) (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 + 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 t5 : 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 t6 : 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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 15))))) := A1.Dn K O x hD (5) (w + 9) (5) (6) (7) (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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 16))))) := A1.Dn K O x hD (6) (w + 9) (6) (7) (8) (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 t14 : 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 t15 : 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 t16 : 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 t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 15))))) := A1.Dn K O x hD (7) (w + 7) (7) (8) (9) (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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 17))))) := A1.Dn K O x hD (7) (w + 9) (7) (8) (9) (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 t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 17))))) := A1.Dn K O x hD (7) (w + 9) (7) (8) (9) (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 t20 : 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 t21 : 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 t22 : 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 t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 16))))) := A1.Dn K O x hD (8) (w + 7) (8) (9) (10) (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 t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 18))))) := A1.Dn K O x hD (8) (w + 9) (8) (9) (10) (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 t25 : 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 t26 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 15))))) := A1.Dn K O x hD (9) (w + 5) (9) (10) (11) (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 t27 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 17))))) := A1.Dn K O x hD (9) (w + 7) (9) (10) (11) (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 t28 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 19))))) := A1.Dn K O x hD (9) (w + 9) (9) (10) (11) (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 t29 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K -- (+367 chars; full line in the Zenodo source)
| 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 (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (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)))) (K.neg (K.mul (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))) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) ( -- (+31 chars; full line in the Zenodo source)
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 (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 (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 (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 (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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.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))) (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 (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))) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7)) -- (+34 chars; full line in the Zenodo source)
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 (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 (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 (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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) t14) t -- (+17 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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))) (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 (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))) (K.add (K.add (K.add (Zs K x (5)) (Zs K x ( -- (+37 chars; full line in the Zenodo source)
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 (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 (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 (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 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 (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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn -- (+163 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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))) (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 (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))) (K.add (K.add (K.add (Zs K x (5)) (Zs K -- (+40 chars; full line in the Zenodo source)
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 (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 (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 (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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1. -- (+237 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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))) (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 (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))) (K.add (K.add (K.add (Zs K x (5)) (Zs -- (+43 chars; full line in the Zenodo source)
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 (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 (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 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 (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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A -- (+311 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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))) (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 (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))) (K.add (K.add (K.add (Zs K x (5)) -- (+46 chars; full line in the Zenodo source)
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 (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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 t28 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ -- (+337 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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))) (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 (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))) (K.add (K.add (K.add (Zs K x (5) -- (+48 chars; full line in the Zenodo source)
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 (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 (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 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)
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)
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)
have t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ -- (+363 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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))) (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 (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))) (K.add (K.add (K.add (Zs K x ( -- (+50 chars; full line in the Zenodo source)
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 (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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O -- (+365 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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))) (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 (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))) (K.add (K.add (K.add (Zs K x -- (+52 chars; full line in the Zenodo source)
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 (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (20))))) := A1.Dn K O x hD (4) (15) (4) (5) (6) (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 (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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K -- (+367 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (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))) (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 (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))) (K.add (K.add (K.add (Zs K -- (+54 chars; full line in the Zenodo source)
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 (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (20)) (Zs K x (22))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (21))))) := A1.Dn K O x hD (4) (16) (4) (5) (6) (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 (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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add -- (+369 chars; full line in the Zenodo source)
| 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 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (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))) (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 (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 ( -- (+90 chars; full line in the Zenodo source)
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 (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 t1 : 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 t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 22))))) := A1.Dn K O x hD (4) (w + 17) (4) (5) (6) (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 + 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 t5 : 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 t6 : 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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 16))))) := A1.Dn K O x hD (6) (w + 9) (6) (7) (8) (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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 17))))) := A1.Dn K O x hD (7) (w + 9) (7) (8) (9) (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 t14 : 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 t15 : 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 t16 : 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 t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 16))))) := A1.Dn K O x hD (8) (w + 7) (8) (9) (10) (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 t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 18))))) := A1.Dn K O x hD (8) (w + 9) (8) (9) (10) (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 t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 18))))) := A1.Dn K O x hD (8) (w + 9) (8) (9) (10) (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 t20 : 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 t21 : 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 t22 : 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 t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 17))))) := A1.Dn K O x hD (9) (w + 7) (9) (10) (11) (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 t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 19))))) := A1.Dn K O x hD (9) (w + 9) (9) (10) (11) (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 t25 : 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 t26 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 16))))) := A1.Dn K O x hD (10) (w + 5) (10) (11) (12) (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 t27 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 18))))) := A1.Dn K O x hD (10) (w + 7) (10) (11) (12) (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 t28 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 20))))) := A1.Dn K O x hD (10) (w + 9) (10) (11) (12) (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 t29 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add -- (+369 chars; full line in the Zenodo source)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 10 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 9))) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (K.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))) (Zs K x (a + 13)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (Zs K x (a -- (+105 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 7))))) := A1.Dn K O x hD (a + 5) (1) (a + 5) (a + 6) (a + 7) (a + 6) (a + 7) (a + 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 (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 9))))) := A1.Dn K O x hD (a + 5) (3) (a + 5) (a + 6) (a + 7) (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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 5) (5) (a + 5) (a + 6) (a + 7) (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 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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 5) (7) (a + 5) (a + 6) (a + 7) (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 + 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 + 10)) (Zs K x (a + 12))) (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 + 11))))) := A1.Dn K O x hD (a + 7) (3) (a + 7) (a + 8) (a + 9) (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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 11 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 9))) (Zs K x (a + 11))) (Zs K x (a + 13))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))) (Zs K x (a + 13))) (Zs K x -- (+108 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 8))))) := A1.Dn K O x hD (a + 5) (2) (a + 5) (a + 6) (a + 7) (a + 7) (a + 8) (a + 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 (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 10))))) := A1.Dn K O x hD (a + 5) (4) (a + 5) (a + 6) (a + 7) (a + 9) (a + 10) (a + 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 (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 5) (6) (a + 5) (a + 6) (a + 7) (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 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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 5) (8) (a + 5) (a + 6) (a + 7) (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 + 8)) (Zs K x (a + 10))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 9))))) := A1.Dn K O x hD (a + 6) (2) (a + 6) (a + 7) (a + 8) (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 + 10)) (Zs K x (a + 12))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 6) (4) (a + 6) (a + 7) (a + 8) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 6) (6) (a + 6) (a + 7) (a + 8) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (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 + 10))))) := A1.Dn K O x hD (a + 7) (2) (a + 7) (a + 8) (a + 9) (a + 9) (a + 10) (a + 11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (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 + 12))))) := A1.Dn K O x hD (a + 7) (4) (a + 7) (a + 8) (a + 9) (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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (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 + 14))))) := A1.Dn K O x hD (a + 7) (6) (a + 7) (a + 8) (a + 9) (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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 8) (2) (a + 8) (a + 9) (a + 10) (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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 8) (4) (a + 8) (a + 9) (a + 10) (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 t12 : 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 t13 : 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 t14 : 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 t15 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) t14) t -- (+17 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 9))) (Zs K x (a + 11))) (Zs K x (a + 13))) (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)))) (K.neg (K.mul (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 -- (+111 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 9))))) := A1.Dn K O x hD (a + 5) (3) (a + 5) (a + 6) (a + 7) (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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 5) (5) (a + 5) (a + 6) (a + 7) (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 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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 5) (7) (a + 5) (a + 6) (a + 7) (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 + 14)) (Zs K x (a + 16))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 5) (9) (a + 5) (a + 6) (a + 7) (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 + 9)) (Zs K x (a + 11))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))))) := A1.Dn K O x hD (a + 6) (3) (a + 6) (a + 7) (a + 8) (a + 9) (a + 10) (a + 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 (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 6) (5) (a + 6) (a + 7) (a + 8) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 6) (7) (a + 6) (a + 7) (a + 8) (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 t7 : 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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (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 + 11))))) := A1.Dn K O x hD (a + 7) (3) (a + 7) (a + 8) (a + 9) (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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (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 + 11))))) := A1.Dn K O x hD (a + 7) (3) (a + 7) (a + 8) (a + 9) (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 t10 : 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 t11 : 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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (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 + 15))))) := A1.Dn K O x hD (a + 7) (7) (a + 7) (a + 8) (a + 9) (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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 8) (3) (a + 8) (a + 9) (a + 10) (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 t14 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 8) (5) (a + 8) (a + 9) (a + 10) (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 t15 : 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 t16 : 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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn -- (+163 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 9))) (Zs K x (a + 11))) (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)))) (K.neg (K.mul (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))) (Z -- (+114 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 10))))) := A1.Dn K O x hD (a + 5) (4) (a + 5) (a + 6) (a + 7) (a + 9) (a + 10) (a + 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 (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 5) (6) (a + 5) (a + 6) (a + 7) (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 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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 5) (8) (a + 5) (a + 6) (a + 7) (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 + 15)) (Zs K x (a + 17))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 5) (10) (a + 5) (a + 6) (a + 7) (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 + 10)) (Zs K x (a + 12))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 6) (4) (a + 6) (a + 7) (a + 8) (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 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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 6) (6) (a + 6) (a + 7) (a + 8) (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 + 14)) (Zs K x (a + 16))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 6) (8) (a + 6) (a + 7) (a + 8) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (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 + 10))))) := A1.Dn K O x hD (a + 7) (2) (a + 7) (a + 8) (a + 9) (a + 9) (a + 10) (a + 11) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (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 + 12))))) := A1.Dn K O x hD (a + 7) (4) (a + 7) (a + 8) (a + 9) (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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (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 + 12))))) := A1.Dn K O x hD (a + 7) (4) (a + 7) (a + 8) (a + 9) (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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (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 + 14))))) := A1.Dn K O x hD (a + 7) (6) (a + 7) (a + 8) (a + 9) (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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (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 + 14))))) := A1.Dn K O x hD (a + 7) (6) (a + 7) (a + 8) (a + 9) (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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 7) (8) (a + 7) (a + 8) (a + 9) (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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 8) (2) (a + 8) (a + 9) (a + 10) (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 t14 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 8) (4) (a + 8) (a + 9) (a + 10) (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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 8) (4) (a + 8) (a + 9) (a + 10) (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 t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 8) (6) (a + 8) (a + 9) (a + 10) (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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1. -- (+237 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 9))) (Zs K x (a + 11))) (Zs K x (a + 13))) (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 (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))) -- (+117 chars; full line in the Zenodo source)
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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 5) (5) (a + 5) (a + 6) (a + 7) (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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 5) (7) (a + 5) (a + 6) (a + 7) (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 + 14)) (Zs K x (a + 16))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 5) (9) (a + 5) (a + 6) (a + 7) (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 + 16)) (Zs K x (a + 18))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 5) (11) (a + 5) (a + 6) (a + 7) (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 + 11)) (Zs K x (a + 13))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 6) (5) (a + 6) (a + 7) (a + 8) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 6) (7) (a + 6) (a + 7) (a + 8) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 6) (9) (a + 6) (a + 7) (a + 8) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (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 + 11))))) := A1.Dn K O x hD (a + 7) (3) (a + 7) (a + 8) (a + 9) (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 t8 : 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 t9 : 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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (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 + 15))))) := A1.Dn K O x hD (a + 7) (7) (a + 7) (a + 8) (a + 9) (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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (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 + 15))))) := A1.Dn K O x hD (a + 7) (7) (a + 7) (a + 8) (a + 9) (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 t12 : 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)
have t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 8) (3) (a + 8) (a + 9) (a + 10) (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 t14 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 8) (5) (a + 8) (a + 9) (a + 10) (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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 8) (5) (a + 8) (a + 9) (a + 10) (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 t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 8) (7) (a + 8) (a + 9) (a + 10) (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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A -- (+311 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 9))) (Zs K x (a + 11))) (Zs K x (a + 13))) (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 (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) -- (+119 chars; full line in the Zenodo source)
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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 5) (6) (a + 5) (a + 6) (a + 7) (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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 5) (8) (a + 5) (a + 6) (a + 7) (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 + 15)) (Zs K x (a + 17))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 5) (10) (a + 5) (a + 6) (a + 7) (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 + 17)) (Zs K x (a + 19))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 5) (12) (a + 5) (a + 6) (a + 7) (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 + 12)) (Zs K x (a + 14))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 6) (6) (a + 6) (a + 7) (a + 8) (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 + 14)) (Zs K x (a + 16))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 6) (8) (a + 6) (a + 7) (a + 8) (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 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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 6) (10) (a + 6) (a + 7) (a + 8) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (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 + 12))))) := A1.Dn K O x hD (a + 7) (4) (a + 7) (a + 8) (a + 9) (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (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 + 14))))) := A1.Dn K O x hD (a + 7) (6) (a + 7) (a + 8) (a + 9) (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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (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 + 14))))) := A1.Dn K O x hD (a + 7) (6) (a + 7) (a + 8) (a + 9) (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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 7) (8) (a + 7) (a + 8) (a + 9) (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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 7) (8) (a + 7) (a + 8) (a + 9) (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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (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 + 18))))) := A1.Dn K O x hD (a + 7) (10) (a + 7) (a + 8) (a + 9) (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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 8) (4) (a + 8) (a + 9) (a + 10) (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 t14 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 8) (6) (a + 8) (a + 9) (a + 10) (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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 8) (6) (a + 8) (a + 9) (a + 10) (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 t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 8) (8) (a + 8) (a + 9) (a + 10) (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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 t28 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ -- (+337 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 (K.add (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 9))) (Zs K x (a + 11))) (Zs K x (a + 13))) (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 (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 + 1 -- (+121 chars; full line in the Zenodo source)
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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 5) (7) (a + 5) (a + 6) (a + 7) (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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 5) (9) (a + 5) (a + 6) (a + 7) (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 + 16)) (Zs K x (a + 18))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 5) (11) (a + 5) (a + 6) (a + 7) (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 + 18)) (Zs K x (a + 20))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 5) (13) (a + 5) (a + 6) (a + 7) (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 + 13)) (Zs K x (a + 15))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 6) (7) (a + 6) (a + 7) (a + 8) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 6) (9) (a + 6) (a + 7) (a + 8) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 6) (11) (a + 6) (a + 7) (a + 8) (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 t7 : 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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (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 + 15))))) := A1.Dn K O x hD (a + 7) (7) (a + 7) (a + 8) (a + 9) (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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (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 + 15))))) := A1.Dn K O x hD (a + 7) (7) (a + 7) (a + 8) (a + 9) (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 t10 : 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)
have t11 : 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)
have t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (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 + 19))))) := A1.Dn K O x hD (a + 7) (11) (a + 7) (a + 8) (a + 9) (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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 8) (5) (a + 8) (a + 9) (a + 10) (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 t14 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 8) (7) (a + 8) (a + 9) (a + 10) (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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 8) (7) (a + 8) (a + 9) (a + 10) (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 t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 8) (9) (a + 8) (a + 9) (a + 10) (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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ -- (+363 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 (K.add (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 9))) (Zs K x (a + 11))) (Zs K x (a + 13))) (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 (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 + -- (+123 chars; full line in the Zenodo source)
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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 5) (8) (a + 5) (a + 6) (a + 7) (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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 5) (10) (a + 5) (a + 6) (a + 7) (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 + 17)) (Zs K x (a + 19))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 5) (12) (a + 5) (a + 6) (a + 7) (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 + 19)) (Zs K x (a + 21))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 5) (14) (a + 5) (a + 6) (a + 7) (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 + 14)) (Zs K x (a + 16))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 6) (8) (a + 6) (a + 7) (a + 8) (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 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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 6) (10) (a + 6) (a + 7) (a + 8) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 6) (12) (a + 6) (a + 7) (a + 8) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (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 + 14))))) := A1.Dn K O x hD (a + 7) (6) (a + 7) (a + 8) (a + 9) (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 7) (8) (a + 7) (a + 8) (a + 9) (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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 7) (8) (a + 7) (a + 8) (a + 9) (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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (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 + 18))))) := A1.Dn K O x hD (a + 7) (10) (a + 7) (a + 8) (a + 9) (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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (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 + 18))))) := A1.Dn K O x hD (a + 7) (10) (a + 7) (a + 8) (a + 9) (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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 7) (12) (a + 7) (a + 8) (a + 9) (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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 8) (6) (a + 8) (a + 9) (a + 10) (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 t14 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 8) (8) (a + 8) (a + 9) (a + 10) (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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 8) (8) (a + 8) (a + 9) (a + 10) (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 t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 8) (10) (a + 8) (a + 9) (a + 10) (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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O -- (+365 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 (K.add (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 9))) (Zs K x (a + 11))) (Zs K x (a + 13))) (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 (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 -- (+125 chars; full line in the Zenodo source)
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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 5) (9) (a + 5) (a + 6) (a + 7) (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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 5) (11) (a + 5) (a + 6) (a + 7) (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 + 18)) (Zs K x (a + 20))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 5) (13) (a + 5) (a + 6) (a + 7) (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 + 20)) (Zs K x (a + 22))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 5) (15) (a + 5) (a + 6) (a + 7) (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 + 15)) (Zs K x (a + 17))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 6) (9) (a + 6) (a + 7) (a + 8) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 6) (11) (a + 6) (a + 7) (a + 8) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 6) (13) (a + 6) (a + 7) (a + 8) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (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 + 15))))) := A1.Dn K O x hD (a + 7) (7) (a + 7) (a + 8) (a + 9) (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 t8 : 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)
have t9 : 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)
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (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 + 19))))) := A1.Dn K O x hD (a + 7) (11) (a + 7) (a + 8) (a + 9) (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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (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 + 19))))) := A1.Dn K O x hD (a + 7) (11) (a + 7) (a + 8) (a + 9) (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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (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 + 21))))) := A1.Dn K O x hD (a + 7) (13) (a + 7) (a + 8) (a + 9) (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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 8) (7) (a + 8) (a + 9) (a + 10) (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 t14 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 8) (9) (a + 8) (a + 9) (a + 10) (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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 8) (9) (a + 8) (a + 9) (a + 10) (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 t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 8) (11) (a + 8) (a + 9) (a + 10) (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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K -- (+367 chars; full line in the Zenodo source)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 (K.add (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 9))) (Zs K x (a + 11))) (Zs K x (a + 13))) (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 (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 -- (+127 chars; full line in the Zenodo source)
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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 5) (10) (a + 5) (a + 6) (a + 7) (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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 5) (12) (a + 5) (a + 6) (a + 7) (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 + 19)) (Zs K x (a + 21))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 5) (14) (a + 5) (a + 6) (a + 7) (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 + 21)) (Zs K x (a + 23))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 5) (16) (a + 5) (a + 6) (a + 7) (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 + 16)) (Zs K x (a + 18))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 6) (10) (a + 6) (a + 7) (a + 8) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 6) (12) (a + 6) (a + 7) (a + 8) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 6) (14) (a + 6) (a + 7) (a + 8) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 7) (8) (a + 7) (a + 8) (a + 9) (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (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 + 18))))) := A1.Dn K O x hD (a + 7) (10) (a + 7) (a + 8) (a + 9) (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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (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 + 18))))) := A1.Dn K O x hD (a + 7) (10) (a + 7) (a + 8) (a + 9) (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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 7) (12) (a + 7) (a + 8) (a + 9) (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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (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 + 20))))) := A1.Dn K O x hD (a + 7) (12) (a + 7) (a + 8) (a + 9) (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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (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 + 22))))) := A1.Dn K O x hD (a + 7) (14) (a + 7) (a + 8) (a + 9) (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 t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 8) (8) (a + 8) (a + 9) (a + 10) (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 t14 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 8) (10) (a + 8) (a + 9) (a + 10) (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 t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 8) (10) (a + 8) (a + 9) (a + 10) (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 t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 8) (12) (a + 8) (a + 9) (a + 10) (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 t17 : 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 t18 : 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 t19 : 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 t20 : 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 t21 : 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 t22 : 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 t23 : 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 t24 : 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 t25 : 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 t26 : 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 t27 : 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 t28 : 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 t29 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add -- (+369 chars; full line in the Zenodo source)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + 9))) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (K.add (K.add (Zs K x (a + w + 17)) (Zs K x (a + w + 19))) (Zs K x (a + w + 21))) (Zs K x (a + w + 23)))) (K.neg (K.mul (K.add (K.add (K.add (K.add (Zs K x (a + w + 16)) (Zs K x (a + w + 18))) (Zs -- (+163 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 16)) (Zs K x (a + w + 18))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + w + 17))))) := A1.Dn K O x hD (a + 5) (w + 11) (a + 5) (a + 6) (a + 7) (a + w + 16) (a + w + 17) (a + w + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 18)) (Zs K x (a + w + 20))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + w + 19))))) := A1.Dn K O x hD (a + 5) (w + 13) (a + 5) (a + 6) (a + 7) (a + w + 18) (a + w + 19) (a + w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 20)) (Zs K x (a + w + 22))) (Zs K x (a + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + w + 21))))) := A1.Dn K O x hD (a + 5) (w + 15) (a + 5) (a + 6) (a + 7) (a + w + 20) (a + w + 21) (a + w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 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 + 6))) (K.neg (K.mul (K.add (Zs K x (a + 5)) (Zs K x (a + 7))) (Zs K x (a + w + 23))))) := A1.Dn K O x hD (a + 5) (w + 17) (a + 5) (a + 6) (a + 7) (a + w + 22) (a + w + 23) (a + w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 17)) (Zs K x (a + w + 19))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + w + 18))))) := A1.Dn K O x hD (a + 6) (w + 11) (a + 6) (a + 7) (a + 8) (a + w + 17) (a + w + 18) (a + w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 19)) (Zs K x (a + w + 21))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + w + 20))))) := A1.Dn K O x hD (a + 6) (w + 13) (a + 6) (a + 7) (a + 8) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 21)) (Zs K x (a + w + 23))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + w + 22))))) := A1.Dn K O x hD (a + 6) (w + 15) (a + 6) (a + 7) (a + 8) (a + w + 21) (a + w + 22) (a + w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 16)) (Zs K x (a + w + 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 + w + 17))))) := A1.Dn K O x hD (a + 7) (w + 9) (a + 7) (a + 8) (a + 9) (a + w + 16) (a + w + 17) (a + w + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat -- (+1 chars; full line in the Zenodo source)
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 18)) (Zs K x (a + w + 20))) (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 + w + 19))))) := A1.Dn K O x hD (a + 7) (w + 11) (a + 7) (a + 8) (a + 9) (a + w + 18) (a + w + 19) (a + w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 18)) (Zs K x (a + w + 20))) (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 + w + 19))))) := A1.Dn K O x hD (a + 7) (w + 11) (a + 7) (a + 8) (a + 9) (a + w + 18) (a + w + 19) (a + w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 20)) (Zs K x (a + w + 22))) (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 + w + 21))))) := A1.Dn K O x hD (a + 7) (w + 13) (a + 7) (a + 8) (a + 9) (a + w + 20) (a + w + 21) (a + w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_n -- (+3 chars; full line in the Zenodo source)
have t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 20)) (Zs K x (a + w + 22))) (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 + w + 21))))) := A1.Dn K O x hD (a + 7) (w + 13) (a + 7) (a + 8) (a + 9) (a + w + 20) (a + w + 21) (a + w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_n -- (+3 chars; full line in the Zenodo source)
have t12 : 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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + w + 23))))) := A1.Dn K O x hD (a + 7) (w + 15) (a + 7) (a + 8) (a + 9) (a + w + 22) (a + w + 23) (a + w + 24) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_n -- (+3 chars; full line in the Zenodo source)
have t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 17)) (Zs K x (a + w + 19))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + w + 18))))) := A1.Dn K O x hD (a + 8) (w + 9) (a + 8) (a + 9) (a + 10) (a + w + 17) (a + w + 18) (a + w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+4 chars; full line in the Zenodo source)
have t14 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 19)) (Zs K x (a + w + 21))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + w + 20))))) := A1.Dn K O x hD (a + 8) (w + 11) (a + 8) (a + 9) (a + 10) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+5 chars; full line in the Zenodo source)
have t15 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 19)) (Zs K x (a + w + 21))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + w + 20))))) := A1.Dn K O x hD (a + 8) (w + 11) (a + 8) (a + 9) (a + 10) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+5 chars; full line in the Zenodo source)
have t16 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 21)) (Zs K x (a + w + 23))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + w + 22))))) := A1.Dn K O x hD (a + 8) (w + 13) (a + 8) (a + 9) (a + 10) (a + w + 21) (a + w + 22) (a + w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+5 chars; full line in the Zenodo source)
have t17 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 16)) (Zs K x (a + w + 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 + w + 17))))) := A1.Dn K O x hD (a + 9) (w + 7) (a + 9) (a + 10) (a + 11) (a + w + 16) (a + w + 17) (a + w + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+6 chars; full line in the Zenodo source)
have t18 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 18)) (Zs K x (a + w + 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 + w + 19))))) := A1.Dn K O x hD (a + 9) (w + 9) (a + 9) (a + 10) (a + 11) (a + w + 18) (a + w + 19) (a + w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+6 chars; full line in the Zenodo source)
have t19 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 18)) (Zs K x (a + w + 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 + w + 19))))) := A1.Dn K O x hD (a + 9) (w + 9) (a + 9) (a + 10) (a + 11) (a + w + 18) (a + w + 19) (a + w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+6 chars; full line in the Zenodo source)
have t20 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 20)) (Zs K x (a + w + 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 + w + 21))))) := A1.Dn K O x hD (a + 9) (w + 11) (a + 9) (a + 10) (a + 11) (a + w + 20) (a + w + 21) (a + w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by l -- (+7 chars; full line in the Zenodo source)
have t21 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 20)) (Zs K x (a + w + 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 + w + 21))))) := A1.Dn K O x hD (a + 9) (w + 11) (a + 9) (a + 10) (a + 11) (a + w + 20) (a + w + 21) (a + w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by l -- (+7 chars; full line in the Zenodo source)
have t22 : 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) (by l -- (+7 chars; full line in the Zenodo source)
have t23 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 17)) (Zs K x (a + w + 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 + w + 18))))) := A1.Dn K O x hD (a + 10) (w + 7) (a + 10) (a + 11) (a + 12) (a + w + 17) (a + w + 18) (a + w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by -- (+9 chars; full line in the Zenodo source)
have t24 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 19)) (Zs K x (a + w + 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 + w + 20))))) := A1.Dn K O x hD (a + 10) (w + 9) (a + 10) (a + 11) (a + 12) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by -- (+9 chars; full line in the Zenodo source)
have t25 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 21)) (Zs K x (a + w + 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 + w + 22))))) := A1.Dn K O x hD (a + 10) (w + 11) (a + 10) (a + 11) (a + 12) (a + w + 21) (a + w + 22) (a + w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (b -- (+10 chars; full line in the Zenodo source)
have t26 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 16)) (Zs K x (a + w + 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 + w + 17))))) := A1.Dn K O x hD (a + 11) (w + 5) (a + 11) (a + 12) (a + 13) (a + w + 16) (a + w + 17) (a + w + 18) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by -- (+9 chars; full line in the Zenodo source)
have t27 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 18)) (Zs K x (a + w + 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 + w + 19))))) := A1.Dn K O x hD (a + 11) (w + 7) (a + 11) (a + 12) (a + 13) (a + w + 18) (a + w + 19) (a + w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by -- (+9 chars; full line in the Zenodo source)
have t28 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 20)) (Zs K x (a + w + 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 + w + 21))))) := A1.Dn K O x hD (a + 11) (w + 9) (a + 11) (a + 12) (a + 13) (a + w + 20) (a + w + 21) (a + w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by -- (+9 chars; full line in the Zenodo source)
have t29 : 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_nat) (b -- (+10 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add -- (+369 chars; full line in the Zenodo source)
include hx hT hD h1 h10 in
theorem sg21 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (fun i => x (i + 1)) (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 (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 =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 11 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 15))) (K.neg (K.mul (Zs K x (w + 13)) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 15))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 13)))))) := by
have h := A2.mk K O x hT (w + 11) (1) (1)
try rw [show (1) + (1) + 1 + (w + 11) = w + 14 by lib_nat] at h
try rw [show (1) + (1) + 1 = 3 by lib_nat] at h
try rw [show (1) + (w + 11) = w + 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 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 =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 16))) (K.neg (K.mul (Zs K x (w + 14)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 14)))))) := by
have h := A2.mk K O x hT (w + 11) (2) (1)
try rw [show (2) + (1) + 1 + (w + 11) = w + 15 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (w + 11) = w + 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 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 =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (w + 15)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 11) (3) (1)
try rw [show (3) + (1) + 1 + (w + 11) = w + 16 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (w + 11) = w + 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 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 =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (w + 16)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 11) (4) (1)
try rw [show (4) + (1) + 1 + (w + 11) = w + 17 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (w + 11) = 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 (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 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 + 19))) (K.neg (K.mul (Zs K x (w + 17)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 11) (5) (1)
try rw [show (5) + (1) + 1 + (w + 11) = w + 18 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (w + 11) = 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 (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 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 + 20))) (K.neg (K.mul (Zs K x (w + 18)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 11) (6) (1)
try rw [show (6) + (1) + 1 + (w + 11) = w + 19 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (w + 11) = 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 (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 + 21))) (K.neg (K.mul (Zs K x (w + 19)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 11) (7) (1)
try rw [show (7) + (1) + 1 + (w + 11) = w + 20 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (w + 11) = 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 (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 + 22))) (K.neg (K.mul (Zs K x (w + 20)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 11) (8) (1)
try rw [show (8) + (1) + 1 + (w + 11) = w + 21 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (w + 11) = 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 (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 + 23))) (K.neg (K.mul (Zs K x (w + 21)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 11) (9) (1)
try rw [show (9) + (1) + 1 + (w + 11) = w + 22 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (w + 11) = 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 + 0 + 1 = a + 10 by lib_nat]
show 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))))))
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
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 + (0 + 1) + 1 = a + 11 by lib_nat]
show 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 + 13)) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (2) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (2) = a + 14 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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
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 + (0 + 1 + 1) + 1 = a + 12 by lib_nat]
show 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 + 14)) (Zs K x (a + 13))))))
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 + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 13 by lib_nat]
show 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 + 15)) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (4) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (4) = a + 16 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 14 by lib_nat]
show 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 + 16)) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (5) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (5) = a + 17 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show 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 + 17)) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (6) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (6) = a + 18 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 16 by lib_nat]
show 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 + 18)) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (7) = a + 19 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 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)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 19)) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (8) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (8) = a + 20 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 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)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 20)) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (9) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (9) = a + 21 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 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)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 21)) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (10) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (10) = a + 22 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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 _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + w + 24))) (K.neg (K.mul (Zs K x (a + w + 22)) (Zs K x (a + 13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + w + 24))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 11) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (w + 11) = a + w + 23 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 10) + (w + 11) = 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)
include hx hT hD h1 h10 in
theorem sg22 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (pv1 K (fun i => x (i + 2)))) (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 K.zero (Zs K x (6))) (K.neg (K.mul (Zs K x (4)) (Zs K x (5))))))
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 (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (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 (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (5))))))
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))
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (5))))))
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 (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (5))))))
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 (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (5))))))
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 (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 (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (5))))))
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 (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 (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (5))))))
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 (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 (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (5))))))
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 (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 =>
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 (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (5))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (4)) (hx (10))
have t1 : 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 _ _ (A1.nn_add K O _ _ t0 t1) (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 11 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 (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (5))))))
have t0 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 11))
have t1 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 13))
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)) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (3)) (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
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.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 _ _ (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 (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (6))))))
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
have t1 : 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 t2 : 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 _ _ t0 t1) t2) (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (6))))))
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
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.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 _ _ t0 t1) t2) (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 (K.add (Zs K x (6)) (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
have t1 : 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 _ _ 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 (11))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (6))))))
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 (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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (13))))) := A1.Dn K O x hD (0) (12) (0) (1) (2) (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.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 t3 : 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 _ _ (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)) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (6))))))
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 (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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (14))))) := A1.Dn K O x hD (0) (13) (0) (1) (2) (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.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 t3 : 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 _ _ (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)) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (6))))))
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 (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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (15))))) := A1.Dn K O x hD (0) (14) (0) (1) (2) (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.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 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)) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (6))))))
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 (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 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 (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
have t2 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (15))) := O.mul_nonneg _ _ (hx (0)) (hx (14))
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 (Zs K x (4)) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (6))))))
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 (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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (17))))) := A1.Dn K O x hD (0) (16) (0) (1) (2) (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (18))) (K.neg (K.mul (Zs K x (17)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (15)
try rw [show (0) + (15) + 1 + (1) = 17 by lib_nat] at h
try rw [show (0) + (15) + 1 = 16 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 (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 _ _ (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)) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (6))))))
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
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (18))))) := A1.Dn K O x hD (0) (17) (0) (1) (2) (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.neg (K.add (K.mul (Zs K x (1)) (Zs K x (19))) (K.neg (K.mul (Zs K x (18)) (Zs K x (2)))))) := by
have h := A2.mk K O x hT (1) (0) (16)
try rw [show (0) + (16) + 1 + (1) = 18 by lib_nat] at h
try rw [show (0) + (16) + 1 = 17 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 (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 _ _ (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 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 17))) (K.neg (K.mul (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 11) (3) (1)
try rw [show (3) + (1) + 1 + (w + 11) = w + 16 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (w + 11) = w + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : O.le K.zero (K.mul (Zs K x (6)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (5)) (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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (4)) (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
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)
exact A1.nn_of_eq K O _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (7))))))
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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (7))))))
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
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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (7))))))
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 (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (3)
try rw [show (2) + (3) + 1 + (4) = 10 by lib_nat] at h
try rw [show (2) + (3) + 1 = 6 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 (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 _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (7))))))
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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (7))))))
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 (7)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (6) (2) (3)
try rw [show (2) + (3) + 1 + (6) = 12 by lib_nat] at h
try rw [show (2) + (3) + 1 = 6 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 (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 _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (7))))))
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 (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 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 (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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (7))))))
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 (11)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (7)
try rw [show (2) + (7) + 1 + (4) = 14 by lib_nat] at h
try rw [show (2) + (7) + 1 = 10 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 (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 _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (7))))))
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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (7))))))
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 (13)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (9)
try rw [show (2) + (9) + 1 + (4) = 16 by lib_nat] at h
try rw [show (2) + (9) + 1 = 12 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 (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 _ _ (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 = w + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 18))) (K.neg (K.mul (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 14)))))) := by
have h := A2.mk K O x hT (w + 11) (2) (3)
try rw [show (2) + (3) + 1 + (w + 11) = w + 17 by lib_nat] at h
try rw [show (2) + (3) + 1 = 6 by lib_nat] at h
try rw [show (2) + (w + 11) = w + 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 (5)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 11) (4) (1)
try rw [show (4) + (1) + 1 + (w + 11) = w + 17 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (w + 11) = 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (5)) (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
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)
exact A1.nn_of_eq K O _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (8))))))
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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (8))))))
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
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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (8))))))
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 (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (3)
try rw [show (3) + (3) + 1 + (4) = 11 by lib_nat] at h
try rw [show (3) + (3) + 1 = 7 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 (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 _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (8))))))
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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (8))))))
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 (8)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (6) (3) (3)
try rw [show (3) + (3) + 1 + (6) = 13 by lib_nat] at h
try rw [show (3) + (3) + 1 = 7 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 (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 _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (8))))))
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 (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 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 (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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (8))))))
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 (12)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (7)
try rw [show (3) + (7) + 1 + (4) = 15 by lib_nat] at h
try rw [show (3) + (7) + 1 = 11 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 (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 _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (8))))))
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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (8))))))
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 (14)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (9)
try rw [show (3) + (9) + 1 + (4) = 17 by lib_nat] at h
try rw [show (3) + (9) + 1 = 13 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 (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 _ _ (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 = w + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 19))) (K.neg (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 11) (3) (3)
try rw [show (3) + (3) + 1 + (w + 11) = w + 18 by lib_nat] at h
try rw [show (3) + (3) + 1 = 7 by lib_nat] at h
try rw [show (3) + (w + 11) = w + 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 (6)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 11) (5) (1)
try rw [show (5) + (1) + 1 + (w + 11) = w + 18 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (w + 11) = 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (6)) (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
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)
exact A1.nn_of_eq K O _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (9))))))
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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (9))))))
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
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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (9))))))
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 (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (3)
try rw [show (4) + (3) + 1 + (4) = 12 by lib_nat] at h
try rw [show (4) + (3) + 1 = 8 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 (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 _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (9))))))
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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (9))))))
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 (9)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (6) (4) (3)
try rw [show (4) + (3) + 1 + (6) = 14 by lib_nat] at h
try rw [show (4) + (3) + 1 = 8 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 (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 _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (9))))))
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 (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 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 (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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (9))))))
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 (13)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (7)
try rw [show (4) + (7) + 1 + (4) = 16 by lib_nat] at h
try rw [show (4) + (7) + 1 = 12 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 (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 _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (9))))))
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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (9))))))
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 (15)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (9)
try rw [show (4) + (9) + 1 + (4) = 18 by lib_nat] at h
try rw [show (4) + (9) + 1 = 14 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 (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 _ _ (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 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 20))) (K.neg (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 11) (4) (3)
try rw [show (4) + (3) + 1 + (w + 11) = w + 19 by lib_nat] at h
try rw [show (4) + (3) + 1 = 8 by lib_nat] at h
try rw [show (4) + (w + 11) = 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 (7)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 11) (6) (1)
try rw [show (6) + (1) + 1 + (w + 11) = w + 19 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (w + 11) = 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (7)) (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
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)
exact A1.nn_of_eq K O _ _ (A1.nn_add 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.add (Zs K x (6)) (Zs K x (8))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (10))))))
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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (6)) (Zs K x (8))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (10))))))
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
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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (10))))))
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 (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (3)
try rw [show (5) + (3) + 1 + (4) = 13 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 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 (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (10))))))
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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (6)) (Zs K x (8))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (10))))))
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 (10)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (6) (5) (3)
try rw [show (5) + (3) + 1 + (6) = 15 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 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 (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (10))))))
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 (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 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (10))))))
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 (14)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (7)
try rw [show (5) + (7) + 1 + (4) = 17 by lib_nat] at h
try rw [show (5) + (7) + 1 = 13 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 (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 _ _ (A1.nn_add 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.add (Zs K x (6)) (Zs K x (8))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (10))))))
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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (6)) (Zs K x (8))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (10))))))
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 (16)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (9)
try rw [show (5) + (9) + 1 + (4) = 19 by lib_nat] at h
try rw [show (5) + (9) + 1 = 15 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 (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 _ _ (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 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 21))) (K.neg (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 11) (5) (3)
try rw [show (5) + (3) + 1 + (w + 11) = w + 20 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 by lib_nat] at h
try rw [show (5) + (w + 11) = 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 (8)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 11) (7) (1)
try rw [show (7) + (1) + 1 + (w + 11) = w + 20 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (w + 11) = 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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (8)) (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
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)
exact A1.nn_of_eq K O _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (11))))))
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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (11))))))
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
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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (11))))))
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 (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (3)
try rw [show (6) + (3) + 1 + (4) = 14 by lib_nat] at h
try rw [show (6) + (3) + 1 = 10 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 (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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (11))))))
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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (11))))))
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 (11)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (6) (6) (3)
try rw [show (6) + (3) + 1 + (6) = 16 by lib_nat] at h
try rw [show (6) + (3) + 1 = 10 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 (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 _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (11))))))
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 (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
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 (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 _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (11))))))
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 (15)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (7)
try rw [show (6) + (7) + 1 + (4) = 18 by lib_nat] at h
try rw [show (6) + (7) + 1 = 14 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 (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 _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (11))))))
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 (16)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (8)
try rw [show (6) + (8) + 1 + (4) = 19 by lib_nat] at h
try rw [show (6) + (8) + 1 = 15 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 (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 _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (21))) (K.neg (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (11))))))
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 (17)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (9)
try rw [show (6) + (9) + 1 + (4) = 20 by lib_nat] at h
try rw [show (6) + (9) + 1 = 16 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 (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 _ _ (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 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 22))) (K.neg (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 11) (6) (3)
try rw [show (6) + (3) + 1 + (w + 11) = w + 21 by lib_nat] at h
try rw [show (6) + (3) + 1 = 10 by lib_nat] at h
try rw [show (6) + (w + 11) = 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 (9)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 11) (8) (1)
try rw [show (8) + (1) + 1 + (w + 11) = w + 21 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (w + 11) = 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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (9)) (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
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)
exact A1.nn_of_eq K O _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (12))))))
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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (12))))))
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
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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (12))))))
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 (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
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 (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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (12))))))
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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (12))))))
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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (12))))))
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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (12))))))
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 (16)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (7)
try rw [show (7) + (7) + 1 + (4) = 19 by lib_nat] at h
try rw [show (7) + (7) + 1 = 15 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 (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 _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (21))) (K.neg (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (12))))))
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 (17)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (8)
try rw [show (7) + (8) + 1 + (4) = 20 by lib_nat] at h
try rw [show (7) + (8) + 1 = 16 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 (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 _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (22))) (K.neg (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (12))))))
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 (18)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (4) (7) (9)
try rw [show (7) + (9) + 1 + (4) = 21 by lib_nat] at h
try rw [show (7) + (9) + 1 = 17 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 (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 _ _ (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 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 23))) (K.neg (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 11) (7) (3)
try rw [show (7) + (3) + 1 + (w + 11) = w + 22 by lib_nat] at h
try rw [show (7) + (3) + 1 = 11 by lib_nat] at h
try rw [show (7) + (w + 11) = 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 (10)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 11) (9) (1)
try rw [show (9) + (1) + 1 + (w + 11) = w + 22 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (w + 11) = 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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (10)) (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
have t1 : 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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (13))))))
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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (9)) (Zs K x (11))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (13))))))
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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (9)) (Zs K x (11))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (13))))))
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 (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
have t1 : 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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (13))))))
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 (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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (9)) (Zs K x (11))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (13))))))
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 (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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (9)) (Zs K x (11))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (13))))))
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 (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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))) (K.neg (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (13))))))
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 (17)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (7)
try rw [show (8) + (7) + 1 + (4) = 20 by lib_nat] at h
try rw [show (8) + (7) + 1 = 16 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 (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 _ _ (A1.nn_add 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.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))) (K.neg (K.mul (K.add (Zs K x (18)) (Zs K x (20))) (Zs K x (13))))))
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 (18)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (8)
try rw [show (8) + (8) + 1 + (4) = 21 by lib_nat] at h
try rw [show (8) + (8) + 1 = 17 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 (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 _ _ (A1.nn_add 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.add (Zs K x (9)) (Zs K x (11))) (Zs K x (23))) (K.neg (K.mul (K.add (Zs K x (19)) (Zs K x (21))) (Zs K x (13))))))
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 (19)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (4) (8) (9)
try rw [show (8) + (9) + 1 + (4) = 22 by lib_nat] at h
try rw [show (8) + (9) + 1 = 18 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 (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 _ _ (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 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 24))) (K.neg (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 11) (8) (3)
try rw [show (8) + (3) + 1 + (w + 11) = w + 23 by lib_nat] at h
try rw [show (8) + (3) + 1 = 12 by lib_nat] at h
try rw [show (8) + (w + 11) = 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 (11)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 11) (10) (1)
try rw [show (10) + (1) + 1 + (w + 11) = w + 23 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (w + 11) = 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 a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 10 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (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 + 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
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 + 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)
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 + (0 + 1) + 1 = a + 11 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (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 + 10)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (4) (a + 9) (1)
try rw [show (a + 9) + (1) + 1 + (4) = a + 15 by lib_nat] at h
try rw [show (a + 9) + (1) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 9) + (4) = 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 + 12)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (2) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (2) = a + 15 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (2) = 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 + (0 + 1 + 1) + 1 = a + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (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 + 10)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (4) (a + 9) (2)
try rw [show (a + 9) + (2) + 1 + (4) = a + 16 by lib_nat] at h
try rw [show (a + 9) + (2) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 9) + (4) = 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 + 12)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (3) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (3) = a + 16 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (3) = 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 + (0 + 1 + 1 + 1) + 1 = a + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 18))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (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 + 10)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (4) (a + 9) (3)
try rw [show (a + 9) + (3) + 1 + (4) = a + 17 by lib_nat] at h
try rw [show (a + 9) + (3) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 9) + (4) = 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 + 12)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (4) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (4) = a + 17 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (4) = 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 + (0 + 1 + 1 + 1 + 1) + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 19))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (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 + 10)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (5) (a + 9) (3)
try rw [show (a + 9) + (3) + 1 + (5) = a + 18 by lib_nat] at h
try rw [show (a + 9) + (3) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 9) + (5) = 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 + 12)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (5) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (5) = a + 18 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (5) = 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 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 20))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (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 + 10)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (6) (a + 9) (3)
try rw [show (a + 9) + (3) + 1 + (6) = a + 19 by lib_nat] at h
try rw [show (a + 9) + (3) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 9) + (6) = 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 + 12)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (6) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (6) = a + 19 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (6) = 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 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 21))) (K.neg (K.mul (K.add (Zs K x (a + 17)) (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 + 10)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (7) (a + 9) (3)
try rw [show (a + 9) + (3) + 1 + (7) = a + 20 by lib_nat] at h
try rw [show (a + 9) + (3) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 9) + (7) = 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 + 12)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (7) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (7) = a + 20 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (7) = 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 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))) (K.neg (K.mul (K.add (Zs K x (a + 18)) (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 + 10)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (8) (a + 9) (3)
try rw [show (a + 9) + (3) + 1 + (8) = a + 21 by lib_nat] at h
try rw [show (a + 9) + (3) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 9) + (8) = 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 + 12)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (8) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (8) = a + 21 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (8) = 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 + (0 + 1 + 1 + 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 (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))) (K.neg (K.mul (K.add (Zs K x (a + 19)) (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 + 10)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (9) (a + 9) (3)
try rw [show (a + 9) + (3) + 1 + (9) = a + 22 by lib_nat] at h
try rw [show (a + 9) + (3) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 9) + (9) = 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 + 12)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (9) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (9) = a + 22 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (9) = 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 + (0 + 1 + 1 + 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 (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 24))) (K.neg (K.mul (K.add (Zs K x (a + 20)) (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 + 10)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (10) (a + 9) (3)
try rw [show (a + 9) + (3) + 1 + (10) = a + 23 by lib_nat] at h
try rw [show (a + 9) + (3) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 9) + (10) = 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 + 12)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (10) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (10) = a + 23 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (10) = 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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + w + 25))) (K.neg (K.mul (K.add (Zs K x (a + w + 21)) (Zs K x (a + w + 23))) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + w + 25))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + w + 21)))))) := by
have h := A2.mk K O x hT (w + 11) (a + 9) (3)
try rw [show (a + 9) + (3) + 1 + (w + 11) = a + w + 24 by lib_nat] at h
try rw [show (a + 9) + (3) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 9) + (w + 11) = a + 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 (a + 12)) (Zs K x (a + w + 25))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + w + 23)))))) := by
have h := A2.mk K O x hT (w + 11) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (w + 11) = a + w + 24 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (w + 11) = a + 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)
include hx hT hD h1 h10 in
theorem sg23 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (pv3 K x)) (Zs K (pv2 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 (3))) (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 (2)) (Zs K x (4)))) (K.neg (K.mul (K.add (Zs K x (3)) (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 (Zs K x (1)) (Zs K x (3))) (Zs K x (5)))) (K.neg (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (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 (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (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 (Zs K x (3)) (Zs K x (5))) (Zs K x (7)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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 (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (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 (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (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 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 11 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (K.add (Zs K x (w + 9)) (Zs K x (w + 11))) (Zs K x (w + 13)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 8)) (Zs K x (w + 10))) (Zs K x (w + 12))) (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 (Zs K x (4)) (K.add (Zs K x (2)) (Zs K x (4)))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (3))))))
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)
exact A1.nn_of_eq K O _ _ 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)) (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5)))) (K.neg (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (3))))))
have t0 : 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 t1 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))) (K.neg (K.mul (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 (3))))))
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 (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 (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 (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)
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 (Zs K x (3)) (Zs K x (5))) (Zs K x (7)))) (K.neg (K.mul (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 (3))))))
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.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 t4 : 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)
exact A1.nn_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 (Zs K x (4)) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul (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 (3))))))
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 (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 (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 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (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 (3))))))
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 (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 t4 : 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 t5 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (Zs K x (6)) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (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 (3))))))
have t0 : 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 t1 : 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 t2 : 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 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.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 (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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (Zs K x (7)) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (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 (3))))))
have t0 : 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 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 (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 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.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 t5 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (Zs K x (8)) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (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 (3))))))
have t0 : 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 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 (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 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)
have t4 : 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 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 (4)) (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (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 (3))))))
have t0 : 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 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 (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 t3 : 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 t4 : 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 t5 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (K.add (K.add (Zs K x (w + 10)) (Zs K x (w + 12))) (Zs K x (w + 14)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 9)) (Zs K x (w + 11))) (Zs K x (w + 13))) (Zs K x (w + 15))) (Zs K x (3))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (w + 12))))) := A1.Dn K O x hD (0) (w + 11) (0) (1) (2) (w + 11) (w + 12) (w + 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 (w + 10)) (Zs K x (w + 12))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 11))))) := A1.Dn K O x hD (1) (w + 9) (1) (2) (3) (w + 10) (w + 11) (w + 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 (w + 12)) (Zs K x (w + 14))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 13))))) := A1.Dn K O x hD (1) (w + 11) (1) (2) (3) (w + 12) (w + 13) (w + 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 (w + 9)) (Zs K x (w + 11))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 10))))) := A1.Dn K O x hD (2) (w + 7) (2) (3) (4) (w + 9) (w + 10) (w + 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 (w + 11)) (Zs K x (w + 13))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 12))))) := A1.Dn K O x hD (2) (w + 9) (2) (3) (4) (w + 11) (w + 12) (w + 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 (w + 13)) (Zs K x (w + 15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 14))))) := A1.Dn K O x hD (2) (w + 11) (2) (3) (4) (w + 13) (w + 14) (w + 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 i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5)))) (K.neg (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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 (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 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 (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 _ _ (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 (Zs K x (3)) (Zs K x (5))) (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (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 (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.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 (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 t5 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (Zs K x (3)) (Zs K x (5))) (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (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 (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 (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 (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 (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 t4 : 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 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 (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 t7 : 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 t8 : 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 _ _ (A1.nn_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.add (Zs K x (3)) (Zs K x (5))) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (3)) (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 (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 (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 (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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_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.add (Zs K x (3)) (Zs K x (5))) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (4)) (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 (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 (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 (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 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 (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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (Zs K x (3)) (Zs K x (5))) (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (5)) (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 (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 (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.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.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.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 (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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (Zs K x (3)) (Zs K x (5))) (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (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 (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 t1 : 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 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 (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.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 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)
have t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (Zs K x (3)) (Zs K x (5))) (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (7)) (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 (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 t1 : 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 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 (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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (Zs K x (3)) (Zs K x (5))) (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (8)) (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 (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 t1 : 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 t2 : 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 t3 : 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 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.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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_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.add (Zs K x (3)) (Zs K x (5))) (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (9)) (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 (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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (13))))) := A1.Dn K O x hD (0) (12) (0) (1) (2) (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 (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 t3 : 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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (K.add (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (w + 15)))) (K.neg (K.mul (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))) (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 + 11)) (Zs K x (w + 13))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (w + 12))))) := A1.Dn K O x hD (0) (w + 11) (0) (1) (2) (w + 11) (w + 12) (w + 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 (w + 13)) (Zs K x (w + 15))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (w + 14))))) := A1.Dn K O x hD (0) (w + 13) (0) (1) (2) (w + 13) (w + 14) (w + 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 (w + 10)) (Zs K x (w + 12))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 11))))) := A1.Dn K O x hD (1) (w + 9) (1) (2) (3) (w + 10) (w + 11) (w + 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 (w + 12)) (Zs K x (w + 14))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 13))))) := A1.Dn K O x hD (1) (w + 11) (1) (2) (3) (w + 12) (w + 13) (w + 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 (w + 12)) (Zs K x (w + 14))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 13))))) := A1.Dn K O x hD (1) (w + 11) (1) (2) (3) (w + 12) (w + 13) (w + 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 (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 12))))) := A1.Dn K O x hD (2) (w + 9) (2) (3) (4) (w + 11) (w + 12) (w + 13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 14))))) := A1.Dn K O x hD (2) (w + 11) (2) (3) (4) (w + 13) (w + 14) (w + 15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 10)) (Zs K x (w + 12))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 11))))) := A1.Dn K O x hD (3) (w + 7) (3) (4) (5) (w + 10) (w + 11) (w + 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 (w + 12)) (Zs K x (w + 14))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 13))))) := A1.Dn K O x hD (3) (w + 9) (3) (4) (5) (w + 12) (w + 13) (w + 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 (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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5)))))))
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 (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 t2 : 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 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 (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 t5 : 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 _ _ (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.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5)))))))
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 (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 t3 : 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 t4 : 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 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.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 t7 : 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 t8 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (Zs K x (1)) (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.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 (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 t3 : 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 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 (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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (Zs K x (1)) (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 (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 (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 (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.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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (Zs K x (1)) (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 (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 (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 (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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (Zs K x (1)) (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 (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 (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.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.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.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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (Zs K x (1)) (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 (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 t1 : 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 t2 : 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 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.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.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 (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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (Zs K x (1)) (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 (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 t1 : 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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (13))))) := A1.Dn K O x hD (0) (12) (0) (1) (2) (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 (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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (Zs K x (1)) (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 (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 t1 : 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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (14))))) := A1.Dn K O x hD (0) (13) (0) (1) (2) (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 (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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (K.add (K.add (Zs K x (1)) (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 (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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (13))))) := A1.Dn K O x hD (0) (12) (0) (1) (2) (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 (14)) (Zs K x (16))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (15))))) := A1.Dn K O x hD (0) (14) (0) (1) (2) (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 (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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 14 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 (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (w + 16)))) (K.neg (K.mul (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))) (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (w + 12))))) := A1.Dn K O x hD (0) (w + 11) (0) (1) (2) (w + 11) (w + 12) (w + 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 (w + 13)) (Zs K x (w + 15))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (w + 14))))) := A1.Dn K O x hD (0) (w + 13) (0) (1) (2) (w + 13) (w + 14) (w + 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 (w + 15)) (Zs K x (w + 17))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (w + 16))))) := A1.Dn K O x hD (0) (w + 15) (0) (1) (2) (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 + 12)) (Zs K x (w + 14))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 13))))) := A1.Dn K O x hD (1) (w + 11) (1) (2) (3) (w + 12) (w + 13) (w + 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 (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 12))))) := A1.Dn K O x hD (2) (w + 9) (2) (3) (4) (w + 11) (w + 12) (w + 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 (w + 13)) (Zs K x (w + 15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 14))))) := A1.Dn K O x hD (2) (w + 11) (2) (3) (4) (w + 13) (w + 14) (w + 15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 14))))) := A1.Dn K O x hD (2) (w + 11) (2) (3) (4) (w + 13) (w + 14) (w + 15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t8 : 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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 13))))) := A1.Dn K O x hD (3) (w + 9) (3) (4) (5) (w + 12) (w + 13) (w + 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 (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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 12))))) := A1.Dn K O x hD (4) (w + 7) (4) (5) (6) (w + 11) (w + 12) (w + 13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 14))))) := A1.Dn K O x hD (4) (w + 9) (4) (5) (6) (w + 13) (w + 14) (w + 15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t13 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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.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 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 (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)
have t5 : 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 _ _ (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.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (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.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 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 (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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (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.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 t1 : 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 t2 : 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 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.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 (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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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.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 (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 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.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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (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.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 (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 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)
have t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (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.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 (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 t3 : 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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (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 (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 (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 t3 : 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 t4 : 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 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 (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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (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 (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 (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 t3 : 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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (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 (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 (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 t3 : 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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (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 (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 (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 t3 : 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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 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.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (K.add (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (w + 17)))) (K.neg (K.mul (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.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 (w + 12)) (Zs K x (w + 14))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 13))))) := A1.Dn K O x hD (1) (w + 11) (1) (2) (3) (w + 12) (w + 13) (w + 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 (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 t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 14))))) := A1.Dn K O x hD (2) (w + 11) (2) (3) (4) (w + 13) (w + 14) (w + 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 (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 13))))) := A1.Dn K O x hD (3) (w + 9) (3) (4) (5) (w + 12) (w + 13) (w + 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 (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 t7 : 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 t8 : 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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 14))))) := A1.Dn K O x hD (4) (w + 9) (4) (5) (6) (w + 13) (w + 14) (w + 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 (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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 13))))) := A1.Dn K O x hD (5) (w + 7) (5) (6) (7) (w + 12) (w + 13) (w + 14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 15))))) := A1.Dn K O x hD (5) (w + 9) (5) (6) (7) (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 t13 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (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 (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 (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 (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)
have t5 : 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 _ _ (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.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (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 (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 (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 (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)
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 (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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (K.add (K.add (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (K.add (K.add (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 (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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (K.add (K.add (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 (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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (K.add (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (w + 18)))) (K.neg (K.mul (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.add (K.add (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 (w + 13)) (Zs K x (w + 15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 14))))) := A1.Dn K O x hD (2) (w + 11) (2) (3) (4) (w + 13) (w + 14) (w + 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 (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 t2 : 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 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)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 14))))) := A1.Dn K O x hD (4) (w + 9) (4) (5) (6) (w + 13) (w + 14) (w + 15) (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 (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 t7 : 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 t8 : 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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 15))))) := A1.Dn K O x hD (5) (w + 9) (5) (6) (7) (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 t10 : 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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 14))))) := A1.Dn K O x hD (6) (w + 7) (6) (7) (8) (w + 13) (w + 14) (w + 15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 16))))) := A1.Dn K O x hD (6) (w + 9) (6) (7) (8) (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 t13 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (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.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 (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 (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)
have t5 : 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 _ _ (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.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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.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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (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 (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 (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 (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)
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 (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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (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 (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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (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 (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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (K.add (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (w + 19)))) (K.neg (K.mul (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.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 (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 t1 : 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 t2 : 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 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)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 15))))) := A1.Dn K O x hD (5) (w + 9) (5) (6) (7) (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 t6 : 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 t7 : 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 t8 : 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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 16))))) := A1.Dn K O x hD (6) (w + 9) (6) (7) (8) (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 t10 : 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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 15))))) := A1.Dn K O x hD (7) (w + 7) (7) (8) (9) (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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 17))))) := A1.Dn K O x hD (7) (w + 9) (7) (8) (9) (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 t13 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (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.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 (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)
have t5 : 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 _ _ (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.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (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 (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 (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 (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)
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 (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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (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 (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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (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 (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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (K.add (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (w + 20)))) (K.neg (K.mul (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.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 (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 t1 : 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 t2 : 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 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)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 16))))) := A1.Dn K O x hD (6) (w + 9) (6) (7) (8) (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 t6 : 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 t7 : 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 t8 : 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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 17))))) := A1.Dn K O x hD (7) (w + 9) (7) (8) (9) (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 t10 : 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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 16))))) := A1.Dn K O x hD (8) (w + 7) (8) (9) (10) (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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 18))))) := A1.Dn K O x hD (8) (w + 9) (8) (9) (10) (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 t13 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12))) (K.add (K.add (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 (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 (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 (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)
have t5 : 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 _ _ 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.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13))) (K.add (K.add (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 (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 (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 (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)
have t5 : 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 t6 : 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 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)
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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (K.add (K.add (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (K.add (K.add (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (K.add (K.add (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 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 (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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (K.add (K.add (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 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 (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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (K.add (K.add (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 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)
have t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (K.add (K.add (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 (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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (K.add (K.add (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 (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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (20)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (K.add (K.add (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 (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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (K.add (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (w + 21)))) (K.neg (K.mul (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.add (K.add (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 (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 t1 : 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 t2 : 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 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)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 17))))) := A1.Dn K O x hD (7) (w + 9) (7) (8) (9) (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 t6 : 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 t7 : 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 t8 : 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 t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 18))))) := A1.Dn K O x hD (8) (w + 9) (8) (9) (10) (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 t10 : 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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 17))))) := A1.Dn K O x hD (9) (w + 7) (9) (10) (11) (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 t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 19))))) := A1.Dn K O x hD (9) (w + 9) (9) (10) (11) (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 t13 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 10 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 11)))) -- (+3 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 8))))) := A1.Dn K O x hD (a + 6) (1) (a + 6) (a + 7) (a + 8) (a + 7) (a + 8) (a + 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 (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))))) := A1.Dn K O x hD (a + 6) (3) (a + 6) (a + 7) (a + 8) (a + 9) (a + 10) (a + 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 (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 6) (5) (a + 6) (a + 7) (a + 8) (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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 10))))) := A1.Dn K O x hD (a + 8) (1) (a + 8) (a + 9) (a + 10) (a + 9) (a + 10) (a + 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 (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 8) (3) (a + 8) (a + 9) (a + 10) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (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 + 12))))) := A1.Dn K O x hD (a + 10) (1) (a + 10) (a + 11) (a + 12) (a + 11) (a + 12) (a + 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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 11 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (K.add (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 13)))) (K.neg (K.mul (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))) (K.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 11) -- (+6 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 9))))) := A1.Dn K O x hD (a + 6) (2) (a + 6) (a + 7) (a + 8) (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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 6) (4) (a + 6) (a + 7) (a + 8) (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 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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 6) (6) (a + 6) (a + 7) (a + 8) (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 + 9)) (Zs K x (a + 11))) (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 + 10))))) := A1.Dn K O x hD (a + 7) (2) (a + 7) (a + 8) (a + 9) (a + 9) (a + 10) (a + 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 (a + 11)) (Zs K x (a + 13))) (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 + 12))))) := A1.Dn K O x hD (a + 7) (4) (a + 7) (a + 8) (a + 9) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 8) (2) (a + 8) (a + 9) (a + 10) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 8) (4) (a + 8) (a + 9) (a + 10) (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 t7 : 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 t8 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1) + 1 = a + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (K.add (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14)))) (K.neg (K.mul (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))) (K.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + -- (+9 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))))) := A1.Dn K O x hD (a + 6) (3) (a + 6) (a + 7) (a + 8) (a + 9) (a + 10) (a + 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 (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 6) (5) (a + 6) (a + 7) (a + 8) (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 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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 6) (7) (a + 6) (a + 7) (a + 8) (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 + 10)) (Zs K x (a + 12))) (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 + 11))))) := A1.Dn K O x hD (a + 7) (3) (a + 7) (a + 8) (a + 9) (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 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 + 9)) (Zs K x (a + 11))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 10))))) := A1.Dn K O x hD (a + 8) (1) (a + 8) (a + 9) (a + 10) (a + 9) (a + 10) (a + 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 (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 8) (3) (a + 8) (a + 9) (a + 10) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 8) (3) (a + 8) (a + 9) (a + 10) (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 8) (5) (a + 8) (a + 9) (a + 10) (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 t9 : 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 t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (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 + 12))))) := A1.Dn K O x hD (a + 10) (1) (a + 10) (a + 11) (a + 12) (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 t11 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (K.add (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15)))) (K.neg (K.mul (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))) (K.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a -- (+12 chars; full line in the Zenodo source)
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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 6) (4) (a + 6) (a + 7) (a + 8) (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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 6) (6) (a + 6) (a + 7) (a + 8) (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 + 14)) (Zs K x (a + 16))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 6) (8) (a + 6) (a + 7) (a + 8) (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 + 11)) (Zs K x (a + 13))) (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 + 12))))) := A1.Dn K O x hD (a + 7) (4) (a + 7) (a + 8) (a + 9) (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 t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (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 + 14))))) := A1.Dn K O x hD (a + 7) (6) (a + 7) (a + 8) (a + 9) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 8) (2) (a + 8) (a + 9) (a + 10) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 8) (4) (a + 8) (a + 9) (a + 10) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 8) (4) (a + 8) (a + 9) (a + 10) (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 8) (6) (a + 8) (a + 9) (a + 10) (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 t9 : 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 t10 : 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 t11 : 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 t12 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (K.add (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 16)))) (K.neg (K.mul (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.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x -- (+14 chars; full line in the Zenodo source)
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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 6) (5) (a + 6) (a + 7) (a + 8) (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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 6) (7) (a + 6) (a + 7) (a + 8) (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 + 15)) (Zs K x (a + 17))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 6) (9) (a + 6) (a + 7) (a + 8) (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 + 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 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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 7) (7) (a + 7) (a + 8) (a + 9) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 8) (3) (a + 8) (a + 9) (a + 10) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 8) (5) (a + 8) (a + 9) (a + 10) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 8) (5) (a + 8) (a + 9) (a + 10) (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 8) (7) (a + 8) (a + 9) (a + 10) (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 t9 : 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 t10 : 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 t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (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 + 12))))) := A1.Dn K O x hD (a + 10) (1) (a + 10) (a + 11) (a + 12) (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 t12 : 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 t13 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (K.add (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 17)))) (K.neg (K.mul (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.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K -- (+16 chars; full line in the Zenodo source)
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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 6) (6) (a + 6) (a + 7) (a + 8) (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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 6) (8) (a + 6) (a + 7) (a + 8) (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 + 16)) (Zs K x (a + 18))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 6) (10) (a + 6) (a + 7) (a + 8) (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 + 13)) (Zs K x (a + 15))) (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 + 14))))) := A1.Dn K O x hD (a + 7) (6) (a + 7) (a + 8) (a + 9) (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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 7) (8) (a + 7) (a + 8) (a + 9) (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 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 + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 8) (4) (a + 8) (a + 9) (a + 10) (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 + 14)) (Zs K x (a + 16))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 8) (6) (a + 8) (a + 9) (a + 10) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 8) (6) (a + 8) (a + 9) (a + 10) (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 8) (8) (a + 8) (a + 9) (a + 10) (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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (K.add (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 18)))) (K.neg (K.mul (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.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs -- (+18 chars; full line in the Zenodo source)
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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 6) (7) (a + 6) (a + 7) (a + 8) (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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 6) (9) (a + 6) (a + 7) (a + 8) (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 + 17)) (Zs K x (a + 19))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 6) (11) (a + 6) (a + 7) (a + 8) (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 + 14)) (Zs K x (a + 16))) (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 + 15))))) := A1.Dn K O x hD (a + 7) (7) (a + 7) (a + 8) (a + 9) (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 + 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)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 8) (5) (a + 8) (a + 9) (a + 10) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 8) (7) (a + 8) (a + 9) (a + 10) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 8) (7) (a + 8) (a + 9) (a + 10) (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 8) (9) (a + 8) (a + 9) (a + 10) (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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (K.add (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 19)))) (K.neg (K.mul (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.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Z -- (+20 chars; full line in the Zenodo source)
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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 6) (8) (a + 6) (a + 7) (a + 8) (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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 6) (10) (a + 6) (a + 7) (a + 8) (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 + 18)) (Zs K x (a + 20))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 6) (12) (a + 6) (a + 7) (a + 8) (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 + 15)) (Zs K x (a + 17))) (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 + 16))))) := A1.Dn K O x hD (a + 7) (8) (a + 7) (a + 8) (a + 9) (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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 7) (10) (a + 7) (a + 8) (a + 9) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 8) (6) (a + 8) (a + 9) (a + 10) (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 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 + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 8) (8) (a + 8) (a + 9) (a + 10) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 8) (8) (a + 8) (a + 9) (a + 10) (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 8) (10) (a + 8) (a + 9) (a + 10) (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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (K.add (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 20)))) (K.neg (K.mul (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.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) -- (+22 chars; full line in the Zenodo source)
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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 6) (9) (a + 6) (a + 7) (a + 8) (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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 6) (11) (a + 6) (a + 7) (a + 8) (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 + 19)) (Zs K x (a + 21))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 6) (13) (a + 6) (a + 7) (a + 8) (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 + 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)
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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 7) (11) (a + 7) (a + 8) (a + 9) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 8) (7) (a + 8) (a + 9) (a + 10) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 8) (9) (a + 8) (a + 9) (a + 10) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 8) (9) (a + 8) (a + 9) (a + 10) (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 8) (11) (a + 8) (a + 9) (a + 10) (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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (K.add (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 21)))) (K.neg (K.mul (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.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9)) -- (+24 chars; full line in the Zenodo source)
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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 6) (10) (a + 6) (a + 7) (a + 8) (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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 6) (12) (a + 6) (a + 7) (a + 8) (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 + 20)) (Zs K x (a + 22))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 6) (14) (a + 6) (a + 7) (a + 8) (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 + 17)) (Zs K x (a + 19))) (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 + 18))))) := A1.Dn K O x hD (a + 7) (10) (a + 7) (a + 8) (a + 9) (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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 7) (12) (a + 7) (a + 8) (a + 9) (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 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 + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 8) (8) (a + 8) (a + 9) (a + 10) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 8) (10) (a + 8) (a + 9) (a + 10) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 8) (10) (a + 8) (a + 9) (a + 10) (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 8) (12) (a + 8) (a + 9) (a + 10) (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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (K.add (K.add (Zs K x (a + w + 18)) (Zs K x (a + w + 20))) (Zs K x (a + w + 22)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + w + 17)) (Zs K x (a + w + 19))) (Zs K x (a + w + 21))) (Zs K x (a + w + 23))) (K.add (K.add (Zs K -- (+52 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 17)) (Zs K x (a + w + 19))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + w + 18))))) := A1.Dn K O x hD (a + 6) (w + 11) (a + 6) (a + 7) (a + 8) (a + w + 17) (a + w + 18) (a + w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 19)) (Zs K x (a + w + 21))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + w + 20))))) := A1.Dn K O x hD (a + 6) (w + 13) (a + 6) (a + 7) (a + 8) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 21)) (Zs K x (a + w + 23))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + w + 22))))) := A1.Dn K O x hD (a + 6) (w + 15) (a + 6) (a + 7) (a + 8) (a + w + 21) (a + w + 22) (a + w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 18)) (Zs K x (a + w + 20))) (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 + w + 19))))) := A1.Dn K O x hD (a + 7) (w + 11) (a + 7) (a + 8) (a + 9) (a + w + 18) (a + w + 19) (a + w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 20)) (Zs K x (a + w + 22))) (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 + w + 21))))) := A1.Dn K O x hD (a + 7) (w + 13) (a + 7) (a + 8) (a + 9) (a + w + 20) (a + w + 21) (a + w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 17)) (Zs K x (a + w + 19))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + w + 18))))) := A1.Dn K O x hD (a + 8) (w + 9) (a + 8) (a + 9) (a + 10) (a + w + 17) (a + w + 18) (a + w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_n -- (+3 chars; full line in the Zenodo source)
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 19)) (Zs K x (a + w + 21))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + w + 20))))) := A1.Dn K O x hD (a + 8) (w + 11) (a + 8) (a + 9) (a + 10) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+4 chars; full line in the Zenodo source)
have t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 19)) (Zs K x (a + w + 21))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + w + 20))))) := A1.Dn K O x hD (a + 8) (w + 11) (a + 8) (a + 9) (a + 10) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+4 chars; full line in the Zenodo source)
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 21)) (Zs K x (a + w + 23))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + w + 22))))) := A1.Dn K O x hD (a + 8) (w + 13) (a + 8) (a + 9) (a + 10) (a + w + 21) (a + w + 22) (a + w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+4 chars; full line in the Zenodo source)
have t9 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 18)) (Zs K x (a + w + 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 + w + 19))))) := A1.Dn K O x hD (a + 9) (w + 9) (a + 9) (a + 10) (a + 11) (a + w + 18) (a + w + 19) (a + w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+5 chars; full line in the Zenodo source)
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 20)) (Zs K x (a + w + 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 + w + 21))))) := A1.Dn K O x hD (a + 9) (w + 11) (a + 9) (a + 10) (a + 11) (a + w + 20) (a + w + 21) (a + w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by l -- (+7 chars; full line in the Zenodo source)
have t11 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 17)) (Zs K x (a + w + 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 + w + 18))))) := A1.Dn K O x hD (a + 10) (w + 7) (a + 10) (a + 11) (a + 12) (a + w + 17) (a + w + 18) (a + w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by -- (+9 chars; full line in the Zenodo source)
have t12 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 19)) (Zs K x (a + w + 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 + w + 20))))) := A1.Dn K O x hD (a + 10) (w + 9) (a + 10) (a + 11) (a + 12) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by -- (+9 chars; full line in the Zenodo source)
have t13 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 21)) (Zs K x (a + w + 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 + w + 22))))) := A1.Dn K O x hD (a + 10) (w + 11) (a + 10) (a + 11) (a + 12) (a + w + 21) (a + w + 22) (a + w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (b -- (+10 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
include hx hT hD h1 h10 in
theorem sg24 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (pv3 K x)) (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 (K.add (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.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 (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (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))
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 (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7)))) (K.neg (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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))
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 (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul (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 (4))))))
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 (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (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 (4))))))
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 (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 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.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 (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t6 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (3)) (hx (5))
have t7 : 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 _ _ (A1.nn_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 (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (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 (4))))))
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))
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 (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 _ _ 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 (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 (4))))))
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 (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (Zs K x (12)))) (K.neg (K.mul (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 (4))))))
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 (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
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 (11))) := O.mul_nonneg _ _ (hx (3)) (hx (10))
have t4 : 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 _ _ 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 (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (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 (4))))))
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 (3)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (2)) (hx (8))
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 (4)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (3)) (hx (11))
have t4 : 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 _ _ 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 (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (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 (4))))))
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 (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
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 (4)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (3)) (hx (12))
have t4 : 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 _ _ t0 t1) t2) t3) t4) (by lib_ring)
| succ w =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 11 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 + 9)) (Zs K x (w + 11))) (Zs K x (w + 13))) (Zs K x (w + 15)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 8)) (Zs K x (w + 10))) (Zs K x (w + 12))) (Zs K x (w + 14))) (Zs K x (4))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 8))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 7))
have t1 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 10))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 9))
have t2 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 12))) := O.mul_nonneg _ _ (hx (3)) (hx (w + 11))
have t3 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 14))) := O.mul_nonneg _ _ (hx (3)) (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 _ _ 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 (Zs K x (2)) (Zs K x (4))) (Zs K x (6)))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (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.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
have t2 : 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 _ _ (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 (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)))) (K.neg (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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 (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 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.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.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t4 : 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 _ _ (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 (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (1)) (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.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.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 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.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 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 (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 t6 : 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 t7 : 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 t8 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
have t9 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (2)) (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.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.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 (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 t4 : 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 t5 : 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 t6 : 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 t7 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (0)) (hx (3))
have t8 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
have t9 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (3)) (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.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
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)
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.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 t6 : 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 t7 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_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 (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (4)) (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.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 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 (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 t2 : 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 t3 : 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 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 (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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (2)) (hx (7))
have t11 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_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 (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 (K.add (K.add (K.add (Zs K x (5)) (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.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
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.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 (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
have t4 : 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 t5 : 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
have t6 : 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 t7 : 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 _ _ (A1.nn_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 (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (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.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
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.mul (Zs K x (3)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (2)) (hx (9))
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (2)) (hx (11))
have t4 : 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 (5)) (Zs K x (12)))))) := by
have h := A2.mk K O x hT (8) (3) (0)
try rw [show (3) + (0) + 1 + (8) = 12 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (8) = 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 (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 t6 : 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 t7 : 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 _ _ (A1.nn_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 (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (7)) (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.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
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.mul (Zs K x (3)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (2)) (hx (10))
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (13))) := O.mul_nonneg _ _ (hx (2)) (hx (12))
have t4 : 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 (5)) (Zs K x (13)))))) := by
have h := A2.mk K O x hT (9) (3) (0)
try rw [show (3) + (0) + 1 + (9) = 13 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (9) = 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 (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 t6 : 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 t7 : 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 _ _ 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 (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (8)) (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.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
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.mul (Zs K x (3)) (Zs K x (12))) := O.mul_nonneg _ _ (hx (2)) (hx (11))
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (14))) := O.mul_nonneg _ _ (hx (2)) (hx (13))
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 (5)) (Zs K x (14)))))) := by
have h := A2.mk K O x hT (10) (3) (0)
try rw [show (3) + (0) + 1 + (10) = 14 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (10) = 13 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 (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 t6 : 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 t7 : 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 _ _ (A1.nn_add K O _ _ t0 t1) t2) t3) t4) t5) t6) t7) (by lib_ring)
| succ w =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 12 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 + 10)) (Zs K x (w + 12))) (Zs K x (w + 14))) (Zs K x (w + 16)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (w + 9)) (Zs K x (w + 11))) (Zs K x (w + 13))) (Zs K x (w + 15))) (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 (w + 10))) := O.mul_nonneg _ _ (hx (1)) (hx (w + 9))
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 9)) (Zs K x (w + 11))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 10))))) := A1.Dn K O x hD (2) (w + 7) (2) (3) (4) (w + 9) (w + 10) (w + 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.mul (Zs K x (3)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 12))
have t3 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (w + 15))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 14))
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 11) (3) (0)
try rw [show (3) + (0) + 1 + (w + 11) = w + 15 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (w + 11) = w + 14 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 + 14))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 12)))))) := by
have h := A2.mk K O x hT (w + 8) (3) (1)
try rw [show (3) + (1) + 1 + (w + 8) = w + 13 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (w + 8) = w + 11 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 12))))) := A1.Dn K O x hD (4) (w + 7) (4) (5) (6) (w + 11) (w + 12) (w + 13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t7 : O.le K.zero (K.mul (Zs K x (5)) (Zs K x (w + 9))) := O.mul_nonneg _ _ (hx (4)) (hx (w + 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 _ _ t0 t1) t2) t3) t4) t5) t6) t7) (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 (Zs K x (3)) (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)))) (K.neg (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (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.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 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 (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.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 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)
have t5 : 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 _ _ (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.add (Zs K x (3)) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (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.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.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 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)
have t5 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t6 : 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 _ _ (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.add (Zs K x (3)) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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.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 (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 t4 : 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 (6)) (Zs K x (6)))))) := by
have h := A2.mk K O x hT (4) (1) (3)
try rw [show (1) + (3) + 1 + (4) = 9 by lib_nat] at h
try rw [show (1) + (3) + 1 = 5 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.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 t6 : 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 t7 : 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 t8 : 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 t9 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (0)) (hx (4))
have t10 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (0)) (hx (8))
have t11 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (Zs K x (3)) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (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.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 (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.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.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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (0)) (hx (3))
have t10 : O.le K.zero (K.mul (Zs K x (3)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (2)) (hx (5))
have t11 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (Zs K x (3)) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (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.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 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 (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 t2 : 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 t3 : 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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (4))) := O.mul_nonneg _ _ (hx (1)) (hx (3))
have t10 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t11 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (Zs K x (3)) (Zs K x (5))) (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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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.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.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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
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.add (Zs K x (3)) (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 (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (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.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 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 (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 t2 : 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 t3 : 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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (1)) (hx (5))
have t10 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
have t11 : 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 _ _ (A1.nn_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 (K.add (Zs K x (3)) (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 (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (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.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (13))))) := A1.Dn K O x hD (0) (12) (0) (1) (2) (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.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 t2 : 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 t3 : 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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (7))) := O.mul_nonneg _ _ (hx (1)) (hx (6))
have t10 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
have t11 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (Zs K x (3)) (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 (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (Zs K x (14))) (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 (13)) (Zs K x (15))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (14))))) := A1.Dn K O x hD (0) (13) (0) (1) (2) (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.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 t2 : 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 t3 : 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 t4 : 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 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 (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 t7 : 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 t8 : 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 t9 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (1)) (hx (7))
have t10 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (10))) := O.mul_nonneg _ _ (hx (1)) (hx (9))
have t11 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (Zs K x (3)) (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 (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15))) (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 (14)) (Zs K x (16))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (15))))) := A1.Dn K O x hD (0) (14) (0) (1) (2) (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.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 t2 : 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 t3 : 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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (1)) (hx (8))
have t10 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (11))) := O.mul_nonneg _ _ (hx (1)) (hx (10))
have t11 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (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)))) (K.neg (K.mul (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))) (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 (1)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (0)) (hx (w + 12))
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 13))))) := A1.Dn K O x hD (1) (w + 11) (1) (2) (3) (w + 12) (w + 13) (w + 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.mul (Zs K x (2)) (Zs K x (w + 10))) := O.mul_nonneg _ _ (hx (1)) (hx (w + 9))
have t3 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (w + 16))) := O.mul_nonneg _ _ (hx (1)) (hx (w + 15))
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 13)))))) := by
have h := A2.mk K O x hT (w + 10) (2) (3)
try rw [show (2) + (3) + 1 + (w + 10) = w + 16 by lib_nat] at h
try rw [show (2) + (3) + 1 = 6 by lib_nat] at h
try rw [show (2) + (w + 10) = w + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 10)) (Zs K x (w + 12))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 11))))) := A1.Dn K O x hD (3) (w + 7) (3) (4) (5) (w + 10) (w + 11) (w + 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 (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 t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 11) (4) (0)
try rw [show (4) + (0) + 1 + (w + 11) = w + 16 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (w + 11) = w + 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 (w + 12)) (Zs K x (w + 14))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 13))))) := A1.Dn K O x hD (5) (w + 7) (5) (6) (7) (w + 12) (w + 13) (w + 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.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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (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.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.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 (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 t3 : 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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (Zs K x (2)) (Zs K x (4))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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.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.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 t3 : 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 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)
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))
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (Zs K x (2)) (Zs K x (4))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (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.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 t1 : 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 t2 : 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 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 (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 t5 : 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 (7)) (Zs K x (7)))))) := by
have h := A2.mk K O x hT (4) (2) (3)
try rw [show (2) + (3) + 1 + (4) = 10 by lib_nat] at h
try rw [show (2) + (3) + 1 = 6 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.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 t7 : 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 t8 : 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 t9 : 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 t10 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (9))) := O.mul_nonneg _ _ (hx (0)) (hx (8))
have t11 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (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.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.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 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 (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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : O.le K.zero (K.mul (Zs K x (2)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (1)) (hx (4))
have t11 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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.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
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 (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 t3 : 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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (Zs K x (13)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (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.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 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 (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 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 (12)) (Zs K x (14))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (13))))) := A1.Dn K O x hD (0) (12) (0) (1) (2) (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 (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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (6))) := O.mul_nonneg _ _ (hx (0)) (hx (5))
have t11 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 (K.add (K.add (Zs K x (2)) (Zs K x (4))) (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 (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (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.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 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 (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 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 (13)) (Zs K x (15))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (14))))) := A1.Dn K O x hD (0) (13) (0) (1) (2) (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.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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (15)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (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.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 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 (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 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.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (15))))) := A1.Dn K O x hD (0) (14) (0) (1) (2) (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 (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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : O.le K.zero (K.mul (Zs K x (1)) (Zs K x (8))) := O.mul_nonneg _ _ (hx (0)) (hx (7))
have t12 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) (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 (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (Zs K x (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.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 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 (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 t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (16))))) := A1.Dn K O x hD (0) (15) (0) (1) (2) (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.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 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)
have t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (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 (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (16))) (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 (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 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 (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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (13))))) := A1.Dn K O x hD (0) (12) (0) (1) (2) (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 (16)) (Zs K x (18))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (17))))) := A1.Dn K O x hD (0) (16) (0) (1) (2) (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.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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 t11 : 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 t12 : 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 t13 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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) t12) t13) (by lib_ring)
| succ w =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 14 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 (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 (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))) (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x -- (+9 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (w + 12))))) := A1.Dn K O x hD (0) (w + 11) (0) (1) (2) (w + 11) (w + 12) (w + 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 (w + 15)) (Zs K x (w + 17))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (w + 16))))) := A1.Dn K O x hD (0) (w + 15) (0) (1) (2) (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 t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 14))))) := A1.Dn K O x hD (2) (w + 11) (2) (3) (4) (w + 13) (w + 14) (w + 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.mul (Zs K x (3)) (Zs K x (w + 11))) := O.mul_nonneg _ _ (hx (2)) (hx (w + 10))
have t5 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 11) (3) (2)
try rw [show (3) + (2) + 1 + (w + 11) = w + 17 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (w + 11) = w + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 12))))) := A1.Dn K O x hD (4) (w + 7) (4) (5) (6) (w + 11) (w + 12) (w + 13) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t7 : 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 t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 14))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 13)))))) := by
have h := A2.mk K O x hT (w + 7) (5) (0)
try rw [show (5) + (0) + 1 + (w + 7) = w + 13 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 7) = w + 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 (6)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 11) (5) (0)
try rw [show (5) + (0) + 1 + (w + 11) = w + 17 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 11) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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.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 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 (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 (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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (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 (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 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 (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 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 (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.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 t5 : 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 t6 : 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 t7 : 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 _ _ (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.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (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 (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
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.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 (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.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 (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 t6 : 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 (8)) (Zs K x (8)))))) := by
have h := A2.mk K O x hT (4) (3) (3)
try rw [show (3) + (3) + 1 + (4) = 11 by lib_nat] at h
try rw [show (3) + (3) + 1 = 7 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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 (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 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 (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 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.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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (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 (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 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 (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 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 (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 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.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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (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 (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (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 (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 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 (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 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 (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 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 (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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (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 (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (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 (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 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 (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 t2 : 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 t3 : 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 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 (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 t5 : 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 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)
have t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (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 (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (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 (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 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 (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 t2 : 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 t3 : 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 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)
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 (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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (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 (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (Zs K x (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 (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 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 (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 t2 : 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 t3 : 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 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)
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 (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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (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 (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (17))) (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 (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 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 (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 t2 : 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 t3 : 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 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)
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 (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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 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.add (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (Zs K x (7))) (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 (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.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) -- (+32 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 + 15))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 12)))))) := by
have h := A2.mk K O x hT (w + 11) (0) (2)
try rw [show (0) + (2) + 1 + (w + 11) = w + 14 by lib_nat] at h
try rw [show (0) + (2) + 1 = 3 by lib_nat] at h
try rw [show (0) + (w + 11) = w + 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 (1)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 12)))))) := by
have h := A2.mk K O x hT (w + 11) (0) (6)
try rw [show (0) + (6) + 1 + (w + 11) = w + 18 by lib_nat] at h
try rw [show (0) + (6) + 1 = 7 by lib_nat] at h
try rw [show (0) + (w + 11) = w + 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 (w + 12)) (Zs K x (w + 14))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 13))))) := A1.Dn K O x hD (1) (w + 11) (1) (2) (3) (w + 12) (w + 13) (w + 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 (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 t4 : 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 (9)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 11) (3) (4)
try rw [show (3) + (4) + 1 + (w + 11) = w + 19 by lib_nat] at h
try rw [show (3) + (4) + 1 = 8 by lib_nat] at h
try rw [show (3) + (w + 11) = w + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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 t6 : 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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 13))))) := A1.Dn K O x hD (5) (w + 7) (5) (6) (7) (w + 12) (w + 13) (w + 14) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t8 : 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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 11) (6) (0)
try rw [show (6) + (0) + 1 + (w + 11) = w + 18 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 11) = w + 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 (w + 14)) (Zs K x (w + 16))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 15))))) := A1.Dn K O x hD (7) (w + 7) (7) (8) (9) (w + 14) (w + 15) (w + 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 i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (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.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.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 (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 (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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (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 (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 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 (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 t2 : 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 t3 : 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 t4 : 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 t5 : 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 t6 : 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 _ _ (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.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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 (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
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.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 (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 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 (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 t6 : 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 (9)) (Zs K x (9)))))) := by
have h := A2.mk K O x hT (4) (4) (3)
try rw [show (4) + (3) + 1 + (4) = 12 by lib_nat] at h
try rw [show (4) + (3) + 1 = 8 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (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 (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 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 (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 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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (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 (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 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 (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 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 (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 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.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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (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 (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (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 (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 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 (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 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 (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 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 (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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (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.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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 (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (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 (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 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 (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 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 (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 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 (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 t5 : 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 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)
have t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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 (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (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 (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 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 (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 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 (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 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)
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 (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 t6 : 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 t7 : 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 t8 : 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 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 (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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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 (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (Zs K x (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 (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 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 (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 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 (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 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)
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 (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 t6 : 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 t7 : 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 t8 : 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 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 (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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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 (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))))) -- (+2 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 (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 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 (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 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 (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 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)
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 (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 t6 : 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 t7 : 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 t8 : 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 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 (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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 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 (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (Zs K x (8))) (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 (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.add (K.add (K.add (Zs K x (3)) (Zs K x (5) -- (+34 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 + 16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 13)))))) := by
have h := A2.mk K O x hT (w + 11) (1) (2)
try rw [show (1) + (2) + 1 + (w + 11) = w + 15 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (w + 11) = w + 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 (2)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 13)))))) := by
have h := A2.mk K O x hT (w + 11) (1) (6)
try rw [show (1) + (6) + 1 + (w + 11) = w + 19 by lib_nat] at h
try rw [show (1) + (6) + 1 = 8 by lib_nat] at h
try rw [show (1) + (w + 11) = w + 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 (w + 13)) (Zs K x (w + 15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 14))))) := A1.Dn K O x hD (2) (w + 11) (2) (3) (4) (w + 13) (w + 14) (w + 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 (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 t4 : 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 t5 : 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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 11) (5) (2)
try rw [show (5) + (2) + 1 + (w + 11) = w + 19 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 11) = w + 16 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 (w + 13)) (Zs K x (w + 15))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 14))))) := A1.Dn K O x hD (6) (w + 7) (6) (7) (8) (w + 13) (w + 14) (w + 15) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat)
have t8 : 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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 16))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 7) (7) (0)
try rw [show (7) + (0) + 1 + (w + 7) = w + 15 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 7) = w + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 11) (7) (0)
try rw [show (7) + (0) + 1 + (w + 11) = w + 19 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 11) = 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 _ _ (A1.nn_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 i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (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.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.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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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 (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 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 (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 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 (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.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 t5 : 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 t6 : 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 _ _ (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.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (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 (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
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.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 (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 (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 (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 t6 : 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 (10)) (Zs K x (10)))))) := by
have h := A2.mk K O x hT (4) (5) (3)
try rw [show (5) + (3) + 1 + (4) = 13 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (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 (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 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 (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 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 (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 (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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (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 (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 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 (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 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 (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 (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.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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (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 (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (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 (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 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 (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 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 (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.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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 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 (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 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 (K.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (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 (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (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 (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 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 (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 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 (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 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 (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 t5 : 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 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)
have t7 : 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 t8 : 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 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 (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 t10 : 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 _ _ 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.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (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 (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (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)))))) -- (+1 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 (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 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 (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 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 (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 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)
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 (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 t6 : 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 t7 : 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 t8 : 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 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 (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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (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 (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (Zs K x (18))) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)))) -- (+3 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 (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 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 (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 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 (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 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)
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 (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 t6 : 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 t7 : 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 t8 : 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 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 (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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (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 (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10)) -- (+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 (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 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
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 (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 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)
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 (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 t6 : 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 t7 : 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 t8 : 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 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 (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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (Zs K x (9))) (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 (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.add (K.add (K.add (Zs K x (4)) (Zs K x ( -- (+37 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 + 17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 14)))))) := by
have h := A2.mk K O x hT (w + 11) (2) (2)
try rw [show (2) + (2) + 1 + (w + 11) = w + 16 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (w + 11) = w + 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 (3)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 14)))))) := by
have h := A2.mk K O x hT (w + 11) (2) (6)
try rw [show (2) + (6) + 1 + (w + 11) = w + 20 by lib_nat] at h
try rw [show (2) + (6) + 1 = 9 by lib_nat] at h
try rw [show (2) + (w + 11) = w + 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 (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 t3 : 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 t4 : 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 (10)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 12) (5) (3)
try rw [show (5) + (3) + 1 + (w + 12) = w + 21 by lib_nat] at h
try rw [show (5) + (3) + 1 = 9 by lib_nat] at h
try rw [show (5) + (w + 12) = w + 17 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : 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 t6 : 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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 15))))) := A1.Dn K O x hD (7) (w + 7) (7) (8) (9) (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 t8 : 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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 7) (8) (0)
try rw [show (8) + (0) + 1 + (w + 7) = w + 16 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 7) = w + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 11) (8) (0)
try rw [show (8) + (0) + 1 + (w + 11) = w + 20 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 11) = 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 _ _ (A1.nn_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 i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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.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.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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 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.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 _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (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 (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 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 (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 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 (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.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 t5 : 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
have t6 : 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 _ _ (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.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (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 (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
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.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 (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 (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 (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 t6 : 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 (11)) (Zs K x (11)))))) := by
have h := A2.mk K O x hT (4) (6) (3)
try rw [show (6) + (3) + 1 + (4) = 14 by lib_nat] at h
try rw [show (6) + (3) + 1 = 10 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 t7 : 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 t8 : 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 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.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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (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 (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 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 (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 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 (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 (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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (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 (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (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 (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 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 (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 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 (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 (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.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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (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 (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (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 (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 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 (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 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 (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.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 t5 : 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 t6 : 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 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)
have t8 : 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 t9 : 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 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 (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (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 (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (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))))) -- (+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 (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 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 (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 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 (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 t4 : 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 t5 : 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 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)
have t7 : 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 t8 : 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 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 (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 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 (K.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (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 (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (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))) -- (+4 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 (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 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 (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 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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 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 (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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (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 (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (Zs K x (19))) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11) -- (+6 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 (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 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
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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 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 (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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (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 (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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 (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 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
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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 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 (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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (Zs K x (10))) (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 (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.add (K.add (K.add (Zs K x (5)) (Zs K -- (+40 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 + 18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 11) (3) (2)
try rw [show (3) + (2) + 1 + (w + 11) = w + 17 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (w + 11) = w + 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 (4)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 11) (3) (6)
try rw [show (3) + (6) + 1 + (w + 11) = w + 21 by lib_nat] at h
try rw [show (3) + (6) + 1 = 10 by lib_nat] at h
try rw [show (3) + (w + 11) = w + 14 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 (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 t3 : 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 t4 : 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 t5 : 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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 11) (7) (2)
try rw [show (7) + (2) + 1 + (w + 11) = w + 21 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (w + 11) = w + 18 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 (w + 15)) (Zs K x (w + 17))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 16))))) := A1.Dn K O x hD (8) (w + 7) (8) (9) (10) (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 t8 : 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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 7) (9) (0)
try rw [show (9) + (0) + 1 + (w + 7) = w + 17 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 7) = w + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 11) (9) (0)
try rw [show (9) + (0) + 1 + (w + 11) = w + 21 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 11) = 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 _ _ (A1.nn_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 i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (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.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.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 (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 (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)
have t5 : 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 t6 : 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 t7 : 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 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.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 _ _ 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.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (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 (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 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 (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 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 (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.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 t5 : 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 t6 : 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 _ _ (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.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (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 (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
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.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 (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 (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 t5 : 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 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 (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
have t7 : 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 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)
have t9 : 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 t10 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (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 (K.add (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (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 (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 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 (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 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 (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 (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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (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 (K.add (K.add (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (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)))))) -- (+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 (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 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 (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 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 (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 (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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 t9 : 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 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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (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 (K.add (K.add (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (15))) (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)))) -- (+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 (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 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 (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 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 (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.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 t5 : 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 t6 : 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 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)
have t8 : 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 t9 : 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
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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (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 (K.add (K.add (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (16))) (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)) -- (+5 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 (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 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 (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 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 (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 t4 : 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 t5 : 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 t6 : 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 t7 : 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 t8 : 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 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 (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
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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (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 (K.add (K.add (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (17))) (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 -- (+7 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 (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 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
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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 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 (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
have t10 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (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 (K.add (K.add (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (18))) (Zs K x (20))) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (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 (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 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
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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 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 (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
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (16)) (Zs K x (18))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (17))))) := A1.Dn K O x hD (11) (5) (11) (12) (13) (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 (K.add (K.add (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (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 (K.add (K.add (K.add (Zs K x (15)) (Zs K x (17))) (Zs K x (19))) (Zs K x (21))) (K.add (K.add (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (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 (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 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
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 (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 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)
have t5 : 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 t6 : 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 t7 : 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 t8 : 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 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 (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
have t10 : O.le K.zero (K.add (K.mul (K.add (Zs K x (17)) (Zs K x (19))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (18))))) := A1.Dn K O x hD (11) (6) (11) (12) (13) (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (Zs K x (11))) (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 (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.add (K.add (K.add (Zs K x (6)) (Zs -- (+43 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 + 19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 11) (4) (2)
try rw [show (4) + (2) + 1 + (w + 11) = w + 18 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 11) = 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 (5)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 11) (4) (6)
try rw [show (4) + (6) + 1 + (w + 11) = w + 22 by lib_nat] at h
try rw [show (4) + (6) + 1 = 11 by lib_nat] at h
try rw [show (4) + (w + 11) = w + 15 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 (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 t3 : 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 t4 : 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 t5 : 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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 10) (8) (3)
try rw [show (8) + (3) + 1 + (w + 10) = w + 22 by lib_nat] at h
try rw [show (8) + (3) + 1 = 12 by lib_nat] at h
try rw [show (8) + (w + 10) = w + 18 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 (w + 16)) (Zs K x (w + 18))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 17))))) := A1.Dn K O x hD (9) (w + 7) (9) (10) (11) (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 t8 : 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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 11) (10) (0)
try rw [show (10) + (0) + 1 + (w + 11) = w + 22 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 11) = w + 21 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 (w + 18)) (Zs K x (w + 20))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (Zs K x (w + 19))))) := A1.Dn K O x hD (11) (w + 7) (11) (12) (13) (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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 10 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (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)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))) (Zs K x (a + 13))) (K.add (K.add (K.add (Zs K x (a + 7)) (Zs -- (+55 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 8))))) := A1.Dn K O x hD (a + 6) (1) (a + 6) (a + 7) (a + 8) (a + 7) (a + 8) (a + 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.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.add (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))))) := A1.Dn K O x hD (a + 6) (3) (a + 6) (a + 7) (a + 8) (a + 9) (a + 10) (a + 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 (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 6) (5) (a + 6) (a + 7) (a + 8) (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 t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 6) (7) (a + 6) (a + 7) (a + 8) (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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 10))))) := A1.Dn K O x hD (a + 8) (1) (a + 8) (a + 9) (a + 10) (a + 9) (a + 10) (a + 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 (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 8) (3) (a + 8) (a + 9) (a + 10) (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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (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 + 12))))) := A1.Dn K O x hD (a + 10) (1) (a + 10) (a + 11) (a + 12) (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 t8 : 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 + 13)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (2) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (2) = a + 14 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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 t9 : 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)
exact A1.nn_of_eq K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 11 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (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)))) (K.neg (K.mul (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))) (K.add (K.add (K.add (Zs K x (a + 7)) ( -- (+58 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + 9))) (K.neg (K.mul (Zs K x (a + 7)) (Zs K x (a + 8)))))) := by
have h := A2.mk K O x hT (2) (a + 5) (0)
try rw [show (a + 5) + (0) + 1 + (2) = a + 8 by lib_nat] at h
try rw [show (a + 5) + (0) + 1 = a + 6 by lib_nat] at h
try rw [show (a + 5) + (2) = a + 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 (a + 6)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 7)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (8) (a + 5) (0)
try rw [show (a + 5) + (0) + 1 + (8) = a + 14 by lib_nat] at h
try rw [show (a + 5) + (0) + 1 = a + 6 by lib_nat] at h
try rw [show (a + 5) + (8) = 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 + 6)) (Zs K x (a + 13))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 11)))))) := by
have h := A2.mk K O x hT (5) (a + 5) (1)
try rw [show (a + 5) + (1) + 1 + (5) = a + 12 by lib_nat] at h
try rw [show (a + 5) + (1) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 5) + (5) = 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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 6) (4) (a + 6) (a + 7) (a + 8) (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 t4 : 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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 8) (6) (a + 8) (a + 9) (a + 10) (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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (2) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (2) = a + 14 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (2) = 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 _ _ (A1.nn_add K O _ _ (A1.nn_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 + (0 + 1 + 1) + 1 = a + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (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)))) (K.neg (K.mul (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))) (K.add (K.add (K.add (Zs K x (a + 7) -- (+61 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + 12))) (K.neg (K.mul (Zs K x (a + 8)) (Zs K x (a + 10)))))) := by
have h := A2.mk K O x hT (4) (a + 5) (1)
try rw [show (a + 5) + (1) + 1 + (4) = a + 11 by lib_nat] at h
try rw [show (a + 5) + (1) + 1 = a + 7 by lib_nat] at h
try rw [show (a + 5) + (4) = 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 + 6)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (7) (a + 5) (2)
try rw [show (a + 5) + (2) + 1 + (7) = a + 15 by lib_nat] at h
try rw [show (a + 5) + (2) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 5) + (7) = a + 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 (a + 9)) (Zs K x (a + 11))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))))) := A1.Dn K O x hD (a + 6) (3) (a + 6) (a + 7) (a + 8) (a + 9) (a + 10) (a + 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 (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 6) (7) (a + 6) (a + 7) (a + 8) (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 + 9)) (Zs K x (a + 11))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 10))))) := A1.Dn K O x hD (a + 8) (1) (a + 8) (a + 9) (a + 10) (a + 9) (a + 10) (a + 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 (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 8) (3) (a + 8) (a + 9) (a + 10) (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 t6 : 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 + 13)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (4) (a + 8) (3)
try rw [show (a + 8) + (3) + 1 + (4) = a + 16 by lib_nat] at h
try rw [show (a + 8) + (3) + 1 = a + 12 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 t7 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 8) (7) (a + 8) (a + 9) (a + 10) (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 t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (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 + 12))))) := A1.Dn K O x hD (a + 10) (1) (a + 10) (a + 11) (a + 12) (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 t9 : 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 t10 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (3) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (3) = a + 15 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (3) = 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (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 (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))) (K.add (K.add (K.add (Zs K x (a + -- (+64 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + 13))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 10)))))) := by
have h := A2.mk K O x hT (4) (a + 5) (2)
try rw [show (a + 5) + (2) + 1 + (4) = a + 12 by lib_nat] at h
try rw [show (a + 5) + (2) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 5) + (4) = 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 + 6)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 10)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (7) (a + 5) (3)
try rw [show (a + 5) + (3) + 1 + (7) = a + 16 by lib_nat] at h
try rw [show (a + 5) + (3) + 1 = a + 9 by lib_nat] at h
try rw [show (a + 5) + (7) = a + 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 (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 6) (4) (a + 6) (a + 7) (a + 8) (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 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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 6) (8) (a + 6) (a + 7) (a + 8) (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.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (8) (a + 7) (0)
try rw [show (a + 7) + (0) + 1 + (8) = a + 16 by lib_nat] at h
try rw [show (a + 7) + (0) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 7) + (8) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
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 + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 8) (4) (a + 8) (a + 9) (a + 10) (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.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (4) (a + 9) (2)
try rw [show (a + 9) + (2) + 1 + (4) = a + 16 by lib_nat] at h
try rw [show (a + 9) + (2) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 9) + (4) = a + 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 (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 t8 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (4) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (4) = a + 16 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (4) = 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 _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (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 (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.add (K.add (K.add (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 + 6)) (Zs K x (a + 14))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 11)))))) := by
have h := A2.mk K O x hT (5) (a + 5) (2)
try rw [show (a + 5) + (2) + 1 + (5) = a + 13 by lib_nat] at h
try rw [show (a + 5) + (2) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 5) + (5) = 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 + 6)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (7) (a + 5) (4)
try rw [show (a + 5) + (4) + 1 + (7) = a + 17 by lib_nat] at h
try rw [show (a + 5) + (4) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 5) + (7) = a + 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 (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 6) (5) (a + 6) (a + 7) (a + 8) (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 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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 6) (9) (a + 6) (a + 7) (a + 8) (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.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (9) (a + 7) (0)
try rw [show (a + 7) + (0) + 1 + (9) = a + 17 by lib_nat] at h
try rw [show (a + 7) + (0) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 7) + (9) = a + 16 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 8) (5) (a + 8) (a + 9) (a + 10) (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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (5) (a + 9) (2)
try rw [show (a + 9) + (2) + 1 + (5) = a + 17 by lib_nat] at h
try rw [show (a + 9) + (2) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 9) + (5) = a + 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 (a + 11)) (Zs K x (a + 13))) (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 + 12))))) := A1.Dn K O x hD (a + 10) (1) (a + 10) (a + 11) (a + 12) (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 t8 : 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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 14))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (1) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (1) = a + 13 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (1) = a + 12 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (5) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (5) = a + 17 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (5) = 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (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 (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.add (K.add (K.add (Zs K x -- (+68 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + 13))) (K.neg (K.mul (Zs K x (a + 7)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (6) (a + 5) (0)
try rw [show (a + 5) + (0) + 1 + (6) = a + 12 by lib_nat] at h
try rw [show (a + 5) + (0) + 1 = a + 6 by lib_nat] at h
try rw [show (a + 5) + (6) = 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 + 6)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 12)))))) := by
have h := A2.mk K O x hT (6) (a + 5) (4)
try rw [show (a + 5) + (4) + 1 + (6) = a + 16 by lib_nat] at h
try rw [show (a + 5) + (4) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 5) + (6) = 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 + 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 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 + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 6) (8) (a + 6) (a + 7) (a + 8) (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 + 18)) (Zs K x (a + 20))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 6) (12) (a + 6) (a + 7) (a + 8) (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 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 + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 8) (4) (a + 8) (a + 9) (a + 10) (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 + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 8) (8) (a + 8) (a + 9) (a + 10) (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 t7 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 11)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (8) (a + 9) (0)
try rw [show (a + 9) + (0) + 1 + (8) = a + 18 by lib_nat] at h
try rw [show (a + 9) + (0) + 1 = a + 10 by lib_nat] at h
try rw [show (a + 9) + (8) = a + 17 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 (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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (4) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (4) = a + 16 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (4) = a + 15 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (6) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (6) = a + 18 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (6) = 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 _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (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 (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.add (K.add (K.add (Zs K -- (+70 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (7) (a + 5) (2)
try rw [show (a + 5) + (2) + 1 + (7) = a + 15 by lib_nat] at h
try rw [show (a + 5) + (2) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 5) + (7) = 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 + 6)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (7) (a + 5) (6)
try rw [show (a + 5) + (6) + 1 + (7) = a + 19 by lib_nat] at h
try rw [show (a + 5) + (6) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 5) + (7) = a + 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 (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 6) (7) (a + 6) (a + 7) (a + 8) (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 + 17)) (Zs K x (a + 19))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 6) (11) (a + 6) (a + 7) (a + 8) (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.neg (K.add (K.mul (Zs K x (a + 9)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (8) (a + 8) (3)
try rw [show (a + 8) + (3) + 1 + (8) = a + 20 by lib_nat] at h
try rw [show (a + 8) + (3) + 1 = a + 12 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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 8) (7) (a + 8) (a + 9) (a + 10) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 8) (11) (a + 8) (a + 9) (a + 10) (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 t7 : 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 t8 : 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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (3) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (3) = a + 15 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (3) = a + 14 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (7) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (7) = a + 19 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (7) = 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 _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (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 (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.add (K.add (K.add (Zs -- (+72 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (8) (a + 5) (2)
try rw [show (a + 5) + (2) + 1 + (8) = a + 16 by lib_nat] at h
try rw [show (a + 5) + (2) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 5) + (8) = 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 + 6)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (8) (a + 5) (6)
try rw [show (a + 5) + (6) + 1 + (8) = a + 20 by lib_nat] at h
try rw [show (a + 5) + (6) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 5) + (8) = a + 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 (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 6) (8) (a + 6) (a + 7) (a + 8) (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 + 18)) (Zs K x (a + 20))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 6) (12) (a + 6) (a + 7) (a + 8) (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.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 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 + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 8) (8) (a + 8) (a + 9) (a + 10) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 8) (12) (a + 8) (a + 9) (a + 10) (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 t7 : 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 t8 : 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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (8) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (8) = a + 20 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (8) = a + 19 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 (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 12) (4) (a + 12) (a + 13) (a + 14) (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 _ _ (A1.nn_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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (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 (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.add (K.add (K.add (Z -- (+74 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (9) (a + 5) (2)
try rw [show (a + 5) + (2) + 1 + (9) = a + 17 by lib_nat] at h
try rw [show (a + 5) + (2) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 5) + (9) = 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 + 6)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (9) (a + 5) (6)
try rw [show (a + 5) + (6) + 1 + (9) = a + 21 by lib_nat] at h
try rw [show (a + 5) + (6) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 5) + (9) = a + 14 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 (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 6) (9) (a + 6) (a + 7) (a + 8) (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 + 19)) (Zs K x (a + 21))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 6) (13) (a + 6) (a + 7) (a + 8) (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.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 t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 8) (9) (a + 8) (a + 9) (a + 10) (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 t6 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 22))))) := A1.Dn K O x hD (a + 8) (13) (a + 8) (a + 9) (a + 10) (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 t7 : 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 t8 : 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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (9) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (9) = a + 21 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (9) = a + 20 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 (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 12) (5) (a + 12) (a + 13) (a + 14) (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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (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 (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.add (K.add (K.add -- (+76 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (10) (a + 5) (2)
try rw [show (a + 5) + (2) + 1 + (10) = a + 18 by lib_nat] at h
try rw [show (a + 5) + (2) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 5) + (10) = 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 + 6)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (10) (a + 5) (6)
try rw [show (a + 5) + (6) + 1 + (10) = a + 22 by lib_nat] at h
try rw [show (a + 5) + (6) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 5) + (10) = a + 15 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 (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 6) (10) (a + 6) (a + 7) (a + 8) (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 + 20)) (Zs K x (a + 22))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 21))))) := A1.Dn K O x hD (a + 6) (14) (a + 6) (a + 7) (a + 8) (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.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (14) (a + 7) (0)
try rw [show (a + 7) + (0) + 1 + (14) = a + 22 by lib_nat] at h
try rw [show (a + 7) + (0) + 1 = a + 8 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
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 8) (10) (a + 8) (a + 9) (a + 10) (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 t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (9) (a + 9) (3)
try rw [show (a + 9) + (3) + 1 + (9) = a + 22 by lib_nat] at h
try rw [show (a + 9) + (3) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 9) + (9) = a + 18 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 (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 t8 : 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 t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (10) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (10) = a + 22 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (10) = a + 21 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 (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 13))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 12) (6) (a + 12) (a + 13) (a + 14) (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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + 10))) (Zs K x (a + 12))) (K.add (K.add (K.add (Zs K x (a + w + 18)) (Zs K x (a + w + 20))) (Zs K x (a + w + 22))) (Zs K x (a + w + 24)))) (K.neg (K.mul (K.add (K.add (K.add (Zs K x (a + w + 17)) (Zs K x (a + w + 19))) (Zs K x (a + w + 21))) (Zs K x (a + -- (+108 chars; full line in the Zenodo source)
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 6)) (Zs K x (a + w + 20))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + w + 17)))))) := by
have h := A2.mk K O x hT (w + 11) (a + 5) (2)
try rw [show (a + 5) + (2) + 1 + (w + 11) = a + w + 19 by lib_nat] at h
try rw [show (a + 5) + (2) + 1 = a + 8 by lib_nat] at h
try rw [show (a + 5) + (w + 11) = a + 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 (a + 6)) (Zs K x (a + w + 24))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 17)))))) := by
have h := A2.mk K O x hT (w + 11) (a + 5) (6)
try rw [show (a + 5) + (6) + 1 + (w + 11) = a + w + 23 by lib_nat] at h
try rw [show (a + 5) + (6) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 5) + (w + 11) = a + w + 16 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 (a + w + 17)) (Zs K x (a + w + 19))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + w + 18))))) := A1.Dn K O x hD (a + 6) (w + 11) (a + 6) (a + 7) (a + 8) (a + w + 17) (a + w + 18) (a + w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 21)) (Zs K x (a + w + 23))) (Zs K x (a + 7))) (K.neg (K.mul (K.add (Zs K x (a + 6)) (Zs K x (a + 8))) (Zs K x (a + w + 22))))) := A1.Dn K O x hD (a + 6) (w + 15) (a + 6) (a + 7) (a + 8) (a + w + 21) (a + w + 22) (a + w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t4 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 8)) (Zs K x (a + w + 24))) (K.neg (K.mul (Zs K x (a + 9)) (Zs K x (a + w + 23)))))) := by
have h := A2.mk K O x hT (w + 15) (a + 7) (0)
try rw [show (a + 7) + (0) + 1 + (w + 15) = a + w + 23 by lib_nat] at h
try rw [show (a + 7) + (0) + 1 = a + 8 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
have t5 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 19)) (Zs K x (a + w + 21))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + w + 20))))) := A1.Dn K O x hD (a + 8) (w + 11) (a + 8) (a + 9) (a + 10) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+4 chars; full line in the Zenodo source)
have t6 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + w + 24))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 21)))))) := by
have h := A2.mk K O x hT (w + 11) (a + 9) (2)
try rw [show (a + 9) + (2) + 1 + (w + 11) = a + w + 23 by lib_nat] at h
try rw [show (a + 9) + (2) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 9) + (w + 11) = a + w + 20 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 (a + w + 17)) (Zs K x (a + w + 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 + w + 18))))) := A1.Dn K O x hD (a + 10) (w + 7) (a + 10) (a + 11) (a + 12) (a + w + 17) (a + w + 18) (a + w + 19) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by -- (+8 chars; full line in the Zenodo source)
have t8 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 21)) (Zs K x (a + w + 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 + w + 22))))) := A1.Dn K O x hD (a + 10) (w + 11) (a + 10) (a + 11) (a + 12) (a + w + 21) (a + w + 22) (a + w + 23) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by -- (+9 chars; full line in the Zenodo source)
have t9 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + w + 20))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 19)))))) := by
have h := A2.mk K O x hT (w + 7) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (w + 7) = a + w + 19 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (w + 7) = a + w + 18 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t10 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + w + 24))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 23)))))) := by
have h := A2.mk K O x hT (w + 11) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (w + 11) = a + w + 23 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (w + 11) = a + 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 _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_add K O _ _ (A1.nn_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)
include hx hT hD h1 h10 in
theorem sg25 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (fun i => x (i + 2)) (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 (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 =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 11 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 16))) (K.neg (K.mul (Zs K x (w + 14)) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 14)))))) := by
have h := A2.mk K O x hT (w + 11) (2) (1)
try rw [show (2) + (1) + 1 + (w + 11) = w + 15 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (w + 11) = w + 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 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 =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (w + 15)) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 11) (3) (1)
try rw [show (3) + (1) + 1 + (w + 11) = w + 16 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (w + 11) = w + 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 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 =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (w + 16)) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 11) (4) (1)
try rw [show (4) + (1) + 1 + (w + 11) = w + 17 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (w + 11) = 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 (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 =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (w + 17)) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 11) (5) (1)
try rw [show (5) + (1) + 1 + (w + 11) = w + 18 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (w + 11) = 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 (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 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 (7)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (w + 18)) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 11) (6) (1)
try rw [show (6) + (1) + 1 + (w + 11) = w + 19 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (w + 11) = 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 (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 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 (8)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (w + 19)) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 11) (7) (1)
try rw [show (7) + (1) + 1 + (w + 11) = w + 20 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (w + 11) = 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 (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 (9)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (w + 20)) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 11) (8) (1)
try rw [show (8) + (1) + 1 + (w + 11) = w + 21 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (w + 11) = 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 (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 (10)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (w + 21)) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 11) (9) (1)
try rw [show (9) + (1) + 1 + (w + 11) = w + 22 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (w + 11) = 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 (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 (11)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (w + 22)) (Zs K x (13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (11)) (Zs K x (w + 24))) (K.neg (K.mul (Zs K x (13)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 11) (10) (1)
try rw [show (10) + (1) + 1 + (w + 11) = w + 23 by lib_nat] at h
try rw [show (10) + (1) + 1 = 12 by lib_nat] at h
try rw [show (10) + (w + 11) = 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 + 0 + 1 = a + 10 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (2) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (2) = a + 14 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (2) = 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 + (0 + 1) + 1 = a + 11 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 16))) (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 + 12)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (2) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (2) = a + 15 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (2) = 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 + (0 + 1 + 1) + 1 = a + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 17))) (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 + 12)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (3) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (3) = a + 16 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (3) = 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 + (0 + 1 + 1 + 1) + 1 = a + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 18))) (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 + 12)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (4) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (4) = a + 17 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (4) = 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 + (0 + 1 + 1 + 1 + 1) + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 19))) (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 + 12)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (5) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (5) = a + 18 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (5) = 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 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 20))) (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 + 12)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (6) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (6) = a + 19 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (6) = 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 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 21))) (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 + 12)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (7) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (7) = a + 20 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (7) = 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 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + 22))) (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 + 12)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (8) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (8) = a + 21 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (8) = 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 + (0 + 1 + 1 + 1 + 1 + 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 + 12)) (Zs K x (a + 23))) (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 + 12)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (9) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (9) = a + 22 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (9) = 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 + (0 + 1 + 1 + 1 + 1 + 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 + 12)) (Zs K x (a + 24))) (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 + 12)) (Zs K x (a + 24))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (10) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (10) = a + 23 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (10) = 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 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + w + 25))) (K.neg (K.mul (Zs K x (a + w + 23)) (Zs K x (a + 14))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 12)) (Zs K x (a + w + 25))) (K.neg (K.mul (Zs K x (a + 14)) (Zs K x (a + w + 23)))))) := by
have h := A2.mk K O x hT (w + 11) (a + 11) (1)
try rw [show (a + 11) + (1) + 1 + (w + 11) = a + w + 24 by lib_nat] at h
try rw [show (a + 11) + (1) + 1 = a + 13 by lib_nat] at h
try rw [show (a + 11) + (w + 11) = 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)
include hx hT hD h1 h10 in
theorem sg26 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (pv1 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 (4)) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (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 (Zs K x (4)) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (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 (Zs K x (4)) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (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 (Zs K x (4)) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (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 (Zs K x (4)) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (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 (Zs K x (4)) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (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 (Zs K x (4)) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (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 (Zs K x (4)) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (10)) (Zs K x (12))) (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 (Zs K x (4)) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (11)) (Zs K x (13))) (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 =>
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 (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (4))))))
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 =>
rw [show 0 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 11 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 15))) (K.neg (K.mul (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (4))))))
have t0 : O.le K.zero (K.mul (Zs K x (4)) (Zs K x (w + 13))) := O.mul_nonneg _ _ (hx (3)) (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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (4)) (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 (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (5)) (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 (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (6)) (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 (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (7)) (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 (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (8)) (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 (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (9)) (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 (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (10)) (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 (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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 (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (13)) (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 (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 =>
rw [show 0 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 16))) (K.neg (K.mul (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 14)))))) := by
have h := A2.mk K O x hT (w + 11) (2) (1)
try rw [show (2) + (1) + 1 + (w + 11) = w + 15 by lib_nat] at h
try rw [show (2) + (1) + 1 = 4 by lib_nat] at h
try rw [show (2) + (w + 11) = w + 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 i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (5)) (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 (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (6)) (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 (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (7)) (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 (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (8)) (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 (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (9)) (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 (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (10)) (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 (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (13)) (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 (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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (14)) (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 (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 =>
rw [show 0 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 17))) (K.neg (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 11) (3) (1)
try rw [show (3) + (1) + 1 + (w + 11) = w + 16 by lib_nat] at h
try rw [show (3) + (1) + 1 = 5 by lib_nat] at h
try rw [show (3) + (w + 11) = w + 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 i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (6)) (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 (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (7)) (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 (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (8)) (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 (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (9)) (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 (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (10)) (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 (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (13)) (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 (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (14)) (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 (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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (15)) (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 (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 =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 18))) (K.neg (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 11) (4) (1)
try rw [show (4) + (1) + 1 + (w + 11) = w + 17 by lib_nat] at h
try rw [show (4) + (1) + 1 = 6 by lib_nat] at h
try rw [show (4) + (w + 11) = 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (7)) (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 (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (8)) (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 (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (9)) (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 (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (10)) (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 (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (13)) (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 (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (14)) (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 (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (15)) (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 (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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (16)) (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 (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 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.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 19))) (K.neg (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 11) (5) (1)
try rw [show (5) + (1) + 1 + (w + 11) = w + 18 by lib_nat] at h
try rw [show (5) + (1) + 1 = 7 by lib_nat] at h
try rw [show (5) + (w + 11) = 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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (8)) (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 (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (9)) (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 (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (10)) (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 (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (13)) (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 (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (14)) (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 (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (15)) (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 (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (16)) (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 (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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (17)) (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 (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 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 (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 20))) (K.neg (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 11) (6) (1)
try rw [show (6) + (1) + 1 + (w + 11) = w + 19 by lib_nat] at h
try rw [show (6) + (1) + 1 = 8 by lib_nat] at h
try rw [show (6) + (w + 11) = 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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (9)) (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 (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (10)) (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 (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (13)) (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 (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (14)) (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 (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (15)) (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 (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (16)) (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 (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (17)) (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 (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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (18)) (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 (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 21))) (K.neg (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 11) (7) (1)
try rw [show (7) + (1) + 1 + (w + 11) = w + 20 by lib_nat] at h
try rw [show (7) + (1) + 1 = 9 by lib_nat] at h
try rw [show (7) + (w + 11) = 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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (10)) (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 (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (13)) (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 (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (14)) (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 (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (15)) (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 (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (16)) (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 (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (17)) (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 (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (18)) (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 (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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))) (K.neg (K.mul (K.add (Zs K x (19)) (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 (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 22))) (K.neg (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 11) (8) (1)
try rw [show (8) + (1) + 1 + (w + 11) = w + 21 by lib_nat] at h
try rw [show (8) + (1) + 1 = 10 by lib_nat] at h
try rw [show (8) + (w + 11) = 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 (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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 (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (13)) (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 (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 (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (14)) (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 (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 (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (15)) (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 (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 (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (16)) (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 (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 (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (17)) (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 (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 (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (18)) (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 (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 (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (21))) (K.neg (K.mul (K.add (Zs K x (19)) (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 (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 (K.add (Zs K x (10)) (Zs K x (12))) (Zs K x (22))) (K.neg (K.mul (K.add (Zs K x (20)) (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 (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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 (Zs K x (10)) (Zs K x (12))) (Zs K x (w + 23))) (K.neg (K.mul (K.add (Zs K x (w + 21)) (Zs K x (w + 23))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (10)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 11) (9) (1)
try rw [show (9) + (1) + 1 + (w + 11) = w + 22 by lib_nat] at h
try rw [show (9) + (1) + 1 = 11 by lib_nat] at h
try rw [show (9) + (w + 11) = 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 + 0 + 1 = a + 10 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 13))))))
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
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 + (0 + 1) + 1 = a + 11 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (2) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (2) = a + 14 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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
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 + (0 + 1 + 1) + 1 = a + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 13))))))
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 + 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1) + 1 = a + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (4) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (4) = a + 16 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1) + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 18))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (5) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (5) = a + 17 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 19))) (K.neg (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (6) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (6) = a + 18 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 20))) (K.neg (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (7) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (7) = a + 19 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 21))) (K.neg (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (8) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (8) = a + 20 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 22))) (K.neg (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (9) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (9) = a + 21 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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 _ _ t0 (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1 + 1 + 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 (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 23))) (K.neg (K.mul (K.add (Zs K x (a + 21)) (Zs K x (a + 23))) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (10) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (10) = a + 22 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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 _ _ t0 (by lib_ring)
| succ w =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + w + 24))) (K.neg (K.mul (K.add (Zs K x (a + w + 22)) (Zs K x (a + w + 24))) (Zs K x (a + 13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 11)) (Zs K x (a + w + 24))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 22)))))) := by
have h := A2.mk K O x hT (w + 11) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (w + 11) = a + w + 23 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 10) + (w + 11) = 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)
include hx hT hD h1 h10 in
theorem sg27 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (pv1 K (fun i => x (i + 1))) (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 (K.add (Zs K x (2)) (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
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.mul (Zs K x (1)) (Zs K x (5))) := O.mul_nonneg _ _ (hx (0)) (hx (4))
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 (Zs K x (3)) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (3)) (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
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 (Zs K x (3)) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (4)) (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
have t1 : 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 _ _ 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 (8))) (K.neg (K.mul (K.add (Zs K x (5)) (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 (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 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.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 t3 : 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 _ _ (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)) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (6)) (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 (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 t1 : 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 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 (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 _ _ (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)) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (7)) (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 (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 t1 : 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 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 (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 t3 : 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 _ _ (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)) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (8)) (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 (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 t1 : 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 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 (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 t3 : 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 _ _ (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)) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (9)) (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 (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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (13))))) := A1.Dn K O x hD (0) (12) (0) (1) (2) (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.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 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 (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 _ _ (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)) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (10)) (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 (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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (13)) (Zs K x (15))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (14))))) := A1.Dn K O x hD (0) (13) (0) (1) (2) (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.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 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 (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 _ _ (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)) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (14)) (Zs K x (16))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (15))))) := A1.Dn K O x hD (0) (14) (0) (1) (2) (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.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 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 (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 _ _ (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 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 11 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 15))) (K.neg (K.mul (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (4))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 15))) (K.neg (K.mul (Zs K x (4)) (Zs K x (w + 14)))))) := by
have h := A2.mk K O x hT (w + 11) (2) (0)
try rw [show (2) + (0) + 1 + (w + 11) = w + 14 by lib_nat] at h
try rw [show (2) + (0) + 1 = 3 by lib_nat] at h
try rw [show (2) + (w + 11) = w + 13 by lib_nat] at h
exact A2.nn_of_nonpos_neg K O _ h
have t1 : 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 _ _ (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.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (3)) (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
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)
exact A1.nn_of_eq K O _ _ (A1.nn_add 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.add (Zs K x (2)) (Zs K x (4))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (4)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (2)) (Zs K x (4))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (5)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (2)) (Zs K x (4))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (6)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (2)) (Zs K x (4))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (7)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (2)) (Zs K x (4))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (8)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (2)) (Zs K x (4))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (9)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (2)) (Zs K x (4))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (10)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (2)) (Zs K x (4))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (2)) (Zs K x (4))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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 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 (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 _ _ (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 = w + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 16))) (K.neg (K.mul (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (5))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (2)) (Zs K x (w + 16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 13)))))) := by
have h := A2.mk K O x hT (w + 11) (1) (2)
try rw [show (1) + (2) + 1 + (w + 11) = w + 15 by lib_nat] at h
try rw [show (1) + (2) + 1 = 4 by lib_nat] at h
try rw [show (1) + (w + 11) = w + 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 (4)) (Zs K x (w + 16))) (K.neg (K.mul (Zs K x (5)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 11) (3) (0)
try rw [show (3) + (0) + 1 + (w + 11) = w + 15 by lib_nat] at h
try rw [show (3) + (0) + 1 = 4 by lib_nat] at h
try rw [show (3) + (w + 11) = w + 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 i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (4)) (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
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)
exact A1.nn_of_eq K O _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (5)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (6)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (7)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (8)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (9)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (10)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (3)) (Zs K x (5))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (13)) (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 (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 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 (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 _ _ (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 = w + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 17))) (K.neg (K.mul (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (6))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 14)))))) := by
have h := A2.mk K O x hT (w + 11) (2) (2)
try rw [show (2) + (2) + 1 + (w + 11) = w + 16 by lib_nat] at h
try rw [show (2) + (2) + 1 = 5 by lib_nat] at h
try rw [show (2) + (w + 11) = w + 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 (5)) (Zs K x (w + 17))) (K.neg (K.mul (Zs K x (6)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 11) (4) (0)
try rw [show (4) + (0) + 1 + (w + 11) = w + 16 by lib_nat] at h
try rw [show (4) + (0) + 1 = 5 by lib_nat] at h
try rw [show (4) + (w + 11) = 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 (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (5)) (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
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)
exact A1.nn_of_eq K O _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (6)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (7)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (8)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (9)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (10)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (13)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (4)) (Zs K x (6))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (14)) (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 (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 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 (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 _ _ (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 = w + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 18))) (K.neg (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (7))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (4)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 15)))))) := by
have h := A2.mk K O x hT (w + 11) (3) (2)
try rw [show (3) + (2) + 1 + (w + 11) = w + 17 by lib_nat] at h
try rw [show (3) + (2) + 1 = 6 by lib_nat] at h
try rw [show (3) + (w + 11) = w + 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 (6)) (Zs K x (w + 18))) (K.neg (K.mul (Zs K x (7)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 11) (5) (0)
try rw [show (5) + (0) + 1 + (w + 11) = w + 17 by lib_nat] at h
try rw [show (5) + (0) + 1 = 6 by lib_nat] at h
try rw [show (5) + (w + 11) = 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 (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (6)) (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
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)
exact A1.nn_of_eq K O _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (7)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (8)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (9)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (10)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (13)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (14)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (5)) (Zs K x (7))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (15)) (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 (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 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 (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 _ _ (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 = w + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 19))) (K.neg (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (8))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (5)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 16)))))) := by
have h := A2.mk K O x hT (w + 11) (4) (2)
try rw [show (4) + (2) + 1 + (w + 11) = w + 18 by lib_nat] at h
try rw [show (4) + (2) + 1 = 7 by lib_nat] at h
try rw [show (4) + (w + 11) = 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 (7)) (Zs K x (w + 19))) (K.neg (K.mul (Zs K x (8)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 11) (6) (0)
try rw [show (6) + (0) + 1 + (w + 11) = w + 18 by lib_nat] at h
try rw [show (6) + (0) + 1 = 7 by lib_nat] at h
try rw [show (6) + (w + 11) = 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (10))) (K.neg (K.mul (K.add (Zs K x (7)) (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
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)
exact A1.nn_of_eq K O _ _ (A1.nn_add 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.add (Zs K x (6)) (Zs K x (8))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (8)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (6)) (Zs K x (8))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (9)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (6)) (Zs K x (8))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (10)) (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 (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 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (6)) (Zs K x (8))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (13)) (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 (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 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 (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (14)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (6)) (Zs K x (8))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (15)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (6)) (Zs K x (8))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (16)) (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 (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 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 (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 _ _ (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 = w + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 20))) (K.neg (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (9))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (6)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 17)))))) := by
have h := A2.mk K O x hT (w + 11) (5) (2)
try rw [show (5) + (2) + 1 + (w + 11) = w + 19 by lib_nat] at h
try rw [show (5) + (2) + 1 = 8 by lib_nat] at h
try rw [show (5) + (w + 11) = 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 (8)) (Zs K x (w + 20))) (K.neg (K.mul (Zs K x (9)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 11) (7) (0)
try rw [show (7) + (0) + 1 + (w + 11) = w + 19 by lib_nat] at h
try rw [show (7) + (0) + 1 = 8 by lib_nat] at h
try rw [show (7) + (w + 11) = 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 (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (11))) (K.neg (K.mul (K.add (Zs K x (8)) (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
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)
exact A1.nn_of_eq K O _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (9)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (10)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (13)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (14)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (15)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (16)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (7)) (Zs K x (9))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (17)) (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 (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 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 (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 _ _ (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 = w + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 21))) (K.neg (K.mul (K.add (Zs K x (w + 18)) (Zs K x (w + 20))) (Zs K x (10))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (7)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 18)))))) := by
have h := A2.mk K O x hT (w + 11) (6) (2)
try rw [show (6) + (2) + 1 + (w + 11) = w + 20 by lib_nat] at h
try rw [show (6) + (2) + 1 = 9 by lib_nat] at h
try rw [show (6) + (w + 11) = 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 (9)) (Zs K x (w + 21))) (K.neg (K.mul (Zs K x (10)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 11) (8) (0)
try rw [show (8) + (0) + 1 + (w + 11) = w + 20 by lib_nat] at h
try rw [show (8) + (0) + 1 = 9 by lib_nat] at h
try rw [show (8) + (w + 11) = 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 (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (12))) (K.neg (K.mul (K.add (Zs K x (9)) (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
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)
exact A1.nn_of_eq K O _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (10)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (13)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (14)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (15)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (16)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (17)) (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 (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 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 (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 _ _ (A1.nn_add 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.add (Zs K x (8)) (Zs K x (10))) (Zs K x (21))) (K.neg (K.mul (K.add (Zs K x (18)) (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 (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 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 (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 _ _ (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 = w + 18 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 22))) (K.neg (K.mul (K.add (Zs K x (w + 19)) (Zs K x (w + 21))) (Zs K x (11))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (8)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 19)))))) := by
have h := A2.mk K O x hT (w + 11) (7) (2)
try rw [show (7) + (2) + 1 + (w + 11) = w + 21 by lib_nat] at h
try rw [show (7) + (2) + 1 = 10 by lib_nat] at h
try rw [show (7) + (w + 11) = 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 (10)) (Zs K x (w + 22))) (K.neg (K.mul (Zs K x (11)) (Zs K x (w + 21)))))) := by
have h := A2.mk K O x hT (w + 11) (9) (0)
try rw [show (9) + (0) + 1 + (w + 11) = w + 21 by lib_nat] at h
try rw [show (9) + (0) + 1 = 10 by lib_nat] at h
try rw [show (9) + (w + 11) = 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 (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (K.neg (K.mul (K.add (Zs K x (10)) (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
have t1 : 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 _ _ t0 t1) (by lib_ring)
| succ w =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (14))) (K.neg (K.mul (K.add (Zs K x (11)) (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 (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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (9)) (Zs K x (11))) (Zs K x (15))) (K.neg (K.mul (K.add (Zs K x (12)) (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 (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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (9)) (Zs K x (11))) (Zs K x (16))) (K.neg (K.mul (K.add (Zs K x (13)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (9)) (Zs K x (11))) (Zs K x (17))) (K.neg (K.mul (K.add (Zs K x (14)) (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 (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 t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (9)) (Zs K x (11))) (Zs K x (18))) (K.neg (K.mul (K.add (Zs K x (15)) (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 (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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (9)) (Zs K x (11))) (Zs K x (19))) (K.neg (K.mul (K.add (Zs K x (16)) (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 (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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (9)) (Zs K x (11))) (Zs K x (20))) (K.neg (K.mul (K.add (Zs K x (17)) (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 (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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (9)) (Zs K x (11))) (Zs K x (21))) (K.neg (K.mul (K.add (Zs K x (18)) (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 (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
have t1 : 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 _ _ (A1.nn_add 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.add (Zs K x (9)) (Zs K x (11))) (Zs K x (22))) (K.neg (K.mul (K.add (Zs K x (19)) (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 (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
have t1 : 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 _ _ (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 = w + 19 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (w + 23))) (K.neg (K.mul (K.add (Zs K x (w + 20)) (Zs K x (w + 22))) (Zs K x (12))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (9)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 20)))))) := by
have h := A2.mk K O x hT (w + 11) (8) (2)
try rw [show (8) + (2) + 1 + (w + 11) = w + 22 by lib_nat] at h
try rw [show (8) + (2) + 1 = 11 by lib_nat] at h
try rw [show (8) + (w + 11) = 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 (11)) (Zs K x (w + 23))) (K.neg (K.mul (Zs K x (12)) (Zs K x (w + 22)))))) := by
have h := A2.mk K O x hT (w + 11) (10) (0)
try rw [show (10) + (0) + 1 + (w + 11) = w + 22 by lib_nat] at h
try rw [show (10) + (0) + 1 = 11 by lib_nat] at h
try rw [show (10) + (w + 11) = 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 a =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 = a + 10 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 14))) (K.neg (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 13))))))
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 + 13)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (2) (a + 10) (1)
try rw [show (a + 10) + (1) + 1 + (2) = a + 14 by lib_nat] at h
try rw [show (a + 10) + (1) + 1 = a + 12 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.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)
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 + (0 + 1) + 1 = a + 11 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 15))) (K.neg (K.mul (K.add (Zs K x (a + 12)) (Zs K x (a + 14))) (Zs K x (a + 13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 12)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (3) (a + 9) (1)
try rw [show (a + 9) + (1) + 1 + (3) = a + 14 by lib_nat] at h
try rw [show (a + 9) + (1) + 1 = a + 11 by lib_nat] at h
try rw [show (a + 9) + (3) = 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 + 12)) (Zs K x (a + 15))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (2) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (2) = a + 14 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (2) = 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 + (0 + 1 + 1) + 1 = a + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 16))) (K.neg (K.mul (K.add (Zs K x (a + 13)) (Zs K x (a + 15))) (Zs K x (a + 13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 13)))))) := by
have h := A2.mk K O x hT (3) (a + 9) (2)
try rw [show (a + 9) + (2) + 1 + (3) = a + 15 by lib_nat] at h
try rw [show (a + 9) + (2) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 9) + (3) = 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 + 12)) (Zs K x (a + 16))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (3) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (3) = a + 15 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (3) = 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 + (0 + 1 + 1 + 1) + 1 = a + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 17))) (K.neg (K.mul (K.add (Zs K x (a + 14)) (Zs K x (a + 16))) (Zs K x (a + 13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 14)))))) := by
have h := A2.mk K O x hT (4) (a + 9) (2)
try rw [show (a + 9) + (2) + 1 + (4) = a + 16 by lib_nat] at h
try rw [show (a + 9) + (2) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 9) + (4) = 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 + 12)) (Zs K x (a + 17))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (4) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (4) = a + 16 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (4) = 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 + (0 + 1 + 1 + 1 + 1) + 1 = a + 14 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 18))) (K.neg (K.mul (K.add (Zs K x (a + 15)) (Zs K x (a + 17))) (Zs K x (a + 13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 15)))))) := by
have h := A2.mk K O x hT (5) (a + 9) (2)
try rw [show (a + 9) + (2) + 1 + (5) = a + 17 by lib_nat] at h
try rw [show (a + 9) + (2) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 9) + (5) = 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 + 12)) (Zs K x (a + 18))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (5) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (5) = a + 17 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (5) = 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 + (0 + 1 + 1 + 1 + 1 + 1) + 1 = a + 15 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 19))) (K.neg (K.mul (K.add (Zs K x (a + 16)) (Zs K x (a + 18))) (Zs K x (a + 13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 16)))))) := by
have h := A2.mk K O x hT (6) (a + 9) (2)
try rw [show (a + 9) + (2) + 1 + (6) = a + 18 by lib_nat] at h
try rw [show (a + 9) + (2) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 9) + (6) = 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 + 12)) (Zs K x (a + 19))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (6) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (6) = a + 18 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (6) = 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 + (0 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 16 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 20))) (K.neg (K.mul (K.add (Zs K x (a + 17)) (Zs K x (a + 19))) (Zs K x (a + 13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 17)))))) := by
have h := A2.mk K O x hT (7) (a + 9) (2)
try rw [show (a + 9) + (2) + 1 + (7) = a + 19 by lib_nat] at h
try rw [show (a + 9) + (2) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 9) + (7) = 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 + 12)) (Zs K x (a + 20))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (7) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (7) = a + 19 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (7) = 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 + (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + 17 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 21))) (K.neg (K.mul (K.add (Zs K x (a + 18)) (Zs K x (a + 20))) (Zs K x (a + 13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 18)))))) := by
have h := A2.mk K O x hT (8) (a + 9) (2)
try rw [show (a + 9) + (2) + 1 + (8) = a + 20 by lib_nat] at h
try rw [show (a + 9) + (2) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 9) + (8) = 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 + 12)) (Zs K x (a + 21))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (8) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (8) = a + 20 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (8) = 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 + (0 + 1 + 1 + 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 (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 22))) (K.neg (K.mul (K.add (Zs K x (a + 19)) (Zs K x (a + 21))) (Zs K x (a + 13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 19)))))) := by
have h := A2.mk K O x hT (9) (a + 9) (2)
try rw [show (a + 9) + (2) + 1 + (9) = a + 21 by lib_nat] at h
try rw [show (a + 9) + (2) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 9) + (9) = 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 + 12)) (Zs K x (a + 22))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 21)))))) := by
have h := A2.mk K O x hT (9) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (9) = a + 21 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (9) = 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 + (0 + 1 + 1 + 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 (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 23))) (K.neg (K.mul (K.add (Zs K x (a + 20)) (Zs K x (a + 22))) (Zs K x (a + 13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 20)))))) := by
have h := A2.mk K O x hT (10) (a + 9) (2)
try rw [show (a + 9) + (2) + 1 + (10) = a + 22 by lib_nat] at h
try rw [show (a + 9) + (2) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 9) + (10) = 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 + 12)) (Zs K x (a + 23))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + 22)))))) := by
have h := A2.mk K O x hT (10) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (10) = a + 22 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (10) = 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 =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + w + 24))) (K.neg (K.mul (K.add (Zs K x (a + w + 21)) (Zs K x (a + w + 23))) (Zs K x (a + 13))))))
have t0 : O.le K.zero (K.neg (K.add (K.mul (Zs K x (a + 10)) (Zs K x (a + w + 24))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 21)))))) := by
have h := A2.mk K O x hT (w + 11) (a + 9) (2)
try rw [show (a + 9) + (2) + 1 + (w + 11) = a + w + 23 by lib_nat] at h
try rw [show (a + 9) + (2) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 9) + (w + 11) = a + 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 (a + 12)) (Zs K x (a + w + 24))) (K.neg (K.mul (Zs K x (a + 13)) (Zs K x (a + w + 23)))))) := by
have h := A2.mk K O x hT (w + 11) (a + 11) (0)
try rw [show (a + 11) + (0) + 1 + (w + 11) = a + w + 23 by lib_nat] at h
try rw [show (a + 11) + (0) + 1 = a + 12 by lib_nat] at h
try rw [show (a + 11) + (w + 11) = a + 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)
include hx hT hD h1 h10 in
theorem sg28 (i w : Nat) : O.le K.zero (K.neg (Lagrange.minor K (Zs K (pv2 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 (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 (1)) (Zs K x (3)))) (K.neg (K.mul (K.add (Zs K x (2)) (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 (2)) (Zs K x (4)))) (K.neg (K.mul (K.add (K.add (Zs K x (1)) (Zs K x (3))) (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 (3)) (Zs K x (5)))) (K.neg (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (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 (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.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.add (K.add (Zs K x (4)) (Zs K x (6))) (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 (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.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 (K.add (K.add (Zs K x (6)) (Zs K x (8))) (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 (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.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 (K.add (K.add (Zs K x (8)) (Zs K x (10))) (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 = w + 11 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul K.zero (K.add (Zs K x (w + 10)) (Zs K x (w + 12)))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 9)) (Zs K x (w + 11))) (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 (Zs K x (3)) (K.add (Zs K x (1)) (Zs K x (3)))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (K.add K.zero (Zs K x (2)))))))
have t0 : 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 _ _ 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)) (K.add (Zs K x (2)) (Zs K x (4)))) (K.neg (K.mul (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (K.add K.zero (Zs K x (2)))))))
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 (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)
exact A1.nn_of_eq K O _ _ (A1.nn_add 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 (3)) (Zs K x (5)))) (K.neg (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add K.zero (Zs K x (2)))))))
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)
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 (Zs K x (3)) (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 K.zero (Zs K x (2)))))))
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)
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 (Zs K x (3)) (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 K.zero (Zs K x (2)))))))
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)
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 (Zs K x (3)) (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 K.zero (Zs K x (2)))))))
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)
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 (Zs K x (3)) (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 K.zero (Zs K x (2)))))))
have t0 : 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 t1 : 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 t2 : 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)
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 (Zs K x (3)) (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 K.zero (Zs K x (2)))))))
have t0 : 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 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 (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)
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 (Zs K x (3)) (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 K.zero (Zs K x (2)))))))
have t0 : 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 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 (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 _ _ t0 t1) t2) (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 (K.add (K.add (Zs K x (9)) (Zs K x (11))) (Zs K x (13))) (K.add K.zero (Zs K x (2)))))))
have t0 : 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 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 (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)
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 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 12 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (Zs K x (3)) (K.add (Zs K x (w + 11)) (Zs K x (w + 13)))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 10)) (Zs K x (w + 12))) (Zs K x (w + 14))) (K.add K.zero (Zs K x (2)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (w + 12))))) := A1.Dn K O x hD (0) (w + 11) (0) (1) (2) (w + 11) (w + 12) (w + 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 (w + 10)) (Zs K x (w + 12))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 11))))) := A1.Dn K O x hD (1) (w + 9) (1) (2) (3) (w + 10) (w + 11) (w + 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 (w + 12)) (Zs K x (w + 14))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 13))))) := A1.Dn K O x hD (1) (w + 11) (1) (2) (3) (w + 12) (w + 13) (w + 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 i =>
cases i with
| zero =>
cases w with
| zero =>
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (K.add (Zs K x (2)) (Zs K x (4)))) (K.neg (K.mul (K.add (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (5))) (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.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 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)
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 (Zs K x (2)) (Zs K x (4))) (K.add (Zs K x (3)) (Zs K x (5)))) (K.neg (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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 (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.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)
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 (Zs K x (2)) (Zs K x (4))) (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 (1)) (Zs K x (3)))))))
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 (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 (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.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)
exact A1.nn_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 (Zs K x (2)) (Zs K x (4))) (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 (1)) (Zs K x (3)))))))
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.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 t4 : 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)
exact A1.nn_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 (Zs K x (2)) (Zs K x (4))) (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 (1)) (Zs K x (3)))))))
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.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.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 _ _ (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 (Zs K x (2)) (Zs K x (4))) (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 (1)) (Zs K x (3)))))))
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 (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.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.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)
exact A1.nn_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 (Zs K x (2)) (Zs K x (4))) (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 (1)) (Zs K x (3)))))))
have t0 : 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 t1 : 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 t2 : 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 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)
have t4 : 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)
exact A1.nn_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 (Zs K x (2)) (Zs K x (4))) (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 (1)) (Zs K x (3)))))))
have t0 : 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 t1 : 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 t2 : 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 t3 : 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 t4 : 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)
exact A1.nn_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 (Zs K x (2)) (Zs K x (4))) (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 (1)) (Zs K x (3)))))))
have t0 : 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 t1 : 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 t2 : 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 t3 : 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 t4 : 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 _ _ 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 (Zs K x (2)) (Zs K x (4))) (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 (1)) (Zs K x (3)))))))
have t0 : 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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (12)) (Zs K x (14))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (13))))) := A1.Dn K O x hD (0) (12) (0) (1) (2) (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 (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 t3 : 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 t4 : 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)
exact A1.nn_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 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 13 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (K.add (Zs K x (w + 12)) (Zs K x (w + 14)))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 11)) (Zs K x (w + 13))) (Zs K x (w + 15))) (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 (w + 11)) (Zs K x (w + 13))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (w + 12))))) := A1.Dn K O x hD (0) (w + 11) (0) (1) (2) (w + 11) (w + 12) (w + 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 (w + 13)) (Zs K x (w + 15))) (Zs K x (1))) (K.neg (K.mul (K.add K.zero (Zs K x (2))) (Zs K x (w + 14))))) := A1.Dn K O x hD (0) (w + 13) (0) (1) (2) (w + 13) (w + 14) (w + 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 (w + 12)) (Zs K x (w + 14))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 13))))) := A1.Dn K O x hD (1) (w + 11) (1) (2) (3) (w + 12) (w + 13) (w + 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 (w + 11)) (Zs K x (w + 13))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 12))))) := A1.Dn K O x hD (2) (w + 9) (2) (3) (4) (w + 11) (w + 12) (w + 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 (w + 13)) (Zs K x (w + 15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 14))))) := A1.Dn K O x hD (2) (w + 11) (2) (3) (4) (w + 13) (w + 14) (w + 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 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 (1)) (Zs K x (3))) (Zs K x (5))) (K.add (Zs K x (3)) (Zs K x (5)))) (K.neg (K.mul (K.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (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 (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 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 (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 _ _ (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 (1)) (Zs K x (3))) (Zs K x (5))) (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 (2)) (Zs K x (4)))))))
have t0 : 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 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 (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 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)
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 (1)) (Zs K x (3))) (Zs K x (5))) (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 (2)) (Zs K x (4)))))))
have t0 : 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 t1 : 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 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 =>
rw [show 0 + 1 + 1 + 1 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = w + 14 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 + 13)) (Zs K x (w + 15)))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 12)) (Zs K x (w + 14))) (Zs K x (w + 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 (w + 12)) (Zs K x (w + 14))) (Zs K x (2))) (K.neg (K.mul (K.add (Zs K x (1)) (Zs K x (3))) (Zs K x (w + 13))))) := A1.Dn K O x hD (1) (w + 11) (1) (2) (3) (w + 12) (w + 13) (w + 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 (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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 14))))) := A1.Dn K O x hD (2) (w + 11) (2) (3) (4) (w + 13) (w + 14) (w + 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 (w + 12)) (Zs K x (w + 14))) (Zs K x (4))) (K.neg (K.mul (K.add (Zs K x (3)) (Zs K x (5))) (Zs K x (w + 13))))) := A1.Dn K O x hD (3) (w + 9) (3) (4) (5) (w + 12) (w + 13) (w + 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 (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)
exact A1.nn_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 =>
rw [show 0 + 1 + 1 + 1 + 1 + (w + 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.add (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (6))) (K.add (Zs K x (w + 14)) (Zs K x (w + 16)))) (K.neg (K.mul (K.add (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (w + 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 (w + 13)) (Zs K x (w + 15))) (Zs K x (3))) (K.neg (K.mul (K.add (Zs K x (2)) (Zs K x (4))) (Zs K x (w + 14))))) := A1.Dn K O x hD (2) (w + 11) (2) (3) (4) (w + 13) (w + 14) (w + 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 (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 t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 13)) (Zs K x (w + 15))) (Zs K x (5))) (K.neg (K.mul (K.add (Zs K x (4)) (Zs K x (6))) (Zs K x (w + 14))))) := A1.Dn K O x hD (4) (w + 9) (4) (5) (6) (w + 13) (w + 14) (w + 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 (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)
exact A1.nn_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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + (w + 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 (3)) (Zs K x (5))) (Zs K x (7))) (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 (4)) (Zs K x (6)))))))
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 (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 t1 : 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 t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 14)) (Zs K x (w + 16))) (Zs K x (6))) (K.neg (K.mul (K.add (Zs K x (5)) (Zs K x (7))) (Zs K x (w + 15))))) := A1.Dn K O x hD (5) (w + 9) (5) (6) (7) (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 (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)
exact A1.nn_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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 (4)) (Zs K x (6))) (Zs K x (8))) (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 (5)) (Zs K x (7)))))))
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 (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 t1 : 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 t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 15)) (Zs K x (w + 17))) (Zs K x (7))) (K.neg (K.mul (K.add (Zs K x (6)) (Zs K x (8))) (Zs K x (w + 16))))) := A1.Dn K O x hD (6) (w + 9) (6) (7) (8) (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 (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)
exact A1.nn_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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 (5)) (Zs K x (7))) (Zs K x (9))) (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 (6)) (Zs K x (8)))))))
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 (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 t1 : 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 t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 16)) (Zs K x (w + 18))) (Zs K x (8))) (K.neg (K.mul (K.add (Zs K x (7)) (Zs K x (9))) (Zs K x (w + 17))))) := A1.Dn K O x hD (7) (w + 9) (7) (8) (9) (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 (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)
exact A1.nn_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 =>
rw [show 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (w + 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 (6)) (Zs K x (8))) (Zs K x (10))) (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 (7)) (Zs K x (9)))))))
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 (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 t1 : 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 t2 : 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 t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (w + 17)) (Zs K x (w + 19))) (Zs K x (9))) (K.neg (K.mul (K.add (Zs K x (8)) (Zs K x (10))) (Zs K x (w + 18))))) := A1.Dn K O x hD (8) (w + 9) (8) (9) (10) (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 (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)
exact A1.nn_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 + 0 + 1 = a + 10 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))) (K.add (Zs K x (a + 9)) (Zs K x (a + 11)))) (K.neg (K.mul (K.add (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))) (K.add (Zs K x (a + 8)) (Zs K x (a + 10)))))))
have t0 : 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 t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (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 + 11))))) := A1.Dn K O x hD (a + 7) (3) (a + 7) (a + 8) (a + 9) (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 t2 : 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 _ _ t0 t1) t2) (by lib_ring)
| succ w =>
cases w with
| zero =>
rw [show a + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + (0 + 1) + 1 = a + 11 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))) (K.add (Zs K x (a + 10)) (Zs K x (a + 12)))) (K.neg (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 + 8)) (Zs K x (a + 10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 9)) (Zs K x (a + 11))) (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 + 10))))) := A1.Dn K O x hD (a + 7) (2) (a + 7) (a + 8) (a + 9) (a + 9) (a + 10) (a + 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 (a + 11)) (Zs K x (a + 13))) (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 + 12))))) := A1.Dn K O x hD (a + 7) (4) (a + 7) (a + 8) (a + 9) (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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 10)) (Zs K x (a + 12))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 8) (2) (a + 8) (a + 9) (a + 10) (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 t3 : 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)
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 + (0 + 1 + 1) + 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 + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))) (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 + 8)) (Zs K x (a + 10)))))))
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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))))) := A1.Dn K O x hD (a + 7) (3) (a + 7) (a + 8) (a + 9) (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 + 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 t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + 11)) (Zs K x (a + 13))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 8) (3) (a + 8) (a + 9) (a + 10) (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 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)
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 + 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)
exact A1.nn_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 + (0 + 1 + 1 + 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 + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))) (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 + 8)) (Zs K x (a + 10)))))))
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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 12))))) := A1.Dn K O x hD (a + 7) (4) (a + 7) (a + 8) (a + 9) (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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 7) (6) (a + 7) (a + 8) (a + 9) (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 + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 13))))) := A1.Dn K O x hD (a + 8) (4) (a + 8) (a + 9) (a + 10) (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 + 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 t4 : 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)
exact A1.nn_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 + (0 + 1 + 1 + 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 + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))) (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 + 8)) (Zs K x (a + 10)))))))
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 + 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 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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 7) (7) (a + 7) (a + 8) (a + 9) (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 + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 8) (5) (a + 8) (a + 9) (a + 10) (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 + 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 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 + 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)
exact A1.nn_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 + (0 + 1 + 1 + 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 + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))) (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 + 8)) (Zs K x (a + 10)))))))
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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 14))))) := A1.Dn K O x hD (a + 7) (6) (a + 7) (a + 8) (a + 9) (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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 7) (8) (a + 7) (a + 8) (a + 9) (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 + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 8) (6) (a + 8) (a + 9) (a + 10) (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 + 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 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 + 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)
exact A1.nn_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 + (0 + 1 + 1 + 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 + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))) (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 + 8)) (Zs K x (a + 10)))))))
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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 15))))) := A1.Dn K O x hD (a + 7) (7) (a + 7) (a + 8) (a + 9) (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 + 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)
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 + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 8) (7) (a + 8) (a + 9) (a + 10) (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 + 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 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 + 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)
exact A1.nn_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 + (0 + 1 + 1 + 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 + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))) (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 + 8)) (Zs K x (a + 10)))))))
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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 16))))) := A1.Dn K O x hD (a + 7) (8) (a + 7) (a + 8) (a + 9) (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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 7) (10) (a + 7) (a + 8) (a + 9) (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 + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 17))))) := A1.Dn K O x hD (a + 8) (8) (a + 8) (a + 9) (a + 10) (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 + 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 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 + 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)
exact A1.nn_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 + (0 + 1 + 1 + 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 + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))) (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 + 8)) (Zs K x (a + 10)))))))
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 + 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)
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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 7) (11) (a + 7) (a + 8) (a + 9) (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 + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 8) (9) (a + 8) (a + 9) (a + 10) (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 + 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 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 + 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)
exact A1.nn_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 + (0 + 1 + 1 + 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 + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))) (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 + 8)) (Zs K x (a + 10)))))))
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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 18))))) := A1.Dn K O x hD (a + 7) (10) (a + 7) (a + 8) (a + 9) (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 + 8))) (K.neg (K.mul (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 20))))) := A1.Dn K O x hD (a + 7) (12) (a + 7) (a + 8) (a + 9) (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 + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + 19))))) := A1.Dn K O x hD (a + 8) (10) (a + 8) (a + 9) (a + 10) (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 + 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 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 + 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)
exact A1.nn_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 + (w + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + 1 = a + w + 20 by lib_nat]
show O.le K.zero (K.neg (K.add (K.mul (K.add (K.add (Zs K x (a + 7)) (Zs K x (a + 9))) (Zs K x (a + 11))) (K.add (Zs K x (a + w + 19)) (Zs K x (a + w + 21)))) (K.neg (K.mul (K.add (K.add (Zs K x (a + w + 18)) (Zs K x (a + w + 20))) (Zs K x (a + w + 22))) (K.add (Zs K x (a + 8)) (Zs K x (a + 10)))))))
have t0 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 18)) (Zs K x (a + w + 20))) (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 + w + 19))))) := A1.Dn K O x hD (a + 7) (w + 11) (a + 7) (a + 8) (a + 9) (a + w + 18) (a + w + 19) (a + w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t1 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 20)) (Zs K x (a + w + 22))) (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 + w + 21))))) := A1.Dn K O x hD (a + 7) (w + 13) (a + 7) (a + 8) (a + 9) (a + w + 20) (a + w + 21) (a + w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_na -- (+2 chars; full line in the Zenodo source)
have t2 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 19)) (Zs K x (a + w + 21))) (Zs K x (a + 9))) (K.neg (K.mul (K.add (Zs K x (a + 8)) (Zs K x (a + 10))) (Zs K x (a + w + 20))))) := A1.Dn K O x hD (a + 8) (w + 11) (a + 8) (a + 9) (a + 10) (a + w + 19) (a + w + 20) (a + w + 21) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_ -- (+4 chars; full line in the Zenodo source)
have t3 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 18)) (Zs K x (a + w + 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 + w + 19))))) := A1.Dn K O x hD (a + 9) (w + 9) (a + 9) (a + 10) (a + 11) (a + w + 18) (a + w + 19) (a + w + 20) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib -- (+5 chars; full line in the Zenodo source)
have t4 : O.le K.zero (K.add (K.mul (K.add (Zs K x (a + w + 20)) (Zs K x (a + w + 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 + w + 21))))) := A1.Dn K O x hD (a + 9) (w + 11) (a + 9) (a + 10) (a + 11) (a + w + 20) (a + w + 21) (a + w + 22) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by lib_nat) (by li -- (+6 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 = 5 for every length** (generated): a v-good X gives 49 c_5 c_7 ≤ 48 c_6² -/
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 98) (K.mul (cgc K X X 5) (cgc K X X 7)))
(K.mul (LibRing.castN K 96) (K.mul (cgc K X X 6) (cgc K X X 6))) := 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 x))))) (Zs K (Zs K (Zs K (Zs K x)))) (fun i => x (i + 1)) (fun i => x (i + 2)) (M + 1 + 1 + 8) (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 7
have cb1 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K (Zs K (Zs K x))))) (fun i => x (i + 5)) x (fun i => x (i + 2)) (M + 1 + 1 + 8) (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 8
have cb2 := 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 + 1)) (fun i => x (i + 2)) (M + 1 + 1 + 8) (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 1
have cb3 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K (Zs K (Zs K x))))) (pv4 K x) (fun i => x (i + 1)) (fun i => x (i + 2)) (M + 1 + 1 + 8) (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 16
have cb4 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K (Zs K x)))) (Zs K (pv2 K x)) (fun i => x (i + 2)) (fun i => x (i + 3)) (M + 1 + 1 + 8) (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 16
have cb5 := CauchyBinet2.cb_nonneg K O (Zs K (Zs K (Zs K x))) (Zs K (c1v K x)) (fun i => x (i + 3)) (fun i => x (i + 4)) (M + 1 + 1 + 8) (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 (pv6 K x)) (Zs K (pv5 K x)) (M + 1 + 1 + 8) (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 25
have cb7 := CauchyBinet2.cb_nonneg K O (Zs K x) (Zs K (c1v K x)) (fun i => x (i + 5)) (fun i => x (i + 4)) (M + 1 + 1 + 8) (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 1
have cb8 := CauchyBinet2.cb_nonneg K O x (fun i => x (i + 1)) (Zs K (pv3 K (fun i => x (i + 2)))) (fun i => x (i + 5)) (M + 1 + 1 + 8) (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 2
have cb9 := CauchyBinet2.cb_nonneg K O x (fun i => x (i + 2)) (Zs K (pv2 K (fun i => x (i + 2)))) (fun i => x (i + 5)) (M + 1 + 1 + 8) (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 _ (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)) (pv4 K (fun i => x (i + 1))) (fun i => x (i + 4)) (M + 1 + 1 + 8) (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)) (pv3 K (fun i => x (i + 2))) (fun i => x (i + 4)) (M + 1 + 1 + 8) (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 2
have cb12 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 1)) (fun i => x (i + 2)) (Zs K (pv2 K (fun i => x (i + 1)))) (fun i => x (i + 5)) (M + 1 + 1 + 8) (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 9
have cb13 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 1)) (fun i => x (i + 2)) (Zs K (pv4 K x)) (Zs K (pv3 K x)) (M + 1 + 1 + 8) (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 57
have cb14 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 1)) (fun i => x (i + 3)) (Zs K (pv1 K (fun i => x (i + 2)))) (fun i => x (i + 4)) (M + 1 + 1 + 8) (A1.split_lt _ (fun i w => A1.prod_np K O _ _ (A1.nn_neg K O _ (sg21 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 9
have cb15 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 3)) (fun i => x (i + 3)) (fun i => x (i + 4)) (M + 1 + 1 + 8) (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 cn15 := SU2CharExp.cN_nn K O h1 67
have cb16 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 3)) (Zs K (pv3 K x)) (Zs K (pv2 K x)) (M + 1 + 1 + 8) (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 cn16 := SU2CharExp.cN_nn K O h1 150
have cb17 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 3)) (Zs K (pv3 K x)) (pv3 K x) (M + 1 + 1 + 8) (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 cn17 := SU2CharExp.cN_nn K O h1 14
have cb18 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 2)) (fun i => x (i + 4)) (pv1 K (fun i => x (i + 2))) (fun i => x (i + 3)) (M + 1 + 1 + 8) (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 cn18 := SU2CharExp.cN_nn K O h1 28
have cb19 := CauchyBinet2.cb_nonneg K O (fun i => x (i + 3)) (fun i => x (i + 4)) (pv1 K (fun i => x (i + 1))) (fun i => x (i + 3)) (M + 1 + 1 + 8) (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 _ (sg27 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)) (Zs K (pv2 K x)) (Zs K (c1v K x)) (M + 1 + 1 + 8) (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 _ (sg28 K O x hb hT hD h1 h10 i w))))
have cn20 := SU2CharExp.cN_nn K O h1 70
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 -- (+683 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) 5 hX (pv5 K (co K X)) (psi5 K X) 8]
rw [A1C.cgc_ip K X (M + 1) 6 hX (pv6 K (co K X)) (psi6 K X) 8]
rw [A1C.cgc_ip K X (M + 1) 7 hX (pv7 K (co K X)) (psi7 K X) 8]
show O.le K.zero _
rw [id]; exact tot
end final
end GenA5
#print axioms GenA5.ident
#print axioms GenA5.prod_lc